All Products
Search
Document Center

Enterprise Distributed Application Service:ListConfigTemplates

Last Updated:Jan 08, 2024

Queries configuration templates.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Debug

Authorization information

There is currently no authorization information disclosed in the API.

Request syntax

GET /pop/v5/config_template

Request parameters

ParameterTypeRequiredDescriptionExample
CurrentPagelongNo

The number of the page to return. Pages start from Page 1.

1
PageSizelongNo

The number of entries to return on each page.

10
IdlongNo

The ID of the configuration template.

3d84efaf-37d9-49fb-a3a8-b38d5c******
NamestringNo

The name of the configuration template.

config-tmpl-1

Response parameters

ParameterTypeDescriptionExample
object

Schema of Response

RequestIdstring

The ID of the request.

4D9F-DR94-FD****************
Codeinteger

The HTTP status code that is returned.

200
Messagestring

The additional information that is returned.

success
Dataobject

The result of the request.

CurrentPageinteger

The page number of the returned page.

1
PageSizeinteger

The number of entries returned per page.

10
TotalSizelong

The total number of configuration templates.

100
Resultobject []

The configuration templates.

Idstring

The ID of the configuration template.

3d84efaf-37d9-49fb-a3a8-b38d5c2b460c
Namestring

The name of the configuration template.

config-tmpl-1
Formatstring

The data format of the configuration template.

JSON
Descriptionstring

The description of the configuration template.

Test configuration template
Contentstring

The content of the configuration template.

{"name":"William"}
GmtCreatelong

The time when the configuration template was created.

1638171689626
GmtModifiedlong

The time when the configuration template was updated.

1638171689626

Examples

Sample success responses

JSONformat

{
  "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": "Test configuration template\n",
        "Content": "{\"name\":\"William\"}",
        "GmtCreate": 1638171689626,
        "GmtModified": 1638171689626
      }
    ]
  }
}

Error codes

HTTP status codeError codeError message
500Edas.errorcode.PermissionDenied.message You are not authorized to perform the operation.

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2022-01-13Add Operationsee changesets