Get upload session status
GET
/uploads/{id}
const url = 'https://api.devstreamcore.com/v1/uploads/up_a1b2c3d4e5f6a1b2c3d4';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
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://api.devstreamcore.com/v1/uploads/up_a1b2c3d4e5f6a1b2c3d4 \ --header 'Authorization: Bearer <token>'Authorizations
Seção intitulada “Authorizations ”Parameters
Seção intitulada “ Parameters ”Path Parameters
Seção intitulada “Path Parameters ” id
required
string
Example
up_a1b2c3d4e5f6a1b2c3d4Responses
Seção intitulada “ Responses ”Upload session status
Media type application/json
object
id
required
string
status
required
string
timeout
required
number
video_id
required
string | null
Example generated
{ "id": "example", "status": "example", "timeout": 1, "video_id": "example"}Missing or invalid API key
Media type application/json
Error envelope — a single error per response.
object
error
required
object
type
required
string
code
string
message
required
string
param
string
request_id
string
Example
{ "error": { "type": "invalid_request_error" }}Resource not found
Media type application/json
Error envelope — a single error per response.
object
error
required
object
type
required
string
code
string
message
required
string
param
string
request_id
string
Example
{ "error": { "type": "invalid_request_error" }}