public class Revision extends RegistryRestSuper
| Constructor and Description |
|---|
Revision() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
createRevision(String path,
String JWTToken)
This method is to create a revision of a given resource.
|
javax.ws.rs.core.Response |
deleteRevision(String path,
long versionID,
String JWTToken)
This method is to delete a given revision (using revision id).
|
javax.ws.rs.core.Response |
getRevision(String path,
long revisionId,
String JWTToken)
This method get a revision on the requested resource(using revision id).
|
getBegin, getEnd, getPageSize, getResourcePath, getTenantID, getUserRegistry, getUserRegistry, setBegin, setEnd, setPageSize, setUserRegistrypublic javax.ws.rs.core.Response getRevision(String path, long revisionId, @HeaderParam(value="X-JWT-Assertion") String JWTToken)
path - - Path of the resource in the registrypublic javax.ws.rs.core.Response createRevision(String path, @HeaderParam(value="X-JWT-Assertion") String JWTToken)
path - - Path of the resource in the registryCopyright © 2015 WSO2. All rights reserved.