[ckan-dev] accessing dataset revision history
Vitor Baptista
vitor at vitorbaptista.com
Thu Apr 11 21:34:04 UTC 2013
Glad it worked out, Tim :-)
2013/4/11 Timothy Lebo <lebot at rpi.edu>
> Victor,
>
> Thanks for the pointers to the API.
>
> I was able to surmise that
> http://datahub.io/api/3/action/package_revision_list?id=klappstuhlclub puts
> me where I want to be, based on:
>
> http://docs.ckan.org/en/latest/api.html#get-able-api-functions
>
> Regards,
> Tim
>
>
> On Apr 11, 2013, at 12:09 PM, Vitor Baptista <vitor at vitorbaptista.com>
> wrote:
>
> Hi Timothy,
>
> I'm not sure if ckanclient implements it, but there're API calls to get a
> Dataset's revision list (
> http://docs.ckan.org/en/latest/ckan.logic.action.get.html#ckan.logic.action.get.package_revision_list),
> and another one to get the revision details (
> http://docs.ckan.org/en/latest/ckan.logic.action.get.html#ckan.logic.action.get.revision_show).
> With these you should be able to get what you want.
>
> Cheers,
> Vítor Baptista.
>
> 2013/4/11 Timothy Lebo <lebot at rpi.edu>
>
>> CKAN,
>>
>> Is there a way to access the revision history of a dataset?
>>
>> For example, I'd like to get the information at
>> http://datahub.io/dataset/history/klappstuhlclub
>>
>> The REST JSON response (using the ckanclient.py) includes the first and
>> last revision dates as "metadata_created" and "metadata_modified",
>> but is it possible to get the intermediary revisions and their authors as
>> shown on the page above?
>>
>> Thanks!
>> Tim Lebo
>> _______________________________________________
>> ckan-dev mailing list
>> ckan-dev at lists.okfn.org
>> http://lists.okfn.org/mailman/listinfo/ckan-dev
>> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev
>>
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev
>
>
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20130411/4a8d2d55/attachment-0001.html>
More information about the ckan-dev
mailing list