Lists parameters.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
pairec:ListParams |
list |
*All Resource
|
None | None |
Request syntax
GET /api/v1/params HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| SceneId |
string |
Yes |
The scene ID. You can call the ListScenes operation to obtain it. |
3 |
| Name |
string |
No |
The parameter name. |
home |
| Environment |
string |
No |
The environment to which the parameter belongs. Valid values:
|
Daily |
| PageNumber |
integer |
No |
The page number. |
1 |
| PageSize |
integer |
No |
The number of entries to return on each page. |
50 |
| InstanceId |
string |
Yes |
The instance ID. You can call the ListInstances operation to obtain it. |
pairec-cn-abcdefg1234 |
| Encrypted |
boolean |
No |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response object. |
||
| RequestId |
string |
The ID of the request. |
A2D07551-38DA-531E-9B22-877D1D86A579 |
| TotalCount |
integer |
The total number of parameters. |
10 |
| Params |
array<object> |
A list of parameters. |
|
|
object |
|||
| ParamId |
string |
The parameter ID. |
4 |
| Name |
string |
The parameter name. |
home |
| Value |
string |
The parameter value. |
house |
| Environment |
string |
The environment to which the parameter belongs. Valid values:
|
Daily |
| GmtModifiedTime |
string |
The time when the parameter was last modified. |
2021-12-15T23:24:33.132+08:00 |
Examples
Success response
JSON format
{
"RequestId": "A2D07551-38DA-531E-9B22-877D1D86A579",
"TotalCount": 10,
"Params": [
{
"ParamId": "4",
"Name": "home",
"Value": "house",
"Environment": "Daily",
"GmtModifiedTime": "2021-12-15T23:24:33.132+08:00"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.