Get the processing status of a previously created upload. Only accessible by the DID that created the upload.
GET
/xrpc/place.stream.media.getUploadStatus
const url = 'https://example.com/xrpc/place.stream.media.getUploadStatus?uploadId=example';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://example.com/xrpc/place.stream.media.getUploadStatus?uploadId=example'Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”uploadId
required
The upload ID returned by place.stream.media.createUpload.
string
The upload ID returned by place.stream.media.createUpload.
Responses
Section titled “Responses”Success
Media typeapplication/json
object
status
required
Current processing status of the upload.
string
progress
Processing progress percentage (0-100). Only meaningful when status is ‘processing’.
integer
tracks
Published track records. Present when status is ‘done’.
Array<object>
object
uri
required
string format: uri
cid
required
string
durationMs
Duration of the processed video in milliseconds. Present when status is ‘done’.
integer
error
Error message. Present when status is ‘error’.
string
Example generated
{ "status": "example", "progress": 1, "tracks": [ { "uri": "https://example.com", "cid": "example" } ], "durationMs": 1, "error": "example"}Bad Request
Media typeapplication/json
object
error
required
One of:
string
message
required
string
Example
{ "error": "NotFound"}