Creates a dataset.
Try it now
Test
RAM authorization
Request syntax
POST /workspace/{workspace}/dataset HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| workspace |
string |
Yes |
The ID of the workspace. |
workspace-test |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
The request body. |
|
| datasetName |
string |
Yes |
The name of the dataset. |
test_dataset |
| description |
string |
No |
The description of the dataset. |
test |
| schema |
object |
Yes |
The schema of the dataset. |
|
| IndexKey |
No |
The definition of a field in the schema. |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The data returned. |
||
| requestId |
string |
The ID of the request. |
264C3E89-XXXX-XXXX-XXXX-CE9C2196C7DC |
Examples
Success response
JSON format
{
"requestId": "264C3E89-XXXX-XXXX-XXXX-CE9C2196C7DC"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.