Method for Getting Current Server Version and Supported API Versions

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:

Server API | API User Authentication Method