find tag id by label
find tag id by label
How I can get Tag id by label, without full list /v4/tags/ ?
Re: find tag id by label
When you edit any tag you will see the id in the URL also when you hover with your mouse over the tag it is displayed
Another option is to filter the API response...
will give you something like:
Another option is to filter the API response...
Code: Select all
/api/v4/tags/?_fields_only=id,label
Code: Select all
{
"count": 2,
"next": null,
"previous": null,
"results": [
{
"id": 2,
"label": "LABEL-A"
},
{
"id": 1,
"label": "LABEL-Z"
}
]
}
Re: find tag id by label
thanks a lot.
I've 5000 tags, I hope i can find tag without full enumeration
I've 5000 tags, I hope i can find tag without full enumeration