PeerTube · Example Payload

Acceptregistration

Register

Acceptregistration is an example object payload from PeerTube, with 9 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationIdmethodpathsummarydescriptiontagsparametersrequestBodyresponses

Example Payload

Raw ↑
{
  "operationId": "acceptRegistration",
  "method": "POST",
  "path": "/api/v1/users/registrations/{registrationId}/accept",
  "summary": "Accept registration",
  "description": "",
  "tags": [
    "Register"
  ],
  "parameters": [
    {
      "name": null,
      "in": null,
      "required": false,
      "description": "",
      "schema": {}
    }
  ],
  "requestBody": {
    "contentType": "application/json",
    "schema": {
      "$ref": "#/components/schemas/UserRegistrationAcceptOrReject"
    },
    "example": {}
  },
  "responses": {
    "204": {
      "description": "successful operation",
      "examples": {}
    }
  }
}