Gets a tag by the provided label.
Sub-labels can also be specified using a /
. For example, you can have 'dessert/icecream'
and 'dessert/pie'
as two different tag labels.
Note: The full URL path following labels/
is counted as 1 label. Adding a /
to a label does not create multiple labels. This means that 'dessert/icecream'
is a sinlge label.
Tag label.
Tag language.
2-or-4-letter language code in IETF BCP 47 language tag format. If omitted, tags in all languages are returned.
Deprecated. Use fieldsets
instead.
This parameter will be removed on June 30, 2023.
List of tag fields to be included in the response.
List of additional tag fields to include in the response. For example, use the URL
fieldset to retrieve the url field in
the response in addition to the tag's base fields. Base fields don’t include any of the supported fieldset values. By default
only the tag's base fields are returned.
Tag info.
curl \
'https://www.wixapis.com/blog/v3/tags/labels/vacation' \
-H 'Content-Type: application/json' \
-H 'Authorization: <AUTH>'
{
"tag": {
"id": "6d72a3bb-053c-4de5-a897-5ef6be30b1b0",
"label": "vacation",
"slug": "vacation",
"createdDate": "2021-08-13T08:58:20.145Z",
"updatedDate": "2021-08-13T08:58:20.145Z",
"publicationCount": 2,
"postCount": 1,
"language": "en"
}
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.