API Method: GET room's uploads
Retrieves a list of files of the room.
Path:
/api/v2/rooms/#{room_id}/uploads.#{format}
Formats:
xml, json
HTTP Method(s):
GET
Usage examples:
$ curl -u api_token:x https://bigbang.jaconda.im/api/v2/rooms/developers/uploads.xml
Response:
XML example:
<?xml version="1.0" encoding="UTF-8"?>
<uploads type="array">
<upload>
<created-at type="datetime">2011-02-25T10:25:24+05:00</created-at>
<file-content-type>application/pdf</file-content-type>
<id type="integer">743</id>
<updated-at type="datetime">2011-02-25T10:25:24+05:00</updated-at>
<user-id type="integer">36582</user-id>
<file-size type="integer">305822</file-size>
<file-url>https://s3.amazonaws.com/jacondaim/uploads/000/000/743/805eef93770a4244e67022a127315771/book.pdf</file-url>
</upload>
<upload>
<created-at type="datetime">2011-02-22T21:43:28+05:00</created-at>
<file-content-type>image/jpeg</file-content-type>
<id type="integer">606</id>
<updated-at type="datetime">2011-02-22T21:43:28+05:00</updated-at>
<user-id type="integer">36562</user-id>
<file-size type="integer">10987</file-size>
<file-url>https://s3.amazonaws.com/jacondaim/uploads/000/000/606/089337a189a75ec7c8295208h4c7d870/schema.jpg</file-url>
</upload>
</uploads>