GetServiceConf
Get a Single Service
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-greenweb:GetServiceConf |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ServiceCode |
string |
No |
Service code. |
baselineCheck |
| ResourceType |
string |
No |
Resource type. |
image |
| Scene |
string |
No |
Moderation scenario. |
pornographic |
| RegionId |
string |
No |
Region ID. |
cn-shanghai |
| ByDefault |
boolean |
No |
Queries the default configuration. |
False |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Response body. |
||
| Uid |
string |
UID. |
17726*****370735 |
| ResourceType |
string |
Resource type. |
image |
| ServiceCode |
string |
Service code. |
baselineCheck |
| GmtModified |
string |
Modification time. |
2023-01-17 12:29:56 |
| CustomServiceConf |
object |
Service details. |
{} |
| Success |
boolean |
Indicates whether the request is successful. |
True |
| Code |
integer |
Error code, consistent with the HTTP status code. |
200 |
| Msg |
string |
Further description of the error code. |
OK |
| RequestId |
string |
The ID assigned by the backend to uniquely identify a request. It can be used for troubleshooting. |
6CF2815C-****-****-B52E-FF6E2****492 |
| Option |
object |
Options. |
{} |
| Classify |
string |
Classification. |
guard-scene |
| ServiceType |
string |
Service type. |
plus |
Examples
Success response
JSON format
{
"Uid": "17726*****370735",
"ResourceType": "image",
"ServiceCode": "baselineCheck",
"GmtModified": "2023-01-17 12:29:56",
"CustomServiceConf": {},
"Success": true,
"Code": 200,
"Msg": "OK",
"RequestId": "6CF2815C-****-****-B52E-FF6E2****492",
"Option": {},
"Classify": "guard-scene",
"ServiceType": "plus"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.