Endpoints under /tag
provide access to Tag objects in the Waterline Data repository. Tags are
labels associated with data resources (folders, files, collections, or tables), or with specific fields in data resources.
A POST request to the /tag
endpoint creates a Tag object. You can make this call multiple times
to add more than one tag, or create multiple tags with POST requests to the tag/list
endpoint.
You can create a tag in place in a hierarchy using the tag/hierarchy
endpoint.
media type | data type | description |
---|---|---|
application/json | Tag (JSON) | The body of the request contains a JSON object specifying at least "name", "domainKey", and "description". |
media type | data type | description |
---|---|---|
application/json | Tag (JSON) | The new Tag object in JSON format, containing the assigned unique identifying "key" value. |
POST /v2/tag
Content-Type: application/json
Accept: application/json
{
"regexMaxLen" : 12345,
"parentKey" : "...",
"allSensitivities" : [ "...", "..." ],
"state" : "ACCEPTED",
"immutable" : true,
"synonyms" : [ "...", "..." ],
"externalSourceName" : "...",
"regEx" : "...",
"fullName" : "...",
"children" : [ {
"regexMaxLen" : 12345,
"parentKey" : "...",
"allSensitivities" : [ "...", "..." ],
"state" : "ACCEPTED",
"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" : "..."
} ]
}, {
"regexMaxLen" : 12345,
"parentKey" : "...",
"allSensitivities" : [ "...", "..." ],
"state" : "ACCEPTED",
"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" : "..."
} ]
} ],
"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" : "..."
} ]
}
HTTP/1.1 201 Created
Content-Type: application/json
{
"regexMaxLen" : 12345,
"parentKey" : "...",
"allSensitivities" : [ "...", "..." ],
"state" : "ACCEPTED",
"immutable" : true,
"synonyms" : [ "...", "..." ],
"externalSourceName" : "...",
"regEx" : "...",
"fullName" : "...",
"children" : [ {
"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" : "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" : "..."
} ]
} ],
"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 /tag/byname
endpoint retrieves a Tag object by tag domain and tag name.
name | type | description |
---|---|---|
domainName | query | The name of the tag domain. |
tagName | query | The name of the tag. |
media type | data type | description |
---|---|---|
application/json | Tag (JSON) | The Tag object in JSON format, containing the assigned unique identifying "key" value. |
GET /v2/tag/byname
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"regexMaxLen" : 12345,
"parentKey" : "...",
"allSensitivities" : [ "...", "..." ],
"state" : "ACCEPTED",
"immutable" : true,
"synonyms" : [ "...", "..." ],
"externalSourceName" : "...",
"regEx" : "...",
"fullName" : "...",
"children" : [ {
"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" : "..."
} ]
}, {
"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" : "..."
} ]
} ],
"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 POST request to the /tag/hierarchy
endpoint creates all the tags needed to insert a tag in a
branch of the hierarchy in a given domain. Tags in a hierarchy are identified with dot notation in the name
("parent.child.grandchild"). If parent tags in the hierarchy do not yet exist in the repository, they are
generated by the call. For example, if the input includes a "name" value of "Organization.Property.Brand",
the call creates three tags organized hierarchically, "Organization", "Property", and "Brand".
The new tags are created as value tags.
media type | data type | description |
---|---|---|
application/json | TagRequest (JSON) | A JSON object including the new tag name and domain key. It can include a tag description. |
media type | data type | description |
---|---|---|
application/json | Tag (JSON) |
POST /v2/tag/hierarchy
Content-Type: application/json
Accept: application/json
{
"sensitivity" : "...",
"richDescription" : "...",
"tagName" : "...",
"domainKey" : "...",
"description" : "..."
}
HTTP/1.1 201 Created
Content-Type: application/json
{
"regexMaxLen" : 12345,
"parentKey" : "...",
"allSensitivities" : [ "...", "..." ],
"state" : "SUGGESTED",
"immutable" : true,
"synonyms" : [ "...", "..." ],
"externalSourceName" : "...",
"regEx" : "...",
"fullName" : "...",
"children" : [ {
"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" : "ACCEPTED",
"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" : "..."
} ]
} ],
"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" : "..."
} ]
}
A POST request to the /tag/list
endpoint creates multiple Tag objects.
media type | data type | description |
---|---|---|
application/json | array of Tag (JSON) | A JSON list containing a set of Tag objects, specifying at least the "name", "domainKey",
and "state".
|
POST /v2/tag/list
Content-Type: application/json
[ {
"regexMaxLen" : 12345,
"parentKey" : "...",
"allSensitivities" : [ "...", "..." ],
"state" : "ACCEPTED",
"immutable" : true,
"synonyms" : [ "...", "..." ],
"externalSourceName" : "...",
"regEx" : "...",
"fullName" : "...",
"children" : [ {
"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" : "ACCEPTED",
"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" : "..."
} ]
} ],
"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" : "..."
} ]
} ]
HTTP/1.1 201 Created
A PUT request to the /tag/list
endpoint updates a set of tags.
media type | data type | description |
---|---|---|
application/json | array of Tag (JSON) | A JSON list containing a set of Tag objects, specifying the tag key and the properties that are updated. |
PUT /v2/tag/list
Content-Type: application/json
[ {
"regexMaxLen" : 12345,
"parentKey" : "...",
"allSensitivities" : [ "...", "..." ],
"state" : "ACCEPTED",
"immutable" : true,
"synonyms" : [ "...", "..." ],
"externalSourceName" : "...",
"regEx" : "...",
"fullName" : "...",
"children" : [ {
"regexMaxLen" : 12345,
"parentKey" : "...",
"allSensitivities" : [ "...", "..." ],
"state" : "ACCEPTED",
"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" : "..."
} ]
}, {
"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" : "..."
} ]
} ],
"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" : "..."
} ]
} ]
HTTP/1.1 204 No Content
media type | data type | description |
---|---|---|
application/json | array of string (JSON) |
GET /v2/tag/sensitivity
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
...
A DELETE request to the /tag/{key}
endpoint deletes a Tag object. All tag associations including this
tag are also deleted.
name | type | description | default | constraints |
---|---|---|---|---|
key | path | The unique identifier of the Tag object. | ||
force | query | false | required |
DELETE /v2/tag/{key}
Content-Type: */*
...
HTTP/1.1 204 No Content
A GET request to the /tag/{key}
endpoint retrieves a Tag object.
name | type | description |
---|---|---|
key | path | The unique identifier of the Tag object. |
media type | data type | description |
---|---|---|
application/json | Tag (JSON) | The Tag object in JSON format. |
GET /v2/tag/{key}
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"regexMaxLen" : 12345,
"parentKey" : "...",
"allSensitivities" : [ "...", "..." ],
"state" : "ACCEPTED",
"immutable" : true,
"synonyms" : [ "...", "..." ],
"externalSourceName" : "...",
"regEx" : "...",
"fullName" : "...",
"children" : [ {
"regexMaxLen" : 12345,
"parentKey" : "...",
"allSensitivities" : [ "...", "..." ],
"state" : "REJECTED",
"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" : "..."
} ]
} ],
"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" : "..."
} ]
}
A PUT request to the /tag/{key}
endpoint updates the contents of an existing Tag.
name | type | description |
---|---|---|
key | path | The unique identifier of the Tag object. |
media type | data type | description |
---|---|---|
application/json | Tag (JSON) | A JSON object specifying the new tag properties. |
media type | data type | description |
---|---|---|
application/json | Tag (JSON) | The updated Tag object in JSON format. |
PUT /v2/tag/{key}
Content-Type: application/json
Accept: application/json
{
"regexMaxLen" : 12345,
"parentKey" : "...",
"allSensitivities" : [ "...", "..." ],
"state" : "SUGGESTED",
"immutable" : true,
"synonyms" : [ "...", "..." ],
"externalSourceName" : "...",
"regEx" : "...",
"fullName" : "...",
"children" : [ {
"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" : "..."
} ]
}, {
"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" : "..."
} ]
} ],
"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" : "..."
} ]
}
HTTP/1.1 204 No Content
Content-Type: application/json
{
"regexMaxLen" : 12345,
"parentKey" : "...",
"allSensitivities" : [ "...", "..." ],
"state" : "REJECTED",
"immutable" : true,
"synonyms" : [ "...", "..." ],
"externalSourceName" : "...",
"regEx" : "...",
"fullName" : "...",
"children" : [ {
"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" : "..."
} ]
} ],
"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 /tag/children/{key}
endpoint retrieves all tags under a given tag in the tag hierarchy.
name | type | description |
---|---|---|
key | path | The unique identifier of the Tag object. |
media type | data type | description |
---|---|---|
application/json | array of Tag (JSON) | An array of Tag objects, in JSON format. |
GET /v2/tag/children/{key}
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
[ {
"regexMaxLen" : 12345,
"parentKey" : "...",
"allSensitivities" : [ "...", "..." ],
"state" : "REJECTED",
"immutable" : true,
"synonyms" : [ "...", "..." ],
"externalSourceName" : "...",
"regEx" : "...",
"fullName" : "...",
"children" : [ {
"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" : "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" : "..."
} ]
} ],
"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" : "..."
} ]
} ]
A POST request to the /tag/regex/validate
endpoint tests whether the regular expression provided
for a tag is valid.
media type | data type | description |
---|---|---|
application/json | RegexTester (JSON) | A JSON object including the context for testing the regular expression. |
media type | data type | description |
---|---|---|
application/json | boolean (JSON) | True if the test string matches the given pattern, false otherwise. |
POST /v2/tag/regex/validate
Content-Type: application/json
Accept: application/json
{
"maxLen" : 12345,
"testString" : "...",
"minLen" : 12345,
"regex" : "..."
}
HTTP/1.1 201 Created
Content-Type: application/json
...