{ "opencollection": "1.0.0", "info": { "name": "Vantage AccessGrants Budgets 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": "Budgets", "type": "folder" }, "items": [ { "info": { "name": "Get all budgets", "type": "http" }, "http": { "method": "GET", "url": "https://api.vantage.sh/v2/budgets", "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 Budgets." }, { "info": { "name": "Create budget", "type": "http" }, "http": { "method": "POST", "url": "https://api.vantage.sh/v2/budgets", "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." }, { "info": { "name": "Get budget by token", "type": "http" }, "http": { "method": "GET", "url": "https://api.vantage.sh/v2/budgets/:budget_token", "params": [ { "name": "include_performance", "value": "", "type": "query", "description": "Include performance data." }, { "name": "budget_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 Budget." }, { "info": { "name": "Update budget", "type": "http" }, "http": { "method": "PUT", "url": "https://api.vantage.sh/v2/budgets/:budget_token", "params": [ { "name": "budget_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": "Update a Budget." }, { "info": { "name": "Delete budget", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.vantage.sh/v2/budgets/:budget_token", "params": [ { "name": "budget_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 Budget." } ] } ], "bundled": true }