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

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;success&quot;:&quot;\u003cboolean\u003e&quot;,&quot;error&quot;:&quot;\u003cstring\u003e&quot;}