A signed link to an output's file
POST
/v1/outputs/{output}/links
const url = 'https://example.com/v1/outputs/example/links';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"expiresIn":1}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/v1/outputs/example/links \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "expiresIn": 1 }'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”output
required
string
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
expiresIn
integer
Example generated
{ "expiresIn": 1}Responses
Section titled “Responses”Made; the answer describes it.
Media typeapplication/json
object
url
required
string
expiresAt
required
string
Example generated
{ "url": "example", "expiresAt": "example"}No key, or not a valid one.
Media typeapplication/json
object
code
required
string
message
required
string
requestId
string
Example
{ "code": "field-unknown"}The key lacks the scope, or its tenant is suspended or deleted.
Media typeapplication/json
object
code
required
string
message
required
string
requestId
string
Example
{ "code": "field-unknown"}