Request

GET /contact/

Response

200 OK
Content-Type: application/json
{
    "meta": {
        "previous": null, 
        "total_count": 3, 
        "offset": 0, 
        "limit": 20, 
        "next": null
    }, 
    "objects": [
        {
            "photo_uri": "https://secure.gravatar.com/avatar/890005216d508238d3153f7a99204759.jpg?s=80&r=g&d=blank", 
            "addresses": [
                {
                    "city": "Grenoble", 
                    "extended_address": null, 
                    "country": "FRANCE", 
                    "postoffice_box": null, 
                    "label": null, 
                    "geo_point": null, 
                    "state": null, 
                    "postal_code": "38000", 
                    "type": "WORK", 
                    "street_address": "1 Rue de Grenoble", 
                    "resource_uri": "/api/v1/contact/5231cbee4ab63c53dc9004b6/addresses/0/"
                }
            ], 
            "firstname": "Employee", 
            "creator": "/api/v1/user/5231cbd64ab63c53dc900474/", 
            "photo_source": "GRAVATAR", 
            "phones": [
                {
                    "phone": "06 01 02 03 04", 
                    "resource_uri": "/api/v1/contact/5231cbee4ab63c53dc9004b6/phones/0/", 
                    "type": "WORK", 
                    "subtype": "CELL", 
                    "label": null
                }, 
                {
                    "phone": "04 05 06 07 08", 
                    "resource_uri": "/api/v1/contact/5231cbee4ab63c53dc9004b6/phones/1/", 
                    "type": "WORK", 
                    "subtype": null, 
                    "label": null
                }
            ], 
            "civility": null, 
            "private": true, 
            "id": "5231cbee4ab63c53dc9004b6", 
            "note": "Phones are not real!", 
            "birthday": null, 
            "role": null, 
            "additional_names": null, 
            "photo": null, 
            "organization": "/api/v1/organization/5231cbee4ab63c53dc9004b5/", 
            "gravatar_mail": "api-employee@naeka.fr", 
            "resource_uri": "/api/v1/contact/5231cbee4ab63c53dc9004b6/", 
            "emails": [
                {
                    "resource_uri": "/api/v1/contact/5231cbee4ab63c53dc9004b6/emails/0/", 
                    "type": "HOME", 
                    "email": "api-employee@naeka.fr", 
                    "label": null
                }
            ], 
            "name": "A"
        }, 
        {
            "photo_uri": "https://secure.gravatar.com/avatar/890005216d508238d3153f7a99204759.jpg?s=80&r=g&d=blank", 
            "addresses": [
                {
                    "city": "Grenoble", 
                    "extended_address": null, 
                    "country": "FRANCE", 
                    "postoffice_box": null, 
                    "label": null, 
                    "geo_point": null, 
                    "state": null, 
                    "postal_code": "38000", 
                    "type": "WORK", 
                    "street_address": "1 Rue de Grenoble", 
                    "resource_uri": "/api/v1/contact/5231cbee4ab63c53dc9004b7/addresses/0/"
                }
            ], 
            "firstname": "Employee", 
            "creator": "/api/v1/user/5231cbd64ab63c53dc900474/", 
            "photo_source": "GRAVATAR", 
            "phones": [
                {
                    "phone": "06 01 02 03 04", 
                    "resource_uri": "/api/v1/contact/5231cbee4ab63c53dc9004b7/phones/0/", 
                    "type": "WORK", 
                    "subtype": "CELL", 
                    "label": null
                }, 
                {
                    "phone": "04 05 06 07 08", 
                    "resource_uri": "/api/v1/contact/5231cbee4ab63c53dc9004b7/phones/1/", 
                    "type": "WORK", 
                    "subtype": null, 
                    "label": null
                }
            ], 
            "civility": null, 
            "private": true, 
            "id": "5231cbee4ab63c53dc9004b7", 
            "note": "Phones are not real!", 
            "birthday": null, 
            "role": null, 
            "additional_names": null, 
            "photo": null, 
            "organization": "/api/v1/organization/5231cbee4ab63c53dc9004b5/", 
            "gravatar_mail": "api-employee@naeka.fr", 
            "resource_uri": "/api/v1/contact/5231cbee4ab63c53dc9004b7/", 
            "emails": [
                {
                    "resource_uri": "/api/v1/contact/5231cbee4ab63c53dc9004b7/emails/0/", 
                    "type": "HOME", 
                    "email": "api-employee@naeka.fr", 
                    "label": null
                }
            ], 
            "name": "A"
        }, 
        {
            "photo_uri": "https://secure.gravatar.com/avatar/890005216d508238d3153f7a99204759.jpg?s=80&r=g&d=blank", 
            "addresses": [
                {
                    "city": "Grenoble", 
                    "extended_address": null, 
                    "country": "FRANCE", 
                    "postoffice_box": null, 
                    "label": null, 
                    "geo_point": null, 
                    "state": null, 
                    "postal_code": "38000", 
                    "type": "WORK", 
                    "street_address": "1 Rue de Grenoble", 
                    "resource_uri": "/api/v1/contact/5231cbee4ab63c53dc9004b8/addresses/0/"
                }
            ], 
            "firstname": "Employee", 
            "creator": "/api/v1/user/5231cbd64ab63c53dc900474/", 
            "photo_source": "GRAVATAR", 
            "phones": [
                {
                    "phone": "06 01 02 03 04", 
                    "resource_uri": "/api/v1/contact/5231cbee4ab63c53dc9004b8/phones/0/", 
                    "type": "WORK", 
                    "subtype": "CELL", 
                    "label": null
                }, 
                {
                    "phone": "04 05 06 07 08", 
                    "resource_uri": "/api/v1/contact/5231cbee4ab63c53dc9004b8/phones/1/", 
                    "type": "WORK", 
                    "subtype": null, 
                    "label": null
                }
            ], 
            "civility": null, 
            "private": true, 
            "id": "5231cbee4ab63c53dc9004b8", 
            "note": "Phones are not real!", 
            "birthday": null, 
            "role": null, 
            "additional_names": null, 
            "photo": null, 
            "organization": "/api/v1/organization/5231cbee4ab63c53dc9004b5/", 
            "gravatar_mail": "api-employee@naeka.fr", 
            "resource_uri": "/api/v1/contact/5231cbee4ab63c53dc9004b8/", 
            "emails": [
                {
                    "resource_uri": "/api/v1/contact/5231cbee4ab63c53dc9004b8/emails/0/", 
                    "type": "HOME", 
                    "email": "api-employee@naeka.fr", 
                    "label": null
                }
            ], 
            "name": "A"
        }
    ]
}

