{"base_path":null,"components":null,"consumes":"[\"application/json\"]","definitions":{"App":{"description":"应用信息。","properties":{"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"},"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"}}},"AppStateEnum":{"description":"应用状态:\n* `NORMAL` - 正常状态。\n* `FORBIDDEN` - 禁用状态。","enum":["NORMAL","FORBIDDEN"],"example":"NORMAL","pattern":"^(NORMAL|FORBIDDEN)?$","type":"string"},"BaseResp":{"description":"API响应基类。","properties":{"error_code":{"description":"错误码,失败时返回。","example":"WKS.00149901","maxLength":16,"minLength":1,"type":"string"},"error_msg":{"description":"错误描述。","example":"The request message is invalid.","maxLength":255,"minLength":1,"type":"string"}}},"ListPublishableAppResp":{"allOf":[{"$ref":"#/definitions/PageResp"},{"properties":{"group_images":{"description":"组下面的镜像ID列表。","items":{"readOnly":true,"type":"string"},"readOnly":true,"type":"array"},"items":{"description":"查询到的应用列表。","items":{"$ref":"#/definitions/PublishableApp"},"readOnly":true,"type":"array"}},"type":"object"}],"description":"查询到的应用数据。"},"PageResp":{"description":"API列表查询响应\n\n**⚠ 警告: 此Model不生成java代码,允许其它Model中引用,请勿直接作为Model使用**","properties":{"count":{"description":"总数","example":0,"maximum":2147483647,"minimum":0,"type":"integer"}}},"PublishableApp":{"allOf":[{"$ref":"#/definitions/App"},{"properties":{"source_image_ids":{"description":"镜像ids。","example":["saccsx-xxsfda-1cxx-xxsxx"],"items":{"readOnly":true,"type":"string"},"readOnly":true,"type":"array"}},"type":"object"}],"description":"可发布应用。"}},"description":null,"group_id":"fe7dbee2e20f4aa589be7dce935a38ad","host":"appstream.cn-north-4.myhuaweicloud.com","id":"44272ab1279446d8b899a68b613bde97","info_version":"v1","method":"get","name":"ShowPublishableApp","parameters":{},"paths":{"/v1/{project_id}/app-groups/{app_group_id}/publishable-app":{"get":{"description":"查询应用组下可发布的应用。","operationId":"ShowPublishableApp","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"}],"responses":{"200":{"description":"成功响应。","examples":{"application/json":{"count":1,"group_images":["ad38efc4-113d-4ddc-bdbe-679fa50f0a58"],"items":[{"command_param":"","description":"","execute_path":"C:\\Program Files (x86)\\Internet Explorer\\iexplore.exe","icon_index":0,"icon_path":"C:\\Program Files (x86)\\Internet Explorer\\iexplore.exe","name":"Internet Explorer (x86)","publishable":true,"publisher":"Microsoft Corporation","source_image_ids":["ad38efc4-113d-4ddc-bdbe-679fa50f0a58"],"version":"11.0.14393.0","work_path":""}]}},"schema":{"$ref":"#/definitions/ListPublishableAppResp"}},"400":{"description":"由于包含语法错误,当前请求无法被服务器理解。","schema":{"$ref":"#/definitions/BaseResp"}},"401":{"description":"鉴权失败。","schema":{"$ref":"#/definitions/BaseResp"}},"403":{"description":"没有操作权限。","schema":{"$ref":"#/definitions/BaseResp"}},"404":{"description":"找不到资源。","schema":{"$ref":"#/definitions/BaseResp"}},"405":{"description":"请求中指定的方法不被允许。","schema":{"$ref":"#/definitions/BaseResp"}},"500":{"description":"服务内部错误,具体返回错误码请参见错误码说明。","schema":{"$ref":"#/definitions/BaseResp"}},"503":{"description":"服务不可用。","schema":{"$ref":"#/definitions/BaseResp"}}},"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}/publishable-app","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"}],"type":"HTTP-VPC"},"x-apigateway-cors":false,"x-apigateway-match-mode":"NORMAL","x-apigateway-ratelimit":"workspace_base_get","x-apigateway-request-type":"public","x-is-registered":"Y","x-request-examples-url-1":"GET /v1/a4da8115c9d8464ead3a38309130523f/app-groups/575772274859184144/publishable-app?app_group_id=575772274859184145","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"}