{ "opencollection": "1.0.0", "info": { "name": "Vantage AccessGrants Integrations 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": "Integrations", "type": "folder" }, "items": [ { "info": { "name": "Get all integrations", "type": "http" }, "http": { "method": "GET", "url": "https://api.vantage.sh/v2/integrations", "params": [ { "name": "provider", "value": "", "type": "query", "description": "Query by provider name to list all Integrations for a specific provider." }, { "name": "account_identifier", "value": "", "type": "query", "description": "Query by account identifier to list all Integrations that match a specific account. For Azure, this is the subscription ID. Must include provider when using this parameter." }, { "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 Integrations." }, { "info": { "name": "Get integration by token", "type": "http" }, "http": { "method": "GET", "url": "https://api.vantage.sh/v2/integrations/:integration_token", "params": [ { "name": "integration_token", "value": "", "type": "path" } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://console.vantage.sh/account/profile", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Return an Integration." }, { "info": { "name": "Update integration", "type": "http" }, "http": { "method": "PUT", "url": "https://api.vantage.sh/v2/integrations/:integration_token", "params": [ { "name": "integration_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 an Integration." }, { "info": { "name": "Delete integration", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.vantage.sh/v2/integrations/:integration_token", "params": [ { "name": "integration_token", "value": "", "type": "path" } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://console.vantage.sh/account/profile", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Delete an Integration." }, { "info": { "name": "Create custom provider integration", "type": "http" }, "http": { "method": "POST", "url": "https://api.vantage.sh/v2/integrations/custom_provider", "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 Custom Provider Integration" }, { "info": { "name": "Upload custom provider costs", "type": "http" }, "http": { "method": "POST", "url": "https://api.vantage.sh/v2/integrations/:integration_token/costs.csv", "params": [ { "name": "integration_token", "value": "", "type": "path" } ], "body": { "type": "form-urlencoded", "data": [ { "name": "csv", "value": "" }, { "name": "auto_transform", "value": "" } ] }, "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://console.vantage.sh/account/profile", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Create UserCostsUpload via CSV for a Custom Provider Integration." }, { "info": { "name": "Delete user costs upload", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.vantage.sh/v2/integrations/:integration_token/costs/:user_costs_upload_token", "params": [ { "name": "integration_token", "value": "", "type": "path" }, { "name": "user_costs_upload_token", "value": "", "type": "path", "description": "Token of the UserCostsUpload to delete." } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://console.vantage.sh/account/profile", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Delete a UserCostsUpload." }, { "info": { "name": "Get all user costs uploads", "type": "http" }, "http": { "method": "GET", "url": "https://api.vantage.sh/v2/integrations/:integration_token/costs", "params": [ { "name": "integration_token", "value": "", "type": "path" } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://console.vantage.sh/account/profile", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "List UserCostUploads." }, { "info": { "name": "Create GCP integration", "type": "http" }, "http": { "method": "POST", "url": "https://api.vantage.sh/v2/integrations/gcp", "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 GCP Integration" }, { "info": { "name": "Create Azure integration", "type": "http" }, "http": { "method": "POST", "url": "https://api.vantage.sh/v2/integrations/azure", "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://console.vantage.sh/account/profile", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Create an Azure Integration" } ] } ], "bundled": true }