Breadcrumbs#
Get the breadcrumbs for the current page:
GET /plone/front-page/@breadcrumbs HTTP/1.1
Accept: application/json
Authorization: Basic YWRtaW46c2VjcmV0
curl -i -X GET http://nohost/plone/front-page/@breadcrumbs -H "Accept: application/json" --user admin:secret
http http://nohost/plone/front-page/@breadcrumbs Accept:application/json -a admin:secret
requests.get('http://nohost/plone/front-page/@breadcrumbs', headers={'Accept': 'application/json'}, auth=('admin', 'secret'))
Example response:
HTTP/1.1 200 OK
Content-Type: application/json
{
"@id": "http://localhost:55001/plone/front-page/@breadcrumbs",
"items": [
{
"@id": "http://localhost:55001/plone/front-page",
"title": "Welcome to Plone"
}
],
"root": "http://localhost:55001/plone"
}