Package org.nuxeo.ecm.restapi.server
Class APIRoot
java.lang.Object
org.nuxeo.ecm.webengine.model.impl.AbstractResource<ResourceTypeImpl>
org.nuxeo.ecm.webengine.model.impl.DefaultObject
org.nuxeo.ecm.webengine.model.impl.ModuleRoot
org.nuxeo.ecm.restapi.server.APIRoot
- All Implemented Interfaces:
ModuleResource
,Resource
,Adaptable
@Path("/api/v1{repo : (/repo/[^/]+?)?}")
@Produces("text/html;charset=UTF-8")
public class APIRoot
extends ModuleRoot
The root entry for the WebEngine module.
- Since:
- 5.7.2
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.nuxeo.ecm.webengine.model.impl.ModuleRoot
getLink, getSkinResource, handleError, setContext
Methods inherited from class org.nuxeo.ecm.webengine.model.impl.DefaultObject
disptachAdapter, isAdapter
Methods inherited from class org.nuxeo.ecm.webengine.model.impl.AbstractResource
checkGuard, dispose, getActiveAdapter, getAdapter, getContext, getFacets, getLinks, getModule, getName, getNext, getNextSegment, getPath, getPrevious, getTemplate, getTrailingPath, getType, getURL, getView, hasFacet, initialize, initialize, isInstanceOf, isRoot, newAdapter, newObject, redirect, setNext, setPrevious, setRoot, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.nuxeo.runtime.model.Adaptable
getAdapter
Methods inherited from interface org.nuxeo.ecm.webengine.model.Resource
checkGuard, dispose, getActiveAdapter, getContext, getFacets, getLinks, getModule, getName, getNext, getNextSegment, getPath, getPrevious, getTemplate, getTrailingPath, getType, getURL, getView, hasFacet, initialize, isAdapter, isInstanceOf, isRoot, newAdapter, newObject, redirect, setNext, setPrevious, setRoot
-
Constructor Details
-
APIRoot
public APIRoot()
-
-
Method Details
-
doGetRepository
@Path("/") public Object doGetRepository(@PathParam("repo") String repositoryParam) throws DocumentNotFoundException - Throws:
DocumentNotFoundException
-
doGetUser
-
doGetGroup
-
getAutomationEndPoint
-
doGetDirectory
-
doQuery
-
doGetConfig
-
doGetConversion
-
bulk
- Since:
- 10.3
-
capabilities
- Since:
- 11.5
-
route
- Since:
- 7.2
-