Clears the cache for temp-contents api requests.
This endpoint is used to retrieve a temporary content file. It returns a valid (200 OK
) in case the file exists and the user is authorized to view the contents. It returns a 410 Gone
if the file has expired and 404 Not Found
if the criteria is not met.
This endpoint is used to retrieve a temporary content file. It returns a valid (200 OK
) in case the file exists and the user is authorized to view the contents. It returns a 410 Gone
if the file has expired and 404 Not Found
if the criteria is not met.
The temporary contents ID.
an object with query parameters
Optional
inline?: stringSet to "1" to download the file in inline mode. Useful for displaying a preview of the file in a browser.
Optional
options: ApiCallOptionsRetrieve a summary of the metadata associated with a temporary content resource. It returns a 200 OK
with a model if the temporary resource is valid. It returns a 410 Gone
if the file has expired and 404 Not Found
if the criteria is not met.
Retrieve a summary of the metadata associated with a temporary content resource. It returns a 200 OK
with a model if the temporary resource is valid. It returns a 410 Gone
if the file has expired and 404 Not Found
if the criteria is not met.
The temporary contents ID.
Optional
options: ApiCallOptionsUpload a file as a temporary content resource. It returns a 201 Created
with a location header that contains the location of the created resource. If filename or TTL is not properly set, a 400 Bad request
is returned. For internal issues, a 500 Internal Server Error
is returned.
Upload a file as a temporary content resource. It returns a 201 Created
with a location header that contains the location of the created resource. If filename or TTL is not properly set, a 400 Bad request
is returned. For internal issues, a 500 Internal Server Error
is returned.
an object with query parameters
Optional
filename?: stringThe name of the file to upload.
Optional
ttl?: numberThe TTL parameter is used to define the time-to-live for the content resource in seconds. It defaults to one hour (3600) if no input is provided. Max TTL is 259200 (3 days).'
an object with the body content
Optional
options: ApiCallOptions
Clears the cache for temp-contents api requests.