cURL
curl --request GET \ --url https://app.aegister.com/api/v1/organizations/{organizationid}/workflows/{workflowid}/documents/{artifactid}/versions/{versionid}/download \ --header 'X-Aegister-Token: <api-key>'
{ "error": 0, "messages": "<array>", "data": { "filename": "<string>", "content_type": "<string>", "size": 123, "content": "aSDinaTvuI8gbWludGxpZnk=" } }
Returns the file content as a base64-encoded JSON response.
Artifact ID.
Organization ID.
Document version ID.
Workflow ID.
Any value different from 0 indicates an error. More details can be found in messages.
messages
0 <= x <= 0
0
If error is 1, contains zero or more details on the error.
error
1
[]
Show child attributes