Class RevisionResource


  • @Path("/cms/versions")
    public class RevisionResource
    extends org.fenixedu.bennu.core.rest.BennuRestResource
    • Field Summary

      • Fields inherited from class org.fenixedu.bennu.core.rest.JsonAwareResource

        advice$innerCreate, advice$innerUpdate
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.google.gson.JsonElement getVersion​(PostContentRevision revision)  
      • Methods inherited from class org.fenixedu.bennu.core.rest.BennuRestResource

        accessControl, accessControl, ok, readDomainObject, verifyAndGetRequestAuthor
      • Methods inherited from class org.fenixedu.bennu.core.rest.JsonAwareResource

        create, create, getBuilder, merge, parse, setDefault, toJson, update, update, view, view, view, view, view, view, viewPaginated, viewPaginated, viewPaginated
    • Constructor Detail

      • RevisionResource

        public RevisionResource()
    • Method Detail

      • getVersion

        @GET
        @Produces("application/json")
        @Path("/{oid}")
        public com.google.gson.JsonElement getVersion​(@PathParam("oid")
                                                      PostContentRevision revision)