Skip to content

Create an AppData source.

Request

Security
ApiKeyAuth
Bodyapplication/jsonrequired

The parameters to create a AppData source.

typestringrequired

The type of source to create. Default is DIRECT.

Default:"DIRECT"
Enum:"DIRECT""STAGED"
namestring, [ 1 .. 256 ] charactersrequired

The name of the source.

Example:"postgres-test"
repository_idstring, non-emptyrequired

The ID of the Repository onto which the source will be created.

Example:"1-APPDATA_REPOSITORY-10"
linking_enabledboolean

Whether this source should be used for linking.

Default:true
environment_userstring, [ 1 .. 256 ] characters

The environment user reference.

parametersobject

The JSON payload conforming to the DraftV4 schema based on the type of application data being manipulated.

pathstring, [ 1 .. 1024 ] characters

The path to the data to be synced. This should only be passed for type=DIRECT.

Example:"/usr/home"
environment_idstring

The ID of the environment to create the source on.

Example:"7-UNIX_HOST_ENVIRONMENT-3"
engine_idstring

The ID of the engine to create the source on.

Example:"1"

The request example is intended for creating a AppData source.

curl -i -X POST \
  https://help-api.delphix.com/_mock/data-control-tower/continuous-data/2026.2.0.0/continuous-data-apis-dct-2026.2.0.0/sources/appdata \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "appdata-source",
    "type": "STAGED",
    "repository_id": "1-APPDATA_REPOSITORY-10",
    "engine_id": "1"
  }'

Responses

AppData Source creation initiated

Bodyapplication/json
jobobject(Job)

An asynchronous task.

source_idstring

The id of the created source.

Example:"source-1"
Response
{ "job": { "id": "job-123", "status": "RUNNING", "is_waiting_for_telemetry": true, "type": "DB_REFRESH", "localized_type": "DB Refresh", "error_details": "Unable to connect to the engine.", "warning_message": "Failed to remove local MaskingJob, engineId: 3 localMaskingJobId: 7.", "target_id": "vdb-123", "target_name": "vdb", "start_time": "2022-01-02T05:11:24.148Z", "update_time": "2022-01-02T06:11:24.148Z", "trace_id": "string", "engine_ids": [ … ], "tags": [ … ], "engines": [ … ], "account_id": 1, "account_name": "User 1", "compliance_node_id": "string", "compliance_node_name": "string", "percent_complete": 50, "virtualization_tasks": [ … ], "tasks": [ … ], "execution_id": "string", "result_type": "string", "result": {} }, "source_id": "source-1" }