Tearleads

GET/documents/{documentId}/attachments

List active document attachments

Operation documents.attachments.list

Description

Lists a document's active attachment bindings with each blob's signed binding event, signed write header, and blob content-key bundle, which clients need to decrypt the blob. Requires read access through a linked container path.

Authentication

Requires a signed-in session: the client sends its session token as a bearer token in the Authorization header.

Parameters

NameInTypeDetails
documentIdpathstringrequired

Responses

200 OK

application/jsonListDocumentAttachmentsResponse

A document's active attachment bindings.

Other responses

StatusMeaningBody
400Bad Request

application/jsonErrorResponse

401Unauthorized

application/jsonSessionFailureResponse

403Forbidden

application/jsonErrorResponse

404Not Found

application/jsonErrorResponse

409Conflict

application/jsonErrorResponse

500Internal Server Error

application/jsonErrorResponse

503Service Unavailable

application/jsonErrorResponse