Class ShareApi


  • @Path("/")
    public class ShareApi
    extends RestHelper
    • Constructor Detail

      • ShareApi

        public ShareApi()
    • Method Detail

      • setUserPath

        @GET
        @Path("/share/{user_path}")
        @Produces("text/plain")
        public javax.ws.rs.core.Response setUserPath​(@CookieParam("combinearchiveweba")
                                                     String oldUserPath,
                                                     @PathParam("user_path")
                                                     String userPath,
                                                     @CookieParam("combinearchivewebhist")
                                                     String historyCookie,
                                                     @Context
                                                     javax.servlet.http.HttpServletRequest requestContext)
      • setWorkspaceHistory

        @GET
        @Path("/history/{history}")
        @Produces("text/plain")
        public javax.ws.rs.core.Response setWorkspaceHistory​(@CookieParam("combinearchiveweba")
                                                             String oldUserPath,
                                                             @PathParam("history")
                                                             String historyListString,
                                                             @CookieParam("combinearchivewebhist")
                                                             String historyCookie,
                                                             @Context
                                                             javax.servlet.http.HttpServletRequest requestContext)
      • downloadRemoteArchive

        @GET
        @Path("/import")
        @Produces("text/plain")
        public javax.ws.rs.core.Response downloadRemoteArchive​(@CookieParam("combinearchiveweba")
                                                               String userPath,
                                                               @Context
                                                               javax.servlet.http.HttpServletRequest requestContext,
                                                               @DefaultValue("http") @QueryParam("remote")
                                                               String remoteUrl,
                                                               @QueryParam("name")
                                                               String archiveName,
                                                               @QueryParam("type")
                                                               String remoteType)
      • importRemoteArchive

        @POST
        @Path("/import")
        @Produces("text/plain")
        @Consumes("application/json")
        public javax.ws.rs.core.Response importRemoteArchive​(@CookieParam("combinearchiveweba")
                                                             String userPath,
                                                             @CookieParam("combinearchivewebuser")
                                                             String userJson,
                                                             ImportRequest request,
                                                             @Context
                                                             javax.servlet.http.HttpServletRequest requestContext)
      • uploadArchive

        @POST
        @Path("/import")
        @Produces("text/plain")
        @Consumes("multipart/form-data")
        public javax.ws.rs.core.Response uploadArchive​(@CookieParam("combinearchiveweba")
                                                       String userPath,
                                                       @CookieParam("combinearchivewebuser")
                                                       String userJson,
                                                       @Context
                                                       javax.servlet.http.HttpServletRequest requestContext,
                                                       String serializedRequest,
                                                       org.glassfish.jersey.media.multipart.FormDataBodyPart archiveFile,
                                                       List<org.glassfish.jersey.media.multipart.FormDataBodyPart> additionalFiles)