GET
/api/v1/attachmentsList attachments
Lists attachments linked to readable memos and unlinked uploads belonging to the authenticated user. Use filter to narrow the results and orderBy to sort them; use pageToken to retrieve subsequent pages.
pageSizeintegeroptional
Maximum number of attachments to return; the service may return fewer. Defaults to at most 50 when omitted, and values above 1000 are coerced to 1000.
pageTokenstringoptional
A page token from a previous `ListAttachments` response, used to retrieve the next page.
filterstringoptional
A filter expression for attachment results. Supports the operators =, !=, <, <=, >, >=, :, and in, with the documented fields creator, filename, mime_type, create_time, memo_id, and space.
orderBystringoptional
Sort expression for results, such as `create_time desc` or `filename asc`.
200Returns a list of attachments and a `nextPageToken` when another page is available; the token is omitted when there are no subsequent pages.
attachmentsarray<object>optional
The list of attachments.
nextPageTokenstringoptional
A token that can be sent as `page_token` to retrieve the next page.
If this field is omitted, there are no subsequent pages.
defaultReturned when the request fails; includes an error code, a developer-facing message, and optional structured details.
codeintegeroptional
The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
messagestringoptional
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
detailsarray<object>optional
A list of messages that carry the error details. There is a common set of message types for APIs to use.
Error handling
pageSize values above 1000 are coerced to 1000, and the service may return fewer attachments than requested. filter supports the documented operators and fields, while pageToken must come from a previous list response to retrieve a subsequent page.
