Download a stored file of the Mandant by its SHA-256 (verified against it), or a file reference returned by a Command (the export of a Mandant; valid for a short time and only for the session or API-Schlüssel that asked for it). CLI: decuma download <ref> --to <path>
GET
/v1/files/{ref}
Code sample: Shell / cURL
curl --request GET \ --url https://example.com/v1/files/example \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”ref
required
string
Header Parameters
Section titled “Header Parameters”Decuma-Mandant
string format: uuid
The Mandant a session acts on; an API-Schlüssel is bound to its own.
Responses
Section titled “Responses”The file, streamed
Media typeapplication/octet-stream
string
default
Section titled “default”Problem
Media typeapplication/problem+json
object
code
required
string
detail
What is wrong.
string
next_command
The Command the next step names, whatever the language of next_step.
string | null
next_step
What to do next.
string
retry_payload
Fields that complete the refused call when the refusal carries a proposal: merged into its payload, the same call goes through.
object | null
status
required
integer
title
required
string
type
required
string
Example
{ "code": "validation"}