{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://zieapi.vercel.app"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/cloud:aliyun-appstream-center/get-connection-ticket":{"post":{"operationId":"cloud_aliyun_appstream_center_get_connection_ticket","summary":"Retrieves connection credentials for a cloud application","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["ProductType"],"properties":{"endpoint":{"type":"string","enum":["https://appstream-center.ap-southeast-1.aliyuncs.com","https://appstream-center.cn-shanghai.aliyuncs.com"],"default":"https://appstream-center.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://appstream-center.ap-southeast-1.aliyuncs.com"},"ProductType":{"type":"string","description":"The product type"},"BizRegionId":{"type":"string","description":"The region ID. If this parameter is specified, application instances are allocated only from delivery groups in the specified region"},"LoginToken":{"type":"string","description":"The logon token. Obtained by calling the `GetLoginToken` or `GetStsToken` operation"},"EndUserId":{"type":"string","description":"The convenience account username"},"SessionId":{"type":"string","description":"The logon session ID. Obtained by calling the `GetLoginToken` or `GetStsToken` operation. Used together with `LoginToken`"},"LoginRegionId":{"type":"string","description":"The logon region ID. The region ID of the workspace when the user logs on using a workspace"},"Uuid":{"type":"string","description":"The unique identifier of the logon device"},"ClientId":{"type":"string","description":"The client ID"},"ClientType":{"type":"string","description":"The client type"},"ClientOS":{"type":"string","description":"The client operating system"},"ClientVersion":{"type":"string","description":"The client version"},"ClientIp":{"type":"string","description":"The client IP address"},"TaskId":{"type":"string","description":"The task ID. Required for non-initial invocations. Use this parameter to query the task status and connection credentials"},"AppInstanceGroupId":{"type":"string","description":"The delivery group ID. If this parameter is specified, application instances are allocated only from the specified authorized delivery…"},"AppInstanceId":{"type":"string","description":"The application instance ID. If this parameter is specified, only the specified application instance is allocated. If this parameter is…"},"AppId":{"type":"string","description":"The application ID. Required for the initial call. Optional for subsequent calls"},"AppVersion":{"type":"string","description":"The application version number"},"Param":{"type":"string","description":"The application startup parameters"},"TenantId":{"type":"string","description":"The tenant ID, which is the Alibaba Cloud account ID"},"ResourceId":{"type":"string","description":"The resource ID. When connecting to a cloud phone, pass the persistent session ID of the cloud phone instance. When connecting to a cloud…"},"ConnectionProperties":{"type":"string","description":"The connection properties in JSON format. The following parameters are supported: authMode: the authorization mode, determined by the…"},"EnvironmentConfig":{"type":"string","description":"The environment configuration"},"AutoConnectInQueue":{"type":"string","description":"Specifies whether to automatically connect after reaching the front of the queue. This parameter is not yet available"},"AccessType":{"type":"string","enum":["INTERNET","VPC"],"description":"The access type. If not specified, both types are displayed. Valid values: Internet: INTERNET Express Connect: VPC"},"AppPolicyId":{"type":"string","description":"The policy ID"},"RequireUuidValidation":{"type":"string","description":"Specifies whether UUID validation is required"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-appstream-center/list-published-app-info":{"post":{"operationId":"cloud_aliyun_appstream_center_list_published_app_info","summary":"Retrieves a list of published application information","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://appstream-center.ap-southeast-1.aliyuncs.com","https://appstream-center.cn-shanghai.aliyuncs.com"],"default":"https://appstream-center.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://appstream-center.ap-southeast-1.aliyuncs.com"},"ClientId":{"type":"string","description":"The unique ID generated by the client"},"LoginToken":{"type":"string","description":"The logon credential. Obtained by calling the GetLoginToken operation to log on, or by calling the RefreshLoginToken operation after…"},"EndUserId":{"type":"string","description":"The username of the convenience account"},"SessionId":{"type":"string","description":"The session ID. Obtained by calling the GetLoginToken operation. Response parameter: SessionId"},"ClientOS":{"type":"string","description":"The operating system of the client"},"ClientVersion":{"type":"string","description":"The client version"},"ClientIp":{"type":"string","description":"The IP address of the client"},"ProductType":{"type":"string","description":"The product type. The value can only be `CloudApp`, which indicates WUYING CloudApp"},"BizRegionId":{"type":"string","description":"The region ID of the delivery group. For more information about supported regions, see Limits…"},"LoginRegionId":{"type":"string","description":"The region ID of appstream-center"},"CategoryType":{"type":"integer","description":"The primary category of the application. Valid values: 0: cloud application 1: cloud game"},"CategoryId":{"type":"integer","description":"The secondary category of the application. Valid values: 1: all applications 2: design software 3: programming and development 4: office…"},"AppName":{"type":"string","description":"The application name. Used for fuzzy match based on the application name"},"OrderParam":{"type":"string","description":"The sort field. By default, applications are sorted by application name"},"SortType":{"type":"string","description":"The sort order. By default, applications are sorted in descending order"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-appstream-center/list-running-apps":{"post":{"operationId":"cloud_aliyun_appstream_center_list_running_apps","summary":"Queries running applications","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://appstream-center.ap-southeast-1.aliyuncs.com","https://appstream-center.cn-shanghai.aliyuncs.com"],"default":"https://appstream-center.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://appstream-center.ap-southeast-1.aliyuncs.com"},"ClientId":{"type":"string","description":"The unique ID generated by the client"},"LoginToken":{"type":"string","description":"The logon credential. You can obtain this value by calling the GetLoginToken operation to log on, or by calling the RefreshLoginToken…"},"EndUserId":{"type":"string","description":"The username of the convenience account"},"SessionId":{"type":"string","description":"The session ID. You can obtain this value by calling the GetLoginToken operation. Response parameter: SessionId"},"ClientOS":{"type":"string","description":"The operating system of the client"},"ClientVersion":{"type":"string","description":"The client version"},"ClientIp":{"type":"string","description":"The client IP address"},"ProductType":{"type":"string","description":"The product type. The value can only be `CloudApp`, which indicates WUYING Cloud Application"},"BizRegionId":{"type":"string","description":"The region ID of the delivery group"},"TenantId":{"type":"string","description":"The tenant ID. You can obtain this value by calling the GetLoginToken operation. Response parameter: TenantId"},"LoginRegionId":{"type":"string","description":"The region ID used for logon"},"Uuid":{"type":"string","description":"The UUID of the device used for logon"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-appstream-center/reset-app-resources":{"post":{"operationId":"cloud_aliyun_appstream_center_reset_app_resources","summary":"Resets application resources","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["LoginToken","SessionId","ClientId","ProductType","AppInstanceGroupId","ResourceIds"],"properties":{"endpoint":{"type":"string","enum":["https://appstream-center.ap-southeast-1.aliyuncs.com","https://appstream-center.cn-shanghai.aliyuncs.com"],"default":"https://appstream-center.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://appstream-center.ap-southeast-1.aliyuncs.com"},"BizRegionId":{"type":"string","description":"ID of the business region"},"LoginToken":{"type":"string","description":"Login token"},"EndUserId":{"type":"string","description":"Username"},"SessionId":{"type":"string","description":"Session ID"},"LoginRegionId":{"type":"string","description":"Region ID used when logging in from the corporate network"},"Uuid":{"type":"string","description":"Client UUID"},"ClientId":{"type":"string","description":"Client ID"},"ClientOS":{"type":"string","description":"Client operating system"},"ClientVersion":{"type":"string","description":"Client version"},"ClientIp":{"type":"string","description":"Client IP address"},"ProductType":{"type":"string","description":"Product type"},"AppInstanceGroupId":{"type":"string","description":"Resource group ID"},"ResourceIds":{"type":"string","description":"List of resource IDs (JSON-encoded)"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-appstream-center/restart-app-resources":{"post":{"operationId":"cloud_aliyun_appstream_center_restart_app_resources","summary":"Restart application resources","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["LoginToken","SessionId","ClientId","ProductType","AppInstanceGroupId","ResourceIds"],"properties":{"endpoint":{"type":"string","enum":["https://appstream-center.ap-southeast-1.aliyuncs.com","https://appstream-center.cn-shanghai.aliyuncs.com"],"default":"https://appstream-center.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://appstream-center.ap-southeast-1.aliyuncs.com"},"BizRegionId":{"type":"string","description":"Business region ID"},"LoginToken":{"type":"string","description":"Login token"},"EndUserId":{"type":"string","description":"Username"},"SessionId":{"type":"string","description":"Session ID"},"LoginRegionId":{"type":"string","description":"Region ID when logging on to the office network"},"Uuid":{"type":"string","description":"Client UUID"},"ClientId":{"type":"string","description":"Client ID"},"ClientOS":{"type":"string","description":"Client operating system"},"ClientVersion":{"type":"string","description":"Client version"},"ClientIp":{"type":"string","description":"Client IP"},"ProductType":{"type":"string","description":"Product type"},"AppInstanceGroupId":{"type":"string","description":"Resource group ID"},"ResourceIds":{"type":"string","description":"Resource ID list (JSON-encoded)"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-appstream-center/start-app-resources":{"post":{"operationId":"cloud_aliyun_appstream_center_start_app_resources","summary":"Start application resources","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["LoginToken","SessionId","ClientId","ProductType","AppInstanceGroupId","ResourceIds"],"properties":{"endpoint":{"type":"string","enum":["https://appstream-center.ap-southeast-1.aliyuncs.com","https://appstream-center.cn-shanghai.aliyuncs.com"],"default":"https://appstream-center.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://appstream-center.ap-southeast-1.aliyuncs.com"},"BizRegionId":{"type":"string","description":"Business region ID"},"LoginToken":{"type":"string","description":"Login token"},"EndUserId":{"type":"string","description":"Username"},"SessionId":{"type":"string","description":"Session ID"},"LoginRegionId":{"type":"string","description":"The region ID when logging on to the office network"},"Uuid":{"type":"string","description":"Client UUID"},"ClientId":{"type":"string","description":"Client ID"},"ClientOS":{"type":"string","description":"Client operating system"},"ClientVersion":{"type":"string","description":"Client version"},"ClientIp":{"type":"string","description":"Client IP"},"ProductType":{"type":"string","description":"Product type"},"AppInstanceGroupId":{"type":"string","description":"Resource group ID"},"ResourceIds":{"type":"string","description":"Resource ID list (JSON-encoded)"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-appstream-center/stop-app":{"post":{"operationId":"cloud_aliyun_appstream_center_stop_app","summary":"Stops a specified application","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://appstream-center.ap-southeast-1.aliyuncs.com","https://appstream-center.cn-shanghai.aliyuncs.com"],"default":"https://appstream-center.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://appstream-center.ap-southeast-1.aliyuncs.com"},"AppInstanceGroupId":{"type":"string","description":"The delivery group ID. Obtain this value by calling the ListRunningApps operation. Parameter: AppInstanceGroupId. This parameter is…"},"AppInstanceId":{"type":"string","description":"The instance ID. Obtain this value by calling the ListRunningApps operation. Parameter: AppInstanceId"},"AppId":{"type":"string","description":"The application ID. Obtain this value by calling the ListRunningApps operation. Parameter: AppId"},"ProductType":{"type":"string","description":"The product type. The only valid value is `CloudApp`, which indicates WUYING Cloud Application. This parameter is required. If this…"},"ForceStop":{"type":"string","description":"Specifies whether to force stop the application"},"ApiType":{"type":"string","description":"The API type. The only valid value is AnonymousUserAPI, which indicates that the operation is called from a client"},"ClientId":{"type":"string","description":"The unique ID generated by the client"},"LoginToken":{"type":"string","description":"The logon token. Obtain this value by calling the GetLoginToken operation to log on, or by calling the RefreshLoginToken operation after…"},"EndUserId":{"type":"string","description":"The convenience account username"},"SessionId":{"type":"string","description":"The session ID. Obtain this value by calling the GetLoginToken operation. Response parameter: SessionId. This parameter is required. If…"},"ClientOS":{"type":"string","description":"The client operating system"},"ClientVersion":{"type":"string","description":"The client version"},"ClientIp":{"type":"string","description":"The client IP address"},"BizRegionId":{"type":"string","description":"The region ID of the delivery group. Obtain this value by calling the ListRunningApps operation. Parameter: RegionId"},"LoginRegionId":{"type":"string","description":"The region ID used for logon. The region ID of the workspace selected by the user during logon"},"ClientChannel":{"type":"string","description":"The app client identifier, which is used to distinguish between different applications"},"Uuid":{"type":"string","description":"The device UUID"},"WyId":{"type":"string","description":"The WUYING user ID. Obtain this value by calling the GetLoginToken operation. Response parameter: WyId"},"IdpId":{"type":"string","description":"The logon authentication service ID. Obtain this value by calling the FindIdpListByLoginName operation"},"AliUid":{"type":"integer","description":"The tenant ID. Obtain this value by calling the GetLoginToken operation. Response parameter: TenantId"},"RegionId":{"type":"string","description":"The region ID of the delivery group. Obtain this value by calling the ListRunningApps operation. Parameter: RegionId"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-appstream-center/stop-app-resources":{"post":{"operationId":"cloud_aliyun_appstream_center_stop_app_resources","summary":"Closes application resources","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["LoginToken","SessionId","ClientId","ProductType","AppInstanceGroupId","ResourceIds"],"properties":{"endpoint":{"type":"string","enum":["https://appstream-center.ap-southeast-1.aliyuncs.com","https://appstream-center.cn-shanghai.aliyuncs.com"],"default":"https://appstream-center.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://appstream-center.ap-southeast-1.aliyuncs.com"},"BizRegionId":{"type":"string","description":"The business region ID"},"LoginToken":{"type":"string","description":"The logon token"},"EndUserId":{"type":"string","description":"The username"},"SessionId":{"type":"string","description":"The session ID"},"LoginRegionId":{"type":"string","description":"The region ID used when logging on to the office network"},"Uuid":{"type":"string","description":"The client UUID"},"ClientId":{"type":"string","description":"The client ID"},"ClientOS":{"type":"string","description":"The client operating system"},"ClientVersion":{"type":"string","description":"The client version"},"ClientIp":{"type":"string","description":"The client IP address"},"ProductType":{"type":"string","description":"The product type"},"AppInstanceGroupId":{"type":"string","description":"The resource group ID"},"ResourceIds":{"type":"string","description":"The list of resource IDs (JSON-encoded)"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-appstream-center/unbind":{"post":{"operationId":"cloud_aliyun_appstream_center_unbind","summary":"Unbinds an application instance from a user","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["ProductType","AppInstanceGroupId","LoginToken","SessionId"],"properties":{"endpoint":{"type":"string","enum":["https://appstream-center.ap-southeast-1.aliyuncs.com","https://appstream-center.cn-shanghai.aliyuncs.com"],"default":"https://appstream-center.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://appstream-center.ap-southeast-1.aliyuncs.com"},"ProductType":{"type":"string","description":"The product type. The value must be `CloudApp`, which indicates a cloud application product"},"AppInstanceGroupId":{"type":"string","description":"The ID of the application instance group"},"AppInstanceId":{"type":"string","description":"The ID of the application instance"},"AppId":{"type":"string","description":"The ID of the application. Obtain this ID by calling the ListPublishedAppInfo operation"},"EndUserId":{"type":"string","description":"The username of the convenience account"},"ClientOS":{"type":"string","description":"The operating system of the client"},"ClientId":{"type":"string","description":"The unique ID that is generated by the client"},"ClientVersion":{"type":"string","description":"The version number of the client"},"ClientIp":{"type":"string","description":"The IP address of the client"},"LoginToken":{"type":"string","description":"The logon token. Obtain this token by calling the GetLoginToken operation. You can also refresh the token by calling the RefreshLoginToken…"},"SessionId":{"type":"string","description":"The session ID. Obtain this ID by calling the GetLoginToken operation. The ID is the value of the returned \\`SessionId\\` parameter"},"TenantId":{"type":"integer","description":"The tenant ID. Obtain this ID by calling the GetLoginToken operation. The ID is the value of the returned \\`TenantId\\` parameter"},"LoginRegionId":{"type":"string","description":"The region ID of AppStream Center"},"AppInstancePersistentId":{"type":"string","description":"The ID of the persistent session"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-appstream-center/version":{"post":{"operationId":"cloud_aliyun_appstream_center_version","summary":"version","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://appstream-center.ap-southeast-1.aliyuncs.com","https://appstream-center.cn-shanghai.aliyuncs.com"],"default":"https://appstream-center.ap-southeast-1.aliyuncs.com","description":"Regional endpoint, for example https://appstream-center.ap-southeast-1.aliyuncs.com"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"RunEnvelope":{"type":"object","required":["project","data","timestamp"],"properties":{"project":{"type":"string","example":"dev-tools:hash"},"data":{},"timestamp":{"type":"string","format":"date-time"}}},"ErrorEnvelope":{"type":"object","properties":{"content":{},"message":{"type":"string"},"errors":{"type":"array","items":{}},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}},"responses":{"Error":{"description":"Invalid key, plan gate, rate limit or upstream failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}}