Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Introduction to WordPress Rest API
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Konstantinos Kouratoras
April 07, 2016
Programming
0
120
Introduction to WordPress Rest API
Konstantinos Kouratoras
April 07, 2016
Tweet
Share
More Decks by Konstantinos Kouratoras
See All by Konstantinos Kouratoras
How to Contribute to WordPress Community
kouratoras
0
53
Using WordPress for Web Development
kouratoras
0
250
Other Decks in Programming
See All in Programming
AgentCoreとHuman in the Loop
har1101
5
230
OSSとなったswift-buildで Xcodeのビルドを差し替えられるため 自分でXcodeを直せる時代になっている ダイアモンド問題編
yimajo
3
620
AI巻き込み型コードレビューのススメ
nealle
1
210
副作用をどこに置くか問題:オブジェクト指向で整理する設計判断ツリー
koxya
1
610
高速開発のためのコード整理術
sutetotanuki
1
400
Honoを使ったリモートMCPサーバでAIツールとの連携を加速させる!
tosuri13
1
180
MUSUBIXとは
nahisaho
0
130
AtCoder Conference 2025
shindannin
0
1.1k
KIKI_MBSD Cybersecurity Challenges 2025
ikema
0
1.3k
20260127_試行錯誤の結晶を1冊に。著者が解説 先輩データサイエンティストからの指南書 / author's_commentary_ds_instructions_guide
nash_efp
1
960
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
560
Grafana:建立系統全知視角的捷徑
blueswen
0
330
Featured
See All Featured
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
57
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
1
710
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
122
21k
Prompt Engineering for Job Search
mfonobong
0
160
Facilitating Awesome Meetings
lara
57
6.8k
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
120
Darren the Foodie - Storyboard
khoart
PRO
2
2.4k
A Modern Web Designer's Workflow
chriscoyier
698
190k
Exploring anti-patterns in Rails
aemeredith
2
250
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
240
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
180
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
280
Transcript
Konstantinos Kouratoras - 5th Crete WordPress Meetup - April 2016
INTRODUCTION TO WORDPRESS REST API
Konstantinos Kouratoras - 5th Crete WordPress Meetup - April 2016
Hello! Tester @ OnTheGoSystems Follow me @kouratoras
Konstantinos Kouratoras - 5th Crete WordPress Meetup - April 2016
WORDPRESS REST API
Konstantinos Kouratoras - 5th Crete WordPress Meetup - April 2016
WORDPRESS REST API What else? :)
Konstantinos Kouratoras - 5th Crete WordPress Meetup - April 2016
WORDPRESS REST API Application Program Interface
Konstantinos Kouratoras - 5th Crete WordPress Meetup - April 2016
WORDPRESS REST API REpresentational State Transfer
Konstantinos Kouratoras - 5th Crete WordPress Meetup - April 2016
• Actions • GET, POST, PUT, DELETE • Resources • GET /posts/ • GET /posts/12 • POST /posts/ • PUT /posts/13 • DELETE /posts/14
None
None
None
None
Konstantinos Kouratoras - 5th Crete WordPress Meetup - April 2016
WORDPRESS REST API
Konstantinos Kouratoras - 5th Crete WordPress Meetup - April 2016
PHP API the_post(), the_content(), the_title(), etc.
None
Konstantinos Kouratoras - 5th Crete WordPress Meetup - April 2016
PHP API
Konstantinos Kouratoras - 5th Crete WordPress Meetup - April 2016
PHP API
Konstantinos Kouratoras - 5th Crete WordPress Meetup - April 2016
REST PHP API
Konstantinos Kouratoras - 5th Crete WordPress Meetup - April 2016
• Javascript • Angular, React, Ember, Backbone, Node,… • Single Page Applications • Better interfaces • Mobile integration • Third party applications
Konstantinos Kouratoras - 5th Crete WordPress Meetup - April 2016
HISTORY
Konstantinos Kouratoras - 5th Crete WordPress Meetup - April 2016
• JSON API plugin • Ruby on Rails front-end (2009) • WP REST API • Google Summer of Code 2013 • Basic infrastructure in WordPress 4.4 • Full merge in 4.5? 4.6? 4.7?
Konstantinos Kouratoras - 5th Crete WordPress Meetup - April 2016
INSTALLATION
None
Konstantinos Kouratoras - 5th Crete WordPress Meetup - April 2016
• As any other WordPress plugin • Download, install and activate • https://wordpress.org/plugins/rest-api/ • Ready!
Konstantinos Kouratoras - 5th Crete WordPress Meetup - April 2016
EXAMPLE
Konstantinos Kouratoras - 5th Crete WordPress Meetup - April 2016
/wp-json/posts/21433
Konstantinos Kouratoras - 5th Crete WordPress Meetup - April 2016
/wp-json/taxonomies
Konstantinos Kouratoras - 5th Crete WordPress Meetup - April 2016
• GET Request • 200 OK • JSON Response • No Authentication
Konstantinos Kouratoras - 5th Crete WordPress Meetup - April 2016
• /wp-json/posts/ • /wp-json/posts/21433 • /wp-json/pages • /wp-json/taxonomies • /wp-json/comments
Konstantinos Kouratoras - 5th Crete WordPress Meetup - April 2016
/wp-json/users
Konstantinos Kouratoras - 5th Crete WordPress Meetup - April 2016
• Authentication • Cookies (Onsite) • Basic Authentication, Application Passwords, OAuth authentication (Offsite)
Konstantinos Kouratoras - 5th Crete WordPress Meetup - April 2016
EXTENSIONS
Konstantinos Kouratoras - 5th Crete WordPress Meetup - April 2016
• Custom Endpoints • Custom Responses • Custom Content Types • JavaScript/Backbone Client • v2.wp-api.org/extending/javascript-client/
Konstantinos Kouratoras - 5th Crete WordPress Meetup - April 2016
RESOURCES v2.wp-api.org github.com/WP-API/WP-API wordpress.org/plugins/rest-api
Konstantinos Kouratoras - 5th Crete WordPress Meetup - April 2016
THANK YOU! Questions?