Template
Gets a collection of ancestor template items.
Changed onGets a collection of template items that are ancestors to the provided Id.
get/umbraco/management/api/v1/tree/template/ancestors
Request
- The document declares no server URL.
- AuthOAuth 2Authorization code/umbraco/management/api/v1/security/back-office/authorizeToken URL/umbraco/management/api/v1/security/back-office/token
Query parameters
descendantId, string uuid
Response
OK
Named Entity Tree Item Response Model[] required
name, string required
id, string uuid required
parent, Reference By Id Model nullable
flags, Flag Model[] required
hasChildren, boolean required
Changes
- breaking
the
itemsresponse's property type changed from no type toobjectfor status - info
added the optional property
items/parentto the response with the status - info
removed from the
itemsresponse propertyoneOflist for the response status
4 more changes in this revision
- breaking