Platform Explorer / server 10.10

Contribution org.nuxeo.ecm.platform.preview.restAPI.contrib--restlets

This contribution is part of XML component org.nuxeo.ecm.platform.preview.restAPI.contrib inside nuxeo-preview-jsf-10.10.jar /OSGI-INF/restAPI-contrib.xml

GET /nuxeo/restAPI/preview/{repoId}/{docId}/{fieldPath}?subPath=(subPath)

Extension point

Extension point restlets of component PluggableRestletService.

Contributed items

  • <restletPlugin class="org.nuxeo.ecm.platform.preview.restlet.PreviewRestlet" enabled="true" name="preview" useSeam="false">
          <urlPatterns>
            <urlPattern>/preview/{repo}/{docid}/{fieldPath}/{subPath}</urlPattern>
            <urlPattern>/preview/{repo}/{docid}/{fieldPath}/</urlPattern>
          </urlPatterns>
        </restletPlugin>

XML source

<extension point="restlets" target="org.nuxeo.ecm.platform.ui.web.restAPI.service.PluggableRestletService">

    <documentation>
      GET /nuxeo/restAPI/preview/{repoId}/{docId}/{fieldPath}?subPath=(subPath)
    </documentation>

    <restletPlugin class="org.nuxeo.ecm.platform.preview.restlet.PreviewRestlet" enabled="true" name="preview" useSeam="false">
      <urlPatterns>
        <urlPattern>/preview/{repo}/{docid}/{fieldPath}/{subPath}</urlPattern>
        <urlPattern>/preview/{repo}/{docid}/{fieldPath}/</urlPattern>
      </urlPatterns>
    </restletPlugin>
  </extension>