Get a deploy
GET
/v1/deploys/{deployId}
const url = 'https://api.presscloud.example/v1/deploys/example';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.presscloud.example/v1/deploys/example \ --header 'Authorization: Bearer <token>'Returns a single deploy.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” deployId
required
string
Query Parameters
Section titled “Query Parameters ” limit
integer
Maximum number of render jobs to return. Defaults to 20.
cursor
string
Opaque cursor returned by a previous render jobs list response.
Responses
Section titled “ Responses ”Deploy detail.
Media type application/json
object
deploy
required
object
id
required
string
accountId
required
string
slug
required
string
name
required
string
createdAt
required
integer
Example generated
{ "deploy": { "id": "example", "accountId": "example", "slug": "example", "name": "example", "createdAt": 1 }}Requested resource was not found.
Media type application/json
object
error
required
string
message
required
string
Example generated
{ "error": "example", "message": "example"}Route is defined but not implemented yet.
Media type application/json
object
error
required
string
message
required
string
Example generated
{ "error": "example", "message": "example"}