AMAGE REST API - downloading attachments
Downloading attachments after entering the UUID
To download an attachment from the AMAGE system, perform an HTTP GET request to the appropriate URL address. In the query, you must provide the UUID of the attachment you want to download. In response, we will receive a binary file that should be saved on the local disk.
Method: GET Path: rest/amage/v1/attachment/get/by-uuid/{uuid} Generates: APPLICATION_OCTET_STREAM_VALUE Requires: TEXT_PLAIN_VALUE, APPLICATION_JSON_VALUE Authorization: API signature (device-uuid, api-key , api-sign)
After executing the query, we will receive a binary file in response, which should be saved on the local disk. Python example code below.