Update Item Tags
Endpoint: /tag/items/{id}
Method: PUT
Tagbee uses machine learning for a more personalized tagging experience. The more you use TagBee the better results you get. For best results always submit the tags of your preferrence for a Tagged Item.
URI params
Parameter | Type | Description |
---|---|---|
id | string | The identifier of the Item in TagBee. See Tag Item endpoint REQUIRED |
Request body
Parameter | Type | Description |
---|---|---|
title | string | Item's title OPTIONAL |
content | string | Item's main body OPTIONAL |
category | string | Item's categories (as a comma separated string) OPTIONAL |
reference | string | Item's reference e.g. The post id, in your Wordpress site OPTIONAL |
permalink | string | Item's URL e.g https://tagbee.co OPTIONAL |
tags | array | Item's tags. DEFAULT [ ] |
tags[ ].tag | array | The tag's text REQUIRED |
Example Request
curl --location --request PUT 'https://api.tabee.co/tag/items/88750438c-4e85-4995-9f50-3a66ceec6ff6' \
--header 'x-tagbee-pubkey: xxxxxxxxxx' \
--header 'x-tagbee-signature: xxxxxxxxxx' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--data '{
"title": "Tagbee Title!"
"tags": [
"Tag1",
"Tag2"
]
}'
Example Response 202 Accepted
{
"data": {
"id": "88750438c-4e85-4995-9f50-3a66ceec6ff6",
"tags": [
{"tag": "tag 1"},
{"tag": "tag 2"}
]
}
}