PeerTube · Example Payload

Get_Api_V1_Videos_Ownership

List ownership change requests received by the authenticated user and requests sent by a channel managed by the authenticated user

Ownership Change

Get_Api_V1_Videos_Ownership 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": "get_api_v1_videos_ownership",
  "method": "GET",
  "path": "/api/v1/videos/ownership",
  "summary": "List video ownership changes",
  "description": "List ownership change requests received by the authenticated user and requests sent by a channel managed by the authenticated user",
  "tags": [
    "Ownership Change"
  ],
  "parameters": [
    {
      "name": null,
      "in": null,
      "required": false,
      "description": "",
      "schema": {}
    },
    {
      "name": null,
      "in": null,
      "required": false,
      "description": "",
      "schema": {}
    },
    {
      "name": "sort",
      "in": "query",
      "required": false,
      "description": "",
      "schema": {
        "type": "string",
        "enum": [
          "-createdAt",
          "createdAt"
        ]
      }
    }
  ],
  "requestBody": null,
  "responses": {
    "200": {
      "description": "successful operation",
      "examples": {}
    },
    "401": {
      "description": "authentication required",
      "examples": {}
    }
  }
}