The JSON REST API is something developers in the WordPress community have been very excited about for years. But what can your teams and clients actually use it to accomplish? What's it actually for?
Alternate Title: Who is JSON, and Why Do I Care How Much REST He Gets?
1. B U T W H Y ?
1 0 U S E C AS E S F O R T H E R E S T A P I
WO R D C A M P B O S TO N 2 0 1 7
http://wherethelongtailends.com/ray-harryhausen-jason-and-the-argonauts-1963/
@jeckman | #wcbos
2. A K A “ W H O I S J S O N , A N D W H Y D O I
C A R E H OW M U C H R E S T H E G E T S ? ”
https://hammer.ucla.edu/programs-events/2012/02/family-flicks-film-series-jason-and-the-argonauts/
@jeckman | #wcbos
3. 1 . H E A D L E S S
• Dynamic, app-like user experience
• Pace Layering: change front end more frequently
• Reduce attack surface
https://en.wikipedia.org/wiki/Headless_Horseman
@jeckman | #wcbos
4.
5. 2 . M U LT I - H E A D E D
• Customized experiences for different audiences
• Single instance of content, editorial, and workflow
• Serve clients, partners, employees, or different segments
http://www.darkrealmfox.com/film_reviews/blu-ray-screencaps-jason-and-the-argonauts/
@jeckman | #wcbos
6. 3 . I N F R AS T R U C T U R E
• WordPress as one service among many others
• Multiple inputs & outputs
• Likely incorporates headless/multiheaded
https://en.wikipedia.org/wiki/Argonautica
@jeckman | #wcbos
7.
8.
9. 4 . I N - S I T E C O N T E N T
• Load more (“infinite scroll”)
• Filtered / faceted search results (w/ ElasticPress)
• Related stories / recirculation
• Sponsored content / native advertising
@jeckman | #wcbos
10. 5 . C R O S S - S I T E C O N T E N T
• Syndication (Push or Pull) across sites in a network
• Pull based on taxonomy, post type endpoint
• Admin experience to “push” article I am viewing to a site to
which I have permissions
• Including sites NOT on multisite / not using WP
https://hammer.ucla.edu/programs-events/2012/02/family-flicks-film-series-jason-and-the-argonauts/
@jeckman | #wcbos
11. 6 . I M P R OV E D AU T H O R E X P E R I E N C E
• Creating complex content types
• Infrequent user forms & guided wizards
• Embedding content creation in existing workflows
http://www.bbc.co.uk/programmes/b00kys2s
@jeckman | #wcbos
12. 7. I M P R OV E D E D I TO R E X P E R I E N C E
• Replacement dashboards (à la Calypso)
• Better management of relationships across post types
• Sorting / Deleting / Updating in batches
• Curation - selecting and ordering content
https://writerlovesmovies.com/2012/10/26/30-days-30-classics-day-23-jason-and-the-argonauts-1963/
@jeckman | #wcbos
13. 8 . I N T E G R AT I O N W I T H OT H E R S E RV I C E S
• Email newsletter providers
• Google Docs
• Encapsulate outgoing calls via internal custom endpoint
• Import from Video management systems
• Populating existing CMS (replace back-end in place)
• Provide an API to your data for others to build on
http://www.icollector.com/Jason-and-the-Argonauts-complete-set-of-10-color-stills_i11535645
@jeckman | #wcbos
14. 9. I N T E G R AT I O N W I T H M O B I L E A P P S
• Standardized format for content pull into native app
experiences
• Bi-directional: create and update custom post types based
on user actions in app
• Future-proofing - what’s behind the API could be swapped
later, for specific endpoints/versions
http://www.tracking-board.com/exclusive-paramount-going-greek-developing-new-jason-and-the-argonauts/
@jeckman | #wcbos
15.
16. 1 0. I N T E G R AT I O N W I T H D E S K TO P A P P S
• Provide contextual, on-demand help
• Intake of orders, requests for quotes
• Minimize need for releases, cache for offline use
http://www.darkrealmfox.com/film_reviews/blu-ray-screencaps-jason-and-the-argonauts/
@jeckman | #wcbos
17. S U M M A RY
1. Headless
2. Multi-headed
3. Infrastructure
4. In-Site Content
5. Cross-Site Content
6. Author Experience
7. Editor Experience
8. Service Integration
9. Mobile Apps
10. Desktop Apps
http://www.metmuseum.org/toah/works-of-art/09.136.1/
@jeckman | #wcbos
18. T H A N K S !
http://imgur.com/gallery/ciUf2TP
@jeckman | #wcbos
john@10up.com