Performs a new file upload

POST {{baseUrl}}/files

Uploads a file using the specified form data parameters, and returns the created file resource.
The service verifies whether the user or the tenant under which the operation occurs has access to the specified parent and generates an error in case of an unautorhized access.

Request Body

[{"name"=>"metadata", "value"=>"<json>", "datatype"=>"string"}, {"name"=>"file", "value"=>nil, "datatype"=>"null"}]

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: Created

{&quot;id&quot;:&quot;3bfda75c-7329-12fe-dc0e-68825323a484&quot;,&quot;parentId&quot;:&quot;consectetur velit ea consequat&quot;,&quot;name&quot;:&quot;laborum est dolor culpa&quot;,&quot;type&quot;:&quot;tempor non aliquip qui&quot;,&quot;sizeInBytes&quot;:74769433,&quot;modifiedDate&quot;:&quot;1945-07-30T23:45:52.269Z&quot;,&quot;modifiedBy&quot;:&quot;mollit incididunt do eiusmod et&quot;}