Create the json configuration file

API Mesh uses a JSON configuration file to define your source handlers. The JSON file contains a sources array that contains the sources for your mesh. Here is an example of a mesh with multiple sources.

{
"meshConfig": {
    "sources": [
      {
        "name": "Commerce",
        "handler": {
          "graphql": {
            "endpoint": "https://venia.magento.com/graphql/"
          }
        }
      },
      {
        "name": "Example",
        "handler": {
          "graphql": {
            "endpoint": "https://www.example.com/graphql/"
          }
        }
      }
    ]
  }
}

Useful API Mesh resources

Previous pageCreate single source GraphQL API mesh
Next pageManage User Roles and Permissions

Commerce