Get the IDs for JDBC schema ingestion with the REST API
When you use the POST
method of the /schemas/jdbc
endpoint of the Collibra Platform Catalog REST API to register a data source using a JDBC driver, you must provide the following Universally Unique Identifiers (UUIDs).
Parameter | Description |
---|---|
jdbcDriverId | The UUID of the desired JDBC driver. |
ownerId | The UUID of the owner of the registered data in Collibra. |
jobServer | The UUID of the Jobserver used for ingestion. |
Steps
- Retrieve the UUID of the JDBC driver.
Use the
GET
method of the/jdbc
endpoint of the Collibra Platform Core REST API.The response contains the UUID of the drivers as
id
.You can add parameters such as the database name to retrieve just the driver you need.The response also contains the required connection properties. - Retrieve the UUID of the Collibra user who will be owner of the ingested schema.
Use the
GET
method of the/users
endpoint of the Collibra Platform Core REST API with the name parameter.The response contains the UUID of the user as
id
.Use the/users/current
endpoint to retrieve the UUID of the currently signed in user. - Retrieve the UUID of the Jobserver.
Use the
GET
method of the/configuration/jobServerInstance
endpoint of the Collibra Platform Catalog REST API.The response contains the UUIDs of the Jobservers as
id
. - Use the UUIDs and the information about the connection parameters to build your API call.
The example lists the minimum data for a connection to an Oracle database.
The description parameter is not mandatory but you should also provide a description for the Collibra schema asset as best practice.