[ckan-dev] Activity streams API URLs?
Sean Hammond
sean.hammond at okfn.org
Mon Jan 16 18:11:14 UTC 2012
> 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.
More information about the ckan-dev
mailing list