POST /v1/data/{AccountName}/{DatasetName}/{DataName}
Register data to the platform.
Content Type
multipart/form-data
Parameters
| Name | Required | Description |
|---|---|---|
| AccountName | ✔ | The account name |
| DatasetName | ✔ | The dataset name |
| DataName | ✔ | The data name, must have .csv extension, or .csv.gz extension |
| Schema | ✔ | The data schema |
| ForceGenerateTableDefinition | ✔ | Determines if TableDefinition is replaced by auto-generated table definition |
| Data | ✔ | CSV data, possibly gzipped |
Response
| HTTP Status Code | Description |
|---|---|
| 200 | OK |
| 400 | Invalid parameter |
| 400 | Multiple files are uploaded simultaneously |
| 404 | The requested dataset does not exist or you are not eligible to upload data to the dataset |