{
  "opencollection": "1.0.0",
  "info": {
    "name": "Vantage AccessGrants BudgetAlerts API",
    "version": "2.0.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "client_credentials",
      "accessTokenUrl": "https://console.vantage.sh/account/profile",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "BudgetAlerts",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get all budget alerts",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.vantage.sh/v2/budget_alerts",
            "params": [
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "The page of results to return."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "The number of results to return. The maximum is 1000."
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://console.vantage.sh/account/profile",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Return all BudgetAlerts."
        },
        {
          "info": {
            "name": "Create budget alert",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.vantage.sh/v2/budget_alerts",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://console.vantage.sh/account/profile",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Create a Budget Alert."
        },
        {
          "info": {
            "name": "Get budget alert by token",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.vantage.sh/v2/budget_alerts/:budget_alert_token",
            "params": [
              {
                "name": "budget_alert_token",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://console.vantage.sh/account/profile",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Return a BudgetAlert."
        },
        {
          "info": {
            "name": "Update budget alert",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.vantage.sh/v2/budget_alerts/:budget_alert_token",
            "params": [
              {
                "name": "budget_alert_token",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://console.vantage.sh/account/profile",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Updates an existing BudgetAlert."
        },
        {
          "info": {
            "name": "Delete budget alert",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.vantage.sh/v2/budget_alerts/:budget_alert_token",
            "params": [
              {
                "name": "budget_alert_token",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://console.vantage.sh/account/profile",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Delete a BudgetAlert."
        }
      ]
    }
  ],
  "bundled": true
}