Data Classification
Classification of data operations
Returns Classification Matches matching the given search criteria defined by request. Only parameters that are specified in this request and have not null values are used for filtering. All other parameters are ignored. The returned Classification Matches satisfy all constraints that are specified in this search criteria. This endpoint will be removed in the next major release. Please, use GET /bulk
The search criteria for finding classification matches.
The found Classification Matches.
Response containing the paged information.
The total number of results.
1000The offset for the results.
10The maximum number of results to be returned.
100GET /rest/catalog/1.0/dataClassification/classificationMatches HTTP/1.1
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 230
{
"offset": 1,
"limit": 1,
"countLimit": 1,
"assetIds": [
"123e4567-e89b-12d3-a456-426614174000"
],
"statuses": [
"ACCEPTED"
],
"classificationIds": [
"123e4567-e89b-12d3-a456-426614174000"
],
"assetTypeIds": [
"123e4567-e89b-12d3-a456-426614174000"
]
}The found Classification Matches.
{
"total": 1000,
"offset": 10,
"limit": 100,
"results": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"createdBy": "4d250cc5-e583-4640-9874-b93d82c7a6cb",
"createdOn": 1475503010320,
"lastModifiedBy": "a073ff90-e7bc-4b35-ba90-c4d475f642fe",
"lastModifiedOn": 1476703764163,
"system": true,
"status": "SUGGESTED",
"confidence": 0.56,
"asset": {
"id": "2b7f3a1a-4e50-4077-96f0-a58a395c860d",
"resourceDiscriminator": "Community",
"name": "text"
},
"classification": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"createdBy": "4d250cc5-e583-4640-9874-b93d82c7a6cb",
"createdOn": 1475503010320,
"lastModifiedBy": "a073ff90-e7bc-4b35-ba90-c4d475f642fe",
"lastModifiedOn": 1476703764163,
"system": true,
"name": "Test name"
}
}
]
}Request for adding classification match.
The id of an asset for which classification matches will be added.
The id of classification to be used in created classification match.
Newly created Classification Match.
Represents match between classification of data and an asset.
The id of the represented object (entity).
The id of the user that created this resource.
4d250cc5-e583-4640-9874-b93d82c7a6cbThe timestamp (in UTC time standard) of the creation of this resource.
1475503010320The id of the user who modified this resource the last time.
a073ff90-e7bc-4b35-ba90-c4d475f642feThe timestamp (in UTC time standard) of the last modification of this resource.
1476703764163Whether this is a system resource or not.
The type of the resource, e.g. [Community, Asset, Domain, Attribute, Relation, WorkflowInstance, ...]. This property is deprecated and will be removed in the future. To stay backwards compatible while still allowing new types of resources to be introduced, a resource discriminator property (of type String) has been added to the subtypes of Resource where it adds value, e.g. assignedResourceDiscriminator on AssignedResource, or attributeDiscriminator on Attribute. A discriminator is only added on subtypes whose declared return type can represent more than one kind of resource; it is omitted where the return type can only ever be a single kind, as it would then always hold the same value and carry no additional information. For new types of resource that didn't exist before this change, the resourceType will be BaseDataType.
The status of data classification match assigned to an asset.
SUGGESTEDThe confidence of the data classification match between classification and an asset.
0.56Classification or Asset not found.
Classification Match between provided Asset and Classification already exist.
POST /rest/catalog/1.0/dataClassification/classificationMatches HTTP/1.1
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 108
{
"assetId": "123e4567-e89b-12d3-a456-426614174000",
"classificationId": "123e4567-e89b-12d3-a456-426614174000"
}{
"id": "123e4567-e89b-12d3-a456-426614174000",
"createdBy": "4d250cc5-e583-4640-9874-b93d82c7a6cb",
"createdOn": 1475503010320,
"lastModifiedBy": "a073ff90-e7bc-4b35-ba90-c4d475f642fe",
"lastModifiedOn": 1476703764163,
"system": true,
"status": "SUGGESTED",
"confidence": 0.56,
"asset": {
"id": "2b7f3a1a-4e50-4077-96f0-a58a395c860d",
"resourceDiscriminator": "Community",
"name": "text"
},
"classification": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"createdBy": "4d250cc5-e583-4640-9874-b93d82c7a6cb",
"createdOn": 1475503010320,
"lastModifiedBy": "a073ff90-e7bc-4b35-ba90-c4d475f642fe",
"lastModifiedOn": 1476703764163,
"system": true,
"name": "Test name"
}
}Returns Classification Matches matching the given search criteria defined by query params that form the request. Only parameters that are specified in this request and have not null values are used for filtering. All other parameters are ignored. The returned Classification Matches satisfy all constraints that are specified in this search criteria.
The first result to retrieve. If not set (offset = 0), results will be retrieved starting from row 0.
0The maximum number of results to retrieve. If not set (limit = 0), the default limit will be used. The maximum allowed limit is 1000.
0Allows to limit the number of elements that will be counted. -1 will count everything and 0 will cause the count to be skipped
-1The ids of the assets (with Column types) to filter by the search results
The list of classification ids to filter by the search results.
The list of asset type ids to filter by the search results.
The found Classification Matches.
Response containing the paged information.
The total number of results.
1000The offset for the results.
10The maximum number of results to be returned.
100GET /rest/catalog/1.0/dataClassification/classificationMatches/bulk HTTP/1.1
Authorization: Basic username:password
Accept: */*
The found Classification Matches.
{
"total": 1000,
"offset": 10,
"limit": 100,
"results": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"createdBy": "4d250cc5-e583-4640-9874-b93d82c7a6cb",
"createdOn": 1475503010320,
"lastModifiedBy": "a073ff90-e7bc-4b35-ba90-c4d475f642fe",
"lastModifiedOn": 1476703764163,
"system": true,
"status": "SUGGESTED",
"confidence": 0.56,
"asset": {
"id": "2b7f3a1a-4e50-4077-96f0-a58a395c860d",
"resourceDiscriminator": "Community",
"name": "text"
},
"classification": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"createdBy": "4d250cc5-e583-4640-9874-b93d82c7a6cb",
"createdOn": 1475503010320,
"lastModifiedBy": "a073ff90-e7bc-4b35-ba90-c4d475f642fe",
"lastModifiedOn": 1476703764163,
"system": true,
"name": "Test name"
}
}
]
}Request for adding classification matches for many classes.
The id of an asset for which classification matches will be added.
The list of id of classifications to be used in created classification matches.
Newly created Classification Matches.
Represents match between classification of data and an asset.
The id of the represented object (entity).
The id of the user that created this resource.
4d250cc5-e583-4640-9874-b93d82c7a6cbThe timestamp (in UTC time standard) of the creation of this resource.
1475503010320The id of the user who modified this resource the last time.
a073ff90-e7bc-4b35-ba90-c4d475f642feThe timestamp (in UTC time standard) of the last modification of this resource.
1476703764163Whether this is a system resource or not.
The type of the resource, e.g. [Community, Asset, Domain, Attribute, Relation, WorkflowInstance, ...]. This property is deprecated and will be removed in the future. To stay backwards compatible while still allowing new types of resources to be introduced, a resource discriminator property (of type String) has been added to the subtypes of Resource where it adds value, e.g. assignedResourceDiscriminator on AssignedResource, or attributeDiscriminator on Attribute. A discriminator is only added on subtypes whose declared return type can represent more than one kind of resource; it is omitted where the return type can only ever be a single kind, as it would then always hold the same value and carry no additional information. For new types of resource that didn't exist before this change, the resourceType will be BaseDataType.
The status of data classification match assigned to an asset.
SUGGESTEDThe confidence of the data classification match between classification and an asset.
0.56Classification or Asset not found.
Classification Match between provided Asset and Classification already exist.
POST /rest/catalog/1.0/dataClassification/classificationMatches/bulk HTTP/1.1
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 111
{
"assetId": "123e4567-e89b-12d3-a456-426614174000",
"classificationIds": [
"123e4567-e89b-12d3-a456-426614174000"
]
}{
"id": "123e4567-e89b-12d3-a456-426614174000",
"createdBy": "4d250cc5-e583-4640-9874-b93d82c7a6cb",
"createdOn": 1475503010320,
"lastModifiedBy": "a073ff90-e7bc-4b35-ba90-c4d475f642fe",
"lastModifiedOn": 1476703764163,
"system": true,
"status": "SUGGESTED",
"confidence": 0.56,
"asset": {
"id": "2b7f3a1a-4e50-4077-96f0-a58a395c860d",
"resourceDiscriminator": "Community",
"name": "text"
},
"classification": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"createdBy": "4d250cc5-e583-4640-9874-b93d82c7a6cb",
"createdOn": 1475503010320,
"lastModifiedBy": "a073ff90-e7bc-4b35-ba90-c4d475f642fe",
"lastModifiedOn": 1476703764163,
"system": true,
"name": "Test name"
}
}Removes multiple Classification Matches with IDs provided in request body.
The request for deleting classification match.
The list of classification match ids.
Removed all Classification Matches with given IDs.
No content
At least one of the Classification Matches to be deleted was not found.
DELETE /rest/catalog/1.0/dataClassification/classificationMatches/bulk HTTP/1.1
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 67
{
"classificationMatchIds": [
"123e4567-e89b-12d3-a456-426614174000"
]
}No content
Changes multiple Classification Matches with the information that is present in the requests. Only properties that are specified in the requests and have not null values are updated. All other properties are ignored.
The criteria for changing classification match.
The id of the classification match.
The status to be set on classification match with given id. Only possible choices : ACCEPTED, REJECTED.
The confidence level between 0-1 which the current match is assigned with.
The changed Classification Matches.
Represents match between classification of data and an asset.
The id of the represented object (entity).
The id of the user that created this resource.
4d250cc5-e583-4640-9874-b93d82c7a6cbThe timestamp (in UTC time standard) of the creation of this resource.
1475503010320The id of the user who modified this resource the last time.
a073ff90-e7bc-4b35-ba90-c4d475f642feThe timestamp (in UTC time standard) of the last modification of this resource.
1476703764163Whether this is a system resource or not.
The type of the resource, e.g. [Community, Asset, Domain, Attribute, Relation, WorkflowInstance, ...]. This property is deprecated and will be removed in the future. To stay backwards compatible while still allowing new types of resources to be introduced, a resource discriminator property (of type String) has been added to the subtypes of Resource where it adds value, e.g. assignedResourceDiscriminator on AssignedResource, or attributeDiscriminator on Attribute. A discriminator is only added on subtypes whose declared return type can represent more than one kind of resource; it is omitted where the return type can only ever be a single kind, as it would then always hold the same value and carry no additional information. For new types of resource that didn't exist before this change, the resourceType will be BaseDataType.
The status of data classification match assigned to an asset.
SUGGESTEDThe confidence of the data classification match between classification and an asset.
0.56Classification Match(es) not found.
PATCH /rest/catalog/1.0/dataClassification/classificationMatches/bulk HTTP/1.1
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 101
[
{
"classificationMatchId": "123e4567-e89b-12d3-a456-426614174000",
"status": "ACCEPTED",
"confidence": 1
}
][
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"createdBy": "4d250cc5-e583-4640-9874-b93d82c7a6cb",
"createdOn": 1475503010320,
"lastModifiedBy": "a073ff90-e7bc-4b35-ba90-c4d475f642fe",
"lastModifiedOn": 1476703764163,
"system": true,
"status": "SUGGESTED",
"confidence": 0.56,
"asset": {
"id": "2b7f3a1a-4e50-4077-96f0-a58a395c860d",
"resourceDiscriminator": "Community",
"name": "text"
},
"classification": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"createdBy": "4d250cc5-e583-4640-9874-b93d82c7a6cb",
"createdOn": 1475503010320,
"lastModifiedBy": "a073ff90-e7bc-4b35-ba90-c4d475f642fe",
"lastModifiedOn": 1476703764163,
"system": true,
"name": "Test name"
}
}
]The id of the Classification Match to be fetched
Classification Match not found.
No content
GET /rest/catalog/1.0/dataClassification/classificationMatches/{classificationMatchId} HTTP/1.1
Authorization: Basic username:password
Accept: */*
Classification Match not found.
No content
The id of the Classification Match to be deleted
Removed Classification Match.
No content
Classification Match not found.
DELETE /rest/catalog/1.0/dataClassification/classificationMatches/{classificationMatchId} HTTP/1.1
Authorization: Basic username:password
Accept: */*
No content
Changes the Classification Match with the information that is present in the request. Only properties that are specified in this request and have not null values are updated. All other properties are ignored.
The id of the Classification Match to be changed
The criteria for changing classification match.
The id of the classification match.
The status to be set on classification match with given id. Only possible choices : ACCEPTED, REJECTED.
The confidence level between 0-1 which the current match is assigned with.
The changed Classification Match.
Represents match between classification of data and an asset.
The id of the represented object (entity).
The id of the user that created this resource.
4d250cc5-e583-4640-9874-b93d82c7a6cbThe timestamp (in UTC time standard) of the creation of this resource.
1475503010320The id of the user who modified this resource the last time.
a073ff90-e7bc-4b35-ba90-c4d475f642feThe timestamp (in UTC time standard) of the last modification of this resource.
1476703764163Whether this is a system resource or not.
The type of the resource, e.g. [Community, Asset, Domain, Attribute, Relation, WorkflowInstance, ...]. This property is deprecated and will be removed in the future. To stay backwards compatible while still allowing new types of resources to be introduced, a resource discriminator property (of type String) has been added to the subtypes of Resource where it adds value, e.g. assignedResourceDiscriminator on AssignedResource, or attributeDiscriminator on Attribute. A discriminator is only added on subtypes whose declared return type can represent more than one kind of resource; it is omitted where the return type can only ever be a single kind, as it would then always hold the same value and carry no additional information. For new types of resource that didn't exist before this change, the resourceType will be BaseDataType.
The status of data classification match assigned to an asset.
SUGGESTEDThe confidence of the data classification match between classification and an asset.
0.56Classification Match not found.
PATCH /rest/catalog/1.0/dataClassification/classificationMatches/{classificationMatchId} HTTP/1.1
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 99
{
"classificationMatchId": "123e4567-e89b-12d3-a456-426614174000",
"status": "ACCEPTED",
"confidence": 1
}{
"id": "123e4567-e89b-12d3-a456-426614174000",
"createdBy": "4d250cc5-e583-4640-9874-b93d82c7a6cb",
"createdOn": 1475503010320,
"lastModifiedBy": "a073ff90-e7bc-4b35-ba90-c4d475f642fe",
"lastModifiedOn": 1476703764163,
"system": true,
"status": "SUGGESTED",
"confidence": 0.56,
"asset": {
"id": "2b7f3a1a-4e50-4077-96f0-a58a395c860d",
"resourceDiscriminator": "Community",
"name": "text"
},
"classification": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"createdBy": "4d250cc5-e583-4640-9874-b93d82c7a6cb",
"createdOn": 1475503010320,
"lastModifiedBy": "a073ff90-e7bc-4b35-ba90-c4d475f642fe",
"lastModifiedOn": 1476703764163,
"system": true,
"name": "Test name"
}
}Returns Classifications matching the given search criteria defined by request. Only parameters that are specified in this request and have not null values are used for filtering. All other parameters are ignored. The returned Classifications satisfy all constraints that are specified in this search criteria. This endpoint will be removed in the next major release. Please, use GET /bulk
The search criteria for finding classification.
The found Classifications.
The total number of results.
1000The offset for the results.
10The maximum number of results to be returned.
100GET /rest/catalog/1.0/dataClassification/classifications HTTP/1.1
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 51
{
"offset": 1,
"limit": 1,
"countLimit": 1,
"name": "text"
}The found Classifications.
{
"total": 1000,
"offset": 10,
"limit": 100,
"results": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"createdBy": "4d250cc5-e583-4640-9874-b93d82c7a6cb",
"createdOn": 1475503010320,
"lastModifiedBy": "a073ff90-e7bc-4b35-ba90-c4d475f642fe",
"lastModifiedOn": 1476703764163,
"system": true,
"name": "Test name"
}
]
}Request to add Classification
New Classification name
Newly created Classification.
Represents classification of data.
The id of the represented object (entity).
The id of the user that created this resource.
4d250cc5-e583-4640-9874-b93d82c7a6cbThe timestamp (in UTC time standard) of the creation of this resource.
1475503010320The id of the user who modified this resource the last time.
a073ff90-e7bc-4b35-ba90-c4d475f642feThe timestamp (in UTC time standard) of the last modification of this resource.
1476703764163Whether this is a system resource or not.
The type of the resource, e.g. [Community, Asset, Domain, Attribute, Relation, WorkflowInstance, ...]. This property is deprecated and will be removed in the future. To stay backwards compatible while still allowing new types of resources to be introduced, a resource discriminator property (of type String) has been added to the subtypes of Resource where it adds value, e.g. assignedResourceDiscriminator on AssignedResource, or attributeDiscriminator on Attribute. A discriminator is only added on subtypes whose declared return type can represent more than one kind of resource; it is omitted where the return type can only ever be a single kind, as it would then always hold the same value and carry no additional information. For new types of resource that didn't exist before this change, the resourceType will be BaseDataType.
The name of the resource.
Test namePOST /rest/catalog/1.0/dataClassification/classifications HTTP/1.1
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 15
{
"name": "text"
}Newly created Classification.
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"createdBy": "4d250cc5-e583-4640-9874-b93d82c7a6cb",
"createdOn": 1475503010320,
"lastModifiedBy": "a073ff90-e7bc-4b35-ba90-c4d475f642fe",
"lastModifiedOn": 1476703764163,
"system": true,
"name": "Test name"
}Classification not found.
No content
GET /rest/catalog/1.0/dataClassification/classifications/{classificationId} HTTP/1.1
Authorization: Basic username:password
Accept: */*
Classification not found.
No content
Removes existing Classification. WARNING: This will also remove all ClassificationMatches that are joined with this Classification!
Removed Classification.
No content
Classification not found.
DELETE /rest/catalog/1.0/dataClassification/classifications/{classificationId} HTTP/1.1
Authorization: Basic username:password
Accept: */*
No content
The id of the Classification to be changed
Request to change Classification
New name
Changed Classification.
Represents classification of data.
The id of the represented object (entity).
The id of the user that created this resource.
4d250cc5-e583-4640-9874-b93d82c7a6cbThe timestamp (in UTC time standard) of the creation of this resource.
1475503010320The id of the user who modified this resource the last time.
a073ff90-e7bc-4b35-ba90-c4d475f642feThe timestamp (in UTC time standard) of the last modification of this resource.
1476703764163Whether this is a system resource or not.
The type of the resource, e.g. [Community, Asset, Domain, Attribute, Relation, WorkflowInstance, ...]. This property is deprecated and will be removed in the future. To stay backwards compatible while still allowing new types of resources to be introduced, a resource discriminator property (of type String) has been added to the subtypes of Resource where it adds value, e.g. assignedResourceDiscriminator on AssignedResource, or attributeDiscriminator on Attribute. A discriminator is only added on subtypes whose declared return type can represent more than one kind of resource; it is omitted where the return type can only ever be a single kind, as it would then always hold the same value and carry no additional information. For new types of resource that didn't exist before this change, the resourceType will be BaseDataType.
The name of the resource.
Test nameClassification not found.
PATCH /rest/catalog/1.0/dataClassification/classifications/{classificationId} HTTP/1.1
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 15
{
"name": "text"
}{
"id": "123e4567-e89b-12d3-a456-426614174000",
"createdBy": "4d250cc5-e583-4640-9874-b93d82c7a6cb",
"createdOn": 1475503010320,
"lastModifiedBy": "a073ff90-e7bc-4b35-ba90-c4d475f642fe",
"lastModifiedOn": 1476703764163,
"system": true,
"name": "Test name"
}Starts a job that classifies datasets, databases, schemas, tables or columns by external service based on sample data.
Request to classify data.
Ids of assets (with Column, Table, Schema, Database or DataSet type) that will be classified.
Asset to classify not found.
No content
POST /rest/catalog/1.0/dataClassification/classifications/classify HTTP/1.1
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 109
{
"assetIds": [
"123e4567-e89b-12d3-a456-426614174000"
],
"dataClassIds": [
"123e4567-e89b-12d3-a456-426614174000"
]
}Asset to classify not found.
No content
Returns Classifications matching the given search criteria defined by query params that form the request. Only parameters that are specified in this request and have not null values are used for filtering. All other parameters are ignored. The returned Classifications satisfy all constraints that are specified in this search criteria.
The first result to retrieve. If not set (offset = 0), results will be retrieved starting from row 0.
0The maximum number of results to retrieve. If not set (limit = 0), the default limit will be used. The maximum allowed limit is 1000.
0Allows to limit the number of elements that will be counted. -1 will count everything and 0 will cause the count to be skipped
-1The exact name of classification to filter by the search results.
The found Classifications.
The total number of results.
1000The offset for the results.
10The maximum number of results to be returned.
100GET /rest/catalog/1.0/dataClassification/classifications/bulk HTTP/1.1
Authorization: Basic username:password
Accept: */*
The found Classifications.
{
"total": 1000,
"offset": 10,
"limit": 100,
"results": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"createdBy": "4d250cc5-e583-4640-9874-b93d82c7a6cb",
"createdOn": 1475503010320,
"lastModifiedBy": "a073ff90-e7bc-4b35-ba90-c4d475f642fe",
"lastModifiedOn": 1476703764163,
"system": true,
"name": "Test name"
}
]
}Last updated
Was this helpful?