Add new data
POST {{baseUrl}}/api/organizations/:organizationId/data/add
Add a new data item. You can add a maximum of 10000 files directly through this API. Use addOrganizationDataFile
to add additional files. Don't trust the code generated by the widget, there are examples of using this API in Python, cURL and Node.js under the parameters.
Request Body
[{"name"=>"name", "value"=>"<string>", "datatype"=>"string"}, {"name"=>"dataset", "value"=>"<string>", "datatype"=>"string"}, {"name"=>"metadata", "value"=>"<string>", "datatype"=>"string"}, {"name"=>"files[]", "value"=>"[{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}]", "datatype"=>"string"}, {"name"=>"bucketId", "value"=>"<integer>", "datatype"=>"string"}, {"name"=>"bucketName", "value"=>"<string>", "datatype"=>"string"}, {"name"=>"bucketPath", "value"=>"<string>", "datatype"=>"string"}]
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"success":"\u003cboolean\u003e","error":"\u003cstring\u003e"}