Queries the configuration of an Object Storage Service (OSS) file detection policy.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
CurrentPage | integer | No | The page number. | 1 |
PageSize | integer | No | The number of entries to return on each page. | 20 |
Name | string | No | The name of the config. | testName |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "E10BAF1C-A6C5-51E2-866C-76D5922E****",
"PageInfo": {
"CurrentPage": 1,
"PageSize": 20,
"TotalCount": 50
},
"Data": [
{
"Id": 443496,
"Enable": 1,
"Name": "test****",
"ScanDayList": [
1
],
"StartTime": "00:00:00\n",
"EndTime": "06:00:00",
"BucketNameList": [
"amssev-oss****"
],
"KeySuffixList": [
".asp"
],
"KeyPrefixList": [
"/root"
],
"LastUpdateTime": 1698388233883,
"BucketCount": 10,
"AllKeyPrefix": true
}
]
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
403 | NoPermission | caller has no permission | You are not authorized to do this operation. |
500 | ServerError | ServerError | - |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|
No change history