{ "opencollection": "1.0.0", "info": { "name": "Vantage AccessGrants ResourceReports 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": "ResourceReports", "type": "folder" }, "items": [ { "info": { "name": "Get resource report columns", "type": "http" }, "http": { "method": "GET", "url": "https://api.vantage.sh/v2/resource_reports/columns", "params": [ { "name": "resource_type", "value": "", "type": "query", "description": "VQL resource type name (https://docs.vantage.sh/vql_resource_report#costs-by-resource-type)" } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://console.vantage.sh/account/profile", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "List available columns for a resource type." }, { "info": { "name": "Get all resource reports", "type": "http" }, "http": { "method": "GET", "url": "https://api.vantage.sh/v2/resource_reports", "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 ResourceReports." }, { "info": { "name": "Create resource report", "type": "http" }, "http": { "method": "POST", "url": "https://api.vantage.sh/v2/resource_reports", "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 ResourceReport." }, { "info": { "name": "Get resource report by token", "type": "http" }, "http": { "method": "GET", "url": "https://api.vantage.sh/v2/resource_reports/:resource_report_token", "params": [ { "name": "resource_report_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 ResourceReport." }, { "info": { "name": "Update resource report", "type": "http" }, "http": { "method": "PUT", "url": "https://api.vantage.sh/v2/resource_reports/:resource_report_token", "params": [ { "name": "resource_report_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 ResourceReport." }, { "info": { "name": "Delete resource report", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.vantage.sh/v2/resource_reports/:resource_report_token", "params": [ { "name": "resource_report_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 ResourceReport." } ] } ], "bundled": true }