{"id":631,"date":"2016-10-26T20:59:04","date_gmt":"2016-10-26T18:59:04","guid":{"rendered":"https:\/\/2016.geneva.wordcamp.org\/?post_type=wcb_session&#038;p=631"},"modified":"2016-10-26T20:59:04","modified_gmt":"2016-10-26T18:59:04","slug":"ho-api-day","status":"publish","type":"wcb_session","link":"https:\/\/geneva.wordcamp.org\/2016\/session\/ho-api-day\/","title":{"rendered":"Ho API day"},"content":{"rendered":"<p>REST API just arrived in the core of WordPress. It\\&#8217;s a revolution that allow WP to serve and consume data to\/from many other systems.<\/p>\n<p>In this session we will review shortly the basic of REST and show how to code a WP plugin to extend the WP REST API. We will discuss together the best way to organize your files and classes. This plugin will be Object oriented with namespace and autoloader.<\/p>\n<p>The test plugin will manage a list of talks for a WorldCamp. The code will be released on Github and will help you to start your next project.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>REST API just arrived in the core of WordPress. It\\&#8217;s a revolution that allow WP to serve and consume data to\/from many other systems. In this session we will review shortly the basic of REST and show how to code a WP plugin to extend the WP REST API. We will discuss together the best &hellip; <a href=\"https:\/\/geneva.wordcamp.org\/2016\/session\/ho-api-day\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Ho API day<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":7317981,"featured_media":0,"template":"","meta":{"jetpack_post_was_ever_published":false,"_wcpt_session_time":1479457200,"_wcpt_session_duration":3000,"_wcpt_session_type":"session","_wcpt_session_slides":"","_wcpt_session_video":"","_wcpt_speaker_id":[600],"footnotes":""},"session_track":[261],"session_category":[],"class_list":["post-631","wcb_session","type-wcb_session","status-publish","hentry","wcb_track-conference"],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p7xo0v-ab","session_date_time":{"date":"18 November 2016","time":"09:20"},"session_speakers":[{"id":"600","slug":"pierre-andre-vullioud","name":"Pierre-Andr\u00e9 Vullioud","link":"https:\/\/geneva.wordcamp.org\/2016\/speaker\/pierre-andre-vullioud\/"}],"session_cats_rendered":null,"_links":{"self":[{"href":"https:\/\/geneva.wordcamp.org\/2016\/wp-json\/wp\/v2\/sessions\/631","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/geneva.wordcamp.org\/2016\/wp-json\/wp\/v2\/sessions"}],"about":[{"href":"https:\/\/geneva.wordcamp.org\/2016\/wp-json\/wp\/v2\/types\/wcb_session"}],"author":[{"embeddable":true,"href":"https:\/\/geneva.wordcamp.org\/2016\/wp-json\/wp\/v2\/users\/7317981"}],"version-history":[{"count":1,"href":"https:\/\/geneva.wordcamp.org\/2016\/wp-json\/wp\/v2\/sessions\/631\/revisions"}],"predecessor-version":[{"id":632,"href":"https:\/\/geneva.wordcamp.org\/2016\/wp-json\/wp\/v2\/sessions\/631\/revisions\/632"}],"speakers":[{"embeddable":true,"href":"https:\/\/geneva.wordcamp.org\/2016\/wp-json\/wp\/v2\/speakers\/600"}],"wp:attachment":[{"href":"https:\/\/geneva.wordcamp.org\/2016\/wp-json\/wp\/v2\/media?parent=631"}],"wp:term":[{"taxonomy":"wcb_track","embeddable":true,"href":"https:\/\/geneva.wordcamp.org\/2016\/wp-json\/wp\/v2\/session_track?post=631"},{"taxonomy":"wcb_session_category","embeddable":true,"href":"https:\/\/geneva.wordcamp.org\/2016\/wp-json\/wp\/v2\/session_category?post=631"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}