|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.social.service.rest.api.VersionResources
public class VersionResources
The version public rest service to gets the current latest rest service version and supported versions.
Url template: {rest_context_name}/api/social/version
| Field Summary | |
|---|---|
static String |
LATEST_VERSION
The latest social rest api version. |
static List<String> |
SUPPORTED_VERSIONS
The supported versions |
| Constructor Summary | |
|---|---|
VersionResources()
|
|
| Method Summary | |
|---|---|
javax.ws.rs.core.Response |
getLatestVersion(javax.ws.rs.core.UriInfo uriInfo,
String format)
Get the latest eXo Social REST API version. |
javax.ws.rs.core.Response |
getSupportedVersions(javax.ws.rs.core.UriInfo uriInfo,
String format)
Get eXo Social REST service versions that are supported. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String LATEST_VERSION
public static final List<String> SUPPORTED_VERSIONS
| Constructor Detail |
|---|
public VersionResources()
| Method Detail |
|---|
public javax.ws.rs.core.Response getLatestVersion(@Context
javax.ws.rs.core.UriInfo uriInfo,
String format)
uriInfo - The URI information.format - The expected returned format.
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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||