API Overview
ServiceStage provides open APIs for developers and partners to develop, deploy, host, operate, and manage applications, helping them effectively innovate services at low costs and shorten the application rollout period.
For details about the APIs, see the following table.
Type |
Subtype |
Description |
---|---|---|
Application management APIs |
APIs related to application templates, runtimes, and application resource specifications. |
|
APIs related to application environments. |
||
APIs related to applications. |
||
APIs related to application components. |
||
APIs related to application component instances. |
||
APIs related to jobs. |
||
Cloud Service Engine (CSE) APIs |
APIs related to CSE. |
Meta APIs
API |
Description |
---|---|
Obtain all supported runtimes of application components. |
|
Obtain all supported flavors of application resources. |
Environment APIs
API |
Description |
---|---|
Create an environment. |
|
Obtain all created environments. |
|
Modify environment information based on the environment ID. |
|
Delete an environment based on the environment ID. |
|
Obtain environment details based on the environment ID. |
|
Modify environment resources. |
Application APIs
API |
Description |
---|---|
Create an application. |
|
Obtain all created applications. |
|
Modify application information based on the application ID. |
|
Delete an application based on the application ID. |
|
Obtain application details based on the application ID. |
|
Add or modify application configurations. |
|
Delete application configurations. |
|
Obtain application configurations. |
Component APIs
API |
Description |
---|---|
Create an application component. |
|
Obtain all components of an application. |
|
Modify component information based on the component ID. |
|
Delete a component based on the component ID. |
|
Obtaining Application Component Information Based on the Component ID |
Obtain component information based on the component ID. |
Instance APIs
API |
Description |
---|---|
Create an application component instance. |
|
Obtain all instances of a component. |
|
Perform operations on a component instance. |
|
Modify an application component instance. |
|
Delete an application component instance. |
|
Query instance details based on the instance ID. |
|
Obtain component instance snapshots. |
CSE APIs
API |
Description |
---|---|
Query static information about a microservice based on the service ID. |
|
Query static information about microservices that meet filter criteria. |
|
Create static information for a microservice before registering a microservice instance. The registered instance is associated with the static information based on the serviceId field. One service corresponds to multiple instances. The serviceId field can be customized. If serviceId is not customized, the system generates a random service ID. |
|
Modify static information about a microservice. To update some fields in the static information, you need to input all static information (including the fields that do not need to be updated) in JSON format. |
|
Query a microservice schema based on the service ID and schema ID. |
|
Modify a microservice schema based on the schema ID. |
|
Create a dependency between services. For consumer, version must be a confirmed version and serviceName cannot be *. consumer must be an existing service while provider can be a service that has not been created. |
|
Query all providers of a microservice based on the consumer ID. |
|
Query the unique service or schema ID of a microservice based on filter criteria. |
|
Register a microservice instance after a microservice is created. Information about the instance must be provided during registration. The instance ID can be customized. If it is customized, all contents are overwritten upon re-registration. If it is not customized, the system automatically generates an ID. If the endpoint content is duplicate, the original ID is used. |
|
Querying All Instances of a Microservice Based on the Service ID |
Query all instances of a microservice based on the service ID after the instances are registered. |
Deregister an instance based on the instance ID after the instance is registered. |
|
Query details about an instance based on the service ID and instance ID after the instance is registered. |
|
Modifying the Extended Information About a Microservice Instance |
Add or update the extended information about a microservice instance based on the instance ID after the instance is registered. |
Change the status of a microservice instance based on the instance ID after the instance is registered. |
|
Send heartbeat information. Service providers need to send heartbeat information to the service center, so that the center can check whether service instances are normal. |
|
Query a microservice instance based on microservice version rules or field filter criteria after the instance is registered. |
|
Query configurations in the configuration center. |
|
Delete the definition and related information about a microservice, and deregister all instances of the microservice. |
|
Delete the definitions and related information about microservices in batches, and deregister all instances of the microservices. |
|
Query microservice instances in batches based on microservice version rules or field filter criteria after the instances are registered. |
|
Query all schema information (including schemaId and summary) about a microservice. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot