To get the current version of a mobile platform server and supported API versions, execute the request using the "info" API method (determine user token before executing the request):
curl -X GET '<IP address or DNS server name>/api/info/' --header 'Authorization: Bearer <user token>' --header 'Accept: application/json'
The example of response:
{
"platform": {
"version": "<mobile platform server version>"
},
"api": [{
"version": "<supported API versions>"
}]
}
See also: