Platform Explorer / CMF 1.8

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.4.2-HF05.jar

Documentation

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>
  • <restletPlugin class="org.nuxeo.ecm.platform.syndication.restAPI.TasksRestlet" enabled="true" name="workflowTaskRestlet" useConversation="false" useSeam="false">
          <urlPatterns>
            <urlPattern>/workflowTasks/{repo}</urlPattern>
            <urlPattern>/workflowTasks/{repo}/</urlPattern>
            <urlPattern>/workflowTasks/</urlPattern>
            <urlPattern>/workflowTasks</urlPattern>
            <!-- <urlPattern>/workflowTasks/{repo}/{username}</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>

    <documentation>GET /nuxeo/restAPI/workflowTasks/default/</documentation>
    <restletPlugin class="org.nuxeo.ecm.platform.syndication.restAPI.TasksRestlet" enabled="true" name="workflowTaskRestlet" useConversation="false" useSeam="false">
      <urlPatterns>
        <urlPattern>/workflowTasks/{repo}</urlPattern>
        <urlPattern>/workflowTasks/{repo}/</urlPattern>
        <urlPattern>/workflowTasks/</urlPattern>
        <urlPattern>/workflowTasks</urlPattern>
        <!-- <urlPattern>/workflowTasks/{repo}/{username}</urlPattern> -->
      </urlPatterns>
    </restletPlugin>

  </extension>