Class DescendantContentResource
java.lang.Object
com.atlassian.confluence.plugins.restapi.resources.DescendantContentResource
@Consumes("application/json")
@Produces("application/json")
@Path("/content/{id}/descendant")
public class DescendantContentResource
extends Object
REST wrapper for the
ChildContentService
, when Depth
is ALL.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondescendants
(ContentId contentId, String expand, javax.ws.rs.core.UriInfo uriInfo) descendantsOfType
(ContentId contentId, ContentType type, String expand, int start, int limit, javax.ws.rs.core.UriInfo uriInfo)
-
Constructor Details
-
DescendantContentResource
-
-
Method Details
-
descendants
@GET public Map<ContentType,PageResponse<Content>> descendants(@PathParam("id") ContentId contentId, @QueryParam("expand") @DefaultValue("") String expand, @Context javax.ws.rs.core.UriInfo uriInfo) throws ServiceException - Throws:
ServiceException
-
descendantsOfType
@GET @Path("/{type}") public RestList<Content> descendantsOfType(@PathParam("id") ContentId contentId, @PathParam("type") ContentType type, @QueryParam("expand") @DefaultValue("") String expand, @QueryParam("start") int start, @QueryParam("limit") @DefaultValue("25") int limit, @Context javax.ws.rs.core.UriInfo uriInfo) throws ServiceException - Throws:
ServiceException
-