API Method: GET rooms
Retrieves a list of rooms where the authenticated (current)
member has access.
Path:
/api/v2/rooms.#{format}
Formats:
xml, json
HTTP Method(s):
GET
Usage examples:
$ curl -u api_token:x https://bigbang.jaconda.im/api/v2/rooms.xml
Response:
XML example:
<?xml version="1.0" encoding="UTF-8"?>
<rooms>
<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>
<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>
</rooms>