Class VideosObject
java.lang.Object
org.nuxeo.ecm.webengine.model.impl.AbstractResource<ResourceTypeImpl>
org.nuxeo.ecm.restapi.server.management.VideosObject
- Since:
- 11.5
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoPostVideos(String query, List<String> conversionNames, Boolean recomputeAllVideoInfo) Recomputes video renditions for the documents matching the given query orVIDEOS_DEFAULT_QUERYif not provided.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, isAdapter, isInstanceOf, isRoot, newAdapter, newObject, redirect, setNext, setPrevious, setRoot, toString
-
Field Details
-
VIDEOS_DEFAULT_QUERY
- See Also:
-
-
Constructor Details
-
VideosObject
public VideosObject()
-
-
Method Details
-
doPostVideos
@POST @Path("recompute") public BulkStatus doPostVideos(@FormParam("query") String query, @FormParam("conversionNames") List<String> conversionNames, @FormParam("recomputeAllVideoInfo") Boolean recomputeAllVideoInfo) Recomputes video renditions for the documents matching the given query orVIDEOS_DEFAULT_QUERYif not provided.- Parameters:
query- a custom query to specify which videos should be processed- Returns:
- the
BulkStatusof the command
-