getSmartLinkAncestors
Get all ancestors of Smart Link in content tree
GET /embeds/{id}/ancestors HTTP/1.1Parameters
{
"id": {
"description": "The ID of the Smart Link in the content tree.",
"required": true,
"location": "path",
"type": "integer",
"format": "int64"
},
"limit": {
"description": "Maximum number of items per result to return. If more results exist, call the endpoint with the highest ancestor's ID to fetch the next set of results.",
"required": false,
"location": "query",
"type": "integer",
"format": "int32"
}
}Response Schema
{
"title": "MultiEntityResult<Ancestor>",
"type": "object",
"properties": {
"results": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "ID of the ancestor"
},
"type": {
"enum": [
"page",
"whiteboard",
"database",
"embed",
"folder"
],
"type": "string",
"description": "The type of ancestor."
}
}
}
}
}
}