API overview
API standards and multilingual preset SDKs
The OpenAPI of this product (Devs/2023-07-14) uses the ROA signature style. We have encapsulated SDKs for common programming languages for developers. Developers can download the SDK to directly call this product's OpenAPI without worrying about technical details. If the existing SDK does not meet your needs, you can use the signature mechanism for self-signing integration. Since the details of self-signing are very complex, it may take around 5 business days. Therefore, we recommend joining our DingTalk service group (147535001692) and conducting signature integration under expert guidance.
Before using the API, you need to prepare your identity account and access key (AccessKey) to effectively access the API through client tools (such as SDK and CLI). For details, see Obtain an AccessKey.
Custom signature scenarios
If your business scenario has special requirements and you need to integrate the API through self-signing, we recommend consulting our technical support team first (DingTalk service group: 147535001692) to obtain professional guidance and ensure efficient integration.
Account and security preparation
Alibaba Cloud accounts have full administrative permissions over all resources. Once an AccessKey is compromised, all associated resources will be at risk of unauthorized access. To ensure security, it is recommended to create a RAM user with only API access permissions and configure its AccessKey, while configuring RAM policies based on the principle of least privilege (PoLP). Use the Alibaba Cloud account only in specific scenarios where Alibaba Cloud account permissions are explicitly required.
Toolkits
|
API |
Title |
Description |
| UpdateToolset | Update tool set | Updates toolset information. |
| ListToolsets | Batch Query Toolset | Lists toolsets. |
| GetToolset | Obtain a tool set | Gets a specific toolset. |
| DeleteToolset | Delete Tool Set | Deletes a specified toolset. |
| CreateToolset | Create a tool set | Creates a toolset. |
Templates
|
API |
Title |
Description |
| RenderServicesByTemplate | Parse the service and variable configuration in the template. | Parses service and variable configurations from a template. |
Artifacts
|
API |
Title |
Description |
| FetchArtifactDownloadUrl | Obtain the temporary download URL of the deliverable | Retrieves a temporary download URL for an artifact's ZIP package. |
| FetchArtifactTempBucketToken | Obtain temporary upload token for deliverables | Retrieves the `bucket`, `object` path, and temporary Security Token Service (STS) credentials for uploading an `artifact`. |
| GetArtifact | Query deliverables | Retrieves a specific artifact. |
| PutArtifact | Update deliverable | Updates an artifact. |
| DeleteArtifact | Delete deliverable | Deletes an artifact. |
| CreateArtifact | Create artifact | Creates an artifact. |
Projects
|
API |
Title |
Description |
| CreateProject | Create Project | Creates a project and automatically deploys it if a template configuration is specified. |
| DeleteProject | Delete Project | Deletes a project and cascades the deletion to all its related entities, including environments, pipeline triggers, pipeline trigger records, pipeline templates, and pipelines. |
| UpdateProject | Modify a project | Updates a project and triggers an automatic deployment if its template parameters change. |
| ListProjects | Batch Query Projects | Lists projects that match the specified criteria. |
| GetProject | Query project | Gets a specified project. |
Environments
|
API |
Title |
Description |
| DeployEnvironment | Deploy environment | Triggers a manual environment deployment. |
| GetEnvironmentDeployment | Query environment deployment details | Retrieves the details of an environment deployment. |
| GetServiceDeployment | Query service deployment details | Retrieves information about a service deployment. |
| ListServiceDeployments | Batch query service deployment information | Lists service deployments. |
| PreviewEnvironment | Preview environment change information | Gets a preview of changes for an environment. |
| CreateEnvironment | Create Environment | Creates an environment within a project and optionally deploys it automatically from a template. You deploy services to a specific environment. You can link an environment to a branch in a code repository or to a project template. An environment can also have a dedicated infrastructure stack, which is shared by all services running within it. |
| DeleteEnvironment | Delete Environment | Deletes a specified environment along with its associated entities in the project, including pipeline triggers, pipeline trigger records, pipeline templates, and pipelines. |
| UpdateEnvironment | Modify environment | Updates an environment and triggers an automatic deployment when its template parameters change. |
| ListEnvironments | Batch query environments | Lists environments that match the specified criteria. |
| GetEnvironment | Query environment | Retrieves information about an environment. |
Identity binding
|
API |
Title |
Description |
| DeleteConnection | Delete identity binding | Deletes a connection. |
| ListConnections | Batch query identity bindings | Retrieves a list of connections that match the specified filters. |
Repository binding
|
API |
Title |
Description |
| GetRepository | Query repository binding | Retrieves a repository binding entity. |
Pipelines
|
API |
Title |
Description |
| CreatePipeline | Create pipeline execution | Creates a pipeline execution that runs asynchronously and generates pipeline tasks based on its configuration. |
| ListPipelines | Batch query pipeline executions | Lists Pipeline resources. Specify query parameters to narrow the results. |
| GetPipeline | Query pipeline executions | Retrieves a pipeline execution. |
| StartPipeline | Start pipeline execution | Starts a pipeline execution. |
| CancelPipeline | Cancel pipeline execution | Cancels the specified pipeline execution and its associated tasks as soon as possible. |
| PutPipelineStatus | Replace pipeline execution status | Updates the pipeline execution status. |
Pipeline tasks
|
API |
Title |
Description |
| CreateTask | Create a pipeline job execution | Starts a pipeline task. |
| ListTasks | Batch query pipeline task executions | Lists pipeline task executions. |
| GetTask | Query pipeline job execution | Retrieves the execution details of a specific pipeline task. |
| StartTask | Start pipeline job execution | Starts a task execution. |
| RetryTask | Retry pipeline job execution | Retries a pipeline task execution. |
| ResumeTask | Recover pipeline job execution | Resumes the execution of a pipeline task. |
| CancelTask | Cancel pipeline job execution | Cancels a pipeline task. |
| PutTaskStatus | Replace the execution status of a pipeline Job | Updates the execution status of a pipeline task. |
Others
|
API |
Title |
Description |
| ActivateConnection | Activate Identity Binding | This operation activates a connection. After a user completes the OAuth authorization flow, the development platform activates the specified connection. Third-party code hosting platforms such as GitHub, Gitee, and Codeup use this authorization method. |
| FetchConnectionCredential | Obtain identity binding Credential | Retrieves the identity-bound credential created after the authorization flow is complete. The development platform uses this credential to access a third-party code hosting platform. |