- URL:http:// <service-uploads-url>/upload
- Required Capability:Uploads
- Version Introduced:10.0
This operation uploads an item to the server. Each uploaded item is identified by a unique itemID. Since this request uploads a file, it must be a multi-part request as per IETF RFC1867.
See section limiting Upload file size and file types to learn more about default file size and file type limitations imposed for uploads.
All uploaded items are subjected to the deletion rules set on the upload directory by the administrator of the server. Additionally, the administrator can explicitly delete an item as each uploaded item shows up in the list of all the uploaded items in Site Directory.
Users can provide arguments to the upload operation as query parameters. The parameter details are provided in the parameters table below.
Description: The response format. The default response format is html.
Values: html | json
Description: The file to be uploaded.
Description: An optional description for the uploaded item.
Example 1: Upload a file:
The input parameter file to this operation is a file.
JSON Response Syntax
JSON Response Example
"description": "Lake Tahoe",