[ckan-dev] (perma) delete resouces
Armin Retterath
armin.retterath at gmail.com
Tue May 21 20:32:24 UTC 2013
something more - there is a gui to delete the deleted marked datasets fully
- i forgot the url but it should be somwhere in the documentation. with the
api you have no possibility to delete those orphaned records - but it s
really needed for the future :-)
Am 21.05.2013 22:26 schrieb "Armin Retterath" <armin.retterath at gmail.com>:
> hi,
> you have to update the resource and change its name. you cannot delete it
> via api. there is a history for each resource. i make an update, set the
> new name to oldname_timestamp and set its status to deleted. afterwards i
> can create new packages with the same old name. i sync another metadata
> catalogue and use the own catalogue uuids as ckan names :-). .
> hope this helps
> regards armin
> Am 20.05.2013 15:26 schrieb "Henrik Korsgaard" <henrikkorsgaard at gmail.com
> >:
>
>> Hi all,
>>
>> When I delete a resource via the GUI or API, the resource is still
>> visible from within the user interface. Moreover, when trying to create a
>> new resource with the same name via the API, it responds with an
>> error ["That URL is already in use."].
>>
>> Is there a way to perma delete resources without going directly into the
>> database?
>>
>> Maybe this is related with issue 395: Deleted resource is not deleted
>>
>> --
>> Med venlig hilsen - Best regards,
>>
>> *Henrik Korsgaard*
>> Phone: +45 22377114
>> Office: CAVI 114b, Aarhus University
>>
>> NB. I am slowly migrating my university related correspondence to my
>> official AU mail: korsgaard at cavi.au.dk - feel free to contact me at that
>> address if relevant.
>>
>> _______________________________________________
>> 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/20130521/58790e0e/attachment-0001.html>
More information about the ckan-dev
mailing list