csv_url_load
This method is used to import a csv data from a url into HarperDB.
- operation (required) - must always be csvurlload
- action (optional) - type of action you want to perform. Options are insert or update, default is insert
- schema (required) - name of the schema where you are loading your data
- table (required) - name of the table where you are loading your data
- csv_url (required) - URL to the csv
Request Body
{"operation"=>"csv_url_load", "action"=>"insert", "schema"=>"dev", "table"=>"breed", "csv_url"=>"https://s3.amazonaws.com/complimentarydata/breeds.csv"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
{"message":"Starting job with id 49fdf7cc-95c9-4eb6-9bb7-65c93eaed4fd"}