{ "opencollection": "1.0.0", "info": { "name": "Vantage AccessGrants KubernetesEfficiencyReports 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": "KubernetesEfficiencyReports", "type": "folder" }, "items": [ { "info": { "name": "Get all Kubernetes efficiency reports", "type": "http" }, "http": { "method": "GET", "url": "https://api.vantage.sh/v2/kubernetes_efficiency_reports", "params": [ { "name": "page", "value": "", "type": "query", "description": "The page of results to return." }, { "name": "limit", "value": "", "type": "query", "description": "The amount 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 KubernetesEfficiencyReports." }, { "info": { "name": "Create Kubernetes efficiency report", "type": "http" }, "http": { "method": "POST", "url": "https://api.vantage.sh/v2/kubernetes_efficiency_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 KubernetesEfficiencyReport." }, { "info": { "name": "Generate Kubernetes efficiency data export", "type": "http" }, "http": { "method": "POST", "url": "https://api.vantage.sh/v2/kubernetes_efficiency_reports/data_exports", "params": [ { "name": "groupings", "value": "", "type": "query", "description": "Group the results by specific field(s). Valid groupings: cluster_id, namespace, region, labeled, category, pod, label, label:." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://console.vantage.sh/account/profile", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Generate a DataExport of Kubernetes efficiency data." }, { "info": { "name": "Get Kubernetes efficiency report by token", "type": "http" }, "http": { "method": "GET", "url": "https://api.vantage.sh/v2/kubernetes_efficiency_reports/:kubernetes_efficiency_report_token", "params": [ { "name": "kubernetes_efficiency_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 KubernetesEfficiencyReport." }, { "info": { "name": "Update Kubernetes efficiency report", "type": "http" }, "http": { "method": "PUT", "url": "https://api.vantage.sh/v2/kubernetes_efficiency_reports/:kubernetes_efficiency_report_token", "params": [ { "name": "kubernetes_efficiency_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 KubernetesEfficiencyReport." }, { "info": { "name": "Delete Kubernetes efficiency report", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.vantage.sh/v2/kubernetes_efficiency_reports/:kubernetes_efficiency_report_token", "params": [ { "name": "kubernetes_efficiency_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 KubernetesEfficiencyReport." } ] } ], "bundled": true }