Skip to content

The project's tags with usage counts

GET
/v1/settings/tags
curl --request GET \
--url https://beta-api.plune.ai/v1/settings/tags \
--header 'Authorization: Bearer <token>'

A separate route, not a field of GET /v1/settings: the counters are a query over the cases, the settings are one row (B-7 AC-10). A tag exists only while a case carries it — there is no tag with a count of 0 and no “delete tag”: the last case losing it, or a merge, is what removes it. Ordered case-insensitively by tag, then verbatim, so Smoke and smoke sit next to each other — the pair the owner came here to merge. An empty project answers with an empty list.

The tags

Media type application/json
object
tags
required
Array<object>
object
tag
required
string
count
required

Cases carrying the tag. Never 0 — a tag nobody carries does not exist.

integer
>= 1
Example
{
"tags": [
{
"tag": "api",
"count": 41
},
{
"tag": "Smoke",
"count": 3
},
{
"tag": "smoke",
"count": 118
}
]
}

No / invalid token or session