{
  "opencollection": "1.0.0",
  "info": {
    "name": "Choreo API Management Alerts Subscriptions API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Subscriptions",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Choreo List subscriptions",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://console.choreo.dev/api/v1/subscriptions",
            "params": [
              {
                "name": "applicationId",
                "value": "",
                "type": "query",
                "description": "Filter by application identifier."
              },
              {
                "name": "apiId",
                "value": "",
                "type": "query",
                "description": "Filter by API identifier."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query"
              },
              {
                "name": "offset",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Retrieve a list of subscriptions. Can be filtered by application or API."
        },
        {
          "info": {
            "name": "Choreo Subscribe to an API",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://console.choreo.dev/api/v1/subscriptions",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new subscription to an API through an application. A business plan must be selected which determines the rate limit."
        },
        {
          "info": {
            "name": "Choreo Unsubscribe from an API",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://console.choreo.dev/api/v1/subscriptions/:subscriptionId",
            "params": [
              {
                "name": "subscriptionId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Remove a subscription to an API."
        }
      ]
    }
  ],
  "bundled": true
}