huawei-cloud-api-definitions-ROMA 0.1.20240626

Huawei Cloud API definitions, generated from OpenAPI spec
Documentation
1
{"base_path":"/","components":null,"consumes":"[\"application/json;charset=UTF-8\"]","definitions":{"AppFavorite":{"default":false,"description":"是否收藏应用,收藏的应用会在列表里优先显示","type":"boolean"},"AppId":{"description":"应用ID","example":"b2e6b145-4f3f-4a80-aa45-f4b8029f95a3","type":"string"},"AppKey":{"description":"应用认证访问KEY,未提供时随机生成\n- 字符集:支持中文、英文字母、数字、中划线、下划线、@号和点,以字母或中文或数字开头\n- 约束:实例下唯一","example":"TEI95R8RZ2pIf8UM","maxLength":200,"minLength":3,"type":"string"},"AppName":{"description":"应用名称\n- 字符集:支持中文、英文字母、数字、中划线、下划线、点、空格和中英文圆括号\n- 约束:实例下唯一","example":"AppName","maxLength":256,"minLength":1,"type":"string"},"AppRemark":{"description":"应用描述","example":"应用示例描述备注","maxLength":255,"minLength":0,"type":"string"},"AppUserRoles":{"description":"应用权限角色\n- read:应用下资源只读权限,至少要存在此权限,包括API调试\n- access:应用下资源的访问管理权限\n- delete:应用下资源的删除权限\n- modify:应用下资源的修改权限,包括API发布、下线\n- admin:应用和应用下资源的权限\n- 仅提供admin时,会自动应用其它所有权限\n- 未提供read时会自动应用read权限","example":["read","access","delete","modify","admin"],"items":{"enum":["read","access","delete","modify","admin"],"minItems":1,"required":["read"],"type":"string"},"type":"array"},"ErrorResp":{"example":{"error_code":"ROMA.00000101","error_details":"some error details here","error_msg":"error summary","request_id":"13760c1fe8655e61209b75665e9bef43"},"properties":{"error_code":{"description":"错误码","maxLength":128,"minLength":1,"type":"string"},"error_details":{"description":"具体错误消息","maxLength":128,"minLength":1,"type":"string"},"error_msg":{"description":"错误消息","maxLength":128,"minLength":1,"type":"string"},"request_id":{"description":"请求处理ID","maxLength":128,"minLength":1,"type":"string"}},"type":"object"},"ServerAppInfo":{"properties":{"create_time":{"description":"创建UTC时间","example":"2019-12-06T06:49:04Z","format":"dateTime","maximum":128,"minimum":1,"type":"string"},"created_user":{"description":"创建用户信息","properties":{"user_id":{"description":"创建应用的用户ID","type":"string"},"user_name":{"description":"创建应用的用户名称","type":"string"}},"type":"object"},"favorite":{"$ref":"#/definitions/AppFavorite"},"id":{"$ref":"#/definitions/AppId"},"key":{"$ref":"#/definitions/AppKey"},"last_updated_user":{"description":"最后更新用户信息","properties":{"user_id":{"description":"最后修改者的用户ID","type":"string"},"user_name":{"description":"最后修改者的用户名","type":"string"}},"type":"object"},"name":{"$ref":"#/definitions/AppName"},"owner":{"description":"是否是应用拥有者","type":"boolean"},"remark":{"$ref":"#/definitions/AppRemark"},"roles":{"$ref":"#/definitions/AppUserRoles"},"update_time":{"description":"创建UTC时间","example":"2019-12-06T06:49:04Z","format":"dateTime","maximum":128,"minimum":1,"type":"string"}},"type":"object"}},"description":null,"group_id":"025d125ee4da4956af037c3315e94b30","host":"roma.cn-north-4.myhuaweicloud.com","id":"33f096cdb9dd4d7b81046d9fca321fab","info_version":"v2","method":"get","name":"CheckRomaAppDetails","parameters":{},"paths":{"/v2/{project_id}/instances/{instance_id}/apps/{app_id}":{"get":{"description":"查询应用详情","operationId":"CheckRomaAppDetails","parameters":[{"description":"用户Token。通过调用IAM服务获取用户Token接口获取(响应消息头中X-Subject-Token的值)","in":"header","maxLength":100000,"minLength":1,"name":"X-Auth-Token","required":true,"type":"string","x-example":"MIIDkgYJKoZIhvcNAQcCoIIDgzCCXXXXXX..."},{"description":"应用ID","in":"path","maxLength":64,"minLength":0,"name":"app_id","required":true,"type":"string"},{"description":"实例ID","in":"path","maxLength":64,"minLength":0,"name":"instance_id","required":true,"type":"string"},{"description":"项目ID","in":"path","maxLength":64,"minLength":0,"name":"project_id","required":true,"type":"string"}],"responses":{"200":{"description":"OK","examples":{"application/json":{"create_time":"2019-12-06T06:49:04.000Z","created_user":{"user_id":"string","user_name":"string"},"favorite":true,"id":"b2e6b145-4f3f-4a80-aa45-f4b8029f95a3","key":"TEI95R8RZ2pIf8UM","last_updated_user":{"user_id":"string","user_name":"string"},"name":"AppName","owner":true,"remark":"应用示例描述备注","roles":["read, access, delete, modify, admin"],"update_time":"2019-12-06T06:49:04.000Z"}},"schema":{"$ref":"#/definitions/ServerAppInfo"}},"403":{"description":"Forbidden","examples":{"application/json":{"error_code":"ROMA.00000101","error_details":"some error details here","error_msg":"error summary","request_id":"13760c1fe8655e61209b75665e9bef43"}},"schema":{"$ref":"#/definitions/ErrorResp"}}},"security":[{"apig-auth-iam":[]}],"summary":"查询应用详情","tags":["APPLICATION_MANAGEMENT"],"x-apigateway-backend":{"httpEndpoints":{"address":"#roma-address#","description":"","method":"GET","path":"/v2/{project_id}/instances/{instance_id}/apps/{app_id}","scheme":"https","timeout":30000},"parameters":[{"description":"","in":"PATH","name":"app_id","origin":"REQUEST","value":"app_id"},{"description":"","in":"PATH","name":"instance_id","origin":"REQUEST","value":"instance_id"},{"description":"","in":"PATH","name":"project_id","origin":"REQUEST","value":"project_id"}],"type":"HTTP"},"x-apigateway-cors":false,"x-apigateway-match-mode":"NORMAL","x-apigateway-request-type":"public","x-is-registered":"Y","x-support-sdk":"Y"}}},"product_short":"ROMA","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"查询应用详情","tags":"APPLICATION_MANAGEMENT","uri":null,"version":"2.0"}