Search Tags
Substring search over tag names. Use this to power a type-ahead, or to find the variants of a tag you are about to merge.
Request
GET ~/api/tags/command/search?term=<term>
| Parameter | In | Required | Description |
|---|---|---|---|
term | query | yes | Substring to match against tag names. |
Request
curl "https://{host}/{instance}/api/tags/command/search?term=Test" \
-H "Authorization: Bearer <access-token>" \
-H "Accept: application/json"
Response
A flat JSON array of matching tag strings — no counts. If you need usage information for a match, follow up with query a tag.
200 OK
[
"Automated SQL UnitTests",
"ProductPlanning Regression Tests",
"RegressionTestDetails",
"RegressionTests",
"Testboard",
"TestSetDetails"
]
Note that the match is a substring match anywhere in the name, not a prefix match:
Testboard and RegressionTestDetails both matched Test.
Notes
- Matching is case-insensitive.
- An empty result set is returned as
[], not a404. - Despite living under the
/command/path segment alongsidemergeandremove, search is a read-onlyGETand requires no special privilege.
Related Topics
- Query all tags — when you want the whole vocabulary with counts
- Merge tags
- Tags overview