Python
import requests url = "https://{FUSION HOST}/api/connectors/configs/{id}" payload = { "id": "lucidworks_file_upload-api-test-app", "properties": { "max_docs": 10 } } headers = {"Content-Type": "application/json"} response = requests.put(url, json=payload, headers=headers) print(response.text)
{ "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", "max_docs": 10 }, "pipelineId": "api-test-app" }
Update the configuration properties of the specified datasource configuration.
Documentation IndexFetch the complete documentation index at: https://doc.lucidworks.com/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://doc.lucidworks.com/llms.txt
Use this file to discover all available pages before exploring further.
The datasource configuration ID.
The context of resource. It usually is the app inside which the resource is created.
The body is of type object.
object
OK
The response is of type object.
Was this page helpful?