Allow tag ids or tag names when replacing tags

This commit is contained in:
eikek
2021-07-25 21:24:08 +02:00
parent 90f19aec43
commit fcef52856a
6 changed files with 24 additions and 20 deletions

View File

@ -1628,6 +1628,8 @@ paths:
Update the tags associated to an item. This will remove all
existing ones and sets the given tags, such that after this
returns, the item has exactly the tags as given.
Tags may be specified as names or ids.
security:
- authTokenHeader: []
parameters:
@ -1636,7 +1638,7 @@ paths:
content:
application/json:
schema:
$ref: "#/components/schemas/ReferenceList"
$ref: "#/components/schemas/StringList"
responses:
200:
description: Ok