7.2.  Collections

This section examines common features for collections.

7.2.1.  Listing All Resources in a Collection

A listing of the resources in a collection is obtained by issuing a GET request on the collection URI obtained from the entry point.
GET /api/collection HTTP/1.1
Accept: application/xml

HTTP/1.1 200 OK
Content-Type: application/xml

    <resource id="resource_id" href="/api/collection/resource_id">
        <description>A description of the resource</description>