API Method: GET room's users

Retrieves a list of users of the room.

Path:

/api/v2/rooms/#{room_id}/presences.#{format}

Formats:

xml, json

HTTP Method(s):

GET

Usage examples:

$ curl -u api_token:x https://bigbang.jaconda.im/api/v2/rooms/developers/presences.xml

Response:

XML example:

<?xml version="1.0" encoding="UTF-8"?>
<presences type="array">
  <presence>
    <created-at type="datetime">2011-02-25T14:51:30+05:00</created-at>
    <id type="integer">31468</id>
    <is-jabber-paused type="boolean">false</is-jabber-paused>
    <jabber-paused-at type="datetime" nil="true"></jabber-paused-at>
    <jabber-paused-till type="datetime" nil="true"></jabber-paused-till>
    <jabber-status nil="true"></jabber-status>
    <updated-at type="datetime">2011-02-25T14:51:30+05:00</updated-at>
    <web-status>online</web-status>
    <user>
      <created-at type="datetime">2010-05-14T20:01:23+06:00</created-at>
      <email>developer@gmail.com</email>
      <id type="integer">18265</id>
      <jabber-id>developer@gmail.com</jabber-id>
      <job-title>Lead engineer</job-title>
      <kind>member</kind>
      <location>Russia</location>
      <msn-id></msn-id>
      <name>John</name>
      <phone></phone>
      <skype-id>john</skype-id>
      <twitter-id>john</twitter-id>
      <updated-at type="datetime">2011-02-25T14:24:08+05:00</updated-at>
    </user>
  </presence>
  <presence>
    <created-at type="datetime">2011-02-25T14:51:30+05:00</created-at>
    <id type="integer">31467</id>
    <is-jabber-paused type="boolean">false</is-jabber-paused>
    <jabber-paused-at type="datetime" nil="true"></jabber-paused-at>
    <jabber-paused-till type="datetime" nil="true"></jabber-paused-till>
    <jabber-status>away</jabber-status>
    <updated-at type="datetime">2011-02-25T14:51:30+05:00</updated-at>
    <web-status>unavailable</web-status>
    <user>
      <created-at type="datetime">2010-05-14T20:01:41+06:00</created-at>
      <email>designer@gmail.com</email>
      <id type="integer">18266</id>
      <jabber-id>designer@gmail.com</jabber-id>
      <job-title></job-title>
      <kind>regular</kind>
      <location>CA</location>
      <msn-id></msn-id>
      <name>Nick</name>
      <phone></phone>
      <skype-id></skype-id>
      <twitter-id></twitter-id>
      <updated-at type="datetime">2011-02-10T20:58:46+05:00</updated-at>
    </user>
  </presence>
</presences>