Page History
...
Parameter | Type | Description |
---|---|---|
filename project OR filepath stringproject_id | string integer | The name of the file being uploaded.The project to add the sample to. The ID of the project to add the sample to. |
Up to three files on the server can be imported with the following parameters:
Parameter | Type | Description |
---|---|---|
filepath filepath1 filepath2 | string | The location of the file on the server. |
Alternatively, the file
binary
The file content. \[If filename is specifi\]
project OR
project_id
string
integercan be uploaded with the following parameters:
Parameter | Type | Description |
---|---|---|
filename | string
| The name of the project to add the sample tofile being uploaded.The ID of the project to add the sample to
|
file | binary | The file content. |
Optional parameters
Parameter | Type | Description |
---|---|---|
sample_id OR sample OR new_sample | integer string string | The id of the sample to add file to. The name of the sample to add the file to. Without this parameter a new sample will be created. |
owner | string | The username of the user that should be the owner of the data. The data will count against this user’s quota, if one is configured. By default, the owner will be the user account that uploads the data. |
upload_folder | string | If the file is uploaded through the servlet it will be put in this directory, if the owner has permission to access it. |
...