<?xml version="1.0" encoding="UTF-8" ?>
    <prefix>
      <prefix>commons</prefix>
      <describeURL>/direct/commons/describe</describeURL>
      <summary><br />Provides a set of RESTful endpoints for retrieving COMMONS posts. <br /><br /></summary>
      <customActions>
        <customAction>
          <action>deletePost</action>
          <url>/direct/commons/deletePost</url>
          <method>GET</method>
          <viewKey>list</viewKey>
        </customAction>
      </customActions>
      <customActions>
        <customAction>
          <action>saveComment</action>
          <url>/direct/commons/saveComment</url>
          <method>POST</method>
          <viewKey>new</viewKey>
        </customAction>
      </customActions>
      <customActions>
        <customAction>
          <action>post</action>
          <url>/direct/commons/post</url>
          <method>GET</method>
          <viewKey>list</viewKey>
        </customAction>
      </customActions>
      <customActions>
        <customAction>
          <action>deleteComment</action>
          <url>/direct/commons/deleteComment</url>
          <method>GET</method>
          <viewKey>list</viewKey>
        </customAction>
      </customActions>
      <customActions>
        <customAction>
          <action>savePermissions</action>
          <url>/direct/commons/savePermissions</url>
          <method>POST</method>
          <viewKey>new</viewKey>
        </customAction>
      </customActions>
      <customActions>
        <customAction>
          <action>savePost</action>
          <url>/direct/commons/savePost</url>
          <method>POST</method>
          <viewKey>new</viewKey>
        </customAction>
      </customActions>
      <customActions>
        <customAction>
          <action>perms</action>
          <url>/direct/commons/perms</url>
          <method>GET</method>
          <viewKey>list</viewKey>
        </customAction>
      </customActions>
      <customActions>
        <customAction>
          <action>userPerms</action>
          <url>/direct/commons/userPerms</url>
          <method>GET</method>
          <viewKey>list</viewKey>
        </customAction>
      </customActions>
      <customActions>
        <customAction>
          <action>uploadImage</action>
          <url>/direct/commons/uploadImage</url>
          <method>POST</method>
          <viewKey>new</viewKey>
        </customAction>
      </customActions>
      <customActions>
        <customAction>
          <action>posts</action>
          <url>/direct/commons/posts</url>
          <method>GET</method>
          <viewKey>list</viewKey>
          <description>(GET) Retrieves a summary of posts for a given site id, as specified in the path. The posts are minimised, in that the content and comments are removed before being returned. <br /> Example URL: /direct/commons/posts/SITEID.json</description>
        </customAction>
      </customActions>
      <customActions>
        <customAction>
          <action>getUrlMarkup</action>
          <url>/direct/commons/getUrlMarkup</url>
          <method>GET</method>
          <viewKey>list</viewKey>
        </customAction>
      </customActions>
      <outputFormats>
        <format>json</format>
        <format>xml</format>
       </outputFormats>
      <inputFormats>
       </inputFormats>
      <capabilities>
        <capability>
          <name>EntityProvider</name>
          <type>org.sakaiproject.entitybroker.entityprovider.EntityProvider</type>
        </capability>
        <capability>
          <name>ActionsExecutable</name>
          <type>org.sakaiproject.entitybroker.entityprovider.capabilities.ActionsExecutable</type>
        </capability>
        <capability>
          <name>AutoRegisterEntityProvider</name>
          <type>org.sakaiproject.entitybroker.entityprovider.capabilities.AutoRegisterEntityProvider</type>
        </capability>
        <capability>
          <name>Describeable</name>
          <type>org.sakaiproject.entitybroker.entityprovider.capabilities.Describeable</type>
        </capability>
        <capability>
          <name>Outputable</name>
          <type>org.sakaiproject.entitybroker.entityprovider.capabilities.Outputable</type>
        </capability>
        <capability>
          <name>ReferenceParseable</name>
          <type>org.sakaiproject.entitybroker.entityprovider.capabilities.ReferenceParseable</type>
        </capability>
        <capability>
          <name>RequestAware</name>
          <type>org.sakaiproject.entitybroker.entityprovider.capabilities.RequestAware</type>
        </capability>
      </capabilities>
    </prefix>
