API Method: GET member's rooms

Retrieves a list of rooms where the specified member has access.
This will not show you the rooms where the specified member has access and you have not

Path:

/api/v2/members/#{user_id}/presences.#{format}

Formats:

xml, json

HTTP Method(s):

GET

Usage examples:

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

Response:

XML example:

<?xml version="1.0" encoding="UTF-8"?>
<presences type="array">
  <presence>
    <created-at type="datetime">2010-08-22T13:33:35+06:00</created-at>
    <id type="integer">13694</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>online</jabber-status>
    <updated-at type="datetime">2011-02-23T09:25:47+05:00</updated-at>
    <web-status>unavailable</web-status>
    <room>
      <created-at type="datetime">2010-05-14T20:02:04+06:00</created-at>
      <greeting-text>Hi, welcome to Support.</greeting-text>
      <is-public type="boolean">true</is-public>
      <jid>support</jid>
      <title>Support</title>
      <topic>9am to 6pm EST</topic>
      <updated-at type="datetime">2011-02-24T09:57:48+05:00</updated-at>
      <icon-url>https://jaconda.im/images/defaultJacondaIcon.png</icon-url>
    </room>
  </presence>
  <presence>
    <created-at type="datetime">2010-08-22T13:44:41+06:00</created-at>
    <id type="integer">22998</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-01T02:10:17+05:00</updated-at>
    <web-status>unavailable</web-status>
    <room>
      <created-at type="datetime">2009-12-05T18:52:22Z</created-at>
      <greeting-text>Hi, welcome to LA Department. Type !help for a list of commands.</greeting-text>
      <is-public type="boolean">false</is-public>
      <jid>la.department</jid>
      <title>LA Department Room</title>
      <topic>Deadline: 10 Feb</topic>
      <updated-at type="datetime">2010-02-19T14:10:57Z</updated-at>
      <icon-url>https://jaconda.im/images/defaultJacondaIcon.png</icon-url>
    </room>
  </presence>
</presences>