Connectors
Generate Oracle shadow table script
POST
/connectors/{uuid}/generate-shadow-scriptGenerates the SQL script to create shadow tables required for Oracle change data capture (CDC). Run this script on your Oracle source before starting replication.
Authorizations
AuthorizationstringheaderrequiredAPI key passed as a Bearer token in the Authorization header.
Request
curl --request POST \
--url https://api.artie.com/connectors/{uuid}/generate-shadow-script \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"database": "<string>",
"tables": [
{
"columns": [
{
"metadata": {
"dataType": "<string>",
"defaultValue": "<string>",
"isPrimaryKey": true,
"notNull": true
},
"name": "<string>"
}
],
"name": "<string>",
"schema": "<string>"
}
]
}'Path parameters
uuidstringrequired
Body
application/json
databasestringrequiredtablesobject[]requiredShow child attributes
columnsobject[]requiredShow child attributes
metadataobjectrequiredShow child attributes
dataTypestringrequireddefaultValuestring | nullisPrimaryKeyboolean | nullnotNullbooleanrequired
namestringrequired
namestringrequiredschemastringrequired
Responses
200OKapplication/json
scriptstringrequired
400Bad Request
500Internal Server Error
200 OK
{
"script": "<string>"
}Was this page helpful?
- Need help? Message us on Slack or email [email protected].
- Want a walkthrough? Book a demo.
- LLM? Read llms.txt.