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
WordPress Greek Community - 5th Crete Meetup - ...
Search
WordPress Greek Community
April 07, 2016
Programming
0
610
WordPress Greek Community - 5th Crete Meetup - Introduction to WordPress REST API - Konstantinos Kouratoras
WordPress Greek Community
April 07, 2016
Tweet
Share
More Decks by WordPress Greek Community
See All by WordPress Greek Community
Thanassis Zannias - Flexible WordPress Dev Environment with Docker
wpgr
0
7
Andreas Karavanas - AI Supercharged Landing Pages
wpgr
0
10
Όμορφα, γρήγορα και οικονομικά websites με WordPress
wpgr
0
11
Unlocking creativity - Marilia Darilli
wpgr
0
35
Έλλη Μουχτάρη - Χτίσε το προσωπικό σου brand και απόκτησε τους πελάτες που θες
wpgr
0
23
Ioannis Kastorinis - WooCommerce technical automations in the real world
wpgr
0
35
Christos Paloukas - Cache me if you can, a journey through caching layers in WordPress
wpgr
0
43
Ευάγγελος Πάλλης - Malware Cleanup & Protection
wpgr
0
46
Νίκος Μαυράκης - Κοστολογώντας τη δημιουργικότητα
wpgr
0
30
Other Decks in Programming
See All in Programming
テストから始めるAgentic Coding 〜Claude Codeと共に行うTDD〜 / Agentic Coding starts with testing
rkaga
14
5.1k
A full stack side project webapp all in Kotlin (KotlinConf 2025)
dankim
0
130
Agentic Coding: The Future of Software Development with Agents
mitsuhiko
0
120
AIエージェントはこう育てる - GitHub Copilot Agentとチームの共進化サイクル
koboriakira
0
610
初学者でも今すぐできる、Claude Codeの生産性を10倍上げるTips
s4yuba
16
12k
チームのテスト力を総合的に鍛えて品質、スピード、レジリエンスを共立させる/Testing approach that improves quality, speed, and resilience
goyoki
5
980
Deep Dive into ~/.claude/projects
hiragram
14
6.9k
ISUCON研修おかわり会 講義スライド
arfes0e2b3c
1
460
What's new in AppKit on macOS 26
1024jp
0
130
状態遷移図を書こう / Sequence Chart vs State Diagram
orgachem
PRO
2
160
Porting a visionOS App to Android XR
akkeylab
0
640
Flutterで備える!Accessibility Nutrition Labels完全ガイド
yuukiw00w
0
170
Featured
See All Featured
Java REST API Framework Comparison - PWX 2021
mraible
31
8.7k
What’s in a name? Adding method to the madness
productmarketing
PRO
23
3.5k
GraphQLとの向き合い方2022年版
quramy
49
14k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
6
320
Designing for Performance
lara
610
69k
Navigating Team Friction
lara
187
15k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
30
2.1k
Building Applications with DynamoDB
mza
95
6.5k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
RailsConf 2023
tenderlove
30
1.1k
Building a Scalable Design System with Sketch
lauravandoore
462
33k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
44
2.4k
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?