Waterline Data tags are maintained in a tag glossary that is organized into tag domains. Endpoints under
/tagdomain
provide access to TagDomain objects.
All tags must belong to a domain. One tag domain, "Built-in Tags", is dedicated to system tags.
Users with admin privileges can create additional tag domains.
A POST request to the /tagdomain
endpoint creates a new TagDomain. The user making the
call must be assigned an administrator role in Waterline Data.
media type | data type | description |
---|---|---|
application/json | TagDomain (JSON) | A JSON object containing at least the "name" and "description" fields.
|
media type | data type | description |
---|---|---|
application/json | TagDomain (JSON) | The new TagDomain object in JSON format, containing the assigned unique identifying "key" value. |
POST /v2/tagdomain
Content-Type: application/json
Accept: application/json
{
"readTags" : true,
"semantic" : "USER_CREATED",
"color" : "...",
"description" : "...",
"deleteTags" : true,
"createTags" : true,
"name" : "...",
"canUpdateTag" : true,
"timeOfLastChange" : 12345,
"timeOfCreation" : 12345,
"key" : "...",
"type" : "...",
"restricted" : [ "...", "..." ],
"viewAble" : [ "...", "..." ],
"updateable" : [ "...", "..." ],
"richDescription" : "...",
"score" : 12345.0,
"customProperties" : [ {
"description" : "...",
"value" : { },
"facetAble" : true,
"name" : "...",
"type" : "...",
"displayName" : "..."
}, {
"description" : "...",
"value" : { },
"facetAble" : true,
"name" : "...",
"type" : "...",
"displayName" : "..."
} ]
}
HTTP/1.1 201 Created
Content-Type: application/json
{
"readTags" : true,
"semantic" : "USER_CREATED",
"color" : "...",
"description" : "...",
"deleteTags" : true,
"createTags" : true,
"name" : "...",
"canUpdateTag" : true,
"timeOfLastChange" : 12345,
"timeOfCreation" : 12345,
"key" : "...",
"type" : "...",
"restricted" : [ "...", "..." ],
"viewAble" : [ "...", "..." ],
"updateable" : [ "...", "..." ],
"richDescription" : "...",
"score" : 12345.0,
"customProperties" : [ {
"description" : "...",
"value" : { },
"facetAble" : true,
"name" : "...",
"type" : "...",
"displayName" : "..."
}, {
"description" : "...",
"value" : { },
"facetAble" : true,
"name" : "...",
"type" : "...",
"displayName" : "..."
} ]
}
A GET request to the tagdomain/all
endpoint retrieves a list of all tag domains. The list
includes details for all tags and all domains.
media type | data type | description |
---|---|---|
application/json | array of TagDomainContainer (JSON) | A list of tag domains and all contained tags in a TagDomainContainer object in JSON format. |
GET /v2/tagdomain/all
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
[ {
"domain" : {
"readTags" : true,
"semantic" : "DISCOVERY_CREATED",
"color" : "...",
"description" : "...",
"deleteTags" : true,
"createTags" : true,
"name" : "...",
"canUpdateTag" : true,
"timeOfLastChange" : 12345,
"timeOfCreation" : 12345,
"key" : "...",
"type" : "...",
"restricted" : [ "...", "..." ],
"viewAble" : [ "...", "..." ],
"updateable" : [ "...", "..." ],
"richDescription" : "...",
"score" : 12345.0,
"customProperties" : [ {
"description" : "...",
"value" : { },
"facetAble" : true,
"name" : "...",
"type" : "...",
"displayName" : "..."
}, {
"description" : "...",
"value" : { },
"facetAble" : true,
"name" : "...",
"type" : "...",
"displayName" : "..."
} ]
},
"tags" : [ {
"regexMaxLen" : 12345,
"parentKey" : "...",
"allSensitivities" : [ "...", "..." ],
"state" : "SUGGESTED",
"immutable" : true,
"synonyms" : [ "...", "..." ],
"externalSourceName" : "...",
"regEx" : "...",
"fullName" : "...",
"children" : [ { }, { } ],
"enable" : true,
"domainKey" : "...",
"externalId" : "...",
"learningEnabled" : true,
"name" : "...",
"regexMinLen" : 12345,
"regexFilterClass" : "...",
"tagState" : "VALUE",
"sensitivity" : "...",
"minScore" : 12345.0,
"timeOfLastChange" : 12345,
"timeOfCreation" : 12345,
"key" : "...",
"description" : "...",
"type" : "...",
"restricted" : [ "...", "..." ],
"viewAble" : [ "...", "..." ],
"updateable" : [ "...", "..." ],
"richDescription" : "...",
"score" : 12345.0,
"customProperties" : [ {
"description" : "...",
"value" : { },
"facetAble" : true,
"name" : "...",
"type" : "...",
"displayName" : "..."
}, {
"description" : "...",
"value" : { },
"facetAble" : true,
"name" : "...",
"type" : "...",
"displayName" : "..."
} ]
}, {
"regexMaxLen" : 12345,
"parentKey" : "...",
"allSensitivities" : [ "...", "..." ],
"state" : "SUGGESTED",
"immutable" : true,
"synonyms" : [ "...", "..." ],
"externalSourceName" : "...",
"regEx" : "...",
"fullName" : "...",
"children" : [ { }, { } ],
"enable" : true,
"domainKey" : "...",
"externalId" : "...",
"learningEnabled" : true,
"name" : "...",
"regexMinLen" : 12345,
"regexFilterClass" : "...",
"tagState" : "REGEX",
"sensitivity" : "...",
"minScore" : 12345.0,
"timeOfLastChange" : 12345,
"timeOfCreation" : 12345,
"key" : "...",
"description" : "...",
"type" : "...",
"restricted" : [ "...", "..." ],
"viewAble" : [ "...", "..." ],
"updateable" : [ "...", "..." ],
"richDescription" : "...",
"score" : 12345.0,
"customProperties" : [ {
"description" : "...",
"value" : { },
"facetAble" : true,
"name" : "...",
"type" : "...",
"displayName" : "..."
}, {
"description" : "...",
"value" : { },
"facetAble" : true,
"name" : "...",
"type" : "...",
"displayName" : "..."
} ]
} ]
} ]
A GET request to the /tagdomain/alldomains
endpoint retrieves all tag domains.
media type | data type | description |
---|---|---|
application/json | array of TagDomain (JSON) | A list of TagDomain objects in JSON format. |
GET /v2/tagdomain/alldomains
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
[ {
"readTags" : true,
"semantic" : "DISCOVERY_CREATED",
"color" : "...",
"description" : "...",
"deleteTags" : true,
"createTags" : true,
"name" : "...",
"canUpdateTag" : true,
"timeOfLastChange" : 12345,
"timeOfCreation" : 12345,
"key" : "...",
"type" : "...",
"restricted" : [ "...", "..." ],
"viewAble" : [ "...", "..." ],
"updateable" : [ "...", "..." ],
"richDescription" : "...",
"score" : 12345.0,
"customProperties" : [ {
"description" : "...",
"value" : { },
"facetAble" : true,
"name" : "...",
"type" : "...",
"displayName" : "..."
}, {
"description" : "...",
"value" : { },
"facetAble" : true,
"name" : "...",
"type" : "...",
"displayName" : "..."
} ]
} ]
A POST request to the /tagdomain/list
endpoint creates a set of TagDomains.
media type | data type | description |
---|---|---|
application/json | array of TagDomain (JSON) | A JSON list containing a set of TagDomain objects, specifying at least the "name"
and "description" fields.
|
POST /v2/tagdomain/list
Content-Type: application/json
[ {
"readTags" : true,
"semantic" : "FLAG",
"color" : "...",
"description" : "...",
"deleteTags" : true,
"createTags" : true,
"name" : "...",
"canUpdateTag" : true,
"timeOfLastChange" : 12345,
"timeOfCreation" : 12345,
"key" : "...",
"type" : "...",
"restricted" : [ "...", "..." ],
"viewAble" : [ "...", "..." ],
"updateable" : [ "...", "..." ],
"richDescription" : "...",
"score" : 12345.0,
"customProperties" : [ {
"description" : "...",
"value" : { },
"facetAble" : true,
"name" : "...",
"type" : "...",
"displayName" : "..."
}, {
"description" : "...",
"value" : { },
"facetAble" : true,
"name" : "...",
"type" : "...",
"displayName" : "..."
} ]
} ]
HTTP/1.1 201 Created
A PUT request to the /tagdomain/list
endpoint updates a set of tag.
media type | data type | description |
---|---|---|
application/json | array of TagDomain (JSON) | The body of the request is a JSON list containing a set of TagDomain objects, with the fields to change and their new values. Fields that are not present are not changed. |
PUT /v2/tagdomain/list
Content-Type: application/json
[ {
"readTags" : true,
"semantic" : "IMPORTED",
"color" : "...",
"description" : "...",
"deleteTags" : true,
"createTags" : true,
"name" : "...",
"canUpdateTag" : true,
"timeOfLastChange" : 12345,
"timeOfCreation" : 12345,
"key" : "...",
"type" : "...",
"restricted" : [ "...", "..." ],
"viewAble" : [ "...", "..." ],
"updateable" : [ "...", "..." ],
"richDescription" : "...",
"score" : 12345.0,
"customProperties" : [ {
"description" : "...",
"value" : { },
"facetAble" : true,
"name" : "...",
"type" : "...",
"displayName" : "..."
}, {
"description" : "...",
"value" : { },
"facetAble" : true,
"name" : "...",
"type" : "...",
"displayName" : "..."
} ]
} ]
HTTP/1.1 204 No Content
A DELETE request to the /tagdomain/{key}
endpoint deletes an empty tag domain.
If the domain includes tags with associations, you can delete the domain by providing an additional
parameter to override the domain protection.
name | type | description | default | constraints |
---|---|---|---|---|
key | path | The unique identifier the tag domain. | ||
deleteDependencies | query | True to override the call's protections and delete all the tags included in a domain. Note that this will remove the tags and any tag associations created with those tags. | true | required |
DELETE /v2/tagdomain/{key}
Content-Type: */*
...
HTTP/1.1 204 No Content
A GET request to the /tagdomain/{key}
endpoint retrieves a tag domain object.
name | type | description |
---|---|---|
key | path | The unique identifier of the tag domain. |
media type | data type | description |
---|---|---|
application/json | TagDomain (JSON) | The TagDomain object in JSON format. The object contains domain properties including the access permissions for the current user. |
GET /v2/tagdomain/{key}
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"readTags" : true,
"semantic" : "DISCOVERY_CREATED",
"color" : "...",
"description" : "...",
"deleteTags" : true,
"createTags" : true,
"name" : "...",
"canUpdateTag" : true,
"timeOfLastChange" : 12345,
"timeOfCreation" : 12345,
"key" : "...",
"type" : "...",
"restricted" : [ "...", "..." ],
"viewAble" : [ "...", "..." ],
"updateable" : [ "...", "..." ],
"richDescription" : "...",
"score" : 12345.0,
"customProperties" : [ {
"description" : "...",
"value" : { },
"facetAble" : true,
"name" : "...",
"type" : "...",
"displayName" : "..."
}, {
"description" : "...",
"value" : { },
"facetAble" : true,
"name" : "...",
"type" : "...",
"displayName" : "..."
} ]
}
A PUT request to the /tagdomain/{key}
endpoint updates an existing TagDomain.
name | type | description |
---|---|---|
key | path | The unique identifier of the tag domain. |
media type | data type | description |
---|---|---|
application/json | TagDomain (JSON) | A JSON object containing the fields to be updated and their new values. Fields that are not present are not changed. |
media type | data type | description |
---|---|---|
application/json | TagDomain (JSON) | The updated TagDomain object in JSON format. |
PUT /v2/tagdomain/{key}
Content-Type: application/json
Accept: application/json
{
"readTags" : true,
"semantic" : "FLAG",
"color" : "...",
"description" : "...",
"deleteTags" : true,
"createTags" : true,
"name" : "...",
"canUpdateTag" : true,
"timeOfLastChange" : 12345,
"timeOfCreation" : 12345,
"key" : "...",
"type" : "...",
"restricted" : [ "...", "..." ],
"viewAble" : [ "...", "..." ],
"updateable" : [ "...", "..." ],
"richDescription" : "...",
"score" : 12345.0,
"customProperties" : [ {
"description" : "...",
"value" : { },
"facetAble" : true,
"name" : "...",
"type" : "...",
"displayName" : "..."
}, {
"description" : "...",
"value" : { },
"facetAble" : true,
"name" : "...",
"type" : "...",
"displayName" : "..."
} ]
}
HTTP/1.1 204 No Content
Content-Type: application/json
{
"readTags" : true,
"semantic" : "IMPORTED",
"color" : "...",
"description" : "...",
"deleteTags" : true,
"createTags" : true,
"name" : "...",
"canUpdateTag" : true,
"timeOfLastChange" : 12345,
"timeOfCreation" : 12345,
"key" : "...",
"type" : "...",
"restricted" : [ "...", "..." ],
"viewAble" : [ "...", "..." ],
"updateable" : [ "...", "..." ],
"richDescription" : "...",
"score" : 12345.0,
"customProperties" : [ {
"description" : "...",
"value" : { },
"facetAble" : true,
"name" : "...",
"type" : "...",
"displayName" : "..."
}, {
"description" : "...",
"value" : { },
"facetAble" : true,
"name" : "...",
"type" : "...",
"displayName" : "..."
} ]
}
A DELETE request to the /tagdomain/name/{name}
endpoint deletes an empty tag domain.
name | type | description | default | constraints |
---|---|---|---|---|
name | path | The name of the tag domain. | ||
deleteDependencies | query | true | required |
DELETE /v2/tagdomain/name/{name}
Content-Type: */*
...
HTTP/1.1 204 No Content
A GET request to the /tagdomain/name/{name}
endpoint retrieves a tag domain by name.
name | type | description |
---|---|---|
name | path | The tag domain name. |
media type | data type | description |
---|---|---|
application/json | TagDomain (JSON) | The TagDomain object in JSON format. |
GET /v2/tagdomain/name/{name}
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"readTags" : true,
"semantic" : "FLAG",
"color" : "...",
"description" : "...",
"deleteTags" : true,
"createTags" : true,
"name" : "...",
"canUpdateTag" : true,
"timeOfLastChange" : 12345,
"timeOfCreation" : 12345,
"key" : "...",
"type" : "...",
"restricted" : [ "...", "..." ],
"viewAble" : [ "...", "..." ],
"updateable" : [ "...", "..." ],
"richDescription" : "...",
"score" : 12345.0,
"customProperties" : [ {
"description" : "...",
"value" : { },
"facetAble" : true,
"name" : "...",
"type" : "...",
"displayName" : "..."
}, {
"description" : "...",
"value" : { },
"facetAble" : true,
"name" : "...",
"type" : "...",
"displayName" : "..."
} ]
}
A GET request to the /tagdomain/{domainKey}/alltags
endpoint retrieves all tags in a given tag domain.
name | type | description |
---|---|---|
domainKey | path | The unique identifier of the tag domain. |
media type | data type | description |
---|---|---|
application/json | TagDomainContainer (JSON) | A tag domains and all contained tags in a TagDomainContainer object in JSON format. |
GET /v2/tagdomain/{domainKey}/alltags
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"domain" : {
"readTags" : true,
"semantic" : "DISCOVERY_CREATED",
"color" : "...",
"description" : "...",
"deleteTags" : true,
"createTags" : true,
"name" : "...",
"canUpdateTag" : true,
"timeOfLastChange" : 12345,
"timeOfCreation" : 12345,
"key" : "...",
"type" : "...",
"restricted" : [ "...", "..." ],
"viewAble" : [ "...", "..." ],
"updateable" : [ "...", "..." ],
"richDescription" : "...",
"score" : 12345.0,
"customProperties" : [ {
"description" : "...",
"value" : { },
"facetAble" : true,
"name" : "...",
"type" : "...",
"displayName" : "..."
}, {
"description" : "...",
"value" : { },
"facetAble" : true,
"name" : "...",
"type" : "...",
"displayName" : "..."
} ]
},
"tags" : [ {
"regexMaxLen" : 12345,
"parentKey" : "...",
"allSensitivities" : [ "...", "..." ],
"state" : "ACCEPTED",
"immutable" : true,
"synonyms" : [ "...", "..." ],
"externalSourceName" : "...",
"regEx" : "...",
"fullName" : "...",
"children" : [ { }, { } ],
"enable" : true,
"domainKey" : "...",
"externalId" : "...",
"learningEnabled" : true,
"name" : "...",
"regexMinLen" : 12345,
"regexFilterClass" : "...",
"tagState" : "VALUE",
"sensitivity" : "...",
"minScore" : 12345.0,
"timeOfLastChange" : 12345,
"timeOfCreation" : 12345,
"key" : "...",
"description" : "...",
"type" : "...",
"restricted" : [ "...", "..." ],
"viewAble" : [ "...", "..." ],
"updateable" : [ "...", "..." ],
"richDescription" : "...",
"score" : 12345.0,
"customProperties" : [ {
"description" : "...",
"value" : { },
"facetAble" : true,
"name" : "...",
"type" : "...",
"displayName" : "..."
}, {
"description" : "...",
"value" : { },
"facetAble" : true,
"name" : "...",
"type" : "...",
"displayName" : "..."
} ]
}, {
"regexMaxLen" : 12345,
"parentKey" : "...",
"allSensitivities" : [ "...", "..." ],
"state" : "REJECTED",
"immutable" : true,
"synonyms" : [ "...", "..." ],
"externalSourceName" : "...",
"regEx" : "...",
"fullName" : "...",
"children" : [ { }, { } ],
"enable" : true,
"domainKey" : "...",
"externalId" : "...",
"learningEnabled" : true,
"name" : "...",
"regexMinLen" : 12345,
"regexFilterClass" : "...",
"tagState" : "REGEX",
"sensitivity" : "...",
"minScore" : 12345.0,
"timeOfLastChange" : 12345,
"timeOfCreation" : 12345,
"key" : "...",
"description" : "...",
"type" : "...",
"restricted" : [ "...", "..." ],
"viewAble" : [ "...", "..." ],
"updateable" : [ "...", "..." ],
"richDescription" : "...",
"score" : 12345.0,
"customProperties" : [ {
"description" : "...",
"value" : { },
"facetAble" : true,
"name" : "...",
"type" : "...",
"displayName" : "..."
}, {
"description" : "...",
"value" : { },
"facetAble" : true,
"name" : "...",
"type" : "...",
"displayName" : "..."
} ]
} ]
}