Get a hash code of the contents of the original application file
PATCH/sites/:siteCode/hash
Get the hashCode generated from the content of the original application file
Request
Path Parameters
siteCode stringrequired
- application/json
 
Body
required
hashType string
The type of hash function. Default value: 'SHA256'
Possible values: [SHA256, MD5, SHA1]
Responses
- 200
 - 400
 - 403
 - 423
 - 500
 - 503
 
OK
- */*
 
- Schema
 - Example (from schema)
 
Schema
object
{}
Bad Request
- */*
 
- Schema
 - Example (from schema)
 
Schema
code string
impersonator string
message string
name string
status string
Possible values: [SUCCESS, ERROR]
sub string
time int64
timestamp date-time
{
  "code": "string",
  "impersonator": "string",
  "message": "string",
  "name": "string",
  "status": "SUCCESS",
  "sub": "string",
  "time": 0,
  "timestamp": "2024-07-29T15:51:28.071Z"
}
Forbidden
- */*
 
- Schema
 - Example (from schema)
 
Schema
code string
impersonator string
message string
name string
status string
Possible values: [SUCCESS, ERROR]
sub string
time int64
timestamp date-time
{
  "code": "string",
  "impersonator": "string",
  "message": "string",
  "name": "string",
  "status": "SUCCESS",
  "sub": "string",
  "time": 0,
  "timestamp": "2024-07-29T15:51:28.071Z"
}
Locked
- */*
 
- Schema
 - Example (from schema)
 
Schema
code string
impersonator string
message string
name string
status string
Possible values: [SUCCESS, ERROR]
sub string
time int64
timestamp date-time
{
  "code": "string",
  "impersonator": "string",
  "message": "string",
  "name": "string",
  "status": "SUCCESS",
  "sub": "string",
  "time": 0,
  "timestamp": "2024-07-29T15:51:28.071Z"
}
Internal Server Error
- */*
 
- Schema
 - Example (from schema)
 
Schema
code string
impersonator string
message string
name string
status string
Possible values: [SUCCESS, ERROR]
sub string
time int64
timestamp date-time
{
  "code": "string",
  "impersonator": "string",
  "message": "string",
  "name": "string",
  "status": "SUCCESS",
  "sub": "string",
  "time": 0,
  "timestamp": "2024-07-29T15:51:28.071Z"
}
Service Unavailable
- */*
 
- Schema
 - Example (from schema)
 
Schema
object
{}
Loading...