Download a video
POST/video/download
Downloads a finished video from the provider and returns its bytes. Each download uses one call slot of the budget. This route has no /v1 path.
Request
Responses
- 200
- 400
- 401
- 402
- 404
- 413
- 415
- 429
- 503
The video. The content-type is the one that the provider row sets, and video/mp4 when it sets none.
The body is not valid JSON (plain text), the body has no uri (missing_uri), the address is not a Google API host (forbidden_target), or no video provider is configured (no_route).
The bearer virtual key is missing (missing_key), or it is not valid or it is revoked (invalid_key).
The project may not send calls (subscription_required). proxium.tech is in open beta and does not return this answer.
No video of the project has this file (not_found).
The body is larger than the request body limit. The body of this answer is plain text.
The content-type is not application/json. The body of this answer is plain text.
The key or the source used its budget window (tenant_capped or source_capped, retry-after: 60), or the project reached a monthly cap (credits_exhausted, retry-after: 3600). No project on proxium.tech has a monthly cap during the open beta.
Response Headers
Seconds to wait before the next call.
The provider could not be reached or its answer is too large (upstream_failed), or it answered with an error status (upstream_error). Or: The key store or the limits store is not available (keystore_unavailable, limits_unavailable). A deployment that refuses calls while its budget store is down answers budget_unavailable with retry-after: 5; proxium.tech lets the call through.
Response Headers
Seconds to wait before the next call.