Document

Gets ancestors for a collection of document items.

Changed on

Gets the ancestor chains for document items identified by the provided Ids.

get/umbraco/management/api/v1/item/document/ancestors

Request

  • The document declares no server URL.
  • Auth
    OAuth 2
    Authorization code/umbraco/management/api/v1/security/back-office/authorize
    Token URL/umbraco/management/api/v1/security/back-office/token

Query parameters

id, string[]

Response

OK

ItemAncestorsResponseModelDocumentItemResponseModel[] required
id, string uuid required
ancestors, DocumentItemResponseModel[] required

Changes

    • breaking

      the items response's property type changed from no type to object for status

    • info

      removed from the items response property oneOf list for the response status

    • info

      added the required property items/ancestors to the response with the status

    1 more change in this revision