Entity - Bulk Set Classifications
Set classifications on entities in bulk.
POST {endpoint}/datamap/api/atlas/v2/entity/bulk/setClassifications
URI Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
|
endpoint
|
path | True |
string (uri) |
Request Body
| Name | Type | Description |
|---|---|---|
| guidHeaderMap |
<string,
Atlas |
The description of the guid header map, |
Responses
| Name | Type | Description |
|---|---|---|
| 200 OK |
string[] |
The request has succeeded. |
| Other Status Codes |
An unexpected error response. |
Security
OAuth2Auth
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
| Name | Description |
|---|---|
| https://purview.azure.net/.default |
Examples
Entity_BulkSetClassifications
Sample request
POST {endpoint}/datamap/api/atlas/v2/entity/bulk/setClassifications
{
"guidHeaderMap": {
"9fb74c11-ac48-4650-95bc-760665c5bd92": {
"attributes": {
"qualifiedName": "https://exampleaccount1.core.windows.net"
},
"typeName": "azure_storage_account",
"classifications": [
{
"typeName": "MICROSOFT.PERSONAL.EMAIL"
}
]
},
"7fcc43ab-55ea-45d4-9971-ce0443cb10bb": {
"attributes": {
"qualifiedName": "https://exampleaccount2.core.windows.net"
},
"typeName": "azure_storage_account",
"classifications": [
{
"typeName": "MICROSOFT.PERSONAL.IPADDRESS"
}
]
}
}
}
Sample response
[
"Add:9fb74c11-ac48-4650-95bc-760665c5bd92:azure_storage_account:qualifiedName -> MICROSOFT.PERSONAL.EMAIL:(Done)",
"Update:7fcc43ab-55ea-45d4-9971-ce0443cb10bb:azure_storage_account:qualifiedName -> MICROSOFT.PERSONAL.IPADDRESS:(Done)"
]
Definitions
| Name | Description |
|---|---|
|
Atlas |
An instance of a classification; it doesn't have an identity, this object exists only when associated with an entity. |
|
Atlas |
An instance of an entity - like hive_table, hive_database. |
|
Atlas |
An instance of an entity header map. |
|
Atlas |
An error response from the service |
|
Atlas |
The header for term assignment. |
|
Atlas |
Status for term assignment |
|
Entity |
Status - can be active or deleted |
|
Time |
Captures time-boundary details |
AtlasClassification
An instance of a classification; it doesn't have an identity, this object exists only when associated with an entity.
| Name | Type | Description |
|---|---|---|
| attributes |
|
The attributes of the struct. |
| entityGuid |
string |
The GUID of the entity. |
| entityStatus |
Status of the entity - can be active or deleted. Deleted entities are not removed. |
|
| lastModifiedTS |
string |
ETag for concurrency control. |
| removePropagationsOnEntityDelete |
boolean |
Determines if propagations will be removed on entity deletion. |
| typeName |
string |
The name of the type. |
| validityPeriods |
An array of time boundaries indicating validity periods. |
AtlasEntityHeader
An instance of an entity - like hive_table, hive_database.
| Name | Type | Description |
|---|---|---|
| attributes |
|
The attributes of the struct. |
| classificationNames |
string[] |
An array of classification names. |
| classifications |
An array of classifications. |
|
| displayText |
string |
The display text. |
| guid |
string |
The GUID of the record. |
| isIncomplete |
boolean |
Whether it is a shell entity |
| labels |
string[] |
labels |
| lastModifiedTS |
string |
ETag for concurrency control. |
| meaningNames |
string[] |
An array of meanings. |
| meanings |
An array of term assignment headers. |
|
| status |
Status of the entity - can be active or deleted. Deleted entities are not removed. |
|
| typeName |
string |
The name of the type. |
AtlasEntityHeaders
An instance of an entity header map.
| Name | Type | Description |
|---|---|---|
| guidHeaderMap |
<string,
Atlas |
The description of the guid header map, |
AtlasErrorResponse
An error response from the service
| Name | Type | Description |
|---|---|---|
| errorCode |
string |
The error code. |
| errorMessage |
string |
The error message. |
| requestId |
string (uuid) |
The request ID. |
AtlasTermAssignmentHeader
The header for term assignment.
| Name | Type | Description |
|---|---|---|
| confidence |
integer (int32) |
The confidence of the term assignment. |
| createdBy |
string |
The user who created the record. |
| description |
string |
The description of the term assignment. |
| displayText |
string |
The display text. |
| expression |
string |
The expression of the term assignment. |
| relationGuid |
string (uuid) |
The GUID of the relationship. |
| status |
The status of terms assignment. |
|
| steward |
string |
The steward of the term. |
| termGuid |
string (uuid) |
The GUID of the term. |
AtlasTermAssignmentStatus
Status for term assignment
| Value | Description |
|---|---|
| DISCOVERED |
The status is discovered. |
| PROPOSED |
The status is proposed. |
| IMPORTED |
The status is imported. |
| VALIDATED |
The status is validated. |
| DEPRECATED |
The status is deprecated. |
| OBSOLETE |
The status is obsolete. |
| OTHER |
Other status. |
EntityStatus
Status - can be active or deleted
| Value | Description |
|---|---|
| ACTIVE |
The status is active. |
| DELETED |
The status is deleted. |
TimeBoundary
Captures time-boundary details
| Name | Type | Description |
|---|---|---|
| endTime |
string |
The end of the time boundary. |
| startTime |
string |
The start of the time boundary. |
| timeZone |
string |
The timezone of the time boundary. |