API overview

Last Updated: Jan 24, 2018

Container Service APIs are mainly divided into three parts:

  • Cluster management interfaces
  • Application management interfaces
  • Triggers

Cluster management interfaces

Container Service provides some interfaces to manage clusters, for example, the interfaces used to create or delete clusters.

The list of cluster management interfaces is as follows.

API Description
GetClusterList View all clusters.
CreateCluster Create clusters.
DeleteCluster Delete clusters.
GetClusterById View clusters.
GetClusterCerts Obtain the cluster certificate.
UpdateClusterSizeById Update the number of cluster nodes.

Application management interfaces

The application management interfaces are compatible with the Docker Remote API. You can operate your Docker cluster in the same way as operating a single Docker Engine.

The list of application management interfaces is as follows.

API Description
List Projects View the application list.
Create project Create applications.
Retrieve project View applications.
Start project Start applications.
Stop project Stop applications.
Kill project Terminate applications.
Update project Update applications.
Delete project Delete applications.
List Services View the service list.
Retrieve service View services.
Start service Start services.
Stop service Stop services.
Kill service Terminate services.
Scale service Scale services.

Triggers

A trigger is an API provided by Container Service for simple, fast, and continuous deployment. For more information, see Triggers.

Thank you! We've received your feedback.