{ "swagger": "2.0", "info": { "title": "CNB OPENAPI", "contact": { "name": "Open API Support", "url": "https://docs.cnb.cool/", "email": "cnb@tencent.com" }, "version": "1.0" }, "paths": { "/{slug}/-/charge/special-amount": { "get": { "security": [ { "BearerAuth": [] } ], "description": "查看根组织的特权额度,需要根组织的 master 以上权限才可以查看\n访问令牌调用此接口需包含以下权限。Required permissions for access token. \ngroup-resource:r", "tags": [ "Charge" ], "summary": "查看特权额度", "operationId": "GetSpecialAmount", "parameters": [ { "type": "string", "description": "group slug", "name": "slug", "in": "path", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/dto.SpecialAmount" } } } } } }, "definitions": { "dto.SpecialAmount": { "type": "object", "properties": { "compute_build_corehour": { "description": "云原生构建cpu核时", "type": "integer" }, "compute_build_desc": { "type": "string" }, "compute_build_expire": { "description": "过期时间时为 null 时永久有效", "type": "string" }, "compute_build_gpu_corehour": { "description": "云原生构建gpu核时", "type": "integer" }, "compute_build_gpu_desc": { "type": "string" }, "compute_build_gpu_expire": { "description": "过期时间时为 null 时永久有效", "type": "string" }, "compute_develop_corehour": { "description": "云原生开发cpu核时", "type": "integer" }, "compute_develop_desc": { "type": "string" }, "compute_develop_expire": { "description": "过期时间时为 null 时永久有效", "type": "string" }, "compute_develop_gpu_corehour": { "description": "云原生开发gpu核时", "type": "integer" }, "compute_develop_gpu_desc": { "type": "string" }, "compute_develop_gpu_expire": { "description": "过期时间时为 null 时永久有效", "type": "string" }, "storage_git_desc": { "type": "string" }, "storage_git_expire": { "description": "过期时间时为 null 时永久有效", "type": "string" }, "storage_git_gib": { "description": "git存储空间", "type": "integer" }, "storage_object_desc": { "type": "string" }, "storage_object_expire": { "description": "过期时间时为 null 时永久有效", "type": "string" }, "storage_object_gib": { "description": "对象存储空间", "type": "integer" } } } } }