Request

GET /api_key/

Response

200 OK
Content-Type: application/json
{
    "meta": {
        "previous": null, 
        "total_count": 3, 
        "offset": 0, 
        "limit": 20, 
        "next": null
    }, 
    "objects": [
        {
            "created_at": "2013-09-12T14:12:39.720112", 
            "resource_uri": "/api/v1/api_key/1/", 
            "id": 1, 
            "label": "Api key for application A"
        }, 
        {
            "created_at": "2013-09-12T14:12:39.789207", 
            "resource_uri": "/api/v1/api_key/2/", 
            "id": 2, 
            "label": "Api key for application B"
        }, 
        {
            "created_at": "2013-09-12T14:12:39.808002", 
            "resource_uri": "/api/v1/api_key/3/", 
            "id": 3, 
            "label": "Api key for application C"
        }
    ]
}

Request

GET /api_key/

Response

200 OK
Content-Type: application/xml; charset=utf-8
<response>
  <objects type="list">
    <object>
      <created_at>2013-09-12T14:12:39.720112</created_at>
      <label>Api key for application A</label>
      <id type="integer">1</id>
      <resource_uri>/api/v1/api_key/1/</resource_uri>
    </object>
    <object>
      <created_at>2013-09-12T14:12:39.789207</created_at>
      <label>Api key for application B</label>
      <id type="integer">2</id>
      <resource_uri>/api/v1/api_key/2/</resource_uri>
    </object>
    <object>
      <created_at>2013-09-12T14:12:39.808002</created_at>
      <label>Api key for application C</label>
      <id type="integer">3</id>
      <resource_uri>/api/v1/api_key/3/</resource_uri>
    </object>
  </objects>
  <meta type="hash">
    <next type="null"/>
    <total_count type="integer">3</total_count>
    <previous type="null"/>
    <limit type="integer">20</limit>
    <offset type="integer">0</offset>
  </meta>
</response>

Request

GET /api_key/

Response

200 OK
Content-Type: text/yaml; charset=utf-8
meta: {limit: 20, next: null, offset: 0, previous: null, total_count: 3}
objects:
- {created_at: '2013-09-12T14:12:39.720112', !!python/unicode 'id': 1, label: !!python/unicode 'Api
key for application A', resource_uri: !!python/unicode '/api/v1/api_key/1/'}
- {created_at: '2013-09-12T14:12:39.789207', !!python/unicode 'id': 2, label: !!python/unicode 'Api
key for application B', resource_uri: !!python/unicode '/api/v1/api_key/2/'}
- {created_at: '2013-09-12T14:12:39.808002', !!python/unicode 'id': 3, label: !!python/unicode 'Api
key for application C', resource_uri: !!python/unicode '/api/v1/api_key/3/'}