/{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=@fileName.txt -u username:password https://localhost/api/v2/files/40-123/upload
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. |