Era.Common.DataDefinition.Task.ESS.UploadFileByHash
Description
Uploads specific file to file-store service.
Properties
| Name |
JsonSchemaType |
Description |
| hash_sha1 |
string |
File sha1. At least one hash must be set. |
| hash_sha256 |
string |
File sha256. At least one hash must be set. |
| path_hint |
string |
Path to file. This is hint for Linux and MacOS. |
| upload_to |
string |
Where to upload file. |
| upload_to_onprem_protect_server |
boolean |
Flag indicating whether the file should be uploaded to the on-prem Protect Server. If set to true, the file will be uploaded to the Protect server instead of the File Store service. |
| user_defined_password |
string |
Password used to encrypt the uploaded file. |
Dual message (request/response)
No dual message.Referenced in messages
Era.Common.DataDefinition.Task.ClientTaskConfiguration
JsonSchema
{
"title": "Era.Common.DataDefinition.Task.ESS.UploadFileByHash",
"type": "object",
"$schema": "http://json-schema.org/draft-04/schema#",
"additionalProperties": false,
"required": [
"Era.Common.DataDefinition.Task.ESS.UploadFileByHash"
],
"properties": {
"Era.Common.DataDefinition.Task.ESS.UploadFileByHash": {
"$ref": "#/definitions/UploadFileByHash"
}
},
"definitions": {
"UploadFileByHash": {
"additionalProperties": false,
"required": [
"upload_to"
],
"type": "object",
"properties": {
"hash_sha1": {
"type": "string"
},
"hash_sha256": {
"type": "string"
},
"path_hint": {
"type": "string"
},
"upload_to": {
"type": "string"
},
"upload_to_onprem_protect_server": {
"type": "boolean"
},
"user_defined_password": {
"type": "string"
}
}
}
}
}