ListTemplateCache

Updated at:

Performs a paging query for template caches.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request syntax

GET /pop/2026-05-09/template-caches HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

teamID

string

No

The team ID.

13b721e6-8cc8-5df2-af13-80316f7508af

templateID

string

No

The unique identifier of the template.

us7dxqaezw5uu7aa2cm5

status

string

No

Filters by cache status. Valid values: InProgress, Success, Failed, Deleting, and Evicted.

Success

maxResults

integer

No

The maximum number of entries to return per page. Default value: 20. Maximum value: 100.

20

nextToken

string

No

The pagination token returned in the response of the previous request.

cae5f900-8b1d-4c0e-9c2a-1a2b3c4d5e6f

Response elements

Element

Type

Description

Example

object

Schema of Response

requestId

string

Id of the request

B5AD8B54-4358-5F5B-ACAA-52F2016459C6

code

string

The error code. The value is 200 if the request is successful.

200

message

string

The response message.

success

templateCaches

array

The list of template cache objects.

PublicTemplateCache

A template cache object.

nextToken

string

The pagination token for the next page. This parameter is empty if no more results are available.

cae5f900-8b1d-4c0e-9c2a-1a2b3c4d5e6f

maxResults

integer

The maximum number of entries returned per page in the current request.

20

Examples

Success response

JSON format

{
  "requestId": "B5AD8B54-4358-5F5B-ACAA-52F2016459C6",
  "code": "200",
  "message": "success",
  "templateCaches": [
    {
      "teamID": "13b721e6-8cc8-5df2-af13-80316f7508af",
      "templateID": "us7dxqaezw5uu7aa2cm5",
      "status": "Success",
      "statusReason": "The image prefetch task is queued",
      "progress": 80,
      "createdTime": "2026-09-18T10:00:00Z",
      "imageDigest": "sha256:8f3c2a1b",
      "imageSizeMB": 512,
      "readyTime": "2026-09-18T10:05:00Z"
    }
  ],
  "nextToken": "cae5f900-8b1d-4c0e-9c2a-1a2b3c4d5e6f",
  "maxResults": 20
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.