All Products
Search
Document Center

Edge Security Acceleration:GetRoutineBuildConfiguration

Last Updated:Jul 23, 2026

Retrieves the build configuration.

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  HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

RoutineName

string

No

The ER name.

test-routine

Response elements

Element

Type

Description

Example

object

Schema of Response

RequestId

string

The request ID.

D1D7BBB5-9B5B-5A29-8848-398F3CA18A8A

GitPlatform

string

The Git platform.

github

RootDirectory

string

The root directory.

/root/admin

BuildBranches

string

The branches that trigger builds. A value of * indicates all branches. Multiple specific branches are separated by commas.

int,abc

AssetsDirectory

string

The static assets directory.

/root/usr

NodeVersion

string

The Node.js version.

22.x

RoutineName

string

The ER name.

test-routine

Repository

string

The repository name.

example-test

CreateTime

string

The creation time, in ISO 8601 format using UTC time. Format: yyyy-MM-ddTHH:mm:ssZ.

2026-03-11T01:23:21Z

GitAccountId

integer

The Git account ID.

4695144764942144

EnvironmentVariables

object

The environment variables.

string

The environment variables.

{"NODE_ENV": "development"}

RoutineEntry

string

The ER entry file path.

/home

IsPrivate

boolean

Indicates whether the repository is private. Valid values:

  • true: The repository is private.

  • false: The repository is not private.

false

BuildCommand

string

The build command.

npm run build

ProductionBranch

string

The production branch name.

main

RoutineBuildConfigurationId

integer

The ER build configuration ID.

3472165674357056

GitAccountType

string

The Git account type. Valid values:

  • User: individual account.

  • Organization: organization account.

User

UpdateTime

string

The modification time, in ISO 8601 format using UTC time. Format: yyyy-MM-ddTHH:mm:ssZ.

2026-04-19T11:15:20Z

InstallCommand

string

The install command.

npm install

Examples

Success response

JSON format

{
  "RequestId": "D1D7BBB5-9B5B-5A29-8848-398F3CA18A8A",
  "GitPlatform": "github",
  "RootDirectory": "/root/admin",
  "BuildBranches": "int,abc",
  "AssetsDirectory": "/root/usr",
  "NodeVersion": "22.x",
  "RoutineName": "test-routine",
  "Repository": "example-test",
  "CreateTime": "2026-03-11T01:23:21Z\n",
  "GitAccountId": 4695144764942144,
  "EnvironmentVariables": {
    "key": "{\"NODE_ENV\": \"development\"}"
  },
  "RoutineEntry": "/home",
  "IsPrivate": false,
  "BuildCommand": "npm run build",
  "ProductionBranch": "main",
  "RoutineBuildConfigurationId": 3472165674357056,
  "GitAccountType": "User",
  "UpdateTime": "2026-04-19T11:15:20Z",
  "InstallCommand": "npm install"
}

Error codes

HTTP status code

Error code

Error message

Description

400 InternalException Failed to call the service. Try again later or contact technical support. Failed to call the service. Try again later or contact technical support.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.