{"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-wyota/create-user-invitation-code":{"post":{"operationId":"cloud_aliyun_wyota_create_user_invitation_code","summary":"Creates dedicated terminal management invitation codes for one or more users under the current Alibaba Cloud…","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["TerminalGroupId","ValidityMinutes"],"properties":{"EndUserId":{"type":"string","description":"The logon identifier (EndUserId) of a single user, used for compatibility with single-user creation. You must specify either this…"},"EndUserIds":{"type":"string","description":"The array of user logon identifiers (EndUserIds). You must specify either this parameter or EndUserId. You can specify 1 to 100 unique,…"},"TerminalGroupId":{"type":"string","description":"The ID of the terminal group. The group must belong to the current account and must not be deleted. After the corresponding terminal uses…"},"ValidityMinutes":{"type":"integer","description":"The validity period of the management code, in minutes. A value of -1 indicates that the code is permanently valid. For values between 60…"}}}}}},"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-wyota/delete-clients":{"post":{"operationId":"cloud_aliyun_wyota_delete_clients","summary":"Removes managed terminal devices by UUID","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["InManage","Uuids"],"properties":{"InManage":{"type":"string","description":"Specifies whether the device is managed"},"Uuids":{"type":"string","description":"The UUIDs of the asset instances. Separate multiple UUIDs with commas (,) (JSON-encoded)"},"CallerAliUid":{"type":"string","description":"The Alibaba Cloud account ID"}}}}}},"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-wyota/describe-clients":{"post":{"operationId":"cloud_aliyun_wyota_describe_clients","summary":"Queries information about all managed clients","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["ClientType"],"properties":{"TerminalGroupId":{"type":"string","description":"The group ID"},"Uuids":{"type":"string","description":"The UUIDs of the servers to query. Separate multiple UUIDs with commas (,) (JSON-encoded)"},"SearchKeyword":{"type":"string","description":"The fuzzy search parameter. Supports fuzzy search by SN, alias, or IP address. This parameter is incompatible with exact search parameters"},"NextToken":{"type":"string","description":"The token for the next page"},"InManage":{"type":"string","description":"Specifies whether the client is managed"},"MaxResults":{"type":"integer","description":"The maximum number of results to return"},"WithBindUser":{"type":"string","description":"Specifies whether to return bound users"},"Model":{"type":"string","description":"The device model"},"IncludeSubGroups":{"type":"string","description":"Specifies whether to include subgroups"},"ClientType":{"type":"integer","description":"The client type"},"OnlineStatus":{"type":"string","description":"The soft client status"},"Platform":{"type":"string","description":"The soft client platform"},"CustomResourceId":{"type":"string","description":"The custom task ID"},"CustomResourceStatus":{"type":"string","description":"The effective status of the custom task. Valid values: true: effective. false: ineffective. null: all"},"CallerAliUid":{"type":"string","description":"The Alibaba Cloud account ID"}}}}}},"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-wyota/get-custom-resource-stats":{"post":{"operationId":"cloud_aliyun_wyota_get_custom_resource_stats","summary":"Retrieves custom resource statistics information","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"MainBizType":{"type":"string","description":"The business type. Default value: enterprise"}}}}}},"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-wyota/get-or-create-invitation-code":{"post":{"operationId":"cloud_aliyun_wyota_get_or_create_invitation_code","summary":"Retrieves or creates an invitation code for desktop device enrollment. Query mode: Pass only terminalGroupId…","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"ExpireDays":{"type":"integer","description":"The validity period in days, calculated from the current time. Set to -1 for permanent validity"},"TerminalGroupId":{"type":"string","description":"The terminal group ID"},"Type":{"type":"integer","description":"The validity period type. Valid values: 1: The response returns the expiration in days. This is the default value if Type is not…"},"ExpireMinutes":{"type":"integer","description":"The validity period in minutes, calculated from the current time. Set to -1 for permanent validity"}}}}}},"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-wyota/get-terminal-count":{"post":{"operationId":"cloud_aliyun_wyota_get_terminal_count","summary":"Retrieves the number of terminals","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"ClientType":{"type":"integer","description":"The terminal type. Valid values: 1: hardware terminal. 2: software terminal. 3: secure browser plug-in. 4: GuestOS application. 5:…"}}}}}},"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-wyota/list-version-distribution":{"post":{"operationId":"cloud_aliyun_wyota_list_version_distribution","summary":"Queries the version distribution of terminals","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["VersionType","ClientType","Model"],"properties":{"InManage":{"type":"string","description":"The management status. A value of true indicates managed, and a value of false indicates unmanaged. If this parameter is not specified,…"},"VersionType":{"type":"string","description":"The version type. Valid values: SYS: system version. APP: application version"},"ClientType":{"type":"integer","description":"The terminal type. Valid values: 1: hardware terminal. 2: software terminal. 3: secure browser plugin. 4: GuestOS application. 5: DingTalk…"},"Model":{"type":"string","description":"The terminal model"},"MainBizType":{"type":"string","description":"The business type. Default value: enterprise"}}}}}},"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-wyota/version":{"post":{"operationId":"cloud_aliyun_wyota_version","summary":"version","description":"POST /","tags":["cloud"],"parameters":[],"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"}}}}}}}