Python
import requests url = "https://{FUSION HOST}/api/connectors/datasources/{id}" response = requests.get(url) print(response.text)
{ "id": "test-data-source", "created": "2024-08-02T21:00:42.165Z", "modified": "2024-08-02T21:00:42.165Z", "connector": "lucid.fileupload", "type": "fileupload", "pipeline": "api-test-app", "parserId": "api-test-app", "properties": { "description": "My test datasource", "fileId": "pokedex.json.zip", "mediaType": "application/octet-stream" } }
Fetch the configuration properties of the specified datasource.
The datasource configuration ID.
The context of resource. It usually is the app inside which the resource is created.
OK
The response is of type object.
object
Was this page helpful?