REST: Entry/show


Entry/show

URL

https://www.youroom.in/r/<group-param>/entries/<id>

Formats:

xml, json

HTTP Method(s):

GET

Parameters:

  • id. Required.  The ID of the entry. 
  • group-param. Required. The subdomain of the room include entry. 

Response:

<?xml version="1.0" encoding="UTF-8"?>
<entry>
  <created-at type="datetime">2011-06-02T02:33:23Z</created-at>
  <updated-at type="datetime">2011-06-02T02:48:19Z</updated-at>
  <root-id type="integer">1363</root-id>
  <can-update type="boolean">false</can-update>
  <id type="integer">1363</id>
<level type="integer">0</level> <has-read type="boolean">false</has-read> <parent-id nil="true"></parent-id> <content>Entry content 2</content> <descendants-count type="integer">5</descendants-count> <children type="array"> <child> <created-at type="datetime">2011-06-02T02:47:43Z</created-at> <updated-at type="datetime">2011-06-02T02:47:43Z</updated-at> <root-id type="integer">1363</root-id> <can-update type="boolean">true</can-update> <id type="integer">1416</id> <level type="integer">1</level> <has-read type="boolean">true</has-read> <parent-id type="integer">1363</parent-id> <content>child1</content> <descendants-count type="integer">0</descendants-count> <children type="array"> <child> <created-at type="datetime">2011-06-02T02:48:00Z</created-at>
....
</child> </children> <unread-comment-ids></unread-comment-ids> <participation> <name>banban</name> <group> <name>My room</name> <categories type="array"/> <to-param>31</to-param> </group> <id type="integer">159</id> </participation> </child> <child> <created-at type="datetime">2011-06-02T02:47:49Z</created-at>
....
</child> </children> <unread-comment-ids></unread-comment-ids> <participation> <name>us</name> <group> <name>My room</name> <categories type="array"/> <to-param>31</to-param> </group> <id type="integer">158</id> </participation> </entry>

Comments