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
NameDescriptionTypeAdditional 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
NameDescriptionTypeAdditional information
File

BaseViewModel

None.

RelatedObject

BaseViewModel

None.

Response Formats

application/json, text/json

Sample:
{
  "file": {
    "selfUrl": "sample string 1"
  },
  "relatedObject": {
    "selfUrl": "sample string 1"
  }
}