CreateMemo creates a memo. The request body is a Memo; set its content (Markdown) and visibility (PRIVATE | PROTECTED | PUBLIC | SPACE, default PRIVATE). The memo is owned by the authenticated user; requires authentication.
Query parameters
Optional. The memo ID to use for this memo. If empty, a unique ID will be generated. Format: ^a-zA-Z0-9?$
Request body
The resource name of the memo. Format: memos/{memo}, where memo is the user-defined UID.
The state of the memo.
The name of the creator. Format: users/{user}
The creation timestamp. If not set on creation, the server will set it to the current time.
The last update timestamp. If not set on creation, the server will set it to the current time.
Required. The content of the memo in Markdown format.
The visibility of the memo. One of PRIVATE (creator only), PROTECTED (signed-in users), PUBLIC (anonymous-eligible), or SPACE (active space members). Defaults to PRIVATE on creation when unspecified.
Output only. The tags extracted from the content.
Whether the memo is pinned.
Output only. The readable context memo of this COMMENT relation, if any. This is omitted unless the caller may independently read both memos. Format: memos/{memo}
Output only. The snippet of the memo content. Plain text only.
Optional. The space in which this memo is placed. Format: spaces/{space}. Every memo, including a comment, owns its placement independently.
Response
OK
The resource name of the memo. Format: memos/{memo}, where memo is the user-defined UID.
The state of the memo.
The name of the creator. Format: users/{user}
The creation timestamp. If not set on creation, the server will set it to the current time.
The last update timestamp. If not set on creation, the server will set it to the current time.
Required. The content of the memo in Markdown format.
The visibility of the memo. One of PRIVATE (creator only), PROTECTED (signed-in users), PUBLIC (anonymous-eligible), or SPACE (active space members). Defaults to PRIVATE on creation when unspecified.
Output only. The tags extracted from the content.
Whether the memo is pinned.
Output only. The readable context memo of this COMMENT relation, if any. This is omitted unless the caller may independently read both memos. Format: memos/{memo}
Output only. The snippet of the memo content. Plain text only.
Optional. The space in which this memo is placed. Format: spaces/{space}. Every memo, including a comment, owns its placement independently.