Skip to main content

Show download link

Muestra el detalle de un enlace de descarga generado haciendo ingreso de su uuid.

Endpoint

Headers

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

Url

Method: GET
URL: https://api.trust.lat/chronos/v1/links/: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 enlace de descarga

Code Examples

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

Responses

HTTP Code: 200 OK

{
"code": 200,
"resource": "Download Link",
"data": {
"link": "https://api-tst.trust.lat/chronos/v1/file/ffffffffffffffffffffffffffffffff",
"max_download": 1,
"uuid": "ffffffff-ffff-ffff-ffff-ffffffffffff",
"size": "1687.421875 KB",
"secured_by_password": true
},
"message": "Found"
}

HTTP Code: 404 Not Found

{
"code": 404,
"resource": "Download Link",
"message": "Not found"
}