Add files
POST {{baseUrl}}/api/organizations/:organizationId/data/:dataId/add
Add a new file to an existing data item. 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"=>"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"}]
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"success":"\u003cboolean\u003e","error":"\u003cstring\u003e"}