Class AdminContextResource

java.lang.Object
fr.gouv.vitam.functional.administration.rest.AdminContextResource

@Path("/v1/admin") public class AdminContextResource extends Object
  • Field Details

    • ADMIN_TENANT

      public static final int ADMIN_TENANT
  • Constructor Details

    • AdminContextResource

      public AdminContextResource(ContextResource contextResource)
      Parameters:
      contextResource -
  • Method Details

    • importContexts

      @Path("/contexts") @POST @Consumes("application/json") @Produces("application/json") public javax.ws.rs.core.Response importContexts(List<ContextModel> contextModelList, @Context javax.ws.rs.core.UriInfo uri)
    • findContexts

      @Path("/contexts") @GET @Consumes("application/json") @Produces("application/json") public javax.ws.rs.core.Response findContexts(com.fasterxml.jackson.databind.JsonNode queryDsl)
    • deleteContext

      @Path("/context/{contextId}") @DELETE @Consumes("application/json") @Produces("application/json") public javax.ws.rs.core.Response deleteContext(@PathParam("contextId") String contextId)