PeerTube · Example Payload

Get_Api_V1_Videos_Id_Stats_Overall

Video Stats

Get_Api_V1_Videos_Id_Stats_Overall 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_id_stats_overall",
  "method": "GET",
  "path": "/api/v1/videos/{id}/stats/overall",
  "summary": "Get overall stats of a video",
  "description": "",
  "tags": [
    "Video Stats"
  ],
  "parameters": [
    {
      "name": null,
      "in": null,
      "required": false,
      "description": "",
      "schema": {}
    },
    {
      "name": "startDate",
      "in": "query",
      "required": false,
      "description": "Filter stats by start date",
      "schema": {
        "type": "string",
        "format": "date-time"
      }
    },
    {
      "name": "endDate",
      "in": "query",
      "required": false,
      "description": "Filter stats by end date",
      "schema": {
        "type": "string",
        "format": "date-time"
      }
    }
  ],
  "requestBody": null,
  "responses": {
    "200": {
      "description": "successful operation",
      "examples": {}
    }
  }
}