You can call this operation to query all asset groups.

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 DescribeAllGroups

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

Lang String No zh

The language in which to return the responses.

  • zh: Chinese
  • en: English

Response parameters

Parameter Type Example Description
Count Integer 2

The current page number.

Groups

The returned groups.

GroupFlag Integer 1

The type of the group. Valid values: 0 and 1. 0: default group. 1: other groups.

GroupId Integer 100

The ID of the group.

GroupName String xx

The name of the group.

RequestId String "requestId": "7E0618A9-D5EF-4220-9471-C42B5E92719F",

The ID of the request.

Examples

Sample requests


http(s)://[Endpoint]/? Action=DescribeAllGroups
&<Common request parameters>

Sample success responses

XML format

<DescribeAllGroups>
	  <code>200</code>
	  <requestId>7E0618A9-D5EF-4220-9471-C42B5E92719F</requestId>
	  <success>true</success>
	  <data>
		    <Groups>
			      <GroupId>100</GroupId>
			      <GroupName>xx</GroupName>
		    </Groups>
	  </data>
    </DescribeAllGroups>

JSON format

{
	"requestId":"7E0618A9-D5EF-4220-9471-C42B5E92719F",
	"data":{
		"Groups":{
			"GroupName":"xx",
			"GroupId":100
		}
	},
	"code":200,
	"success":true
}

Error codes

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