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
Key | Datatype | Required | Description |
---|---|---|---|
{{**Update params below in body tab - doco only below **}} | null | {{**Update params below in body tab - doco only below **}} | |
file | string | File to be uploaded and associated with connector | |
encoding | string | string - Compression encoding (or absent, currently deflate is the only valid encoding if this parameter is present) of the file input. | |
run | string | boolean "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"}]