PUT
/
connectors
/
configs
/
{id}
Update a V2 datasource
curl --request PUT \
  --url https://{FUSION HOST}/api/connectors/configs/{id} \
  --header 'Content-Type: application/json' \
  --data '{
  "parserId": "api-test-app",
  "id": "lucidworks_file_upload-api-test-app",
  "type": "lucidworks.file-upload",
  "collectionId": "api-test-collection",
  "properties": {
    "mediaType": "application/octet-stream",
    "fileId": "pokedex.json.zip"
  },
  "pipelineId": "api-test-app"
}'
{
  "parserId": "api-test-app",
  "created": "2024-08-02T18:41:09.470Z",
  "coreProperties": {},
  "modified": "2024-08-02T20:15:04.684Z",
  "id": "lucidworks_file_upload-api-test-app",
  "_id": "hFkHhvlFrg",
  "type": "lucidworks.file-upload",
  "collectionId": "api-test-collection",
  "properties": {
    "mediaType": "application/octet-stream",
    "fileId": "pokedex.json.zip"
  },
  "pipelineId": "api-test-app"
}

Path Parameters

id
string
required

The datasource configuration ID.

Query Parameters

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.