You can call this operation to query the settings of a specific configuration.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DescribeUserConfigs

The operation that you want to perform. Set the value to DescribeUserConfigs.

Config String Yes oss

The configuration to query. You can specify only one configuration. Valid values:

  • oss
  • green_manager
  • waf

Response parameters

Parameter Type Example Description
Configs

The settings returned.

GreenManagerConfig

The settings of the illicit content moderation feature.

OssLogConfig

The settings of the OSS-based log storage feature.

WafConfig

The settings of the CDN WAF feature.

RequestId String 9BCC7BAA-ACBE-45E5-83F0-98BF7E693E84

The ID of the request.

Examples

Sample requests

http(s)://cdn.aliyuncs.com? Action=DescribeUserConfigs
&Config=oss
&<Common request parameters>

Sample success responses

XML format

<DescribeUserConfigsResponse>
	  <RequestId>85532302-EB9D-42E4-ACB4-DDD735722998</RequestId>
	  <Configs>
		    <OssLogConfig></OssLogConfig>
		    <WafConfig></WafConfig>
		    <GreenManagerConfig></GreenManagerConfig>
	  </Configs>
</DescribeUserConfigsResponse>

JSON format

{
	"RequestId":"85532302-EB9D-42E4-ACB4-DDD735722998",
	"Configs":{
		"OssLogConfig":{},
		"WafConfig":{},
		"GreenManagerConfig":{}
	}
}

Error codes

HTTP status code Error code Error message Description
400 MissingConfig The input parameter Config that is mandatory for processing this request is not supplied. The error message returned because the Config parameter is not specified.
400 InvalidConfig.ValueNotSupported The specified value of parameter "Config" is not supported. The error message returned because the specified Config parameter is invalid.

For more information about error codes, visit API Error Center.