Queries configuration templates.
Try it now
Test
RAM authorization
Request syntax
GET /pop/v5/config_template HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| CurrentPage |
integer |
No |
The number of the page to return. Pages start from Page 1. |
1 |
| PageSize |
integer |
No |
The number of entries to return on each page. |
10 |
| Id |
integer |
No |
The ID of the configuration template. |
3d84efaf-37d9-49fb-a3a8-b38d5c****** |
| Name |
string |
No |
The name of the configuration template. |
config-tmpl-1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The ID of the request. |
4D9F-DR94-FD**************** |
| Code |
integer |
The HTTP status code that is returned. |
200 |
| Message |
string |
The additional information that is returned. |
success |
| Data |
object |
The result of the request. |
|
| CurrentPage |
integer |
The page number of the returned page. |
1 |
| PageSize |
integer |
The number of entries returned per page. |
10 |
| TotalSize |
integer |
The total number of configuration templates. |
100 |
| Result |
array<object> |
The configuration templates. |
|
|
object |
|||
| Id |
string |
The ID of the configuration template. |
3d84efaf-37d9-49fb-a3a8-b38d5c2b460c |
| Name |
string |
The name of the configuration template. |
config-tmpl-1 |
| Format |
string |
The data format of the configuration template. |
JSON |
| Description |
string |
The description of the configuration template. |
测试配置模板 |
| Content |
string |
The content of the configuration template. |
{"name":"William"} |
| GmtCreate |
integer |
The time when the configuration template was created. |
1638171689626 |
| GmtModified |
integer |
The time when the configuration template was updated. |
1638171689626 |
Examples
Success response
JSON format
{
"RequestId": "4D9F-DR94-FD****************",
"Code": 200,
"Message": "success",
"Data": {
"CurrentPage": 1,
"PageSize": 10,
"TotalSize": 100,
"Result": [
{
"Id": "3d84efaf-37d9-49fb-a3a8-b38d5c2b460c",
"Name": "config-tmpl-1",
"Format": "JSON",
"Description": "测试配置模板",
"Content": "{\"name\":\"William\"}",
"GmtCreate": 1638171689626,
"GmtModified": 1638171689626
}
]
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | Edas.errorcode.PermissionDenied.message | You are not authorized to perform the operation. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.