DocumentationAPI reference

Rust · 0.1.0

List Memo Reactions

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

MemoService · MemoService_ListMemoReactions

Protocol-derived reference. Authorization and instance policy still apply. Schema descriptions are inherited from the MIT-licensed application contract; examples here are not executed against a live server.

Access

The resource must be readable by the caller. Anonymous access depends on public instance policy and the memo's visibility. Unlinked attachments require their owner or an instance administrator. A resource name alone does not grant access.

Declared pagination is not applied

The current Rust implementation returns the complete readable collection for this memo and leaves nextPageToken empty. pageSize and pageToken are declared in the protocol but do not partition this endpoint's results.

Request

ListMemoReactions lists reactions for a memo.

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

Parameters

Name / locationType / requirementDescription
memo
path
string
Required
The memo id.
pageSize
query
integer (int32)
Not marked required in OpenAPI
Optional. The maximum number of reactions to return.
pageToken
query
string
Not marked required in OpenAPI
Optional. A page token for pagination.

Request body

No request body is declared.

Responses

200 · OK

application/json · ListMemoReactionsResponse

default · Default error response

application/json · Status

Complete operation definition

All declared constraints, media types and response details are retained below. Schema references link to their complete definitions.

Open JSON definition
{
  "tags": [
    "MemoService"
  ],
  "description": "ListMemoReactions lists reactions for a memo.",
  "operationId": "MemoService_ListMemoReactions",
  "parameters": [
    {
      "name": "memo",
      "in": "path",
      "description": "The memo id.",
      "required": true,
      "schema": {
        "type": "string"
      }
    },
    {
      "name": "pageSize",
      "in": "query",
      "description": "Optional. The maximum number of reactions to return.",
      "schema": {
        "type": "integer",
        "format": "int32"
      }
    },
    {
      "name": "pageToken",
      "in": "query",
      "description": "Optional. A page token for pagination.",
      "schema": {
        "type": "string"
      }
    }
  ],
  "responses": {
    "200": {
      "description": "OK",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/ListMemoReactionsResponse"
          }
        }
      }
    },
    "default": {
      "description": "Default error response",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/Status"
          }
        }
      }
    }
  }
}