Request

GET /contact/

Response

200 OK
Content-Type: application/xml; charset=utf-8
<response>
  <objects type="list">
    <object>
      <addresses type="list">
        <object>
          <city>Grenoble</city>
          <extended_address type="null"/>
          <country>FRANCE</country>
          <postoffice_box type="null"/>
          <label type="null"/>
          <geo_point type="null"/>
          <state type="null"/>
          <postal_code>38000</postal_code>
          <type>WORK</type>
          <street_address>1 Rue de Grenoble</street_address>
          <resource_uri>/api/v1/contact/5231cbee4ab63c53dc9004b6/addresses/0/</resource_uri>
        </object>
      </addresses>
      <firstname>Employee</firstname>
      <creator>/api/v1/user/5231cbd64ab63c53dc900474/</creator>
      <photo_source>GRAVATAR</photo_source>
      <phones type="list">
        <object>
          <phone>06 01 02 03 04</phone>
          <resource_uri>/api/v1/contact/5231cbee4ab63c53dc9004b6/phones/0/</resource_uri>
          <type>WORK</type>
          <subtype>CELL</subtype>
          <label type="null"/>
        </object>
        <object>
          <phone>04 05 06 07 08</phone>
          <resource_uri>/api/v1/contact/5231cbee4ab63c53dc9004b6/phones/1/</resource_uri>
          <type>WORK</type>
          <subtype type="null"/>
          <label type="null"/>
        </object>
      </phones>
      <civility type="null"/>
      <gravatar_mail>api-employee@naeka.fr</gravatar_mail>
      <private type="boolean">True</private>
      <id>5231cbee4ab63c53dc9004b6</id>
      <note>Phones are not real!</note>
      <birthday type="null"/>
      <role type="null"/>
      <additional_names type="null"/>
      <photo type="null"/>
      <organization>/api/v1/organization/5231cbee4ab63c53dc9004b5/</organization>
      <photo_uri>https://secure.gravatar.com/avatar/890005216d508238d3153f7a99204759.jpg?s=80&amp;r=g&amp;d=blank</photo_uri>
      <name>A</name>
      <emails type="list">
        <object>
          <label type="null"/>
          <type>HOME</type>
          <email>api-employee@naeka.fr</email>
          <resource_uri>/api/v1/contact/5231cbee4ab63c53dc9004b6/emails/0/</resource_uri>
        </object>
      </emails>
      <resource_uri>/api/v1/contact/5231cbee4ab63c53dc9004b6/</resource_uri>
    </object>
    <object>
      <addresses type="list">
        <object>
          <city>Grenoble</city>
          <extended_address type="null"/>
          <country>FRANCE</country>
          <postoffice_box type="null"/>
          <label type="null"/>
          <geo_point type="null"/>
          <state type="null"/>
          <postal_code>38000</postal_code>
          <type>WORK</type>
          <street_address>1 Rue de Grenoble</street_address>
          <resource_uri>/api/v1/contact/5231cbee4ab63c53dc9004b7/addresses/0/</resource_uri>
        </object>
      </addresses>
      <firstname>Employee</firstname>
      <creator>/api/v1/user/5231cbd64ab63c53dc900474/</creator>
      <photo_source>GRAVATAR</photo_source>
      <phones type="list">
        <object>
          <phone>06 01 02 03 04</phone>
          <resource_uri>/api/v1/contact/5231cbee4ab63c53dc9004b7/phones/0/</resource_uri>
          <type>WORK</type>
          <subtype>CELL</subtype>
          <label type="null"/>
        </object>
        <object>
          <phone>04 05 06 07 08</phone>
          <resource_uri>/api/v1/contact/5231cbee4ab63c53dc9004b7/phones/1/</resource_uri>
          <type>WORK</type>
          <subtype type="null"/>
          <label type="null"/>
        </object>
      </phones>
      <civility type="null"/>
      <gravatar_mail>api-employee@naeka.fr</gravatar_mail>
      <private type="boolean">True</private>
      <id>5231cbee4ab63c53dc9004b7</id>
      <note>Phones are not real!</note>
      <birthday type="null"/>
      <role type="null"/>
      <additional_names type="null"/>
      <photo type="null"/>
      <organization>/api/v1/organization/5231cbee4ab63c53dc9004b5/</organization>
      <photo_uri>https://secure.gravatar.com/avatar/890005216d508238d3153f7a99204759.jpg?s=80&amp;r=g&amp;d=blank</photo_uri>
      <name>A</name>
      <emails type="list">
        <object>
          <label type="null"/>
          <type>HOME</type>
          <email>api-employee@naeka.fr</email>
          <resource_uri>/api/v1/contact/5231cbee4ab63c53dc9004b7/emails/0/</resource_uri>
        </object>
      </emails>
      <resource_uri>/api/v1/contact/5231cbee4ab63c53dc9004b7/</resource_uri>
    </object>
    <object>
      <addresses type="list">
        <object>
          <city>Grenoble</city>
          <extended_address type="null"/>
          <country>FRANCE</country>
          <postoffice_box type="null"/>
          <label type="null"/>
          <geo_point type="null"/>
          <state type="null"/>
          <postal_code>38000</postal_code>
          <type>WORK</type>
          <street_address>1 Rue de Grenoble</street_address>
          <resource_uri>/api/v1/contact/5231cbee4ab63c53dc9004b8/addresses/0/</resource_uri>
        </object>
      </addresses>
      <firstname>Employee</firstname>
      <creator>/api/v1/user/5231cbd64ab63c53dc900474/</creator>
      <photo_source>GRAVATAR</photo_source>
      <phones type="list">
        <object>
          <phone>06 01 02 03 04</phone>
          <resource_uri>/api/v1/contact/5231cbee4ab63c53dc9004b8/phones/0/</resource_uri>
          <type>WORK</type>
          <subtype>CELL</subtype>
          <label type="null"/>
        </object>
        <object>
          <phone>04 05 06 07 08</phone>
          <resource_uri>/api/v1/contact/5231cbee4ab63c53dc9004b8/phones/1/</resource_uri>
          <type>WORK</type>
          <subtype type="null"/>
          <label type="null"/>
        </object>
      </phones>
      <civility type="null"/>
      <gravatar_mail>api-employee@naeka.fr</gravatar_mail>
      <private type="boolean">True</private>
      <id>5231cbee4ab63c53dc9004b8</id>
      <note>Phones are not real!</note>
      <birthday type="null"/>
      <role type="null"/>
      <additional_names type="null"/>
      <photo type="null"/>
      <organization>/api/v1/organization/5231cbee4ab63c53dc9004b5/</organization>
      <photo_uri>https://secure.gravatar.com/avatar/890005216d508238d3153f7a99204759.jpg?s=80&amp;r=g&amp;d=blank</photo_uri>
      <name>A</name>
      <emails type="list">
        <object>
          <label type="null"/>
          <type>HOME</type>
          <email>api-employee@naeka.fr</email>
          <resource_uri>/api/v1/contact/5231cbee4ab63c53dc9004b8/emails/0/</resource_uri>
        </object>
      </emails>
      <resource_uri>/api/v1/contact/5231cbee4ab63c53dc9004b8/</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 /contact/

