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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Samantha Miller
October 25, 2016
Programming
0
76
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
610
The Basics of Unique Theme Development | WordCamp Manchester | 28th June 2014
sambulance
0
540
Other Decks in Programming
See All in Programming
それ、本当に安全? ファイルアップロードで見落としがちなセキュリティリスクと対策
penpeen
7
4k
Smart Handoff/Pickup ガイド - Claude Code セッション管理
yukiigarashi
0
150
MUSUBIXとは
nahisaho
0
140
[KNOTS 2026登壇資料]AIで拡張‧交差する プロダクト開発のプロセス および携わるメンバーの役割
hisatake
0
290
ノイジーネイバー問題を解決する 公平なキューイング
occhi
0
110
なるべく楽してバックエンドに型をつけたい!(楽とは言ってない)
hibiki_cube
0
140
フロントエンド開発の勘所 -複数事業を経験して見えた判断軸の違い-
heimusu
7
2.8k
15年続くIoTサービスのSREエンジニアが挑む分散トレーシング導入
melonps
2
230
AIと一緒にレガシーに向き合ってみた
nyafunta9858
0
250
CSC307 Lecture 04
javiergs
PRO
0
660
CSC307 Lecture 07
javiergs
PRO
1
560
Rust 製のコードエディタ “Zed” を使ってみた
nearme_tech
PRO
0
210
Featured
See All Featured
GraphQLとの向き合い方2022年版
quramy
50
14k
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
60
42k
Raft: Consensus for Rubyists
vanstee
141
7.3k
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
920
VelocityConf: Rendering Performance Case Studies
addyosmani
333
24k
Side Projects
sachag
455
43k
The Curious Case for Waylosing
cassininazir
0
240
Building Adaptive Systems
keathley
44
2.9k
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3k
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
1.9k
Music & Morning Musume
bryan
47
7.1k
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.1k
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