Interface SpaceResource


@Path("/space") public interface SpaceResource
  • Method Details

    • spaces

      @GET @Produces("application/json") javax.ws.rs.core.Response spaces(@QueryParam("spaceKey") String spaceKey, @QueryParam("type") String type, @QueryParam("status") String status, @QueryParam("label") String label, @QueryParam("expand") String expand, @QueryParam("start") Integer start, @QueryParam("limit") @DefaultValue("25") Integer limit)
    • createSpace

      @POST @Consumes("application/json") @Produces("application/json") javax.ws.rs.core.Response createSpace()
    • contentsWithType

      @GET @Produces("application/json") @Path("/{spaceKey}/content/{type}") javax.ws.rs.core.Response contentsWithType(@PathParam("spaceKey") String spaceKey, @PathParam("type") String type, @QueryParam("depth") @DefaultValue("all") String depth, @QueryParam("expand") String expand, @QueryParam("start") Integer start, @QueryParam("limit") @DefaultValue("25") Integer limit)
    • createPrivateSpace

      @POST @Consumes("application/json") @Produces("application/json") @Path("/_private") javax.ws.rs.core.Response createPrivateSpace()
    • update

      @PUT @Consumes("application/json") @Produces("application/json") @Path("/{spaceKey}") javax.ws.rs.core.Response update(@PathParam("spaceKey") String spaceKey)
    • delete

      @DELETE @Produces("application/json") @Path("/{spaceKey}") javax.ws.rs.core.Response delete(@PathParam("spaceKey") String spaceKey)
    • contents

      @GET @Produces("application/json") @Path("/{spaceKey}/content") javax.ws.rs.core.Response contents(@PathParam("spaceKey") String spaceKey, @QueryParam("depth") @DefaultValue("all") String depth, @QueryParam("expand") String expand, @QueryParam("start") Integer start, @QueryParam("limit") @DefaultValue("25") Integer limit)
    • space

      @GET @Produces("application/json") @Path("/{spaceKey}") javax.ws.rs.core.Response space(@PathParam("spaceKey") String spaceKey, @QueryParam("expand") String expand)