Tag Assignment
TagAssignment object
- entity_typestringBetaImmutable
The type of entity to which the tag is assigned. Allowed values are apps, dashboards, designerfiles, geniespaces, notebooks
- entity_idstringBetaImmutable
The identifier of the entity to which the tag is assigned. For apps, the entity_id is the app name
- tag_keystring[ 1 .. 256 ] charactersBetaImmutable
The key of the tag. The characters , . : / - = and leading/trailing spaces are not allowed
- tag_valuestring<= 1000 charactersBeta
The value of the tag
Get a tag assignment for an entity Beta
GET
Get a tag assignment
API scopes: tags
Parameters
- entity_typestringRequiredpath
The type of entity to which the tag is assigned. Allowed values are apps, dashboards, designerfiles, geniespaces, notebooks
- entity_idstringRequiredpath
The identifier of the entity to which the tag is assigned. For apps, the entity_id is the app name
- tag_keystring[ 1 .. 256 ] charactersRequiredpath
The key of the tag. The characters , . : / - = and leading/trailing spaces are not allowed
Response
Returns the TagAssignment object.
List tag assignments for an entity Beta
GET
List the tag assignments for an entity
API scopes: tags
Parameters
- entity_typestringRequiredpath
The type of entity to which the tag is assigned. Allowed values are apps, dashboards, designerfiles, geniespaces, notebooks
- entity_idstringRequiredpath
The identifier of the entity to which the tag is assigned. For apps, the entity_id is the app name
- page_sizeint32query
Optional. Maximum number of tag assignments to return in a single page
- page_tokenstringquery
Pagination token to go to the next page of tag assignments. Requests first page if absent.
Response
Returns a list of TagAssignment objects.
Create a tag assignment for an entity Beta
POST
Create a tag assignment
API scopes: tags
Request body
- entity_typestringRequiredImmutable
The type of entity to which the tag is assigned. Allowed values are apps, dashboards, designerfiles, geniespaces, notebooks
- entity_idstringRequiredImmutable
The identifier of the entity to which the tag is assigned. For apps, the entity_id is the app name
- tag_keystring[ 1 .. 256 ] charactersRequiredImmutable
The key of the tag. The characters , . : / - = and leading/trailing spaces are not allowed
- tag_valuestring<= 1000 characters
The value of the tag
Response
Returns the TagAssignment object.
Update a tag assignment for an entity Beta
PATCH
Update a tag assignment
API scopes: tags
Parameters
- entity_typestringRequiredImmutablepath
The type of entity to which the tag is assigned. Allowed values are apps, dashboards, designerfiles, geniespaces, notebooks
- entity_idstringRequiredImmutablepath
The identifier of the entity to which the tag is assigned. For apps, the entity_id is the app name
- tag_keystring[ 1 .. 256 ] charactersRequiredImmutablepath
The key of the tag. The characters , . : / - = and leading/trailing spaces are not allowed
- update_maskstringRequiredquery
Request body
- tag_valuestring<= 1000 characters
The value of the tag
Response
Returns the TagAssignment object.
Delete a tag assignment for an entity Beta
DELETE
Delete a tag assignment
API scopes: tags
Parameters
- entity_typestringRequiredpath
The type of entity to which the tag is assigned. Allowed values are apps, dashboards, designerfiles, geniespaces, notebooks
- entity_idstringRequiredpath
The identifier of the entity to which the tag is assigned. For apps, the entity_id is the app name
- tag_keystring[ 1 .. 256 ] charactersRequiredpath
The key of the tag. The characters , . : / - = and leading/trailing spaces are not allowed