Gets a public doc
Changed onReturns a published doc. The response carries a reduced attribute set and includes the doc's child_pages, ordered by position.
Request
- Base URLhttps://developer.productive.io (the document declares no server; this is the origin it was published from)
- URLhttps://developer.productive.io/api/v2/public/pages/{uuid}
- Authnone required
Path parameters
The public UUID of the doc (public_uuid).
Response
A published doc as seen without authentication: a reduced attribute set plus its child_pages.
Example response
{
"data": {
"id": "48213",
"type": "pages",
"attributes": {
"title": "Onboarding guide",
"body": "{\"type\":\"doc\",\"content\":[{\"type\":\"paragraph\",\"content\":[{\"type\":\"text\",\"text\":\"Welcome to the onboarding guide.\"}]}]}",
"cover_image_meta": null,
"cover_image_url": null,
"icon_id": "book",
"position": null,
"preferences": {},
"public_uuid": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
},
"relationships": {
"child_pages": {
"data": [
{
"type": "pages",
"id": "48214"
}
]
}
}
},
"included": [
{
"id": "48214",
"type": "pages",
"attributes": {
"title": "Week one",
"body": "{\"type\":\"doc\",\"content\":[{\"type\":\"paragraph\",\"content\":[{\"type\":\"text\",\"text\":\"Welcome to the onboarding guide.\"}]}]}",
"cover_image_meta": null,
"cover_image_url": null,
"icon_id": null,
"parent_page_id": 48213,
"position": 1,
"preferences": {},
"root_page_id": 48213
}
}
],
"meta": {}
}Changes
- info
added the media type
application/vnd.api+jsonfor the response with the status - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
- breaking
the
//response's property type changed fromstringto no type for status - breaking
the
//response's property type changed fromstringto no type for status - breaking
the
//response's property type changed fromstringto no type for status - breaking
the
//response's property type changed fromintegerto no type for status - breaking
the
//response's property type changed fromstringto no type for status - info
added to the
//response propertyanyOflist for the response status - info
added
subschema #2to the//response propertyanyOflist for the response status - info
added
subschema #2to the//response propertyanyOflist for the response status - info
added
subschema #2to the//response propertyanyOflist for the response status - info
added
subschema #2to the//response propertyanyOflist for the response status - info
added
subschema #2to the//response propertyanyOflist for the response status - info
removed
subschema #1: Collection datafrom the//response propertyanyOflist for the response status - info
the response property
////became required for the status - info
the response property
/////became required for the status
This list may be incomplete.
- breaking