Here are the endpoints I think we'll need for project and item tags with the available query and parameter options. One thing that I'm navigating is when to use the following:
Tag ID: an autogenerated integer assigned when the label is created
Tag name: a user-friendly title provided by by the label creator
Below, all instances of :tag can be assumed to mean tag ID, and all instances of tag can be assumed to mean tag name. Would love thoughts from other stakeholders!
@batpad @kepta @samanpwbb
Get all tags for project
GET /project/:project/tags
Query parameters
Name
Type
Description
tag
string
Optional. May be passed to filter returned tags where tag name contains the provided string.
Create a project tag
POST /project/:project/tags
Payload parameters
Name
Type
Description
name
string
Required. The tag name.
Get a project tag
GET /project/:project/tags/:tag
Update a project tag
PUT /project/:project/tags/:tag
Payload parameters
Name
Type
Description
name
string
Required. The new tag name.
Delete a project tag
DELETE /project/:project/tags/:tag
Get all tags for item
GET /project/:project/item/:item/tags
Query parameters
Name
Type
Description
tag
string
Optional. May be passed to filter returned tags where tag name contains the provided string.
Here are the endpoints I think we'll need for project and item tags with the available query and parameter options. One thing that I'm navigating is when to use the following:
Below, all instances of
:tag
can be assumed to mean tag ID, and all instances oftag
can be assumed to mean tag name. Would love thoughts from other stakeholders!@batpad @kepta @samanpwbb
Get all tags for project
Query parameters
tag
Create a project tag
Payload parameters
name
Get a project tag
Update a project tag
Payload parameters
name
Delete a project tag
Get all tags for item
Query parameters
tag
Add a tag to an item
Payload parameters
tagIds
Delete a tag from an item