Entity Tags
An Entity Tag is a way to add different categories for an Entity to improve searchability, and to add access restrictions.
If you see references to "Layers" in documentation, that is a legacy term for Tags.Data model
Below is a basic data model for a Tag record.
When further documentation refers to ITag or just a Tag record, you can reference this data model.
Entity Tag requests.
Below are the basic requests for managing Tag records.
Get Tags
Response
Javascript example
Get Tag by ID
Response
Javascript example
Get Tags by IDs
Request body
Response
Create / Update Tag
Response
Delete Tag
Javascript example
Assigning Tags
To update an Entity's Tags you update its Bruce/Layer.ID field. It is an array of Tag IDs.
You can use our typical Create/Update Entity requests to update this value. See Entities.
Additionally, we have DataLab actions for adding/removing and setting Tags for Entities based on a query. See DataLab actions.