Developer docs
Download Resource
GET
/v1/resources/{slug}/download
const url = 'https://example.com/v1/resources/example/download?t=';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/v1/resources/example/download?t='Serve the PDF named by a valid link; send an expired or tampered link back to the page.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters”slug
required
Slug
string
Query Parameters
Section titled “Query Parameters”t
T
string
Responses
Section titled “ Responses ”Successful Response
Media typeapplication/json
Response Download Resource V1 Resources Slug Download Get
Examplegenerated
exampleValidation Error
Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object
Examplegenerated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example", "input": "example", "ctx": {} } ]}