{
  "opencollection": "1.0.0",
  "info": {
    "name": "WunderGraph Cosmo Platform Analytics Router API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Router",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "WunderGraph Compose router configuration",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://cosmo-cp.wundergraph.com/v1/router/compose",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Generates a router execution configuration for a federated graph. The router configuration is used by the Cosmo Router to serve the composed federated graph."
        },
        {
          "info": {
            "name": "WunderGraph List router tokens",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://cosmo-cp.wundergraph.com/v1/router/tokens",
            "params": [
              {
                "name": "federatedGraphName",
                "value": "",
                "type": "query",
                "description": "The name of the federated graph."
              },
              {
                "name": "namespace",
                "value": "",
                "type": "query",
                "description": "The namespace of the graph."
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Lists all router tokens for a federated graph. Router tokens are used to authenticate Cosmo Router instances with the control plane."
        },
        {
          "info": {
            "name": "WunderGraph Create a router token",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://cosmo-cp.wundergraph.com/v1/router/tokens",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Creates a new router token for authenticating a Cosmo Router instance with the control plane."
        }
      ]
    }
  ],
  "bundled": true
}