MemoService

UpsertMemoReaction adds or updates the authenticated user's reaction on a memo.

post/api/v1/memos/{memo}/reactions

Path parameters

memostring required

The memo id.

Request body

namestring required

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

Response

OK

namestring

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

creatorstring

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

reactionTypestring required

Required. The type of reaction (e.g., "👍", "❤️", "😄").

createTimestring date-time

Output only. The creation timestamp.

Changes

Changed in 1 of the 63 revisions of this API.11

  • 2f6093dc860011See the full diff
    • removed the required property contentId from the response with the 200 status

      response-required-property-removed

    • removed the request property reaction/allOf[Reaction]/contentId

      request-property-removed