POST upload/hash
Checks if the specified hash (SHA1) already exists.
Request Information
URI Parameters
None.
Body Parameters
The model containing the hash value.
UploadHashViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Hash | string |
Settable |
Request Formats
application/json, text/json
Sample:
{
"hash": "sample string 1"
}
Response Information
Resource Description
The identifier and the url of the file.
UploadResponseViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| File | BaseViewModel |
None. |
|
| RelatedObject | BaseViewModel |
None. |
Response Formats
application/json, text/json
Sample:
{
"file": {
"selfUrl": "sample string 1"
},
"relatedObject": {
"selfUrl": "sample string 1"
}
}