API Method: GET rooms
Retrieves a list of rooms of the authenticated account.
URL:
https://jaconda.im/api/rooms.#{format}
Formats:
xml, json
HTTP Method(s):
GET
Usage examples:
cURL:
$ curl -u api_token:x https://jaconda.im/api/rooms.xml
Response:
XML example:
<?xml version="1.0" encoding="UTF-8"?>
<rooms>
<room>
<account-id type="integer">1</account-id>
<created-at type="datetime">2009-08-26T15:04:47Z</created-at>
<greeting-text>Hi! Welcome to Awesome Project. Type !help for a list of commands.</greeting-text>
<id type="integer">1</id>
<is-public type="boolean">false</is-public>
<jid>awesome.project</jid>
<status-message>Available</status-message>
<title>Awesome Project Room</title>
<updated-at type="datetime">2010-02-19T14:10:57Z</updated-at>
</room>
<room>
<account-id type="integer">1</account-id>
<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>
<id type="integer">2</id>
<is-public type="boolean">false</is-public>
<jid>la.department</jid>
<status-message>Available</status-message>
<title>LA Department Room</title>
<updated-at type="datetime">2010-02-19T14:10:57Z</updated-at>
</room>
</rooms>