fluidinfo/fluidinfo.js — Issue #67: Add support for the new /recent endpoint
Author: ntoll
Created: 2012-02-09 11:01:02+00:00
State: open
Labels: Documentation, Feature request

Fluidinfo will have a new endpoint: ``/recent`` This needs to be reflected in the public methods of fluidinfo.js.

Pasted below is the (edited) specification described on the Fluidinfo developers mailing list:

1) We will add the following endpoints to the fluiddb service:

```
/recent/about/{about value}
/recent/objects/{object id}
/recent/users/{username}
```

2) Each of this endpoints will return a JSON list with objects
representing recent activity. The list will look like this:

```
[
{
"username": "terrycojones",
"tag": "terrycojones/like",
"object_id": "3b57f6b7-c239-481a-9595-beeffa2958c3",
"about": "Recent Activity",
"timestamp": "2012-01-26T16:00:09Z"
},
...
]
```
3) Each endpoint will return a limited amount of recent activity
objects. 10 objects would be good for now. We make that number an
argument in the future.