Get the IDs for JDBC schema ingestion with the REST API
Parameter
Description
Steps
1
curl -X GET 'https://<your_collibra_url>/rest/2.0/jdbc' \
-H 'Content-Type: application/json'
2
curl -X GET 'https://<your_collibra_url>/rest/2.0/users?name=<username>' \
-H 'Content-Type: application/json'curl -X GET 'https://<your_collibra_url>/rest/2.0/users/current' \
-H 'Content-Type: application/json'3
curl -X GET 'https://<your_collibra_url>/rest/catalog/1.0/configuration/jobServerInstance' \
-H 'Content-Type: application/json'4
curl -X POST 'https://<your_collibra_url>/rest/catalog/1.0/schemas/jdbc' \
-H 'Content-Type: application/json' \
-d '{
"schemaName": "<name_of_Collibra_schema_asset>",
"jdbcDriverId": "d89fde06-02ef-43de-ab40-43700c91da15",
"properties": {
"host": "<url_of_the_Oracle_database>",
"port": "<database_system_identifier>",
"schema": "<schema_you_want_to_connect_to>"
},
"user": "<database_username>",
"description": "<description_of_Collibra_schema_asset>",
"ownerId": "00000000-0000-0000-0000-000000900002",
"jobServer": "9cb2202b-ac91-45a3-a7bd-cc5b6c965be3"
}'Last updated
Was this helpful?
