All Products
Search
Document Center

Edge Security Acceleration:CreateRoutineBuild

Last Updated:Jul 24, 2026

Creates an ER build task.

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

POST  HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

RoutineName

string

Yes

The ER name.

rwa-test

Branch

string

No

The name of the branch to build. This parameter is not required in upload mode but is required in git mode.

main

ArtifactUrl

string

No

The OSS object URL. This parameter is required in upload mode but is not required in git mode.

https://bucket.oss-.aliyuncs.com/key

Response elements

Element

Type

Description

Example

object

Schema of Response

RequestId

string

The request ID.

0AEDAF20-4DDF-4165-8750-47FF9C1929C9

RoutineBuildId

integer

The ER build task ID.

159782040838348

PipeLineRunId

integer

The build ID in Apsara Devops.

1

Examples

Success response

JSON format

{
  "RequestId": "0AEDAF20-4DDF-4165-8750-47FF9C1929C9",
  "RoutineBuildId": 159782040838348,
  "PipeLineRunId": 1
}

Error codes

HTTP status code

Error code

Error message

Description

400 ServiceInvokeFailed The call to the internal service failed. The engineer is resolving the problem. Please wait a moment before trying, or contact customer service for details. Failed to call the service. Please try again later or contact customer service for details.
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.
400 RoutineBuildConfigurationNotExist Routine build configuration does not exist. Routine build configuration does not exist.
400 RoutineInstanceNotExist The Routine instance does not exist. The Routine instance does not exist.
400 RoutineNotExist Routine does not exist. Routine does not exist.
400 GitAccountAuthExpired Git account authorization expired. Git account authorization expired.
400 GitAccountNotActive Git account is not active. Git account is not active.
400 GitAccountNotExist Git account does not exist. Git account does not exist.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.