PeerTube Video Upload API
Operations dealing with adding video or audio. PeerTube supports two upload modes, and three import modes.### Upload- [_legacy_](#operation/uploadLegacy), where the video file is sent in a single request- [_resumable_](#operation/uploadResumableInit), where the video file is sent in chunksYou can upload videos more reliably by using the resumable variant. Its protocol letsyou resume an upload operation after a network interruption or other transmission failure,saving time and bandwidth in the event of network failures.Favor using resumable uploads in any of the following cases:- You are transferring large files- The likelihood of a network interruption is high- Uploads are originating from a device with a low-bandwidth or unstable Internet connection, such as a mobile device### Import- _URL_-based: where the URL points to any service supported by [youtube-dl](https://ytdl-org.github.io/youtube-dl/)- _magnet_-based: where the URI resolves to a BitTorrent resource containing a single supported video file- _torrent_-based: where the metainfo file resolves to a BitTorrent resource containing a single supported video fileThe import function is practical when the desired video/audio is available online. It makes PeerTubedownload it for you, saving you as much bandwidth and avoiding any instability or limitation your network might have.
PeerTube Video Upload API is one of 54 APIs that PeerTube publishes on the APIs.io network, described by a machine-readable OpenAPI specification.
Tagged areas include Video Upload. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, and rate-limit docs.
This API exposes 8 operations across 4 paths, and defines 20 schemas. It is described by OpenAPI 3.0.3, at version 8.1.0.
Requests are made against 3 base URLs: https://peertube2.cpy.re, https://peertube3.cpy.re, https://peertube.cpy.re.
Metadata
The identity and technical contract details declared by the specification.
Authentication & Security 1
PeerTube Video Upload API declares
1 security scheme
for authenticating requests.
It supports OAuth 2.0 (OAuth2) using the password flow, exposing 3 scopes.
OAuth2— Authenticating via OAuth requires the following steps: - Have an activated account - [Generate] an access token for that account at /api/v1/users/token. - Make…
Paths & Operations 8
Across 4 paths, the API surfaces 8 operations — 2 DELETE, 4 POST, 2 PUT. Each is listed below with its method, path, parameters, and response codes.
Operations dealing with adding video or audio. PeerTube supports two upload modes, and three import modes. Upload - [legacy](operation/uploadLegacy), where the video file is sent…
Schemas 20
The contract defines 20 schemas that model the data the API accepts and returns. The most detailed are VideoUploadRequestCommon (21 properties), Video (3 properties), VideoImport (3 properties), VideoScheduledUpdate (2 properties). Each schema is shown below with its type and property counts.
Specification
The full machine-readable OpenAPI contract behind this narrative.
Source
More from PeerTube 12
Other APIs PeerTube publishes across the network.
This is an independent, third-party profile of PeerTube Video Upload API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.
The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.
Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.
info@apievangelist.com
·
Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and
you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.