plone.restapi - a bridge to the modern web
TRANSCRIPT
![Page 1: Plone.restapi - a bridge to the modern web](https://reader033.vdocument.in/reader033/viewer/2022042908/58f149731a28ab62218b456b/html5/thumbnails/1.jpg)
plone.restapia bridge to the modern web
Plone Conference Boston 2016 — Timo Stollenwerk, kitconcept GmbH
![Page 2: Plone.restapi - a bridge to the modern web](https://reader033.vdocument.in/reader033/viewer/2022042908/58f149731a28ab62218b456b/html5/thumbnails/2.jpg)
3 years ago…
![Page 3: Plone.restapi - a bridge to the modern web](https://reader033.vdocument.in/reader033/viewer/2022042908/58f149731a28ab62218b456b/html5/thumbnails/3.jpg)
The modern web
![Page 4: Plone.restapi - a bridge to the modern web](https://reader033.vdocument.in/reader033/viewer/2022042908/58f149731a28ab62218b456b/html5/thumbnails/4.jpg)
JavaScript
![Page 5: Plone.restapi - a bridge to the modern web](https://reader033.vdocument.in/reader033/viewer/2022042908/58f149731a28ab62218b456b/html5/thumbnails/5.jpg)
Plone
![Page 6: Plone.restapi - a bridge to the modern web](https://reader033.vdocument.in/reader033/viewer/2022042908/58f149731a28ab62218b456b/html5/thumbnails/6.jpg)
Headless CMS
![Page 7: Plone.restapi - a bridge to the modern web](https://reader033.vdocument.in/reader033/viewer/2022042908/58f149731a28ab62218b456b/html5/thumbnails/7.jpg)
plone.restapi
![Page 8: Plone.restapi - a bridge to the modern web](https://reader033.vdocument.in/reader033/viewer/2022042908/58f149731a28ab62218b456b/html5/thumbnails/8.jpg)
Content Negotiation
Client: „Accept: application/json“
Server: „Content-Type: application/json"
![Page 9: Plone.restapi - a bridge to the modern web](https://reader033.vdocument.in/reader033/viewer/2022042908/58f149731a28ab62218b456b/html5/thumbnails/9.jpg)
Authentication
POST /@login { username, password }
![Page 10: Plone.restapi - a bridge to the modern web](https://reader033.vdocument.in/reader033/viewer/2022042908/58f149731a28ab62218b456b/html5/thumbnails/10.jpg)
Content
{ "@id": "http://localhost:8080/Plone", "@type": "Plone Site", "items": [ { "@id": "http://localhost:8080/Plone/front-page", "@type": "Document", "description": "Congratulations!", "title": "Welcome to Plone" } ], }
![Page 11: Plone.restapi - a bridge to the modern web](https://reader033.vdocument.in/reader033/viewer/2022042908/58f149731a28ab62218b456b/html5/thumbnails/11.jpg)
![Page 12: Plone.restapi - a bridge to the modern web](https://reader033.vdocument.in/reader033/viewer/2022042908/58f149731a28ab62218b456b/html5/thumbnails/12.jpg)
CRUD
POST /my-folder {…}
GET /my-folder/1
PUT /my-folder/1
DELETE /my-folder
![Page 13: Plone.restapi - a bridge to the modern web](https://reader033.vdocument.in/reader033/viewer/2022042908/58f149731a28ab62218b456b/html5/thumbnails/13.jpg)
Schema
GET Plone/@types/Collection
![Page 14: Plone.restapi - a bridge to the modern web](https://reader033.vdocument.in/reader033/viewer/2022042908/58f149731a28ab62218b456b/html5/thumbnails/14.jpg)
![Page 15: Plone.restapi - a bridge to the modern web](https://reader033.vdocument.in/reader033/viewer/2022042908/58f149731a28ab62218b456b/html5/thumbnails/15.jpg)
Components
![Page 16: Plone.restapi - a bridge to the modern web](https://reader033.vdocument.in/reader033/viewer/2022042908/58f149731a28ab62218b456b/html5/thumbnails/16.jpg)
Navigation
GET /@components/navigation
![Page 17: Plone.restapi - a bridge to the modern web](https://reader033.vdocument.in/reader033/viewer/2022042908/58f149731a28ab62218b456b/html5/thumbnails/17.jpg)
Breadcrumbs
GET /@components/breadcrumbs
![Page 18: Plone.restapi - a bridge to the modern web](https://reader033.vdocument.in/reader033/viewer/2022042908/58f149731a28ab62218b456b/html5/thumbnails/18.jpg)
Workflow
POST /front-page/@workflow/publish
![Page 19: Plone.restapi - a bridge to the modern web](https://reader033.vdocument.in/reader033/viewer/2022042908/58f149731a28ab62218b456b/html5/thumbnails/19.jpg)
Registry
GET /@registry/my-setting
PUT /@registry/my-setting
![Page 20: Plone.restapi - a bridge to the modern web](https://reader033.vdocument.in/reader033/viewer/2022042908/58f149731a28ab62218b456b/html5/thumbnails/20.jpg)
Users
POST /@users {…}
GET /@users/tisto
PUT /@users/tisto
DELETE /@users/tisto
![Page 21: Plone.restapi - a bridge to the modern web](https://reader033.vdocument.in/reader033/viewer/2022042908/58f149731a28ab62218b456b/html5/thumbnails/21.jpg)
Search
GET/@search?SearchableText=
![Page 22: Plone.restapi - a bridge to the modern web](https://reader033.vdocument.in/reader033/viewer/2022042908/58f149731a28ab62218b456b/html5/thumbnails/22.jpg)
![Page 23: Plone.restapi - a bridge to the modern web](https://reader033.vdocument.in/reader033/viewer/2022042908/58f149731a28ab62218b456b/html5/thumbnails/23.jpg)
Current Status
![Page 24: Plone.restapi - a bridge to the modern web](https://reader033.vdocument.in/reader033/viewer/2022042908/58f149731a28ab62218b456b/html5/thumbnails/24.jpg)
Start today!
pypi.python.org/pypi/plone.rest
pypi.python.org/pypi/plone.restapi
![Page 25: Plone.restapi - a bridge to the modern web](https://reader033.vdocument.in/reader033/viewer/2022042908/58f149731a28ab62218b456b/html5/thumbnails/25.jpg)
plone.restapia bridge to the modern web
Plone Conference Boston 2016 — Timo Stollenwerk, kitconcept GmbH
Timo Stollenwerk kitconcept.com github.com/kitconcept twitter.com/timostollenwerk