{"id":1977,"date":"2017-07-04T15:34:34","date_gmt":"2017-07-04T05:34:34","guid":{"rendered":"https:\/\/2017.brisbane.wordcamp.org\/?post_type=wcb_session&#038;p=1977"},"modified":"2018-08-14T13:40:02","modified_gmt":"2018-08-14T03:40:02","slug":"finding-rest-when-machines-talk-to-each-other","status":"publish","type":"wcb_session","link":"https:\/\/brisbane.wordcamp.org\/2017\/session\/finding-rest-when-machines-talk-to-each-other\/","title":{"rendered":"Finding REST: When Machines Talk To Each Other"},"content":{"rendered":"<p>Designing APIs for machines can be exciting and challenging. In this talk we will be exploring what it has been like to build a service for machine clients using the WordPress REST API.<\/p>\n<p>Topics that we will touch on include: custom endpoints vs. content endpoints; authentication; documenting your API with an API Definition Language; non-WordPress machine clients; and of course the challenges and opportunities we faced building an API with WordPress.<\/p>\n<p><span class=\"embed-youtube\" style=\"text-align:center; display: block;\"><iframe loading=\"lazy\" class=\"youtube-player\" width=\"640\" height=\"360\" src=\"https:\/\/www.youtube.com\/embed\/qb1kzeSWuWI?version=3&#038;rel=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;fs=1&#038;hl=en-AU&#038;autohide=2&#038;wmode=transparent\" allowfullscreen=\"true\" style=\"border:0;\" sandbox=\"allow-scripts allow-same-origin allow-popups allow-presentation allow-popups-to-escape-sandbox\"><\/iframe><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Designing APIs for machines can be exciting and challenging. In this talk we will be exploring what it has been like to build a service for machine clients using the WordPress REST API. Topics that we will touch on include: &hellip; <a href=\"https:\/\/brisbane.wordcamp.org\/2017\/session\/finding-rest-when-machines-talk-to-each-other\/\">Continue reading <span class=\"assistive-text\">Finding REST: When Machines Talk To Each Other<\/span>  <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":13411969,"featured_media":0,"template":"","meta":{"_crdt_document":"","_wcpt_session_time":1500777000,"_wcpt_session_duration":3000,"_wcpt_session_type":"session","_wcpt_session_slides":"","_wcpt_session_video":"","_wcpt_speaker_id":[1467],"footnotes":""},"session_track":[516822],"session_category":[],"class_list":["post-1977","wcb_session","type-wcb_session","status-publish","hentry","wcb_track-upstairs"],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/phePAL-vT","session_date_time":{"date":"July 23, 2017","time":"12:30 PM"},"session_speakers":[{"id":"1467","slug":"rheinard-korf","name":"Rheinard Korf","link":"https:\/\/brisbane.wordcamp.org\/2017\/news\/speaker\/rheinard-korf\/"}],"session_cats_rendered":null,"_links":{"self":[{"href":"https:\/\/brisbane.wordcamp.org\/2017\/wp-json\/wp\/v2\/sessions\/1977","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/brisbane.wordcamp.org\/2017\/wp-json\/wp\/v2\/sessions"}],"about":[{"href":"https:\/\/brisbane.wordcamp.org\/2017\/wp-json\/wp\/v2\/types\/wcb_session"}],"version-history":[{"count":3,"href":"https:\/\/brisbane.wordcamp.org\/2017\/wp-json\/wp\/v2\/sessions\/1977\/revisions"}],"predecessor-version":[{"id":2552,"href":"https:\/\/brisbane.wordcamp.org\/2017\/wp-json\/wp\/v2\/sessions\/1977\/revisions\/2552"}],"speakers":[{"embeddable":true,"href":"https:\/\/brisbane.wordcamp.org\/2017\/wp-json\/wp\/v2\/speakers\/1467"}],"author":[{"embeddable":true,"href":"https:\/\/brisbane.wordcamp.org\/2017\/wp-json\/wporg\/v1\/users\/rheinardkorf"}],"wp:attachment":[{"href":"https:\/\/brisbane.wordcamp.org\/2017\/wp-json\/wp\/v2\/media?parent=1977"}],"wp:term":[{"taxonomy":"wcb_track","embeddable":true,"href":"https:\/\/brisbane.wordcamp.org\/2017\/wp-json\/wp\/v2\/session_track?post=1977"},{"taxonomy":"wcb_session_category","embeddable":true,"href":"https:\/\/brisbane.wordcamp.org\/2017\/wp-json\/wp\/v2\/session_category?post=1977"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}