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 the REST API | WordPress Leeds ...
Search
Samantha Miller
October 25, 2016
Programming
0
75
Introduction to the REST API | WordPress Leeds | 25th October 2016
A brief introduction to the WordPress REST API and what it can be used for
Samantha Miller
October 25, 2016
Tweet
Share
More Decks by Samantha Miller
See All by Samantha Miller
The Basics of Unique Theme Development | WordCamp London | 21st March 2015
sambulance
0
560
The Basics of Unique Theme Development | WordCamp Manchester | 28th June 2014
sambulance
0
540
Other Decks in Programming
See All in Programming
NPOでのDevinの活用
codeforeveryone
0
830
A full stack side project webapp all in Kotlin (KotlinConf 2025)
dankim
0
120
Porting a visionOS App to Android XR
akkeylab
0
460
Python型ヒント完全ガイド 初心者でも分かる、現代的で実践的な使い方
mickey_kubo
1
110
データの民主化を支える、透明性のあるデータ利活用への挑戦 2025-06-25 Database Engineering Meetup#7
y_ken
0
360
PostgreSQLのRow Level SecurityをPHPのORMで扱う Eloquent vs Doctrine #phpcon #track2
77web
2
530
ruby.wasmで多人数リアルタイム通信ゲームを作ろう
lnit
3
480
git worktree × Claude Code × MCP ~生成AI時代の並列開発フロー~
hisuzuya
1
570
XP, Testing and ninja testing
m_seki
3
240
PHP 8.4の新機能「プロパティフック」から学ぶオブジェクト指向設計とリスコフの置換原則
kentaroutakeda
2
900
AIと”コードの評価関数”を共有する / Share the "code evaluation function" with AI
euglena1215
1
160
Hack Claude Code with Claude Code
choplin
4
2k
Featured
See All Featured
Become a Pro
speakerdeck
PRO
29
5.4k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
357
30k
Build The Right Thing And Hit Your Dates
maggiecrowley
36
2.8k
Why You Should Never Use an ORM
jnunemaker
PRO
58
9.4k
GitHub's CSS Performance
jonrohan
1031
460k
Designing Experiences People Love
moore
142
24k
Agile that works and the tools we love
rasmusluckow
329
21k
We Have a Design System, Now What?
morganepeng
53
7.7k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
229
22k
Rebuilding a faster, lazier Slack
samanthasiow
82
9.1k
4 Signs Your Business is Dying
shpigford
184
22k
Visualization
eitanlees
146
16k
Transcript
REST API INTRODUCTION TO THE
WHAT IS “THE REST API”?
A WAY TO COMMUNICATE WITH WORDPRESS, WITHOUT WORDPRESS
PROVIDES A CLEAR PATH FOR OTHER TECHNOLOGIES TO GET TO
THE CONTENT CREATED IN WORDPRESS
WORDPRESS IOS APP REACT APP ANDROID APP WEBSITE
WHAT DOES API EVEN MEAN?
APPLICATION PROGRAMMING INTERFACE
A WAY FOR TWO PROGRAMS TO INTERACT WITH EACH OTHER
WHAT ABOUT REST?
REPRESENTATIONAL STATE TRANSFER
USES HTTP TO SEND AND RECEIVE DATA
HTTP://WPLEEDS.CO.UK
GET = SEE DATA POST = SEND DATA
None
None
None
None
ENDPOINTS
A URL TO POINT OUR REQUESTS TO
RETURNS DATA FROM WORDPRESS VIA THE API
HTTP://EXAMPLE.COM/ WP-JSON/WP/V2/POSTS
None
JSONVIEW CHROME EXTENSION
PROVIDES A CLEAR PATH FOR OTHER TECHNOLOGIES TO GET TO
THE CONTENT CREATED IN WORDPRESS
STANDARDISED URL
STANDARDISED DATA STRUCTURE
CONTENT ENDPOINTS COMING IN WORDPRESS 4.7 (DECEMBER 2016)
OTHER ENDPOINTS… TBC
CAN STRANGERS POST TO MY WORDPRESS WEBSITE USING THE API?
NO
AUTHENTICATION
USER WOULD LOG IN VIA THE ADMIN
PROGRAM NEEDS TO AUTHENTICATE
None
WHAT CAN THE API BE USED FOR?
POWER MOBILE APPS
SHARE DATA BETWEEN SITES
BESPOKE ADMIN INTERFACES
JAVASCRIPT POWERED THEMES
REALTIME DATA
INTEGRATION WITH THIRD PARTIES
WHERE CAN I FIND OUT MORE?
HUMAN MADE WHITEPAPER: HMN.MD/WHITEPAPER
DOCUMENTATION: WP-API.ORG
THANKS