Upload Data File

POST https://{{API_URL}}/connectors/:id/data_file

Uploads a data file to a file based connector.

-- Including the parameter Content-Type: application/json in the header will result in a 422 Unprocessable Entity. -- Including the parameter run: true, refer to the response from the Run Connector endpoint.

Request Params

KeyDatatypeRequiredDescription
{{**Update params below in body tab - doco only below **}}null{{**Update params below in body tab - doco only below **}}
filestringFile to be uploaded and associated with connector
encodingstringstring - Compression encoding (or absent, currently deflate is the only valid encoding if this parameter is present) of the file input.
runstringboolean "true" if you want the connector to run immediately after the file has been uploaded

Request Body

[{"name"=>"file", "value"=>nil, "datatype"=>"null"}, {"name"=>"run", "value"=>"true", "datatype"=>"boolean"}]