Schema Connection
Management of schema connections.
Returns a list of available schema connections, which can be used to define metadata synchronization configurations for schemas. The response includes connections with deleted schemas in both Collibra and the data source. Non-synchronized or Deleted schema connections can be identified by the absence of the schemaId parameter in the response.
This API only returns the connections that have already been synchronized with the catalog. If a specific schema connection is missing, you can call the /schemaConnections/refresh API to synchronize the schema connections available in Catalog with the data source.
Collibra REST API authentication using Basic Authentication.
The ID of the database connection.
The ID of the Schema asset.
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.
0Schema connections successfully retrieved.
The request is not valid.
The client is not authenticated.
The user lacks permissions.
GET /rest/catalogDatabase/v1/schemaConnections HTTP/1.1
Authorization: Basic username:password
Accept: */*
{
"results": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "customer_schema",
"databaseConnectionId": "123e4567-e89b-12d3-a456-426614174000",
"schemaId": "123e4567-e89b-12d3-a456-426614174000"
}
]
}Returns a specific schema connection, even if it has been deleted in Collibra or the data source. Non-synchronized or Deleted schema connections can be identified by the absence of the schemaId parameter in the response.
Collibra REST API authentication using Basic Authentication.
The ID of the schema connection.
Represents a schema connection.
The connection reference to the specific schema.
The ID of the schema connection.
The exact name of a schema read from the source.
customer_schemaThe ID of the database connection.
The ID of the Schema asset linked with this schema connection.
The request is not valid.
The client is not authenticated.
The user lacks permissions.
Resource not found.
GET /rest/catalogDatabase/v1/schemaConnections/{schemaConnectionId} HTTP/1.1
Authorization: Basic username:password
Accept: */*
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "customer_schema",
"databaseConnectionId": "123e4567-e89b-12d3-a456-426614174000",
"schemaId": "123e4567-e89b-12d3-a456-426614174000"
}Refresh the schema connections for a given database connection.
This is an asynchronous API since it needs to reach out to the data source via Edge to retrieve the list of available schema connections , which can take some time.
Collibra REST API authentication using Basic Authentication.
The ID of the database connection.
The schema connections synchronization job has started.
The request is not valid.
The client is not authenticated.
The user lacks permissions.
POST /rest/catalogDatabase/v1/schemaConnections/refresh?databaseConnectionId=123e4567-e89b-12d3-a456-426614174000 HTTP/1.1
Authorization: Basic username:password
Accept: */*
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"createdBy": "4d250cc5-e583-4640-9874-b93d82c7a6cb",
"createdOn": 1475503010320,
"lastModifiedBy": "a073ff90-e7bc-4b35-ba90-c4d475f642fe",
"lastModifiedOn": 1476703764163,
"system": true,
"resourceType": "View",
"name": "Test name",
"type": "IMPORT",
"userId": "123e4567-e89b-12d3-a456-426614174000",
"progressPercentage": 50,
"startDate": 1488016800,
"endDate": 1488021800,
"state": "COMPLETED",
"message": "Import finished in 12s."
}Last updated
Was this helpful?