Get headers for file attachment metadata associated with a document

head/documents/{entityTypeName}/{documentId}/attachments/{attachmentId}
Internal-Use Only

Gets headers for the file attachment metadata that is associated with a document. The "location" property is the relative URI path to download the document from the Files service. To retrieve the contents of an attachment, use the URI that is provided in the "location" field: GET ${hostAndPort}${valueOfLocationProperty} . Note that hostAndPort is the host and port of the Files service.

Request Samples

1

Response Samples

1No example avaliable

Path Parameters

NameTypeRequiredDescription
attachmentId
string
true

The ID for the attachment metadata.

documentId
string
true

The ID for the document.

entityTypeName
string
true

The name of the entity type to which the document belongs.

Responses

StatusMeaningDescription
200OKThe request succeeded.
400Bad RequestThe request was invalid.
404Not FoundThe attachment was not found.