{"base_path":null,"components":null,"consumes":"[\"application/json\"]","definitions":{"App":{"description":"应用信息。","properties":{"app_extended_info":{"$ref":"#/definitions/AppExtendedInfo","description":"自定义应用业务扩展信息。"},"app_group_id":{"description":"应用组标识Id。","example":"1","readOnly":true,"type":"string"},"command_param":{"description":"启动命令行参数。","example":"","readOnly":true,"type":"string"},"description":{"description":"应用描述。","example":"Google浏览器","readOnly":true,"type":"string"},"execute_path":{"description":"执行路径。","example":"C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe","readOnly":true,"type":"string"},"icon_index":{"description":"应用图标的索引。","example":1,"readOnly":true,"type":"integer"},"icon_path":{"description":"应用图标的路径。","example":"C:\\Users\\zhangSan\\AppData\\Local\\Google\\Chrome.png","readOnly":true,"type":"string"},"icon_url":{"description":"图标url。","example":"https://workspace*****.obs.cn-north-**.myhuaweicloud.com/1.png","readOnly":true,"type":"string"},"id":{"description":"应用ID。","example":"1","readOnly":true,"type":"string"},"is_pre_boot":{"description":"是否开启应用预开,取值为:\n- false: 表示关闭应用预开。\n- true: 表示开启应用预开。","example":false,"readOnly":true,"type":"boolean"},"name":{"description":"应用名称。","example":"Chrome","readOnly":true,"type":"string"},"publish_at":{"description":"发布时间。","example":"2022-03-07T10:40:43.858Z","format":"date-time","readOnly":true,"type":"string"},"publishable":{"description":"是否可发布应用:\n- true: 可发布。\n- false: 不可发布。","example":false,"readOnly":true,"type":"boolean"},"publisher":{"description":"应用发布者。","example":"Google Chrome","readOnly":true,"type":"string"},"sandbox_enable":{"description":"是否使用沙箱模式运行,取值为:\n- false: 表示不以沙箱模式运行。\n- true: 表示以沙箱模式运行。","example":false,"readOnly":true,"type":"boolean"},"source_type":{"description":"应用类型:\n- '1':系统内置应用\n- '2':镜像应用\n- '3':自定义应用","example":2,"readOnly":true,"type":"integer"},"state":{"$ref":"#/definitions/AppStateEnum"},"tenant_id":{"description":"所在的租户ID。","example":"2b31ed520xxxxxxebedb6e57xxxxxxxx","readOnly":true,"type":"string"},"version":{"description":"应用版本号。","example":"99.0.4844.51","readOnly":true,"type":"string"},"work_path":{"description":"应用工作目录。","example":"C:\\Users\\zhangSan\\AppData\\Local\\Google\\Chrome","readOnly":true,"type":"string"}}},"AppExtendedInfo":{"description":"包含自定义应用业务扩展信息的对象","properties":{"extended_info":{"additionalProperties":{"type":"string"},"description":"扩展信息的键值对映射","type":"object"}},"type":"object"},"AppStateEnum":{"description":"应用状态:\n* `NORMAL` - 正常状态。\n* `FORBIDDEN` - 禁用状态。","enum":["NORMAL","FORBIDDEN"],"example":"NORMAL","pattern":"^(NORMAL|FORBIDDEN)?$","type":"string"},"BadRequestErrorResp":{"description":"API错误响应。","properties":{"error_code":{"description":"错误码,失败时返回。","example":"WKS.00211102","readOnly":true,"type":"string"},"error_msg":{"description":"错误描述。","example":"The parameter is invalid.","readOnly":true,"type":"string"}}},"ForbiddenErrorResp":{"description":"API错误响应。","properties":{"error_code":{"description":"错误码,失败时返回。","example":"WKS.00081102","readOnly":true,"type":"string"},"error_msg":{"description":"错误描述。","example":"User does not have permission to access this resource.","readOnly":true,"type":"string"}}},"InternalServerErrorResp":{"description":"API错误响应。","properties":{"error_code":{"description":"错误码,失败时返回。","example":"WKS.00211401","readOnly":true,"type":"string"},"error_msg":{"description":"错误描述。","example":"The requested operation failed. Please try again later.","readOnly":true,"type":"string"}}},"ListAppResp":{"allOf":[{"$ref":"#/definitions/PageResp"},{"properties":{"items":{"description":"查发布的应用列表。","items":{"$ref":"#/definitions/App"},"maxItems":100,"minItems":0,"type":"array"}},"type":"object"}],"description":"查询到的应用数据。"},"MethodNotAllowedErrorResp":{"description":"API错误响应。","properties":{"error_code":{"description":"错误码,失败时返回。","example":"WKS.00000405","readOnly":true,"type":"string"},"error_msg":{"description":"错误描述。","example":"The method specified in the request is not allowed for this resource.","readOnly":true,"type":"string"}}},"NotFoundErrorResp":{"description":"API错误响应。","properties":{"error_code":{"description":"错误码,失败时返回。","example":"WKS.00211902","readOnly":true,"type":"string"},"error_msg":{"description":"错误描述。","example":"The application does not exist","readOnly":true,"type":"string"}}},"PageResp":{"description":"API列表查询响应。\n\n**⚠ 警告: 此Model不生成java代码,允许其它Model中引用,请勿直接作为Model使用。**","properties":{"count":{"description":"总数。","example":0,"maximum":2147483647,"minimum":0,"type":"integer"}}},"ServiceUnavailableErrorResp":{"description":"API错误响应。","properties":{"error_code":{"description":"错误码,失败时返回。","example":"WKS.00050902","readOnly":true,"type":"string"},"error_msg":{"description":"错误描述。","example":"The service is now unavailable to process the request.","readOnly":true,"type":"string"}}},"UnauthorizedErrorResp":{"description":"API错误响应。","properties":{"error_code":{"description":"错误码,失败时返回。","example":"WKS.00211302","readOnly":true,"type":"string"},"error_msg":{"description":"错误描述。","example":"User authorization error.","readOnly":true,"type":"string"}}}},"description":null,"group_id":"fe7dbee2e20f4aa589be7dce935a38ad","host":"appstream.cn-north-4.myhuaweicloud.com","id":"78a3935f6e76424caac47a72ead14154","info_version":"v1","method":"get","name":"ListPublishedApp","parameters":{},"paths":{"/v1/{project_id}/app-groups/{app_group_id}/apps":{"get":{"description":"查询已发布的应用。","operationId":"ListPublishedApp","parameters":[{"description":"用户Token。\n通过调用IAM服务获取用户Token接口获取(响应消息头中X-Subject-Token的值)。","in":"header","maxLength":2147483647,"minLength":1,"name":"X-Auth-Token","required":false,"type":"string","x-example":"MIIDkgYJKoZIhvcNAQcCoIIDgzCCXXXXXX..."},{"description":"项目ID。","in":"path","maxLength":128,"minLength":1,"name":"project_id","required":true,"type":"string","x-example":"2b31ed520xxxxxxebedb6e57xxxxxxxx"},{"description":"应用组ID。","in":"path","maxLength":128,"minLength":1,"name":"app_group_id","required":true,"type":"string","x-example":"1"},{"default":10,"description":"单次查询的大小[1-100],默认值10。","in":"query","maximum":100,"minimum":1,"name":"limit","required":false,"type":"integer","x-example":"10"},{"default":0,"description":"查询的偏移量,默认值0。","in":"query","maximum":2147483647,"minimum":0,"name":"offset","required":false,"type":"integer","x-example":"0"},{"description":"应用名称。","in":"query","maxLength":1024,"minLength":0,"name":"name","required":false,"type":"string"},{"description":"应用状态:\n* `NORMAL` - 正常状态。\n* `FORBIDDEN` - 禁用状态。","in":"query","maxLength":16,"minLength":0,"name":"state","pattern":"^(NORMAL|FORBIDDEN)?$","required":false,"type":"string"},{"description":"应用ID。","in":"query","maxLength":128,"minLength":0,"name":"app_id","required":false,"type":"string","x-example":"1"}],"responses":{"200":{"description":"成功响应。","examples":{"application/json":{"count":1,"items":[{"app_group_id":"575772274859184144","command_param":"yQhK1urkWx0XR8ILGdSeFvqJYyMHURzP","description":"应用description256261241750805","execute_path":"C:\\Program Files (x86)\\Google应用\\appH7wqKcwpfk\\app0256aVegjU\\chrome.exe","icon_index":1499,"icon_path":"C:\\Users\\zhangSan\\AppData\\Local应用\\Google\\appAXwSgdKA1FyDkbejBs2f.jpg","icon_url":"","id":"575772278315290631","is_pre_boot":false,"name":"应用name2531691942","publish_at":"2023-06-06T14:13:58.914Z","publisher":"tPPgWwxy5T130lX","sandbox_enable":false,"source_type":2,"state":"NORMAL","tenant_id":"a4da8115c9d8464ead3a38309130523f","version":"V1.9202534394","work_path":"C:\\Users\\zhangssan\\AppData应用\\Local\\Google\\app5P521tF0RMkLrihaO0DR"}]}},"schema":{"$ref":"#/definitions/ListAppResp"}},"400":{"description":"由于包含语法错误,当前请求无法被服务器理解。","schema":{"$ref":"#/definitions/BadRequestErrorResp"}},"401":{"description":"鉴权失败。","schema":{"$ref":"#/definitions/UnauthorizedErrorResp"}},"403":{"description":"没有操作权限。","schema":{"$ref":"#/definitions/ForbiddenErrorResp"}},"404":{"description":"找不到资源。","schema":{"$ref":"#/definitions/NotFoundErrorResp"}},"405":{"description":"请求中指定的方法不被允许。","schema":{"$ref":"#/definitions/MethodNotAllowedErrorResp"}},"500":{"description":"服务内部错误,具体返回错误码请参见错误码说明。","schema":{"$ref":"#/definitions/InternalServerErrorResp"}},"503":{"description":"服务不可用。","schema":{"$ref":"#/definitions/ServiceUnavailableErrorResp"}}},"schemes":["https"],"security":[{"apig-auth-iam-used-authn5":[]}],"summary":"查询已发布应用","tags":["Application"],"x-api-type":"open-api","x-apiexplorer-hide":"N","x-apig-group":"internal,public","x-apigateway-backend":{"httpVpcEndpoints":{"description":"","method":"GET","name":"wks-appmanager-lb","path":"/v1/{project_id}/app-groups/{app_group_id}/apps","scheme":"https","timeout":30000},"parameters":[{"description":"","in":"header","name":"X-Auth-Token","origin":"request","value":"X-Auth-Token"},{"description":"","in":"path","name":"project_id","origin":"request","value":"project_id"},{"description":"","in":"path","name":"app_group_id","origin":"request","value":"app_group_id"},{"description":"","in":"query","name":"limit","origin":"request","value":"limit"},{"description":"","in":"query","name":"offset","origin":"request","value":"offset"},{"description":"","in":"query","name":"name","origin":"request","value":"name"},{"description":"","in":"query","name":"state","origin":"request","value":"state"},{"description":"","in":"query","name":"app_id","origin":"request","value":"app_id"}],"type":"HTTP-VPC"},"x-apigateway-cors":false,"x-apigateway-match-mode":"NORMAL","x-apigateway-ratelimit":"workspace_default_get","x-apigateway-request-type":"public","x-is-registered":"Y","x-order":2,"x-request-examples-url-1":"GET /v1/a4da8115c9d8464ead3a38309130523f/app-groups/575772274859184144/apps?limit=10&offset=0","x-support-hcs":"Y","x-support-sdk":"Y"}}},"product_short":"WorkspaceApp","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":{"apig-auth-app":{"in":"header","name":"Authorization","type":"apiKey","x-apigateway-auth-type":"AppSigv1"},"apig-auth-iam":{"in":"header","name":"unused","type":"apiKey","x-apigateway-auth-type":"IAM"},"apig-auth-iam-used-authn5":{"in":"header","name":"unused","type":"apiKey","x-apigateway-auth-opt":{"inner-auth-type":"iam_auth_n5"},"x-apigateway-auth-type":"IAM"}},"summary":"查询已发布应用","tags":"应用管理","uri":null,"version":"2.0"}