Mobile Gateway Service supports various API service types. This topic describes how to register an API in the console.
The required steps vary by API service type.
Before you add an MPC API, you must create an MPC API group.
Add an HTTP API
Log on to the mPaaS console and follow these steps to add an HTTP API:
In the navigation pane on the left, click the Mobile Gateway Service menu.
On the API Management tab, click Create API.
In the dialog box, select the HTTP API type.
In the operationType field, enter a value and click OK.
The
operationTypeis the unique identifier for the API service in the current environment and app.The
operationTypefollows this format:Organization.ProductDomain.Product.Subproduct.Operation.
Add an MPC API
Follow these steps to automatically pull MPC APIs:
In the navigation pane on the left, click the Mobile Gateway Service menu.
On the API Management tab, click Create API.
In the dialog box, select the MPC API type.
Select an API group and then select the service to register from the list of retrieved APIs.
Click OK to complete the registration.