Get headers for a document by ID
head/documents/{entityTypeName}/{documentId}
Gets headers for a document by ID. Both internal and external documents can be read.
| Name | Type | Required | Description |
|---|---|---|---|
documentId | string | true | The ID for the document. |
entityTypeName | string | true | The name of the entity type to which the document belongs. |
| Name | Type | Required | Description |
|---|---|---|---|
depth | string | false | The depth of child documents to return. Valid values are: '0' - No child documents are included in each document '1' - Child documents are included in each document if they exist for that document Default: 0 |
includeDisplayLabel | boolean | false | Indicates whether to generate and include the display label in the document. Default: false |
| Status | Meaning | Description | ||
|---|---|---|---|---|
| 200 | OK | The request succeeded. | ||
| 400 | Bad Request | The request was invalid. | ||
| 404 | Not Found | The document was not found. |