GET /api/attachments
Changed onListAttachments lists attachments linked to memos the caller can read, plus the caller's unlinked uploads.
Request
- The document declares no server URL.
- Authnone declared
Query parameters
Optional. The maximum number of attachments to return. The service may return fewer. If unspecified, at most 50 attachments are returned. Values above 1000 are coerced to 1000.
Optional. A page token from a previous call. Provide it to retrieve the next page.
Optional. A CEL filter over the results. Example: mime_type == "image/png" or filename.contains("test"). Supported operators: ==, !=, <, <=, >, >=, : (contains), in. Supported fields: creator, filename, mime_type, create_time, memo_id, space. creator is the linked memo's creator, or the uploader for an unlinked attachment. It supports equality with a User resource name. space is the linked memo's Space resource name, or null when the attachment is unlinked or its memo has no space. It supports only a non-negated == comparison with a Space resource name or null.
Optional. The order to sort results by, such as "create_time desc" or "filename asc". The service does not apply it yet.
Response
OK
Changes
- info
endpoint added
- info