[ckan-dev] Activity streams API URLs?

David Read david.read at okfn.org
Mon Jan 16 18:37:23 UTC 2012


Sean,

This looks good to me! I take it these are wrappers for calls in the
logic layer?

David

On 16 January 2012 18:11, Sean Hammond <sean.hammond at okfn.org> wrote:
>> Hey, what endpoints should I add to the API for activity streams?
>
>
> This is what I went with, for now at least:
>
> Get the activity stream for a user in JSON:
>
> /api/[1|2]/rest/user/{ID}/activity
>
> The activity stream for a dataset:
>
> /api/[1|2]/rest/[dataset|package]/{ID}/activity
>
> For a group:
>
> /api/[1|2]/rest/group/{ID}/activity
>
> (tags to be done).
>
> Get the details for a given activity stream event:
>
> /api/[1|2]/rest/activity/{ID}/details
>
> where {ID} is the ID of the activity stream event whose details you want to
> get.
>
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-dev




More information about the ckan-dev mailing list