Skip to content

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>'
ref
required
string
Decuma-Mandant
string format: uuid

The Mandant a session acts on; an API-Schlüssel is bound to its own.

The file, streamed

Media typeapplication/octet-stream
string

Problem

Media typeapplication/problem+json
object
code
required
string
Allowed values: validation not_authenticated not_allowed needs_human second_factor_required unknown_command idempotency_conflict not_found conflict busy internal
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"
}