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
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: Created
{"id":"3bfda75c-7329-12fe-dc0e-68825323a484","parentId":"consectetur velit ea consequat","name":"laborum est dolor culpa","type":"tempor non aliquip qui","sizeInBytes":74769433,"modifiedDate":"1945-07-30T23:45:52.269Z","modifiedBy":"mollit incididunt do eiusmod et"}