The "recent_activity" related link can be used to get folder entries that have changed recently. To get site-wide recent activity, use the root rest object's "recent_activity" link.
[Request]
> curl -k -u dlewis:novell https://amethyst.provo.novell.com:8443/rest
[Response]
{
"links":[...,{
"rel":"recent_activity",
"href":"/workspaces/1/recent_activity"
},...]
}
The response contains a SearchResultList of RecentActivityEntry objects. A RecentActivityEntry is a FolderEntry with the 2 most recent replies to that folder entry included.
[Request]
> curl -k -u dlewis:novell https://amethyst.provo.novell.com:8443/rest/workspaces/1/recent_activity?count=5
[Response]
{
"first":0,
"count":5,
"total":53,
"items":[{
"id":15,
"entity_type":"folderEntry",
"href":"/folder_entries/15",
"title":"test.txt",
"parent_binder":{"id":57,"href":"/binders/57"},
...,
"primary_file":{
"id","09c1c3fb5256e2e4015256e8691c003b",
"href":"/files/09c1c3fb5256e2e4015256e8691c003b/metadata",
"name":"test.txt",
"length":14,
"mod_date":"2014-04-24T17:05:40Z"
},
"replies":[{
"id":106,
"href":"/replies/106",
"title":"Re: test.txt",
"description":{
"text":"I made a few more changes",
"format_str":"text"
},
...
},{
"id":106,
"href":"/replies/106",
"title":"Re: test.txt",
"description":{
"text":"I made a few more changes",
"format_str":"text"
},
...
}]
},
...
]
}
Each binder object, including the top level folders such as My Files (-100) and Shared with Me (-101), also has a "recent_activity" related link that can be used to get recently changed folder entries in that particular location.