For the complete documentation index, see llms.txt. This page is also available as Markdown.

Database

Registration and management of the databases to be synchronized, profiled and more.

Find Database assets

get

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).

Authorizations
AuthorizationstringRequired

Collibra REST API authentication using Basic Authentication.

Query parameters
parentSystemIdstring · uuidOptional

The ID of the parent System asset.

edgeConnectionIdstring · uuidOptional

The ID of the Edge connection.

databaseConnectionIdstring · uuidOptional

The ID of the database connection

edgeConnectionStatusstringOptional

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.
offsetinteger · int32Optional

The index of the first result to retrieve.

If not set (offset = 0), results will be retrieved starting from row 0.

Default: 0
limitinteger · int32 · max: 500Optional

The 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.

Default: 0
Responses
200

Databases successfully retrieved.

application/json
get/databases
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"
    }
  ]
}

Create a Database asset

post

Creates a Database asset in a specific community, which then allows the ingestion, profiling and other capabilities for a specific database.

Authorizations
AuthorizationstringRequired

Collibra REST API authentication using Basic Authentication.

Body

Request to register a Database asset linked with a database connection.

anyOptional
or
anyOptional
Responses
201

Database asset successfully created.

application/json
post/databases
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"
}

Get a Database asset

get

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.

Authorizations
AuthorizationstringRequired

Collibra REST API authentication using Basic Authentication.

Path parameters
databaseIdstring · uuidRequired

The ID of the Database asset.

Responses
200

Database successfully retrieved.

application/json

A Database asset created trough database registration with all necessary information required to run capabilities on top of it.

idstring · uuidRead-onlyOptional

The ID of the Database asset.

namestringOptional

The name of the Database asset.

Example: customer_db
descriptionstringOptional

A description of the Database asset.

Example: Customer Database
communityIdstring · uuidOptional

The ID of the parent community in which the initial domain and database asset are created.

ownerIdsstring · uuid[]Optional

Users that are assigned as the Owner of the Database asset.

parentSystemIdstring · uuidOptional

The ID of the parent System asset.

databaseConnectionIdstring · uuidOptional

The ID of the database connection linked to the Database asset.

edgeConnectionIdstring · uuidOptionalDeprecated

The ID of the Edge connection.

edgeConnectionStatusstringOptional

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.
get/databases/{databaseId}
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"
}

Change a Database asset

patch

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.

Authorizations
AuthorizationstringRequired

Collibra REST API authentication using Basic Authentication.

Path parameters
databaseIdstring · uuidRequired

The ID of the Database asset.

Body

Request to change a Database asset. Only the provided properties are updated.

descriptionstringOptional

A description of the database.

Example: Customer Database
parentSystemIdstring · uuidOptional

The 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.

ownerIdsstring · uuid[]OptionalDeprecated

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.

responsibleUserIdstring · uuidOptional

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 responsibleUserId is provided, the new user is assigned under the currently configured role (or Owner, if none was configured).
  • If only responsibilityRoleId is 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.
responsibilityRoleIdstring · uuidOptional

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.

Responses
200

Database asset successfully updated. The response includes the updated Database.

application/json

A Database asset created trough database registration with all necessary information required to run capabilities on top of it.

idstring · uuidRead-onlyOptional

The ID of the Database asset.

namestringOptional

The name of the Database asset.

Example: customer_db
descriptionstringOptional

A description of the Database asset.

Example: Customer Database
communityIdstring · uuidOptional

The ID of the parent community in which the initial domain and database asset are created.

ownerIdsstring · uuid[]Optional

Users that are assigned as the Owner of the Database asset.

parentSystemIdstring · uuidOptional

The ID of the parent System asset.

databaseConnectionIdstring · uuidOptional

The ID of the database connection linked to the Database asset.

edgeConnectionIdstring · uuidOptionalDeprecated

The ID of the Edge connection.

edgeConnectionStatusstringOptional

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.
patch/databases/{databaseId}
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?