app.bsky.video.uploadVideo
POST/xrpc/app.bsky.video.uploadVideo
This endpoint is part of the Bluesky application Lexicon APIs (app.bsky.*
). Public endpoints which don't require authentication can be made directly against the public Bluesky AppView API: https://public.api.bsky.app. Authenticated requests are usually made to the user's PDS, with automatic service proxying. Authenticated requests can be used for both public and non-public endpoints.
To learn more about calling atproto API endpoints like this one, see the API Hosts and Auth guide.
Upload a video to be processed then stored on the PDS.
Request
- video/mp4
Body
required
any
Responses
- 200
- 400
- 401
OK
- application/json
- Schema
- Example (from schema)
Schema
jobStatus
object
required
Possible values: [JOB_STATE_COMPLETED
, JOB_STATE_FAILED
]
The state of the video processing job. All values not listed as a known value indicate that the job is in process.
Possible values: <= 100
{
"jobStatus": {
"jobId": "string",
"did": "string",
"state": "JOB_STATE_COMPLETED",
"progress": 0,
"blob": "string",
"error": "string",
"message": "string"
}
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
Possible values: [InvalidRequest
, ExpiredToken
, InvalidToken
]
{
"error": "InvalidRequest",
"message": "string"
}
Unauthorized
- application/json
- Schema
- Example (from schema)
Schema
{
"message": "string"
}