Skip to main content

Get Application by ID

Este endpoint retorna la información relacionada a una aplicación en el servicio ingresando su identificador.

Endpoint

Headers

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

Url

Method: GET
URL: https://api.trust.lat/company/api/v1/app/:app_id
caution

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

Como obtener un access token

Code Examples

curl --location --request GET 'https://api.trust.lat/company/api/v1/app/1' \
--header 'Authorization: Bearer {{accessToken}}'

Responses

HTTP Code: 200 Found

{
"status": true,
"app": {
"id": 1,
"bundle_id": "com.trust.application",
"company_id": 1,
"name": "applicacion_1",
"description": "application from test 1",
"created_at": "2021-07-09T16:48:12.828Z",
"updated_at": "2021-07-09T16:48:12.828Z",
"status": true,
"img": "https://google.cl",
"capabilities": [],
"flavor_id": "com.trust.application",
"os": "android",
"client_uid": "",
"img_circle": "",
"generic_app": false,
"colour": ""
}
}

HTTP Code: 404 Not Found

{
"status": false
}