MemoService

POST /api/memos/{memo}/reactions

Changed on

UpsertMemoReaction adds or updates the authenticated user's reaction on a memo. Requires read access to the memo.

Request

  • The document declares no server URL.
  • Auth
    none declared

Path parameters

memostring required

The memo id.

Request body

parentstring required

Required. The resource name of the memo. Format: memos/{memo}

Response

OK

namestring

Identifier. The resource name of the reaction. Format: memos/{memo}/reactions/{reaction}

creatorstring

Output only. The resource name of the creator. Format: users/{user}

reactionTypestring required

Required. The reaction, such as an emoji ("👍", "❤️", "😄").

createTimestring date-time

Output only. The creation time.

Changes