{"base_path":"/","components":null,"consumes":"","definitions":{"CICategoryDef":{"description":"资源分类定义","properties":{"displayName":{"$ref":"#/definitions/I18nObj","description":"显示名称,同一个父分类下的displayName要唯一,支持中文、字母、数字、下划线、中划线、空格,最大长度500。"},"id":{"description":"资源分类ID,创建时不需要","format":"int32","type":"integer"},"key":{"description":"key,category的唯一标识,最大长度200","type":"string"},"parentKey":{"description":"父级category的Key,最大长度200","type":"string"},"preset":{"description":"是否为预置分组,创建时不需要","type":"boolean"}},"required":["key","parentKey","displayName"]},"I18nObj":{"description":"国际化对象","properties":{"en_US":{"description":"英文信息","type":"string"},"zh_CN":{"description":"中文信息","type":"string"}},"required":["en_US","zh_CN"]}},"description":null,"group_id":"a58bba086da947389167b8c3715f7155","host":"hcs.cn-north-4.myhuaweicloud.com","id":"0c44b8e955204e17bac9d464ada848dc","info_version":"v1","method":"get","name":"ListCICategory","parameters":{},"paths":{"/rest/cmdb/v1/categories":{"get":{"consumes":["application/json"],"description":"查询所有资源分类\n\n**接口SLA:**\n\n|SLA项|定义|\n|-----|-----|\n|请求成功率| ≥ 99.9%|\n|可用性|Tier1|\n|数据一致性|最终一致,不一致时长<1分钟|\n|吞吐量|10 tps|\n|TP50请求时延|2000 ms|\n|TP99.9请求时延|3000 ms|","operationId":"ListCICategory","parameters":[{"description":"IAM_OP token、SSO token。","in":"header","name":"x-auth-token","required":true,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"查询所有资源分类成功","examples":{"application/json":[{"displayName":{"en_US":"Physical Device","zh_CN":"物理设备"},"id":"1","key":"PhysicalDevice","parentId":-1,"preset":0}]},"schema":{"items":{"$ref":"#/definitions/CICategoryDef"},"type":"array"}},"400":{"description":"参数错误。"},"403":{"description":"URL鉴权失败。"},"404":{"description":"rest接口未找到。"},"500":{"description":"默认ServiceException异常码,应用内部错误。"},"502":{"description":"网关错误。"},"503":{"description":"服务不可用。"},"504":{"description":"表示时间超时,总线超时时间300s。"},"888":{"description":"服务摘机,不提供服务。"}},"summary":"查询所有资源分类","tags":["资源管理"],"x-precautions":"使用前请参考《资源北向模型》,获取系统支持的资源类型、关系类型、资源分类及属性列表。调用该接口需要“查询模型”权限,归属权限组:运维中心>模型管理。\n错误码:当请求不成功时,响应体内的错误码信息请参见“ManageOne 运维面API参考 > 错误码说明 > 资源管理特性”章节。\n","x-request-examples-1":"","x-request-examples-description-1":"","x-request-examples-url-1":"GET https://{endpoint}/rest/cmdb/v1/categories","x-support-sdk":"N"}}},"product_short":"ManageOneOCHCS","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"查询所有资源分类","tags":"资源管理","uri":null,"version":"2.0"}