PeerTube · Example Payload

Post_Api_V1_Videos_Ownership_Id_Refuse

Ownership Change

Post_Api_V1_Videos_Ownership_Id_Refuse 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": "post_api_v1_videos_ownership_id_refuse",
  "method": "POST",
  "path": "/api/v1/videos/ownership/{id}/refuse",
  "summary": "Refuse ownership change request",
  "description": "",
  "tags": [
    "Ownership Change"
  ],
  "parameters": [
    {
      "name": null,
      "in": null,
      "required": false,
      "description": "",
      "schema": {}
    }
  ],
  "requestBody": null,
  "responses": {
    "204": {
      "description": "successful operation",
      "examples": {}
    },
    "400": {
      "description": "ownership change request already accepted/refused",
      "examples": {}
    },
    "403": {
      "description": "cannot terminate an ownership change of another user",
      "examples": {}
    },
    "404": {
      "description": "video ownership change not found",
      "examples": {}
    }
  }
}