Gets eXo Platform REST service versions that are supported. This is for backward compatibility. If a client application is using an older eXo Platform REST APIs version, all APIs of the version still can work. The array MUST have the latest to oldest order. For example, [v2, v1, v1-beta3], but not [v1, v2, v1-beta3].
URL:
http://{domain_name}/{rest_context_name}/private/api/social/version/supported.{format}
Level API: Platform
Parameters:
Required (path parameters):
Parameter | Description |
---|---|
format | The expected returned format. |
Optional (query parameters): No
Request example:
GET http://localhost:8080/rest/api/social/version/supported.json or GET http://localhost:8080/rest/api/social/version/supported.xml
Response:
{"versions": ["v1-alpha3"]} or {@code <versions> <version>v1-alpha3</version> </versions> }