Query version

Your service can query version as follows:

Use this method to return the current version of the Nokia Notifications API.

URL

/nnapi/version

Note:

This is a cURL command. For more information, see Testing Service using cURL.

Method

GET

Response

200 OK

Version of the Nokia Notifications API.

Error cases

401 Unauthorized

  • Authorisation failed. Incorrect service credentials.

  • TCP/TLS connection for the HTTP requests may not be persistent. Make sure that your service uses a persistent TCP/TLS connection for the HTTP requests.

  • Forbidden service. Service access to Nokia Notifications API is forbidden.

405 Method Not Allowed

Wrong method used. Only GET method is allowed.

Example

Request GET URL

https://alpha.one.ovi.com/nnapi/version

Response DATA

HTTP/1.1 200 OK
Content-Length:102
Content-Type:application/vnd.nokia.ovi.ona+xml;charset=ISO-8859-1
<?xml version="1.0" encoding="UTF-8"?><version desc="Version of Nokia Notifications API">1.0</version>