Tag Set#
Note
The endpoints listed on this page require a project to be loaded on the controller.
Methods#
GET#
Returns data about the Tag Sets in the project and their state on the controller.
GET /api/tag_set
Returns a JSON object with a single tag_sets attribute, which has an array value. Each item in the array is a Tag Set object with the following attributes:
Attribute |
Value Type |
Description |
Value Example |
|---|---|---|---|
|
integer |
Tag Set number |
|
|
string |
Tag Set name |
|
|
boolean |
Whether the Tag Set can be manually overridden from control panels |
|
|
array of objects |
An array of Tag objects. Each Tag object has a |
|
|
object |
The currently active Tag in the Tag Set |
|
POST#
Allows tag sets to be controlled.
POST /tag_set
Payload is a JSON object with the following attributes:
Attribute |
Value Type |
Description |
|---|---|---|
|
integer |
The target tag set number. |
|
string |
The action to perform on the tag set. |
|
integer |
The target tag number. |