PUT
/
connectors
/
datasources
/
{id}
Update a datasource
curl --request PUT \
  --url https://{FUSION HOST}/api/connectors/datasources/{id} \
  --header 'Content-Type: application/json' \
  --data '{
  "id": "pokedex_json_zip-api-test-app",
  "connector": "lucid.fileupload",
  "type": "fileupload",
  "pipeline": "api-test-app",
  "parserId": "pokedex_json_zip-api-test-app",
  "properties": {
    "collection": "api-test-collection",
    "fileId": "pokedex.json.zip",
    "mediaType": "application/octet-stream"
  }
}'
{
  "id": "pokedex_json_zip-api-test-app",
  "created": "2024-08-02T18:19:09.458Z",
  "modified": "2024-08-02T19:43:28.394Z",
  "connector": "lucid.fileupload",
  "type": "fileupload",
  "pipeline": "api-test-app",
  "parserId": "pokedex_json_zip-api-test-app",
  "properties": {
    "collection": "api-test-collection",
    "fileId": "pokedex.json.zip",
    "mediaType": "application/octet-stream"
  }
}

Path Parameters

id
string
required

The datasource configuration ID.

Query Parameters

validate
boolean
default:false

Indicates if the configuration should be validated.

context
string

The context of resource. It usually is the app inside which the resource is created.

Body

application/json · object

Response

200 - application/json

OK

The response is of type object.