P
PeerTube REST API
Details
- URL
-
https://peertube.cpy.re/api/v1 - Spec
- https://raw.githubusercontent.com/Chocobozzz/PeerTube/develop/support/doc/api/openapi.yaml
- Spec (json)
- https://api.apis.guru/v2/specs/cpy.re/peertube/5.1.0/openapi.json
- Docs
- https://docs.joinpeertube.org/api-rest-reference.html
Authentication
Authorization: Bearer <credential> On a PeerTube instance, first fetch the local OAuth client from GET /api/v1/oauth-clients/local, then exchange your instance user credentials for an access token at POST /api/v1/users/token as documented in the REST API quick start. Send the resulting token as Authorization: Bearer <token>.
api_key=<credential> Fetch the instance's built-in local OAuth client from GET /api/v1/oauth-clients/local as shown in the REST API quick start. Use the returned client_id and client_secret together when exchanging for a user access token at POST /api/v1/users/token.