Importing domains
Command structure
[
{
"resourceType": "Domain",
"identifier": {
"name": "Technical Domain 1",
"community": {
"name": "Technical Community"
}
},
"community": {
"name": "Technical Community 2"
},
"description": "The Technical Domain is container for all technical assets of category 1.",
"type": {
"name": "Data Asset Domain"
},
"name": "Technical Domain 2",
"responsibilities": {
"00000000-0000-0000-0000-000000005018": [
{
"user": {
"id": "00000000-0000-0000-0000-000000900001"
}
}
],
"Business Steward": [
{
"userGroup": {
"id": "00000000-0000-0000-0000-000001000002"
}
}
]
}
}
]Identifier
You can use any of the following fields as the identifier for a domain but only one at a time:
idnameandcommunityidentified byidor bynameexternalSystemIdandexternalEntityId
Identifier structure
Optional fields
description
String
Sets the domain description.
type
id, name, or publicId
Sets the domain type.
community
The identifier of a community.
Moves the domain to the community. Should only be used for updates.
name
String
Sets the domain name. Should only be used for updates.
The resource role and one or more users or user groups.
Creates or replaces responsibilities for the associated community.
Expected behavior
If a domain with the name Technical Domain 1 does not exist in the Technical Community community, the Import API performs an insert operation. It creates a domain with the specified name, description and of the specified type. The domain type is also set according to the specification.
Add operation
If the domain needs to be created, the following fields have to be provided in order to import successfully:
nametypecommunity
Responsibilities
You define a responsibility by specifying a resource role, identified by name or ID, and assigning to it one or more users or user groups, identified by ID:
You must specify each role only once in the list of responsibilities.
You can assign multiple users and multiple user groups to the same role:
The Import API performs a query for the responsibilities in Collibra and:
If the same responsibilities exist, the Import API performs no action.
If responsibilities other than the ones provided in the input exist, they remain unchanged.
If a responsibility exists with the same role but different assignees, the Import API deletes the existing responsibility and replaces it with the one provided in the input.
If the responsibilities do not exist, the Import API creates them.
Last updated
Was this helpful?