Skip to main content
 print this page

Create a datasource entity

POST 

/datasources/:datasource_id/entities

Creates an entity for a datasource. The caller (identified by role_id) must have at least edit permission (else AUTH-1012). Supports JDBC Bulkload (shared DMS instance), JDBC Advanced Load (shared Kafka cluster; blocked in GovCloud with GE-1034), and Streams (data transformation function after get_presigned_url upload). Other types fail at runtime. Not idempotent.

Request

Responses

Create accepted. Always returns Message and EntityId. Typical messages: "Successfully triggered entity creation and is running in background" (Bulk/Streams immediate; Advanced uses "it is running"), "Entity creation has been successfully scheduled" (Bulk scheduled), "Schedule has been created and the entity configuration is added to metadata" (Advanced scheduled).

Response Headers
    Access-Control-Allow-Origin
    Access-Control-Allow-Methods
    Access-Control-Allow-Headers