DocumentationAPI reference

Rust · 0.1.0

List User Webhooks

GET /api/v1/users/{user}/webhooks

UserService · UserService_ListUserWebhooks

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

Owner-only: the user named in the path must be the authenticated caller. Instance administrator status does not allow acting on another account here.

Request

ListUserWebhooks returns a list of webhooks for a user.

GET/api/v1/users/{user}/webhooks

Parameters

Name / locationType / requirementDescription
user
path
string
Required
The user id.

Request body

No request body is declared.

Responses

200 · OK

application/json · ListUserWebhooksResponse

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": [
    "UserService"
  ],
  "description": "ListUserWebhooks returns a list of webhooks for a user.",
  "operationId": "UserService_ListUserWebhooks",
  "parameters": [
    {
      "name": "user",
      "in": "path",
      "description": "The user id.",
      "required": true,
      "schema": {
        "type": "string"
      }
    }
  ],
  "responses": {
    "200": {
      "description": "OK",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/ListUserWebhooksResponse"
          }
        }
      }
    },
    "default": {
      "description": "Default error response",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/Status"
          }
        }
      }
    }
  }
}