/{version}/files/{limsid}/upload
The following operations are supported on this resource:
Uploads a file to the content-location specified by the file single resource.
The request must have a Content-Type of multipart/form-data.
The request payload must have a single form-data field named 'file' which contains the file to be uploaded.
An example upload using the curl command:
curl+-F+file%3D%40fileName.txt+-u+username%3Apassword+http%3A%2F%2Flocalhost%3A8080%2Fapi%2Fv2%2Ffiles%2F40-123%2Fupload
Parameters
name |
description |
type |
default |
limsid |
The LIMS ID of the file whose content-location will be the upload target.
|
path |
|
Output Payload
element |
produceable content type(s) |
(custom) |
|
description |
When the file is successfully uploaded, the system returns an HTTP 200 (OK) code. |