GET applications - ocariot/api-gateway GitHub Wiki
Description
Returns a list with applications.
Permissions:
- Only Admin user can list information of all applications.
Scope
applications:readAll
URL
Curl example
curl -X GET "https://localhost/v1/applications" -H "accept: application/json" -H "Authorization: Bearer YOUR_ACCESS_TOKEN"
Response body
-
200
Successful requisition.[ { "id": "5db32930bec1431c51ae15fb", "username": "APPBR01", "institution_id": "5a62be07de34500146d9c624", "application_name": "Raspberry Pi 3 Model B+" } ]
-
403
Permission Error
Query Strings (Optional)
Query strings are used as follows: there must be a question mark following the URL and providing the parameters for the desired operations. There are four possible operations: filtering, paging, limiting, and sorting.
-
Filtering
-
Pagination
-
Limitation
-
Sorting
All parameters can also be used together concatenated by the &
character as follows:
https://localhost/v1/applications?username=*BR*&sort=username&page=1&limit=10
For more details about using Query Strings click here.