ListServiceConfigs
Retrieves a list of services.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-greenweb:ListServiceConfigs |
list |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ResourceType |
string |
No |
The resource type. This parameter is required. If you do not specify this parameter, the service returns a 400 error. Valid values:
|
text |
| RegionId |
string |
No |
The region ID. |
cn-shanghai |
| Classify |
string |
No |
The category. |
guard-scene |
| UseStatus |
string |
No |
The usage status. |
in |
| ProtectionType |
string |
No |
The protection type. Valid values:
|
modelProtection |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response body. |
||
| Data |
array<object> |
The returned data. |
|
|
array<object> |
The returned data. |
||
| Uid |
string |
The user UID. |
1674*****0071291 |
| ResourceType |
string |
The resource type. |
text |
| ServiceCode |
string |
The service code. |
nickname_detection |
| GmtModified |
string |
The modification time. |
2023-07-11 15:40:04 |
| CopyFrom |
string |
The primary service. |
nickname_detection |
| CustomServiceConf |
object |
The service configuration. |
|
| KeywordFilterLibs |
array |
The ignored keyword libraries. |
|
|
string |
The ignored keyword libraries. |
[] |
|
| KeywordHitLibs |
array |
The matched keyword libraries. |
|
|
string |
The matched keyword libraries. |
[] |
|
| SimilarTextHitLibs |
array |
The matched similar text libraries. |
|
|
string |
The matched similar text libraries. |
[] |
|
| ImageService |
array |
The image service. |
|
|
string |
The image service. |
baselineCheck |
|
| AudioService |
string |
The audio service. |
audio_media_detection |
| Rules |
array<object> |
The service rules. |
|
|
array<object> |
|||
| Index |
integer |
The sequence number. |
1 |
| ImageScanRule |
object |
The image moderation rule. |
|
| Services |
array |
The image service. |
|
|
string |
The image service. |
baselineCheck |
|
| TextScanRule |
object |
The text moderation rule. |
|
| Services |
array |
The text services. |
|
|
string |
The text services. |
nickname_detection |
|
| ServiceName |
string |
The service name. |
Service name |
| ServiceDesc |
string |
The service description. |
Service description |
| Option |
object |
The options. |
{} |
| ServiceType |
string |
The service type. |
plus |
| Classify |
string |
The category. |
guard-scene |
| UseStatus |
string |
The usage status. |
in |
| SceneType |
string |
The scene type. Valid values:
|
all_scene |
| Success |
boolean |
Indicates whether the request is successful. |
True |
| Code |
integer |
The error code. |
400 |
| Msg |
string |
The detailed description of the error code. |
OK |
| RequestId |
string |
The ID assigned by the backend to uniquely identify a request. You can use this ID to troubleshoot issues. |
AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE**** |
Examples
Success response
JSON format
{
"Data": [
{
"Uid": "1674*****0071291",
"ResourceType": "text",
"ServiceCode": "nickname_detection",
"GmtModified": "2023-07-11 15:40:04",
"CopyFrom": "nickname_detection",
"CustomServiceConf": {
"KeywordFilterLibs": [
"[]"
],
"KeywordHitLibs": [
"[]"
],
"SimilarTextHitLibs": [
"[]"
],
"ImageService": [
"baselineCheck"
],
"AudioService": "audio_media_detection",
"Rules": [
{
"Index": 1,
"ImageScanRule": {
"Services": [
"baselineCheck"
]
},
"TextScanRule": {
"Services": [
"nickname_detection"
]
}
}
]
},
"ServiceName": "Service name",
"ServiceDesc": "Service description",
"Option": {},
"ServiceType": "plus",
"Classify": "guard-scene",
"UseStatus": "in",
"SceneType": "all_scene"
}
],
"Success": true,
"Code": 400,
"Msg": "OK",
"RequestId": "AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****\n"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.