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 JSON REST API
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Rachel Baker
December 15, 2014
Programming
1
660
WordPress JSON REST API
#backboneconf
Rachel Baker
December 15, 2014
Tweet
Share
More Decks by Rachel Baker
See All by Rachel Baker
Real Time REST API with WordPress
rachelbaker
3
1.8k
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
290
WordPress in Corporate America
rachelbaker
0
220
Introduction to the JSON REST API
rachelbaker
1
270
The WordPress JSON REST API
rachelbaker
3
480
Put Your Content to REST with WP API
rachelbaker
3
1.5k
Kickin' It Old School with the Command Line
rachelbaker
1
140
Other Decks in Programming
See All in Programming
Oxlint JS plugins
kazupon
1
1.1k
AI時代のソフトウェア開発でも「人が仕様を書く」から始めよう-医療IT現場での実践とこれから
koukimiura
0
120
ぼくの開発環境2026
yuzneri
1
290
あなたはユーザーではない #PdENight
kajitack
4
290
PJのドキュメントを全部Git管理にしたら、一番喜んだのはAIだった
nanaism
0
220
社内規程RAGの精度を73.3% → 100%に改善した話
oharu121
12
6.2k
Go 1.26でのsliceのメモリアロケーション最適化 / Go 1.26 リリースパーティ #go126party
mazrean
1
310
RAGでハマりがちな"Excelの罠"を、データの構造化で突破する
harumiweb
8
2.1k
Ruby x Terminal
a_matsuda
5
520
米国のサイバーセキュリティタイムラインと見る Goの暗号パッケージの進化
tomtwinkle
1
340
AI駆動開発の本音 〜Claude Code並列開発で見えたエンジニアの新しい役割〜
hisuzuya
4
430
日本だけで解禁されているアプリ起動の方法
ryunakayama
0
360
Featured
See All Featured
Design in an AI World
tapps
0
160
Making Projects Easy
brettharned
120
6.6k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
770
My Coaching Mixtape
mlcsv
0
63
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
117
110k
Game over? The fight for quality and originality in the time of robots
wayneb77
1
130
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
360
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
460
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
30k
Visualization
eitanlees
150
17k
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
270
What's in a price? How to price your products and services
michaelherold
247
13k
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.