public class VersionResources extends Object implements org.exoplatform.services.rest.resource.ResourceContainer
| Modifier and Type | Field and Description |
|---|---|
static String |
LATEST_VERSION
The latest social rest api version.
|
static List<String> |
SUPPORTED_VERSIONS
The supported versions
|
static String |
VERSION_ONE |
| Constructor and Description |
|---|
VersionResources() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
getLatestVersion(javax.ws.rs.core.UriInfo uriInfo,
String format)
Gets the latest REST API version of eXo Platform.
|
javax.ws.rs.core.Response |
getSupportedVersions(javax.ws.rs.core.UriInfo uriInfo,
String format)
Gets eXo Platform REST service versions that are supported.
|
public static final String LATEST_VERSION
public static final String VERSION_ONE
public javax.ws.rs.core.Response getLatestVersion(@Context
javax.ws.rs.core.UriInfo uriInfo,
String format)
uriInfo - The URI information.format - The format of the returned result, for example, JSON or XML.<version>v1-alpha3</version>public javax.ws.rs.core.Response getSupportedVersions(@Context
javax.ws.rs.core.UriInfo uriInfo,
String format)
uriInfo - The URI information.format - The expected returned format.<versions>
<version>v1-alpha3</version>
</versions>
Copyright © 2003–2018 eXo Platform SAS. All rights reserved.