Platform Explorer / Nuxeo Platform 5.6

Contribution org.nuxeo.ecm.platform.restpack.contrib--restlets

This contribution is part of XML component org.nuxeo.ecm.platform.restpack.contrib inside nuxeo-platform-syndication-5.6.jar

GET /nuxeo/restAPI/vocabulary/{vocName}/

Extension point

Extension point restlets of component PluggableRestletService.

Contributed items

  • <restletPlugin class="org.nuxeo.ecm.platform.syndication.restAPI.VocabularyRestlet" enabled="true" name="vocabulary" useConversation="false" useSeam="false">
          <urlPatterns>
            <urlPattern>/vocabulary/{vocName}</urlPattern>
          </urlPatterns>
        </restletPlugin>
  • <restletPlugin class="org.nuxeo.ecm.platform.syndication.restAPI.QueryModelRestlet" enabled="true" name="QueryModel" useConversation="false" useSeam="false">
          <urlPatterns>
            <urlPattern>/execQueryModel/{QMName}</urlPattern>
          </urlPatterns>
        </restletPlugin>
  • <restletPlugin class="org.nuxeo.ecm.platform.syndication.restAPI.DashBoardRestlet" enabled="true" name="DashBoard" useConversation="false" useSeam="false">
          <urlPatterns>
            <urlPattern>/dashboard/{QMName}</urlPattern>
          </urlPatterns>
        </restletPlugin>
  • <restletPlugin class="org.nuxeo.ecm.platform.syndication.restAPI.SyndicationRestlet" enabled="true" name="syndicationRestletPlugin" useConversation="false" useSeam="false">
          <urlPatterns>
            <urlPattern>/{repo}/{docid}/rss</urlPattern>
            <urlPattern>/{repo}/{docid}/atom</urlPattern>
          </urlPatterns>
        </restletPlugin>

XML source

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

    <documentation>GET /nuxeo/restAPI/vocabulary/{vocName}/</documentation>
    <restletPlugin class="org.nuxeo.ecm.platform.syndication.restAPI.VocabularyRestlet" enabled="true" name="vocabulary" useConversation="false" useSeam="false">
      <urlPatterns>
        <urlPattern>/vocabulary/{vocName}</urlPattern>
      </urlPatterns>
    </restletPlugin>

    <documentation>GET /nuxeo/restAPI/execQueryModel/{QMName}/</documentation>
    <restletPlugin class="org.nuxeo.ecm.platform.syndication.restAPI.QueryModelRestlet" enabled="true" name="QueryModel" useConversation="false" useSeam="false">
      <urlPatterns>
        <urlPattern>/execQueryModel/{QMName}</urlPattern>
      </urlPatterns>
    </restletPlugin>

    <documentation>GET /nuxeo/restAPI/dashboard/{QMName}</documentation>
    <restletPlugin class="org.nuxeo.ecm.platform.syndication.restAPI.DashBoardRestlet" enabled="true" name="DashBoard" useConversation="false" useSeam="false">
      <urlPatterns>
        <urlPattern>/dashboard/{QMName}</urlPattern>
      </urlPatterns>
    </restletPlugin>

    <documentation>
      Simple restlet to syndication content with RSS 2.0 or ATOM 0.3 GET
      /nuxeo/restAPI/default/*/(rss|atom) N.B : default format is RSS if nothing
      is specified
    </documentation>
    <restletPlugin class="org.nuxeo.ecm.platform.syndication.restAPI.SyndicationRestlet" enabled="true" name="syndicationRestletPlugin" useConversation="false" useSeam="false">
      <urlPatterns>
        <urlPattern>/{repo}/{docid}/rss</urlPattern>
        <urlPattern>/{repo}/{docid}/atom</urlPattern>
      </urlPatterns>
    </restletPlugin>

  </extension>