REST: Home Timeline

Home Timeline

URL

https://www.youroom.in/

Formats:

xml, json

HTTP Method(s):

GET

Parameters:

  • since. Bigining time of fetch entries. Use the RFC 3339 timestamp format. For example: 2005-08-09T10:57:00-08:00.
  • flat. If given with some value, response is include topics and comments and sorted by created_at.
  • page. Pagination entries.
  • read_state. If given "unread", response is include only unread topics.

Response:

<?xml version="1.0" encoding="UTF-8"?>
<entries type="array">
  <entry>
    <content>Entry content 1</content>
    <created-at type="datetime">2010-03-04T03:01:30Z</created-at>
    <parent-id type="integer" nil="true"></parent-id>
    <id type="integer">46</id>
    <root-id type="integer">46</root-id>
    <updated-at type="datetime">2010-03-04T03:01:30Z</updated-at>
    <participation>
      <id type="integer">1</id>
      <name>User name 1</name>
      <group>
        <name>Group name</name>
        <to-param>r1</to-param>
      </group>
    </participation>
  </entry>
  <entry>
    <content>Entry content 2</content>
    <created-at type="datetime">2010-03-04T03:00:48Z</created-at>
    <id type="integer">45</id>
    <parent-id type="integer" nil="true"></parent-id>
    <root-id type="integer">45</root-id>
    <updated-at type="datetime">2010-03-04T03:00:48Z</updated-at>
    <participation>
      <id type="integer">1</id>
      <name>User name 2</name>
      <group>
        <name>Group name</name>
        <to-param>r1</to-param>
      </group>
    </participation>
  </entry>
</entries>


Comments