Set Memo Relations
SetMemoRelations replaces the full set of relations on a memo with the provided list. An empty list clears them. Requires the memo creator or an instance administrator.
Path Parameters
The memo id.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Request message for MemoService.SetMemoRelations.
Response Body
application/json
curl -X PATCH "https://example.com/api/memos/string/relations" \ -H "Content-Type: application/json" \ -d '{ "name": "string", "relations": [ { "memo": { "name": "string" }, "relatedMemo": { "name": "string" }, "type": "TYPE_UNSPECIFIED" } ] }'Set Memo Attachments
SetMemoAttachments replaces the full set of attachments on a memo with the provided list (not an append). Pass the complete desired set; an empty list clears all attachments. Idempotent. Requires the memo creator or an instance administrator.
Update Memo
UpdateMemo updates the memo fields listed in update_mask. Requires the memo creator or an instance administrator.