Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
WordPress JSON REST API
Search
Rachel Baker
December 15, 2014
Programming
700
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
WordPress JSON REST API
#backboneconf
Rachel Baker
December 15, 2014
More Decks by Rachel Baker
See All by Rachel Baker
Real Time REST API with WordPress
rachelbaker
3
1.9k
Build a Theme with the WP REST API
rachelbaker
7
13k
Utilizing the WP REST API
rachelbaker
8
2.4k
Meet the JSON REST API
rachelbaker
1
330
WordPress in Corporate America
rachelbaker
0
240
Introduction to the JSON REST API
rachelbaker
1
310
The WordPress JSON REST API
rachelbaker
3
510
Put Your Content to REST with WP API
rachelbaker
3
1.6k
Kickin' It Old School with the Command Line
rachelbaker
1
180
Other Decks in Programming
See All in Programming
まずはコードより業務と向き合う:テーブル解体のためにPdMを呼んだ話
sakawe_ee
0
110
8年前のNode.jsを動かして分かった、npm installの裏側
keisukeikeda
0
120
HTML-in-Canvasで作る未来のWeb UI表現
clockmaker
5
6.1k
作って学ぶSpring BootのAuto Configuration / JJUG Night Seminar 2026-10-19
rshindo
0
220
조합이폭발하는디자인시스템이걸눈으로도테스트하라고요
giljongyu
0
700
graphql-ruby を Spinel で速くしようとした話
mtsmfm
0
140
Railsのためのパスキー実践入門 〜マルチテナントSaaSでの意思決定〜
utakaha
3
2.5k
flutter_test のその先へ — Flutter アプリの LLM 機能に「評価」という品質保証を
kosukesaigusa
0
180
月間100万人のサービス刷新で、 技術選定をHonoに振り切った話
yutobara
8
7.1k
Crash Auto Pipelines
veronikapj
1
320
AIがコードを書いてくれる時代、我々は何を確かめるのか
yosuke_furukawa
PRO
13
5.5k
[JA] Domain Modeling with Vanilla Rails: 「操作」から再考するRailsの設計論
yasaichi
4
1.7k
Featured
See All Featured
GraphQLの誤解/rethinking-graphql
sonatard
75
12k
A Modern Web Designer's Workflow
chriscoyier
699
190k
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
123
22k
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
320
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
370
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
440
The Curse of the Amulet
leimatthew05
3
16k
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
6
1.3k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
HTML-Aware ERB: The Path to Reactive Rendering @ RubyCon 2026, Rimini, Italy
marcoroth
5
880
Transcript
JSON REST API Current challenges and future impact
Rachel Baker @rachelbaker Senior Web Engineer, Lead Developer, JSON REST
API Project
Democratize Publishing Mission:
USA Today
http://www.vogue.com/
Five Thirty Eight
None
USA Today
Five Thirty Eight
Five Thirty Eight
http://open.nasa.gov/
http://open.nasa.gov/
http://open.nasa.gov/
http://open.nasa.gov/
Powers over 60 million sites Stats: Forbes, 2011
23.3% of active sites Stats: W3 Techs, December 2014
4.0 downloaded 29 million times Stats: WordPress.org, December 2014
Multi-functional
User-friendly
Powered by a popular (and hated) language
Backward compatible
Why do we need an API?
We made it to 11.
Relevance for 11 more years.
69.1% of the web doesn’t use a CMS.
Build new, or iterate on existing features.
None
Continue the mission.
Challenges
60 million distributed APIs.
Drink.
11 years late.
Respect privacy expectations.
Secure authentication.
Different hosting environments.
Different WordPress versions.
Extensible with plugins.
Cannot deploy a bug fix.
Still has to be useful.
Quality clients.
Solutions
Drink.
Slow down we have a responsibility to not screw this
up.
Err on the side of authentication.
Namespaced and versioned routes: wp/1.0/posts pluginname/2.0/events
OAuth1.0a and possibly OAuth2 through WordPress.org.
Educate our community and seek feedback from all communities.
Official client libraries.
Released version 1.0 and encourage everyone to start using it
now.
Many are already using it in production New York Times
Wired 10up Bocoup …and more
Future
None
None
None
Backbone-based WordPress “themes”.
Customized Dashboards.
Customized Dashboards.
Front-end (inline) content editing.
Customized Dashboards.
WordPress has been the gateway drug for tens of thousands
of web developers.
WordPress will be the gateway drug for tens of thousands
of APIs.
Check it out
Read the Documentation wp-api.org
Install the Plugin github.com/WP-API/WP-API
Get the Schema http://example.com/wp-json/
Build Stuff and Give Feedback Posts ✔ ✔ ✔ ✔
Pages ✔ ✔ ✔ ✔ Custom Post Types ✔ ✔ ✔ ✔ Post Meta ✔ ✔ ✔ ✔ Media ✔ ✔ ✔ ✔ Comments ✔ ✔ ✔ ✔ Taxonomies/Terms ✔ ✔ ✔ ✔ Users ✔ ✔ ✔ ✔ GET POST PUT DELETE
Thank you github.com/WP-API
STEP ONE READ THE DOCUMENTATION
STEP TWO Install & Activate the Plugin
STEP THREE GET the API ScHEMA http://example.com/wp-json/
STEP THREE GET the API ScHEMA http://example.com/wp-json/
STEP FOUR GET the POSTS COLLECTION http://example.com/wp-json/posts/
http://example.com/wp-json/ STEP FOUR GET the POSTS COLLECTION
STEPs FIVE - Twenty-Two EXPLORE ALL THE POSSIBILITES Posts ✔
✔ ✔ ✔ Pages ✔ ✔ ✔ ✔ Custom Post Types ✔ ✔ ✔ ✔ Post Meta ✔ ✔ ✔ ✔ Media ✔ ✔ ✔ ✔ Comments ✔ ✔ ✔ ✔ Taxonomies/Terms ✔ ✔ ✔ ✔ Users ✔ ✔ ✔ ✔ GET POST PUT DELETE
STEP Twenty-THREE - ?? Use the JSON REST API Use
the JSON REST API plugin in/for a project. Give us feedback.