Skip to main content

Get Tags Of File

Ingresando el uuid de un archivo, este endpoint retorna cada uno de los tags asociados a este si es que los tiene.

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/tags/
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
uuid'ffffffff-ffff-ffff-ffff-ffffffffffff'Identificador único del archivo

Code Examples#

curl --location --request GET 'https://api.trust.lat/chronos/v1/file_registers/ffffffff-ffff-ffff-ffff-ffffffffffff/tags/'

Responses#

HTTP Code: 200 OK#

{
"code": 200,
"resource": "Tags",
"data": {
"foofoo": "barbar"
},
"message": "Ok"
}

HTTP Code: 404 Not Found (File not found)#

{
"code": 404,
"resource": "File Register",
"message": "Not found"
}

HTTP Code: 404 Not Found (Tags not present in file)#

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