You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should add the ability to vote for tags as well as the currently behaviour of just replacing all tags. This means that users can add new tags without first having to retrieve all of their existing tags.
Our tag functionality includes the ability to upvote and downvote tags. This terminology can be confusing. Whenever you tag something, you are in fact "upvoting" it (which will add 1 to the vote count for the tag). Downvoting is the inverse operation, and will subtract 1 from the tag's vote count. Tags that you downvote will be hidden from the UI for you (and if their total vote count drops to 0 or below, they'll be hidden for everyone). The "user-tag" elements can include a "vote" attribute that specifies what action you want to take:
The "withdraw" vote will remove any upvote or downvote that you previously added (as if you had never voted).
If you do not supply any "vote" attributes in your request (as in the example above), then the list of tags you submit will be treated as upvotes and will completely replace all existing upvoted tags you have on that entity. (So, tags that are not included in the request will be withdrawn, if they were previously upvoted. Downvoted tags are left in place.) This is a legacy behavior that we maintain from before we had tag voting. Including any "vote" attribute in the request will cause it to only apply those votes that you specified.
The text was updated successfully, but these errors were encountered:
We should add the ability to vote for tags as well as the currently behaviour of just replacing all tags. This means that users can add new tags without first having to retrieve all of their existing tags.
As per https://musicbrainz.org/doc/Development/XML_Web_Service/Version_2#tags
The text was updated successfully, but these errors were encountered: