Changes between Initial Version and Version 3 of Ticket #1775


Ignore:
Timestamp:
02/15/12 10:43:34 (2 years ago)
Author:
seanh
Comment:

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 When 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. 
     1We 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. 
    22 
    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.)