Get headers for file attachment metadata

head/documents/{entityTypeName}/{documentId}/attachments/{attachmentId}

Retrieves 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

1Not Available

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
200OK

The request succeeded.

400Bad Request

The request was invalid.

404Not Found

The attachment was not found.