Database
Registration and management of the databases to be synchronized, profiled and more.
Finds Databases based on the provided criteria.
The response can include Databases whose underlying connection has been soft-deleted in Collibra or removed from the data source. These are flagged with edgeConnectionStatus = DELETED in the response.
Use the edgeConnectionStatus query parameter to filter them out (ACTIVE) or to retrieve only the deleted ones (DELETED).
Collibra REST API authentication using Basic Authentication.
The ID of the parent System asset.
The ID of the Edge connection.
The ID of the database connection
Status of the connection used by a Database.
Known values (additional values may be introduced in future API versions; clients should treat unknown values as opaque strings):
ACTIVE: the database connection and its parent Edge connection are both available.DELETED: the database connection or its parent Edge connection has been soft-deleted in Collibra or removed from the data source.
The index of 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, the default limit (limit = 0) will be used. The maximum value for this parameter is
500.
0Databases successfully retrieved.
The request is not valid.
The client is not authenticated.
The user lacks permissions.
GET /rest/catalogDatabase/v1/databases HTTP/1.1
Authorization: Basic username:password
Accept: */*
{
"results": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "customer_db",
"description": "Customer Database",
"communityId": "123e4567-e89b-12d3-a456-426614174000",
"ownerIds": [
"123e4567-e89b-12d3-a456-426614174000"
],
"parentSystemId": "123e4567-e89b-12d3-a456-426614174000",
"databaseConnectionId": "123e4567-e89b-12d3-a456-426614174000",
"edgeConnectionStatus": "text"
}
]
}Creates a Database asset in a specific community, which then allows the ingestion, profiling and other capabilities for a specific database.
Collibra REST API authentication using Basic Authentication.
Request to register a Database asset linked with a database connection.
Database asset successfully created.
The request is not valid.
The client is not authenticated.
The user lacks permissions.
POST /rest/catalogDatabase/v1/databases HTTP/1.1
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 327
{
"databaseConnectionId": "123e4567-e89b-12d3-a456-426614174000",
"communityId": "123e4567-e89b-12d3-a456-426614174000",
"parentSystemId": "123e4567-e89b-12d3-a456-426614174000",
"responsibleUserId": "123e4567-e89b-12d3-a456-426614174000",
"responsibilityRoleId": "123e4567-e89b-12d3-a456-426614174000",
"description": "Customer Database"
}{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "customer_db",
"description": "Customer Database",
"communityId": "123e4567-e89b-12d3-a456-426614174000",
"ownerIds": [
"123e4567-e89b-12d3-a456-426614174000"
],
"parentSystemId": "123e4567-e89b-12d3-a456-426614174000",
"databaseConnectionId": "123e4567-e89b-12d3-a456-426614174000",
"edgeConnectionStatus": "text"
}Gets a single Database asset by its identifier.
The response includes an edgeConnectionStatus field that indicates whether the underlying connection used by the Database is still active. The status is DELETED when the database connection or its parent Edge connection has been soft-deleted in Collibra or removed from the data source.
Collibra REST API authentication using Basic Authentication.
The ID of the Database asset.
Database successfully retrieved.
A Database asset created trough database registration with all necessary information required to run capabilities on top of it.
The ID of the Database asset.
The name of the Database asset.
customer_dbA description of the Database asset.
Customer DatabaseThe ID of the parent community in which the initial domain and database asset are created.
Users that are assigned as the Owner of the Database asset.
The ID of the parent System asset.
The ID of the database connection linked to the Database asset.
The ID of the Edge connection.
Status of the connection used by a Database.
Known values (additional values may be introduced in future API versions; clients should treat unknown values as opaque strings):
ACTIVE: the database connection and its parent Edge connection are both available.DELETED: the database connection or its parent Edge connection has been soft-deleted in Collibra or removed from the data source.
The request is not valid.
The client is not authenticated.
The user lacks permissions.
Resource not found.
GET /rest/catalogDatabase/v1/databases/{databaseId} HTTP/1.1
Authorization: Basic username:password
Accept: */*
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "customer_db",
"description": "Customer Database",
"communityId": "123e4567-e89b-12d3-a456-426614174000",
"ownerIds": [
"123e4567-e89b-12d3-a456-426614174000"
],
"parentSystemId": "123e4567-e89b-12d3-a456-426614174000",
"databaseConnectionId": "123e4567-e89b-12d3-a456-426614174000",
"edgeConnectionStatus": "text"
}Changes a Database asset based on its identifier and a set of properties to change.
This is a partial update and properties that are not provided will not be changed.
Collibra REST API authentication using Basic Authentication.
The ID of the Database asset.
Request to change a Database asset. Only the provided properties are updated.
A description of the database.
Customer DatabaseThe ID of the parent System asset.
After registering a database, a relation of type Technology Asset groups / is grouped by technology Asset is created between the System asset and the Database asset.
Deprecated. Use responsibleUserId instead. The ID of the users that will be assigned as the Owner of
existing domain containing the Database asset. Kept for backward compatibility.
The ID of the user to assign as the responsible party on the domain containing the Database asset.
Takes precedence over ownerIds if both are provided.
responsibleUserId and responsibilityRoleId can be set independently of each other:
- If only
responsibleUserIdis provided, the new user is assigned under the currently configured role (or Owner, if none was configured). - If only
responsibilityRoleIdis provided, the currently responsible user is re-assigned under the new role. - If both are provided, the new user is assigned under the new role.
- If neither is provided, the responsibility is left unchanged.
The ID of the resource role to assign to the responsible user. If omitted, the previously configured
role is kept (or Owner, if none was configured). Must be a resource role (not global) that includes
the COMMUNITY_CONFIGURE_EXTERNAL_SYSTEM permission.
See responsibleUserId for how this field interacts with the responsible user when only one of the
two is provided.
Database asset successfully updated. The response includes the updated Database.
A Database asset created trough database registration with all necessary information required to run capabilities on top of it.
The ID of the Database asset.
The name of the Database asset.
customer_dbA description of the Database asset.
Customer DatabaseThe ID of the parent community in which the initial domain and database asset are created.
Users that are assigned as the Owner of the Database asset.
The ID of the parent System asset.
The ID of the database connection linked to the Database asset.
The ID of the Edge connection.
Status of the connection used by a Database.
Known values (additional values may be introduced in future API versions; clients should treat unknown values as opaque strings):
ACTIVE: the database connection and its parent Edge connection are both available.DELETED: the database connection or its parent Edge connection has been soft-deleted in Collibra or removed from the data source.
The request is not valid.
The client is not authenticated.
The user lacks permissions.
Resource not found.
PATCH /rest/catalogDatabase/v1/databases/{databaseId} HTTP/1.1
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 212
{
"description": "Customer Database",
"parentSystemId": "123e4567-e89b-12d3-a456-426614174000",
"responsibleUserId": "123e4567-e89b-12d3-a456-426614174000",
"responsibilityRoleId": "123e4567-e89b-12d3-a456-426614174000"
}{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "customer_db",
"description": "Customer Database",
"communityId": "123e4567-e89b-12d3-a456-426614174000",
"ownerIds": [
"123e4567-e89b-12d3-a456-426614174000"
],
"parentSystemId": "123e4567-e89b-12d3-a456-426614174000",
"databaseConnectionId": "123e4567-e89b-12d3-a456-426614174000",
"edgeConnectionStatus": "text"
}Last updated
Was this helpful?