Upload status.
bearerAuthAuthorizationBearer <token>A Sluby API key (sluby_...) sent as Authorization: Bearer <key>. Keys carry scopes: upload, read, manage.
id*stringUpload id, the last segment of the tus Location.
Status and progress.
application/json- response
id*stringThe upload id: the last segment of the tus Location.
video_asset_id*|uuidstatus*string"uploading""completed""cancelled""failed"progress_percent*integer0 <= value <= 100file_size*integeruploaded_bytes*integercurl -X GET 'https://sluby.example.com/api/v1/uploads/string'{ "id": "string", "video_asset_id": "54cbbdd6-c2f9-402b-808d-71f69081f2d7", "status": "uploading", "progress_percent": 0, "file_size": 0, "uploaded_bytes": 0}Start a resumable upload (tus 1.0.0 creation). POST
Creates the video asset and answers with the upload url in Location: `<PUBLIC_URL>/api/v1/uploads/<upload id>`. The upload id (a uuid) is also the id of GET and DELETE /api/v1/uploads/{id}. Send the bytes with PATCH to that url; a HEAD on it returns Upload-Metadata with videoAssetId. Metadata keys (values base64): filename, filetype (must be video/* when given), title (up to 200 characters, "Untitled" when missing), description (up to 5000 characters), accessTier or access_tier (public or private, default public). Errors answer plain text.
Send upload bytes (tus). PATCH
Next Page