Managing site tags
The site admin can use this API to manage site tags as follows:
-
The context is site.
-
The entity name in the site is site_tags.
-
The field name in the shared space is user_tags.
-
The PUT operation is for modifying the tags on a specific shared space, as opposed to the POST and GET that are general site APIs.
-
Send an ALM-OCTANE-TECH-PREVIEW header with the value true.
GET:
...admin/site_tags
POST:
...admin/site_tags
Body:
{"data":[ { "name":"newTagName" } ] }
PUT:
...admin/shared_spaces/1001
Body:
{ "user_tags":{ "data":[ { "type":"site_tag", "id":"2002" } ] }, "id":"1001", "client_lock_stamp":1 }