All Products
Search
Document Center

Mobile Platform as a Service:API registration

Last Updated:Jun 05, 2024

Mobile Gateway supports many different types of API services. This topic describes how to register an API by using the console.

The operations that you need to perform vary based on different types of API services.

Before adding an MPC API, make sure that the corresponding MPC API group has been created.

Add HTTP API

Log on to the mPaaS console and perform the following steps to register an HTTP API:

  1. In the left-side navigation pane, click Mobile Gateway Service.

  2. On the API management tab, click Create API.

  3. In the dialog box that appears, select the HTTP API type.

  4. In the operationType bar, input value and click OK to complete the registration.

    • operationType is the unique identifier of the API service in the current environment and app.

    • operationType definition rules: Organization. Product domain. Products. Sub-products. Operation.

Add MPC API

Complete the following steps to automatically pull the MPC API:

  1. In the left-side navigation pane, click Mobile Gateway Service.

  2. On the API management tab, click Create API.

  3. In the dialog box that appears, select the MPC API type.

  4. Select the corresponding API group. In the API group, select the API service to be registered from the obtained API list.

  5. Click OK to complete the registration.