{"id":344,"date":"2022-07-28T03:27:20","date_gmt":"2022-07-28T03:27:20","guid":{"rendered":"https:\/\/www.wordfest.live\/2022\/november\/?post_type=wf_sessions&#038;p=344"},"modified":"2022-11-16T21:15:55","modified_gmt":"2022-11-16T21:15:55","slug":"introduction-to-the-wordpress-rest-api","status":"publish","type":"wf_sessions","link":"https:\/\/www.wordfest.live\/2022\/november\/sessions\/introduction-to-the-wordpress-rest-api\/","title":{"rendered":"Introduction to the WordPress REST API"},"content":{"rendered":"<p>The WordPress REST API is a way to interact with your website without loading a single page. It\u2019s fast, it\u2019s powerful, and if you use the block editor &#8211; you\u2019re already using it without even knowing. By using the REST API, you unlock a whole new world of possibilities for building and managing sites. We\u2019ll learn how to display data from the REST API on your site using both Javascript and PHP, how to authenticate using Application Passwords and how to update content on your site without having to log in to the admin, and we&#8217;ll look at some plugins that have their own REST APIs.<\/p>\n<p>04:00 UTC (Find your local time at <a href=\"https:\/\/www.worldtimebuddy.com\/\">worldtimebuddy.com<\/a>)<br>Stage One<\/p>\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/www.wordfest.live\/2022\/november\/speakers\/cameron-jones\/\">Speaker: Cameron Jones<\/a><\/div>\n<\/div>\n","protected":false},"author":2,"featured_media":345,"template":"","wf_region":[6],"session-format":[],"stage":[],"class_list":["post-344","wf_sessions","type-wf_sessions","status-publish","has-post-thumbnail","hentry","wf_region-australia"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Introduction to the WordPress REST API - WordFest Live 2022<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wordfest.live\/2022\/november\/sessions\/introduction-to-the-wordpress-rest-api\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Introduction to the WordPress REST API - WordFest Live 2022\" \/>\n<meta property=\"og:description\" content=\"The WordPress REST API is a way to interact with your website without loading a single page. It\u2019s fast, it\u2019s powerful, and if you use the block editor &#8211; you\u2019re already using it without even knowing. By using the REST API, you unlock a whole new world of possibilities for building and managing sites. We\u2019ll ... Read more\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wordfest.live\/2022\/november\/sessions\/introduction-to-the-wordpress-rest-api\/\" \/>\n<meta property=\"og:site_name\" content=\"WordFest Live 2022\" \/>\n<meta property=\"article:modified_time\" content=\"2022-11-16T21:15:55+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wordfest.live\/2022\/november\/wp-content\/uploads\/2022\/07\/Profile-2020.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"512\" \/>\n\t<meta property=\"og:image:height\" content=\"512\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.wordfest.live\\\/2022\\\/november\\\/sessions\\\/introduction-to-the-wordpress-rest-api\\\/\",\"url\":\"https:\\\/\\\/www.wordfest.live\\\/2022\\\/november\\\/sessions\\\/introduction-to-the-wordpress-rest-api\\\/\",\"name\":\"Introduction to the WordPress REST API - WordFest Live 2022\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.wordfest.live\\\/2022\\\/november\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.wordfest.live\\\/2022\\\/november\\\/sessions\\\/introduction-to-the-wordpress-rest-api\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.wordfest.live\\\/2022\\\/november\\\/sessions\\\/introduction-to-the-wordpress-rest-api\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.wordfest.live\\\/2022\\\/november\\\/wp-content\\\/uploads\\\/2022\\\/07\\\/Profile-2020.jpg\",\"datePublished\":\"2022-07-28T03:27:20+00:00\",\"dateModified\":\"2022-11-16T21:15:55+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.wordfest.live\\\/2022\\\/november\\\/sessions\\\/introduction-to-the-wordpress-rest-api\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.wordfest.live\\\/2022\\\/november\\\/sessions\\\/introduction-to-the-wordpress-rest-api\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.wordfest.live\\\/2022\\\/november\\\/sessions\\\/introduction-to-the-wordpress-rest-api\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.wordfest.live\\\/2022\\\/november\\\/wp-content\\\/uploads\\\/2022\\\/07\\\/Profile-2020.jpg\",\"contentUrl\":\"https:\\\/\\\/www.wordfest.live\\\/2022\\\/november\\\/wp-content\\\/uploads\\\/2022\\\/07\\\/Profile-2020.jpg\",\"width\":512,\"height\":512},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.wordfest.live\\\/2022\\\/november\\\/sessions\\\/introduction-to-the-wordpress-rest-api\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.wordfest.live\\\/2022\\\/november\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Sessions\",\"item\":\"https:\\\/\\\/www.wordfest.live\\\/2022\\\/november\\\/sessions\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Introduction to the WordPress REST API\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.wordfest.live\\\/2022\\\/november\\\/#website\",\"url\":\"https:\\\/\\\/www.wordfest.live\\\/2022\\\/november\\\/\",\"name\":\"WordFest Live 2022\",\"description\":\"The Festival of WordPress\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.wordfest.live\\\/2022\\\/november\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Introduction to the WordPress REST API - WordFest Live 2022","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wordfest.live\/2022\/november\/sessions\/introduction-to-the-wordpress-rest-api\/","og_locale":"en_US","og_type":"article","og_title":"Introduction to the WordPress REST API - WordFest Live 2022","og_description":"The WordPress REST API is a way to interact with your website without loading a single page. It\u2019s fast, it\u2019s powerful, and if you use the block editor &#8211; you\u2019re already using it without even knowing. By using the REST API, you unlock a whole new world of possibilities for building and managing sites. We\u2019ll ... Read more","og_url":"https:\/\/www.wordfest.live\/2022\/november\/sessions\/introduction-to-the-wordpress-rest-api\/","og_site_name":"WordFest Live 2022","article_modified_time":"2022-11-16T21:15:55+00:00","og_image":[{"width":512,"height":512,"url":"https:\/\/www.wordfest.live\/2022\/november\/wp-content\/uploads\/2022\/07\/Profile-2020.jpg","type":"image\/jpeg"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wordfest.live\/2022\/november\/sessions\/introduction-to-the-wordpress-rest-api\/","url":"https:\/\/www.wordfest.live\/2022\/november\/sessions\/introduction-to-the-wordpress-rest-api\/","name":"Introduction to the WordPress REST API - WordFest Live 2022","isPartOf":{"@id":"https:\/\/www.wordfest.live\/2022\/november\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.wordfest.live\/2022\/november\/sessions\/introduction-to-the-wordpress-rest-api\/#primaryimage"},"image":{"@id":"https:\/\/www.wordfest.live\/2022\/november\/sessions\/introduction-to-the-wordpress-rest-api\/#primaryimage"},"thumbnailUrl":"https:\/\/www.wordfest.live\/2022\/november\/wp-content\/uploads\/2022\/07\/Profile-2020.jpg","datePublished":"2022-07-28T03:27:20+00:00","dateModified":"2022-11-16T21:15:55+00:00","breadcrumb":{"@id":"https:\/\/www.wordfest.live\/2022\/november\/sessions\/introduction-to-the-wordpress-rest-api\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wordfest.live\/2022\/november\/sessions\/introduction-to-the-wordpress-rest-api\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.wordfest.live\/2022\/november\/sessions\/introduction-to-the-wordpress-rest-api\/#primaryimage","url":"https:\/\/www.wordfest.live\/2022\/november\/wp-content\/uploads\/2022\/07\/Profile-2020.jpg","contentUrl":"https:\/\/www.wordfest.live\/2022\/november\/wp-content\/uploads\/2022\/07\/Profile-2020.jpg","width":512,"height":512},{"@type":"BreadcrumbList","@id":"https:\/\/www.wordfest.live\/2022\/november\/sessions\/introduction-to-the-wordpress-rest-api\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.wordfest.live\/2022\/november\/"},{"@type":"ListItem","position":2,"name":"Sessions","item":"https:\/\/www.wordfest.live\/2022\/november\/sessions\/"},{"@type":"ListItem","position":3,"name":"Introduction to the WordPress REST API"}]},{"@type":"WebSite","@id":"https:\/\/www.wordfest.live\/2022\/november\/#website","url":"https:\/\/www.wordfest.live\/2022\/november\/","name":"WordFest Live 2022","description":"The Festival of WordPress","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wordfest.live\/2022\/november\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"wf_speaker_tweet_session":"Did you know that WordPress has its very own REST API? Maybe you did, but you aren't sure what it's good for? Come along to #WordFestLive and learn what it is and how to use it.","wf_session_transcript":false,"_links":{"self":[{"href":"https:\/\/www.wordfest.live\/2022\/november\/wp-json\/wp\/v2\/wf_sessions\/344","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wordfest.live\/2022\/november\/wp-json\/wp\/v2\/wf_sessions"}],"about":[{"href":"https:\/\/www.wordfest.live\/2022\/november\/wp-json\/wp\/v2\/types\/wf_sessions"}],"author":[{"embeddable":true,"href":"https:\/\/www.wordfest.live\/2022\/november\/wp-json\/wp\/v2\/users\/2"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wordfest.live\/2022\/november\/wp-json\/wp\/v2\/media\/345"}],"wp:attachment":[{"href":"https:\/\/www.wordfest.live\/2022\/november\/wp-json\/wp\/v2\/media?parent=344"}],"wp:term":[{"taxonomy":"wf_region","embeddable":true,"href":"https:\/\/www.wordfest.live\/2022\/november\/wp-json\/wp\/v2\/wf_region?post=344"},{"taxonomy":"boh_session_format","embeddable":true,"href":"https:\/\/www.wordfest.live\/2022\/november\/wp-json\/wp\/v2\/session-format?post=344"},{"taxonomy":"wf_stages","embeddable":true,"href":"https:\/\/www.wordfest.live\/2022\/november\/wp-json\/wp\/v2\/stage?post=344"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}