Platform Explorer / Nuxeo Platform 5.6

Contribution org.nuxeo.ecm.platform.pictures.tiles.restAPI.contrib--restlets

This contribution is part of XML component org.nuxeo.ecm.platform.pictures.tiles.restAPI.contrib inside nuxeo-platform-imaging-tiling-5.6.jar

Extension point

Extension point restlets of component PluggableRestletService.

Contributed items

  • <restletPlugin class="org.nuxeo.ecm.platform.pictures.tiles.restlets.PictureTilesRestlets" enabled="true" name="getTiles" useSeam="false">
          <urlPatterns>
            <urlPattern>/getTiles/{repoId}/{docId}/{tileWidth}/{tileHeight}/{maxTiles}</urlPattern>
          </urlPatterns>
        </restletPlugin>

XML source

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

    <documentation>
     <![CDATA[
     GET /nuxeo/restAPI/getTiles/{repoId}/{docId}/{tileWidth}/{tileHeight}/{maxTiles}?fieldPath=(subPath)&x=(tileX)&y=(tileY)&format=(XML|JSON)
     ]]>
    </documentation>

    <restletPlugin class="org.nuxeo.ecm.platform.pictures.tiles.restlets.PictureTilesRestlets" enabled="true" name="getTiles" useSeam="false">
      <urlPatterns>
        <urlPattern>/getTiles/{repoId}/{docId}/{tileWidth}/{tileHeight}/{maxTiles}</urlPattern>
      </urlPatterns>
    </restletPlugin>
  </extension>