Skip to main content

Download by uuid

Ingresando la uuid de un archivo, este endpoint realiza el proceso de descarga del mismo en el servicio donde está almacenado.

Endpoint#

Headers

KeyValueDescription
Content-Typeapplication/json
AuthorizationBearer {{access_token}}access_token obtained in Atenea

Url

Method: GET
URL: https://api.trust.lat/chronos/v1/file_registers/:uuid
caution

Recuerda que para utilizar este endpoint es necesario un access token obtenido en el servicio Atenea

Como obtener un access token

Path Variables

KeyValueDescription
uuidffffffff-ffff-ffff-ffff-ffffffffffffIdentificador único del archivo

Code Examples#

curl --location --request GET 'https://api.trust.lat/chronos/v1/file_registers/ffffffff-ffff-ffff-ffff-ffffffffffff' \
--header 'Authorization: Bearer {{access_token}}'

Responses#

HTTP Code: 200 OK#

Nota: Cuando la operación se realiza éxitosamente, la respuesta entrega el archivo solicitado por el usuario.

HTTP Code: 404 Not Found#

{
"code": 404,
"resource": "File Register",
"message": "Not found"
}
Last updated on by Claudio-Franco