REST: Entry/create

Entry/create

URL

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

Formats:

xml, json

HTTP Method(s):

POST

Parameters:

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

Response:

<?xml version="1.0" encoding="UTF-8"?>
<entry>
  <content>Entry Content</content>
  <created-at type="datetime">2010-03-04T06:18:33Z</created-at>
  <group-id type="">1</group-id>
  <id type="integer">58</id>
  <parent-id type="integer" nil="true"></parent-id>
  <participation-id type="integer">1</participation-id>
  <root-id type="integer">58</root-id>
  <updated-at type="datetime">2010-03-04T06:18:33Z</updated-at>
  <participation>
    <admin type="boolean">true</admin>
    <created-at type="datetime">2010-02-09T12:37:39Z</created-at>
    <id type="integer">1</id>
    <name>User name</name>
    <status>ACTIVE</status>
    <updated-at type="datetime">2010-03-04T06:18:33Z</updated-at>
  </participation>
</entry>
Comments