v52

latestOpenAPI 3.0.3raw.githubusercontent.com2026-08-037389158.9 KB
AttachmentService

GetAttachment returns an attachment by name.

get/api/v1/attachments/{attachment}

Path parameters

attachmentstring required

The attachment id.

Response

OK

namestring

The name of the attachment. Format: attachments/{attachment}

createTimestring date-time

Output only. The creation timestamp.

filenamestring required

The filename of the attachment.

contentstring bytes

Input only. The content of the attachment.

externalLinkstring

Optional. The external link of the attachment.

typestring required

The MIME type of the attachment.

sizestring

Output only. The size of the attachment in bytes.

memostring

Optional. The related memo. Refer to Memo.name. Format: memos/{memo}