Response

200 OK
Content-Type: text/yaml; charset=utf-8
meta: {limit: 20, next: null, offset: 0, previous: null, total_count: 3}
objects:
- additional_names: null
addresses:
- {city: !!python/unicode 'Grenoble', country: !!python/unicode 'FRANCE', extended_address: null,
geo_point: null, label: null, postal_code: !!python/unicode '38000', postoffice_box: null,
resource_uri: !!python/unicode '/api/v1/contact/5231cbee4ab63c53dc9004b6/addresses/0/',
state: null, street_address: !!python/unicode '1 Rue de Grenoble', type: !!python/unicode 'WORK'}
birthday: null
civility: null
creator: !!python/unicode '/api/v1/user/5231cbd64ab63c53dc900474/'
emails:
- {email: !!python/unicode 'api-employee@naeka.fr', label: null, resource_uri: !!python/unicode '/api/v1/contact/5231cbee4ab63c53dc9004b6/emails/0/',
type: !!python/unicode 'HOME'}
firstname: !!python/unicode 'Employee'
gravatar_mail: !!python/unicode 'api-employee@naeka.fr'
id: !!python/unicode '5231cbee4ab63c53dc9004b6'
name: !!python/unicode 'A'
note: !!python/unicode 'Phones are not real!'
organization: !!python/unicode '/api/v1/organization/5231cbee4ab63c53dc9004b5/'
phones:
- {label: null, phone: !!python/unicode '06 01 02 03 04', resource_uri: !!python/unicode '/api/v1/contact/5231cbee4ab63c53dc9004b6/phones/0/',
subtype: !!python/unicode 'CELL', type: !!python/unicode 'WORK'}
- {label: null, phone: !!python/unicode '04 05 06 07 08', resource_uri: !!python/unicode '/api/v1/contact/5231cbee4ab63c53dc9004b6/phones/1/',
subtype: null, type: !!python/unicode 'WORK'}
photo: null
photo_source: !!python/unicode 'GRAVATAR'
photo_uri: !!python/unicode 'https://secure.gravatar.com/avatar/890005216d508238d3153f7a99204759.jpg?s=80&r=g&d=blank'
private: true
resource_uri: !!python/unicode '/api/v1/contact/5231cbee4ab63c53dc9004b6/'
role: null
- additional_names: null
addresses:
- {city: !!python/unicode 'Grenoble', country: !!python/unicode 'FRANCE', extended_address: null,
geo_point: null, label: null, postal_code: !!python/unicode '38000', postoffice_box: null,
resource_uri: !!python/unicode '/api/v1/contact/5231cbee4ab63c53dc9004b7/addresses/0/',
state: null, street_address: !!python/unicode '1 Rue de Grenoble', type: !!python/unicode 'WORK'}
birthday: null
civility: null
creator: !!python/unicode '/api/v1/user/5231cbd64ab63c53dc900474/'
emails:
- {email: !!python/unicode 'api-employee@naeka.fr', label: null, resource_uri: !!python/unicode '/api/v1/contact/5231cbee4ab63c53dc9004b7/emails/0/',
type: !!python/unicode 'HOME'}
firstname: !!python/unicode 'Employee'
gravatar_mail: !!python/unicode 'api-employee@naeka.fr'
id: !!python/unicode '5231cbee4ab63c53dc9004b7'
name: !!python/unicode 'A'
note: !!python/unicode 'Phones are not real!'
organization: !!python/unicode '/api/v1/organization/5231cbee4ab63c53dc9004b5/'
phones:
- {label: null, phone: !!python/unicode '06 01 02 03 04', resource_uri: !!python/unicode '/api/v1/contact/5231cbee4ab63c53dc9004b7/phones/0/',
subtype: !!python/unicode 'CELL', type: !!python/unicode 'WORK'}
- {label: null, phone: !!python/unicode '04 05 06 07 08', resource_uri: !!python/unicode '/api/v1/contact/5231cbee4ab63c53dc9004b7/phones/1/',
subtype: null, type: !!python/unicode 'WORK'}
photo: null
photo_source: !!python/unicode 'GRAVATAR'
photo_uri: !!python/unicode 'https://secure.gravatar.com/avatar/890005216d508238d3153f7a99204759.jpg?s=80&r=g&d=blank'
private: true
resource_uri: !!python/unicode '/api/v1/contact/5231cbee4ab63c53dc9004b7/'
role: null
- additional_names: null
addresses:
- {city: !!python/unicode 'Grenoble', country: !!python/unicode 'FRANCE', extended_address: null,
geo_point: null, label: null, postal_code: !!python/unicode '38000', postoffice_box: null,
resource_uri: !!python/unicode '/api/v1/contact/5231cbee4ab63c53dc9004b8/addresses/0/',
state: null, street_address: !!python/unicode '1 Rue de Grenoble', type: !!python/unicode 'WORK'}
birthday: null
civility: null
creator: !!python/unicode '/api/v1/user/5231cbd64ab63c53dc900474/'
emails:
- {email: !!python/unicode 'api-employee@naeka.fr', label: null, resource_uri: !!python/unicode '/api/v1/contact/5231cbee4ab63c53dc9004b8/emails/0/',
type: !!python/unicode 'HOME'}
firstname: !!python/unicode 'Employee'
gravatar_mail: !!python/unicode 'api-employee@naeka.fr'
id: !!python/unicode '5231cbee4ab63c53dc9004b8'
name: !!python/unicode 'A'
note: !!python/unicode 'Phones are not real!'
organization: !!python/unicode '/api/v1/organization/5231cbee4ab63c53dc9004b5/'
phones:
- {label: null, phone: !!python/unicode '06 01 02 03 04', resource_uri: !!python/unicode '/api/v1/contact/5231cbee4ab63c53dc9004b8/phones/0/',
subtype: !!python/unicode 'CELL', type: !!python/unicode 'WORK'}
- {label: null, phone: !!python/unicode '04 05 06 07 08', resource_uri: !!python/unicode '/api/v1/contact/5231cbee4ab63c53dc9004b8/phones/1/',
subtype: null, type: !!python/unicode 'WORK'}
photo: null
photo_source: !!python/unicode 'GRAVATAR'
photo_uri: !!python/unicode 'https://secure.gravatar.com/avatar/890005216d508238d3153f7a99204759.jpg?s=80&r=g&d=blank'
private: true
resource_uri: !!python/unicode '/api/v1/contact/5231cbee4ab63c53dc9004b8/'
role: null