All Products
Search
Document Center

Edge Security Acceleration:DescribeRoutineSpec

Last Updated:Oct 17, 2024

Queries the supported specifications for routines. The private preview supports the following CPU time slice specifications: 5 ms, 50 ms, and 100 ms.

Operation description

Note You can call this operation up to 100 times per second per account.

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

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
The current API does not require request parameters

Response parameters

ParameterTypeDescriptionExample
object
Contentobject

The specification of the CPU time slice. Valid values: 5 ms, 50 ms, and 100 ms.

5ms, 50ms, 100ms
RequestIdstring

The ID of the request.

AE4E1B80-D5F3-47DB-824A-DA98A21854C8

Examples

Sample success responses

JSONformat

{
  "Content": {
    "test": "test",
    "test2": 1
  },
  "RequestId": "AE4E1B80-D5F3-47DB-824A-DA98A21854C8"
}

Error codes

HTTP status codeError codeError messageDescription
400EdgeRoutine.GeneralErrorA server error occurred: %sA server error occurred. Try again later. If the error persists, submit a ticket.

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