API Method: GET message

Shows the specified message identified by its integer id. Must be in the room.

URL:

https://jaconda.im/api/rooms/#{room_id}/messages/#{id}.#{format}

Formats:

xml, json

HTTP Method(s):

GET

Usage examples:

cURL:

$ curl -u api_token:x https://jaconda.im/api/rooms/1/messages/528993.xml

Response:

XML example:

<?xml version="1.0" encoding="UTF-8"?>
<message>
  <created-at type="datetime">2010-02-15T11:49:09Z</created-at>
  <id type="integer">528993</id>
  <jid>client@gmail.com</jid>
  <kind>chat</kind>
  <name>Anton Mironov</name>
  <room-id type="integer">1</room-id>
  <text>Cheer up guys! It's gonna be fine</text>
  <updated-at type="datetime">2010-02-15T11:49:09Z</updated-at>
</message>