Queries the details of node packages.
Try it now
Test
RAM authorization
Request syntax
GET HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| PackageIds |
array |
No |
The list of packages. |
|
|
string |
No |
The package ID. |
cmag-0c1g77wjljl9hc**** |
|
| InstanceIds |
array |
No |
The list of node instance IDs. |
|
|
string |
No |
The node instance ID. |
acp-itoxpeisht7if**** |
|
| PackageSpec |
string |
No |
The package specifications. |
advanced |
| PackageStatus |
string |
No |
The package status. |
ACTIVE |
| PageNum |
integer |
No |
The page number. Default value: 1. |
1 |
| PageSize |
integer |
No |
The number of entries per page. |
100 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| Code |
string |
The status code. A value of 200 indicates success. |
200 |
| Message |
string |
The message returned by the API operation. |
Success. |
| PackageList |
array<object> |
The list of packages. |
|
|
array<object> |
The package details. |
||
| ExpiredAt |
string |
The expiration time. The time format is YYYY-MM-DD HH:mm:ss. |
2026-10-30 00:00:00 |
| InstanceIds |
array |
The list of node instance IDs. |
|
|
string |
The node instance ID. |
acp-iuyb1zv1ap6nb**** |
|
| PackageCredit |
string |
The credit quota of the package. |
8000 |
| PackageId |
string |
The package ID. |
cmag-bp19i1yxu60r7twy**** |
| PackageSpec |
string |
The package specifications. |
advanced |
| PackageSpecName |
string |
||
| PackageStatus |
string |
The package status. |
ACTIVE |
| PeriodEndTime |
string |
||
| PeriodStartTime |
string |
||
| Tags |
array<object> |
The tags. |
|
|
object |
The tag object. |
||
| Key |
string |
The tag key. |
key |
| Value |
string |
The tag value. |
value |
| UsedCredit |
string |
The number of used credits. |
1000 |
| RequestId |
string |
The request ID. |
1CBAFFAB-B697-4049-A9B1-67E1FC**** |
| TotalCount |
string |
The total number of entries. |
30 |
Examples
Success response
JSON format
{
"Code": "200",
"Message": "Success.",
"PackageList": [
{
"ExpiredAt": "2026-10-30 00:00:00 ",
"InstanceIds": [
"acp-iuyb1zv1ap6nb****"
],
"PackageCredit": "8000",
"PackageId": "cmag-bp19i1yxu60r7twy****",
"PackageSpec": "advanced",
"PackageSpecName": "",
"PackageStatus": "ACTIVE",
"PeriodEndTime": "",
"PeriodStartTime": "",
"Tags": [
{
"Key": "key",
"Value": "value"
}
],
"UsedCredit": "1000"
}
],
"RequestId": "1CBAFFAB-B697-4049-A9B1-67E1FC****",
"TotalCount": "30"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.