Queries the configurations of web tamper proofing for a specified server.
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
SourceIp | string | No | The source IP address of the request. | 1.2.3.4 |
Lang | string | No | The language of the content within the request and the response. Valid values:
| zh |
Uuid | string | Yes | The UUID of the server for which you want to query the configurations. | inet-1234567**** |
Response parameters
Example
Normal return example
JSON
Format
{
"TotalCount": 1,
"RequestId": "D9354C1A-D709-4873-9AAE-41513327B247",
"ConfigList": [
{
"ExclusiveDir": "/home/admin/tomcat",
"Uuid": "80d2f7d6-31a9-4d7f-8ff4-7ecc42f8****",
"InclusiveFileType": "jpg",
"DefenceMode": "audit",
"ExclusiveFileType": "*.jpg",
"InclusiveFile": "/home/admin/tomcat/aaa.log",
"Mode": "blacklist",
"Dir": "/www/tmp/",
"ExclusiveFile": "/home/admin/tomcat/localhost.log",
"Id": "11",
"LocalBackupDir": "/usr/local/backup"
}
]
}
Error codes
Http code | Error code | Error message | Description |
---|---|---|---|
403 | NoPermission | caller has no permission | You are not authorized to do this operation. |
500 | InternalError | The request processing has failed due to some unknown error. | - |
500 | ServerError | ServerError | - |
For a list of error codes, visit the API error center.