Class Revisions


  • @Path("/revisions")
    public class Revisions
    extends PaginationCalculation<String>
    This class is to handle the revisions of the given resource according to the REST verb GET.
    • Constructor Detail

      • Revisions

        public Revisions()
    • Method Detail

      • getRevisions

        public javax.ws.rs.core.Response getRevisions​(String path,
                                                      int start,
                                                      int size,
                                                      @HeaderParam("X-JWT-Assertion")
                                                      String JWTToken)
        This method get revisions on the requested resource.
        Parameters:
        path - - Path of the resource in the registry
        start - - Starting page number
        size - - Number of records to be retrieved
        Returns:
        array of version IDs