For more info about the project, please visit the Cagliari Port 2020 official website
All API endpoints use HTTPS protocol.
All API endpoints require authentication.
Thus, you MUST obtain an API token and use it in HTTP header, as in:
Authentication: Bearer <API_TOKEN>
or appending a URL parameter as in:
/apps?access_token=<API_TOKEN>
or appending in body request as in:
{access_token=<API_TOKEN>}
All endpoints providing a listing functionality, like /apps
, returns paginated responses.
Pagination information is always provided using the following format:
...
"_metadata":{
"skip":10,
"limit":50,
"totalCount":1500
}
Token Type | access_token |
---|---|
User Token Type | eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9. eyJtb2RlIjoidXNlciIsImlzcyI6IjU4YmRhNWMxMzk1YTNkMjdhYmVjMzQ5YiIsImVtY WlsIjoiYWRtaW5AYWRtaW4uY29tIiwidHlwZSI6ImFkbWluIiwiZW5hYmxlZCI6dHJ1ZSwiZXhwIjoxNDkwMDE3MDcyNDY4fQ. NS0B-MnuMensDhLBe13I3dxzKWvqQeKQ5Z49cqmIeXs |
Application Token Type | eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9. eyJtb2RlIjoiZGV2ZWxvcGVyIiwiaXNzIjoiNThjNmQyNGMxMWFmMTA4MWY2OTYwZTE3I iwiZW1haWwiOiJwaXBwbzZAcGlwcG8uaXQiLCJ0eXBlIjoiYWRtaW5BcHAiLCJlbmFibGVkIjp0cnVlLCJleHAiOjE0OTAwMjk3NzMwNzh9. jXivXxjnOlbFVBiLpdS1em2__EvS08Ms4pf5jtVz9Mo |
Login Type | Username | password |
---|---|---|
User Login | [email protected] | admin |
Application Login | [email protected] | admin |