Class ContentBodyResource
java.lang.Object
com.atlassian.confluence.plugins.restapi.resources.ContentBodyResource
@Consumes("application/json")
@Produces("application/json")
@Path("/contentbody/convert/{to}")
public class ContentBodyResource
extends Object
Used for converting ContentBody objects from one format to another.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconvert
(ContentBody body, ContentRepresentation toRepresentation, String expand)
-
Constructor Details
-
ContentBodyResource
-
-
Method Details
-
convert
@PublicApi @POST public ContentBody convert(ContentBody body, @PathParam("to") ContentRepresentation toRepresentation, @QueryParam("expand") @DefaultValue("") String expand) throws ServiceException - Throws:
ServiceException
-