Changes between Initial Version and Version 3 of Ticket #1775
- Timestamp:
- 02/15/12 10:43:34 (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #1775
- Property Keywords [0.5d] added
- Property Component changed from ckan to ecportal
- Property Summary changed from Enable adding tags to controlled vocabularies via API to Enable adding many tags at once to controlled vocabularies via API
-
Ticket #1775 – Description
initial v3 1 W hen creating or updating a Vocabulary via the API, the user should be able to pass in a list of tags that will replace the vocabulary's current tags.1 We already have API calls for adding one tag or removing one tag at a time to/from a vocab. Want more convenient ways to add or remove many in one call, or just pass in a list of tags to completely replace a vocab's current list. 2 2 3 If they just want to change the vocabulary name, there should be a way to do that without deleting all its tags but without having to pass the complete list of tags to the API either. 3 - Add tags_create() function that calls the existing tag_create() many times? 4 - Also tags_delete()? 5 - Or just let tag_create() and tag_delete() accept a list? 6 - Add tags argument to vocabulary_update() to pass in a list of tags to replace the vocab's current tags? (But it should still be possible to simply rename a vocab without changing its tags and without having to pass in the tag list.)