Creates an ER build task.
Try it now
Test
RAM authorization
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.