REST: Entry/update

Entry/update

URL

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

Formats:

xml, json

HTTP Method(s):

PUT

Parameters:

  • id.  Required.  The ID of the entry to destroy. 
  • entry[content]. Required The text of Entry's content. Text over 140 characters will cause a 422 error to be returned from the API.
  • group-paramRequired. The subdomain of the room include entry to destroy. 

Response:

<?xml version="1.0" encoding="UTF-8"?>
<entry>
  <created-at type="datetime">2011-05-10T03:12:36Z</created-at>
  <updated-at type="datetime">2011-05-10T03:12:57Z</updated-at>
  <root-id type="integer">681</root-id>
  <id type="integer">681</id>
  <participation-id type="integer">3</participation-id>
  <parent-id nil="true"></parent-id>
  <content>Content</content>
  <descendants-count type="integer">0</descendants-count>
  <participation>
    <name>qqqq</name>
    <id type="integer">3</id>
  </participation>
</entry>



Comments