All Products
Search
Document Center

Edge Security Acceleration:ListRoutineRelatedRecords

Last Updated:Nov 07, 2025

The records associated with the function.

Operation description

You can call this operation to query the routes associated with a function. You can specify paged query parameters to obtain the specified number of routes or specify a keyword for fuzzy search to filter specific routes.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • For mandatory resource types, indicate with a prefix of * .
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
esa:ListRoutineRelatedRecordslist
*All Resources
*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
NamestringYes

The name of the function.

test
PageNumberlongNo

The page number of the returned page. Default value: 1

1
PageSizelongNo

The number of entries per page. Valid values: an integer from 1 to 20.

20
SearchKeyWordstringNo

The keyword used for fuzzy search.

hello

Response parameters

ParameterTypeDescriptionExample
object

Schema of Response

RequestIdstring

The request ID.

15C66C7B-671A-4297-9187-2C4477247A74
PageNumberlong

The page number. Pages start from page 1. Default value: 1.

1
PageSizelong

The number of entries per page.

20
TotalCountlong

The total number of entries.

16
RelatedRecordsarray<object>

The list of records associated with the edge function.

RelatedRecordItemobject

The information about the record associated with the function.

RecordNamestring

The name of the record.

test-record-1.example.com
SiteIdlong

The website ID.

54362329990032
SiteNamestring

The website name.

example.com
RecordIdlong

The record ID of the domain name.

509348423011904

Examples

Sample success responses

JSONformat

{
  "RequestId": "15C66C7B-671A-4297-9187-2C4477247A74",
  "PageNumber": 1,
  "PageSize": 20,
  "TotalCount": 16,
  "RelatedRecords": [
    {
      "RecordName": "test-record-1.example.com",
      "SiteId": 54362329990032,
      "SiteName": "example.com",
      "RecordId": 509348423011904
    }
  ]
}

Error codes

HTTP status codeError codeError messageDescription
400InternalExceptionFailed to call the service. Try again later or contact technical support.Failed to call the service. Try again later or contact technical support.
400InvalidParameterThe specified parameter is invalid.The specified parameter is invalid.
400DependedByOthersFailed to call the service. Try again later or contact technical support.Failed to call the service. Try again later or contact technical support.
400RoutineNotExistThe routine name does not exist. Check the routine name and try again.The routine name does not exist. Check the routine name and try again.
400InternalOperationErrorFailed to call the service. Try again later or contact technical support.Failed to call the service. Try again later or contact technical support.

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