Configure an API

To configure an API:
  1. Click API Registryto navigate to API Summary page from any other window in MMG application.
    This page displays the API records in a tabular format.
  2. Click the Configure API button.
    The Configure APIpage is displayed.

    Figure 7-20 Configure API page


    This image displays the Configure API page.

  3. Enter the Codefor the API. This field is mandatory.
  4. Enter the Descriptionfor the API.
  5. In the Request Typedrop-down list, select the required option. Currently, REST type is supported.
  6. In the Method Type drop-down list, select the required option. The supported types are GET, POST, PUT, and DELETE.
  7. Enter the URL for the API. This field is mandatory.
  8. You can provide the details such as Headers, Params, Body, and Authorization under the respective fields.
  9. Click Validate to validate the API details.
    You are prompted to add the values for all the placeholder variables. After entering the values for placeholders, click the Validate button to view the API responses.
  10. Click Add.
    The API is added and displayed in the API Summary page. These API’s can be selected while creating a Workspace. For more details, see the Workspace Schema section.