The Trackstar Tag Object
A tag can be either a string or a dictionary with one key-value pair. e.g.- A string:
"tag1"
- A dictionary:
{"tag1": "value1"}
Setting Tags
All Trackstar objects can be tagged. To create a tag, make aPUT
request to /wms/{object_type}/{object_id}/trackstar-tags
. The request body include a list of tags to add to the object.
Note, because this is a PUT
request, the tags will be replaced with the new list.
Getting Tags
Once you’ve added tags to an object, they will be returned in thetrackstar_tags
field of the object’s response from any GET
request.