diff options
| author | Zhineng Li <[email protected]> | 2026-02-13 10:54:11 +0800 |
|---|---|---|
| committer | Zhineng Li <[email protected]> | 2026-02-13 10:54:11 +0800 |
| commit | 7347bac4ab7e136157fc94777e6cf87ef9e08599 (patch) | |
| tree | 0dec367dac6e152161a6f7cc0dba6ebbef1f34a2 /data/en_us/csas | |
| download | acs-metadata-full-1.0.0+20260212.tar.gz acs-metadata-full-1.0.0+20260212.zip | |
first commitHEADv1.0.0+20260212main
Diffstat (limited to 'data/en_us/csas')
| -rw-r--r-- | data/en_us/csas/2023-01-20/api-docs.php | 22163 |
1 files changed, 22163 insertions, 0 deletions
diff --git a/data/en_us/csas/2023-01-20/api-docs.php b/data/en_us/csas/2023-01-20/api-docs.php new file mode 100644 index 0000000..413ba80 --- /dev/null +++ b/data/en_us/csas/2023-01-20/api-docs.php @@ -0,0 +1,22163 @@ +<?php return [ + 'version' => '1.0', + 'info' => [ + 'style' => 'RPC', + 'product' => 'csas', + 'version' => '2023-01-20', + ], + 'directories' => [ + [ + 'id' => 208884, + 'title' => 'Enterprise Acceleration', + 'type' => 'directory', + 'children' => [ + 'DeleteEnterpriseAcceleratePolicy', + 'DisableEnterpriseAcceleratePolicy', + 'ListEnterpriseAcceleratePolicies', + 'ListEnterpriseAccelerateTargets', + 'ListEnterpriseAccelerateLogs', + 'ImportEnterpriseAccelerateTargets', + 'CreateEnterpriseAccelerateTarget', + 'EnableEnterpriseAcceleratePolicy', + 'DeleteEnterpriseAccelerateTarget', + 'ModifyEnterpriseAcceleratePolicy', + 'CreateEnterpriseAcceleratePolicy', + ], + ], + [ + 'id' => 204316, + 'title' => 'dynamic decision', + 'type' => 'directory', + 'children' => [ + 'ListDynamicDisposalProcesses', + ], + ], + [ + 'id' => 201505, + 'title' => 'Approval and filing', + 'type' => 'directory', + 'children' => [ + 'UpdateApprovalStatus', + 'UpdateApprovalProcess', + 'ListApprovals', + 'ListApprovalSchemasForApprovalProcesses', + 'ListApprovalSchemas', + 'ListApprovalProcessesForApprovalSchemas', + 'ListApprovalProcesses', + 'GetApprovalSchema', + 'GetApprovalProcess', + 'GetApproval', + 'DetachPolicy2ApprovalProcess', + 'DeleteApprovalProcesses', + 'AttachPolicy2ApprovalProcess', + 'CreateApprovalProcess', + ], + ], + [ + 'id' => 201520, + 'title' => 'Terminal anti-uninstall policy', + 'type' => 'directory', + 'children' => [ + 'ListUninstallApplications', + 'UpdateBootAndAntiUninstallPolicy', + 'UpdateUninstallApplicationsStatus', + 'GetBootAndAntiUninstallPolicy', + ], + ], + [ + 'id' => 193580, + 'title' => 'Network Access', + 'type' => 'directory', + 'children' => [ + 'ListNacUserCert', + 'UpdateNacUserCertStatus', + ], + ], + [ + 'id' => 191724, + 'title' => 'Identity Source Configuration Management', + 'type' => 'directory', + 'children' => [ + 'ListIdpConfigs', + 'GetIdpConfig', + 'GetActiveIdpConfig', + [ + 'id' => 191728, + 'title' => 'Custom Identity Source', + 'type' => 'directory', + 'children' => [ + 'ListIdpDepartments', + 'CreateIdpDepartment', + 'ListClientUsers', + 'UpdateClientUser', + 'GetClientUser', + 'DeleteIdpDepartment', + 'CreateClientUser', + 'UpdateIdpDepartment', + 'UpdateClientUserStatus', + 'DeleteClientUser', + 'UpdateClientUserPassword', + ], + ], + ], + ], + [ + 'id' => 185976, + 'title' => 'Terminal Equipment Management', + 'type' => 'directory', + 'children' => [ + 'UpdateUserDevicesStatus', + 'ListExcessiveDeviceRegistrationApplications', + 'UpdateExcessiveDeviceRegistrationApplicationsStatus', + 'UpdateUserDevicesSharingStatus', + 'ListUserDevices', + 'ExportUserDevices', + 'GetUserDevice', + 'DeleteUserDevices', + 'ListSoftwareForUserDevice', + ], + ], + [ + 'id' => 185984, + 'title' => 'Device Enrollment Policy', + 'type' => 'directory', + 'children' => [ + 'ListRegistrationPolicies', + 'ListUserGroupsForRegistrationPolicy', + 'ListRegistrationPoliciesForUserGroup', + 'GetRegistrationPolicy', + 'DeleteRegistrationPolicies', + 'UpdateRegistrationPolicy', + 'CreateRegistrationPolicy', + ], + ], + [ + 'id' => 181189, + 'title' => 'User Group', + 'type' => 'directory', + 'children' => [ + 'ListUserGroups', + 'ListPolicesForUserGroup', + 'GetUserGroup', + 'CreateUserGroup', + 'DeleteUserGroup', + 'UpdateUserGroup', + ], + ], + [ + 'id' => 190835, + 'title' => 'User Management', + 'type' => 'directory', + 'children' => [ + 'ListUserPrivateAccessPolicies', + 'ListUserApplications', + 'ListUsers', + 'UpdateUsersStatus', + ], + ], + [ + 'id' => 181191, + 'title' => 'Intranet Access Application', + 'type' => 'directory', + 'children' => [ + 'ListPrivateAccessApplications', + 'ListTagsForPrivateAccessApplication', + 'ListPolicesForPrivateAccessApplication', + 'GetPrivateAccessApplication', + 'CreatePrivateAccessApplication', + 'DeletePrivateAccessApplication', + 'UpdatePrivateAccessApplication', + ], + ], + [ + 'id' => 181192, + 'title' => 'Connector', + 'type' => 'directory', + 'children' => [ + 'ListConnectors', + 'AttachApplication2Connector', + 'DetachApplication2Connector', + ], + ], + [ + 'id' => 181193, + 'title' => 'Intranet Access Label', + 'type' => 'directory', + 'children' => [ + 'ListPrivateAccessTags', + 'ListApplicationsForPrivateAccessTag', + 'ListPolicesForPrivateAccessTag', + 'CreatePrivateAccessTag', + 'DeletePrivateAccessTag', + ], + ], + [ + 'id' => 181194, + 'title' => 'Intranet Access Policy', + 'type' => 'directory', + 'children' => [ + 'ListPrivateAccessPolices', + 'ListUserGroupsForPrivateAccessPolicy', + 'ListApplicationsForPrivateAccessPolicy', + 'ListTagsForPrivateAccessPolicy', + 'GetPrivateAccessPolicy', + 'CreatePrivateAccessPolicy', + 'DeletePrivateAccessPolicy', + 'UpdatePrivateAccessPolicy', + ], + ], + [ + 'id' => 182283, + 'title' => 'Global Office', + 'type' => 'directory', + 'children' => [ + 'ListDynamicRoutes', + 'ListPrivateAccessApplicationsForDynamicRoute', + 'ListPrivateAccessTagsForDynamicRoute', + 'GetDynamicRoute', + 'ListDynamicRouteRegions', + 'CreateDynamicRoute', + 'UpdateDynamicRoute', + 'DeleteDynamicRoute', + ], + ], + [ + 'id' => 193109, + 'title' => 'Digital Watermark', + 'type' => 'directory', + 'children' => [ + 'LookupWmInfoMapping', + 'CreateWmInfoMapping', + 'CreateWmBaseImage', + 'GetWmExtractTask', + 'GetWmEmbedTask', + 'CreateWmExtractTask', + 'CreateWmEmbedTask', + ], + ], + [ + 'id' => 190079, + 'title' => 'Other', + 'type' => 'directory', + 'children' => [ + 'RevokeUserSession', + 'ListPopTrafficStatistics', + 'DeleteOtpConfig', + ], + ], + ], + 'components' => [ + 'schemas' => [ + 'AddressGroup' => [ + 'description' => '', + 'visibility' => 'Public', + 'type' => 'object', + 'properties' => [ + 'Addresses' => [ + 'description' => '', + 'visibility' => 'Public', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'visibility' => 'Public', + 'type' => 'string', + 'required' => false, + 'example' => 'mmtcafts.alipay.com', + 'extendType' => 'true', + ], + 'required' => false, + 'backendName' => 'addresses', + ], + 'Ports' => [ + 'description' => '', + 'visibility' => 'Public', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'visibility' => 'Public', + 'type' => 'object', + 'properties' => [ + 'Begin' => [ + 'description' => '', + 'visibility' => 'Public', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '123', + 'backendName' => 'begin', + ], + 'End' => [ + 'description' => '', + 'visibility' => 'Public', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1234', + 'backendName' => 'end', + ], + ], + 'required' => false, + 'extendType' => 'true', + ], + 'required' => false, + 'backendName' => 'ports', + ], + ], + 'required' => false, + ], + 'PAL7Config' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'object', + 'properties' => [ + 'RequestQueryRewriteConfig' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'object', + 'properties' => [ + 'Ops' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'visibility' => 'Public', + 'extendType' => 'true', + '$ref' => '#/components/schemas/PAL7ConfigRewriteOp', + ], + 'backendName' => 'ops', + ], + ], + 'backendName' => 'requestQueryRewriteConfig', + ], + 'JsHookConfig' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'object', + 'properties' => [ + 'Mode' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'string', + 'enumValueTitles' => [ + 'disabled' => 'disabled', + 'whitelist' => 'whitelist', + ], + 'example' => 'disabled', + 'backendName' => 'mode', + 'enum' => [ + 'disabled', + 'whitelist', + 'blacklist', + 'global', + 'on_demand', + ], + ], + 'ReplaceRules' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'visibility' => 'Public', + 'extendType' => 'true', + '$ref' => '#/components/schemas/PAL7ConfigReplaceRule', + ], + 'backendName' => 'replaceRules', + ], + ], + 'backendName' => 'jsHookConfig', + ], + 'BypassConfig' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'object', + 'properties' => [ + 'AppBypassFroms' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'visibility' => 'Public', + 'type' => 'string', + 'example' => '10.x.x.1/24'."\n", + 'extendType' => 'true', + ], + 'backendName' => 'appBypassFroms', + ], + 'Mode' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'string', + 'example' => 'disabled', + 'backendName' => 'mode', + 'trim' => true, + 'default' => 'disabled', + 'enum' => [ + 'disabled', + 'app', + 'url', + ], + ], + 'UrlBypassRules' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'visibility' => 'Public', + 'type' => 'object', + 'properties' => [ + 'Paths' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'visibility' => 'Public', + 'type' => 'string', + 'example' => '/api/xxx', + 'extendType' => 'true', + ], + 'backendName' => 'paths', + ], + 'Froms' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'visibility' => 'Public', + 'type' => 'string', + 'example' => '10.x.x.1/24'."\n", + 'extendType' => 'true', + ], + 'backendName' => 'froms', + ], + ], + 'extendType' => 'true', + ], + 'backendName' => 'urlBypassRules', + ], + ], + 'backendName' => 'bypassConfig', + ], + 'CertId' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'string', + 'example' => 'cert-xxxx', + 'backendName' => 'certId', + ], + 'ClientTypeRestrictConfig' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Private', + 'type' => 'object', + 'properties' => [ + 'BlacklistClients' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'visibility' => 'Public', + 'type' => 'string', + 'example' => 'browser', + 'extendType' => 'true', + ], + 'backendName' => 'blacklistClients', + ], + 'Mode' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'string', + 'example' => 'disabled,whitelist,blacklist', + 'backendName' => 'mode', + 'default' => 'disabled', + 'enum' => [ + 'disabled', + 'whitelist', + 'blacklist', + ], + ], + 'WhitelistClients' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'visibility' => 'Public', + 'type' => 'string', + 'example' => 'browser', + 'extendType' => 'true', + ], + 'backendName' => 'whitelistClients', + ], + ], + 'backendName' => 'clientTypeRestrictConfig', + ], + 'ResponseHeaderRewriteConfig' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'object', + 'properties' => [ + 'Ops' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'visibility' => 'Public', + 'extendType' => 'true', + '$ref' => '#/components/schemas/PAL7ConfigRewriteOp', + ], + 'backendName' => 'ops', + ], + ], + 'backendName' => 'responseHeaderRewriteConfig', + ], + 'IsNtlm' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Private', + 'type' => 'boolean', + 'backendName' => 'isNtlm', + ], + 'ClientIpConfig' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Private', + 'type' => 'object', + 'properties' => [ + 'ClientIpHeaders' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'visibility' => 'Public', + 'type' => 'string', + 'example' => 'X-Src-Idp', + 'extendType' => 'true', + ], + 'backendName' => 'clientIpHeaders', + ], + 'TrustedProxies' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'visibility' => 'Public', + 'type' => 'string', + 'example' => '10.x.x.1/24', + 'extendType' => 'true', + ], + 'backendName' => 'trustedProxies', + ], + ], + 'backendName' => 'clientIpConfig', + ], + 'ClientIpRestrictConfig' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Private', + 'type' => 'object', + 'properties' => [ + 'BlacklistFroms' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'visibility' => 'Public', + 'type' => 'string', + 'example' => '10.x.x.1/24'."\n", + 'extendType' => 'true', + ], + 'backendName' => 'blacklistFroms', + ], + 'Mode' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'string', + 'example' => 'disabled,whitelist,blacklist', + 'backendName' => 'mode', + 'default' => 'disabled', + 'enum' => [ + 'disabled', + 'whitelist', + 'blacklist', + ], + ], + 'WhitelistFroms' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'visibility' => 'Public', + 'type' => 'string', + 'example' => '10.x.x.1/24'."\n", + 'extendType' => 'true', + ], + 'backendName' => 'whitelistFroms', + ], + ], + 'backendName' => 'clientIpRestrictConfig', + ], + 'ResponseRewriteConfig' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'object', + 'properties' => [ + 'Mode' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'string', + 'enumValueTitles' => [ + 'auto' => 'auto', + 'disabled' => 'disabled', + ], + 'example' => 'auto', + 'backendName' => 'mode', + 'enum' => [ + 'disabled', + 'auto', + 'replace', + ], + ], + 'ReplaceRules' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'visibility' => 'Public', + 'extendType' => 'true', + '$ref' => '#/components/schemas/PAL7ConfigReplaceRule', + ], + 'backendName' => 'replaceRules', + ], + ], + 'backendName' => 'responseRewriteConfig', + ], + 'RequestHeaderRewriteConfig' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'object', + 'properties' => [ + 'Ops' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'visibility' => 'Public', + 'extendType' => 'true', + '$ref' => '#/components/schemas/PAL7ConfigRewriteOp', + ], + 'backendName' => 'ops', + ], + ], + 'backendName' => 'requestHeaderRewriteConfig', + ], + 'DnsConfig' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'object', + 'properties' => [ + 'DnsServers' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'visibility' => 'Public', + 'type' => 'string', + 'example' => '10.x.x.1', + 'extendType' => 'true', + ], + 'backendName' => 'dnsServers', + ], + ], + 'backendName' => 'dnsConfig', + ], + 'ProxyDomainTypes' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'string', + 'format' => 'byte', + 'enumValueTitles' => [ + 'custom' => '', + 'automatic' => '', + ], + 'example' => 'automatic', + 'backendName' => 'proxyDomainTypes', + ], + ], + ], + 'PAL7ConfigReplaceRule' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'object', + 'properties' => [ + 'From' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'string', + 'example' => 'before', + 'backendName' => 'from', + ], + 'To' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'string', + 'example' => 'after', + 'backendName' => 'to', + ], + ], + ], + 'PAL7ConfigRewriteOp' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'object', + 'properties' => [ + 'Op' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'string', + 'enumValueTitles' => [ + 'add' => '', + 'set' => '', + 'replace' => '', + 'delete' => '', + ], + 'example' => 'add', + 'backendName' => 'op', + ], + 'OldValue' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'string', + 'example' => 'old_value', + 'backendName' => 'oldValue', + ], + 'Value' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'string', + 'example' => 'new_value', + 'backendName' => 'value', + ], + 'Key' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'string', + 'example' => 'X-Test-Param', + 'backendName' => 'key', + ], + 'ValueVariable' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'string', + 'example' => 'sase_app_name', + 'backendName' => 'valueVariable', + 'enum' => [ + 'sase_app_name', + 'sase_app_id', + 'sase_policy_name', + 'sase_policy_id', + 'sase_user_username', + 'sase_user_department', + 'sase_user_group_infos', + 'sase_user_matched_user_groups', + 'sase_client_addr', + 'sase_client_ip', + 'sase_client_port', + ], + ], + ], + ], + ], + ], + 'apis' => [ + 'DeleteEnterpriseAcceleratePolicy' => [ + 'summary' => '删除加速策略', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '263724', + 'abilityTreeNodes' => [ + 'FEATUREcsasQCZUAR', + ], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'EapId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'eap-6edfb9d722ef8429', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response。', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '2CABFEBB-0CE7-575E-833A-266F75D46713', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2CABFEBB-0CE7-575E-833A-266F75D46713\\"\\n}","type":"json"}]', + ], + 'DisableEnterpriseAcceleratePolicy' => [ + 'summary' => '禁用加速策略', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '263726', + 'abilityTreeNodes' => [ + 'FEATUREcsasQCZUAR', + ], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'EapId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'eap-d50b45aa7dc04aef', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response。', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => 'E4C3E4CA-87CC-5EF6-91DD-D400A812EB43', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E4C3E4CA-87CC-5EF6-91DD-D400A812EB43\\"\\n}","type":"json"}]', + ], + 'ListEnterpriseAcceleratePolicies' => [ + 'summary' => '查询加速策略列表', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '263728', + 'abilityTreeNodes' => [ + 'FEATUREcsasQCZUAR', + ], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'Name', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'CurrentPage', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '1', + 'maximum' => '10000', + 'minimum' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '10', + 'maximum' => '1000', + 'minimum' => '1', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response。', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => 'DB0471D0-C05C-556D-9F40-0325D890036F', + ], + 'Total' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '5', + ], + 'Policies' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'EapId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'eap-eec34d4b12fcca61', + ], + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'test', + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'UpstreamType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'connector', + ], + 'UpstreamHost' => [ + 'description' => '', + 'type' => 'string', + 'example' => '12.34.56.XX', + ], + 'UpstreamPort' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1000', + ], + 'Enabled' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + 'UserAttributeGroup' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Priority' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '99', + ], + 'AccelerationType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'whitelist', + ], + 'ShowInClient' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'OnTls' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DB0471D0-C05C-556D-9F40-0325D890036F\\",\\n \\"Total\\": 5,\\n \\"Policies\\": [\\n {\\n \\"EapId\\": \\"eap-eec34d4b12fcca61\\",\\n \\"Name\\": \\"test\\",\\n \\"Description\\": \\"这是一条测试策略。\\",\\n \\"UpstreamType\\": \\"connector\\",\\n \\"UpstreamHost\\": \\"12.34.56.XX\\",\\n \\"UpstreamPort\\": 1000,\\n \\"Enabled\\": 0,\\n \\"UserAttributeGroup\\": \\"测试用户组\\",\\n \\"Priority\\": 99,\\n \\"AccelerationType\\": \\"whitelist\\",\\n \\"ShowInClient\\": 1,\\n \\"OnTls\\": 0\\n }\\n ]\\n}","type":"json"}]', + ], + 'ListEnterpriseAccelerateTargets' => [ + 'summary' => '查询加速对象列表', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '263737', + 'abilityTreeNodes' => [ + 'FEATUREcsasQCZUAR', + ], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'EapId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'eap-424ba3f47660425c', + ], + ], + [ + 'name' => 'CurrentPage', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '1', + 'maximum' => '10000', + 'minimum' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '10', + 'maximum' => '1000', + 'minimum' => '1', + ], + ], + [ + 'name' => 'Target', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'googleapis.com', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response。', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '529F755E-2E75-52EC-9C2E-6293FB8BF986', + ], + 'Total' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '103', + ], + 'EapId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'eap-7fed37a757a0de24', + ], + 'Targets' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'googleapis.com', + ], + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"529F755E-2E75-52EC-9C2E-6293FB8BF986\\",\\n \\"Total\\": 103,\\n \\"EapId\\": \\"eap-7fed37a757a0de24\\",\\n \\"Targets\\": [\\n \\"googleapis.com\\"\\n ]\\n}","type":"json"}]', + ], + 'ListEnterpriseAccelerateLogs' => [ + 'summary' => '查询加速策略日志列表', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '264492', + 'abilityTreeNodes' => [ + 'FEATUREcsasQCZUAR', + ], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'CurrentPage', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + ], + ], + [ + 'name' => 'Username', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'Department', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '1748419094', + ], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '1748422694', + ], + ], + [ + 'name' => 'DstAddr', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + [ + 'name' => 'SearchMode', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'enum' => [ + 'Exact', + 'Fuzzy', + ], + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response。', + 'type' => 'object', + 'properties' => [ + 'TotalNumber' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '120', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '43F07A6A-294D-56FB-85EB-6AD00C5B60FF', + ], + 'Logs' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'DstAddr' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'www.bing.com:443', + ], + 'DeviceType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'windows', + ], + 'UnixTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1748422797', + ], + 'Department' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Username' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'PolicyName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'ProxyAddr' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8.222.179.xxx:10015', + ], + 'InBytes' => [ + 'description' => '', + 'type' => 'string', + 'example' => '12299', + ], + 'OutBytes' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2603', + ], + ], + ], + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalNumber\\": 120,\\n \\"RequestId\\": \\"43F07A6A-294D-56FB-85EB-6AD00C5B60FF\\",\\n \\"Logs\\": [\\n {\\n \\"DstAddr\\": \\"www.bing.com:443\\",\\n \\"DeviceType\\": \\"windows\\",\\n \\"UnixTime\\": \\"1748422797\\",\\n \\"Department\\": \\"测试部\\",\\n \\"Username\\": \\"张三\\",\\n \\"PolicyName\\": \\"白名单加速\\",\\n \\"ProxyAddr\\": \\"8.222.179.xxx:10015\\",\\n \\"InBytes\\": \\"12299\\",\\n \\"OutBytes\\": \\"2603\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'ImportEnterpriseAccelerateTargets' => [ + 'summary' => '批量导入加速对象异步任务', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '263738', + 'abilityTreeNodes' => [ + 'FEATUREcsasQCZUAR', + ], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'EapId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'eap-6457339b546c4cfb', + ], + ], + [ + 'name' => 'FileUrl', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'https://filename.xlsx', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response。', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '305508BD-8A31-5E15-86CE-52D57967C45E', + ], + 'Data' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1648723859058501', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"305508BD-8A31-5E15-86CE-52D57967C45E\\",\\n \\"Data\\": \\"1648723859058501\\"\\n}","type":"json"}]', + ], + 'CreateEnterpriseAccelerateTarget' => [ + 'summary' => '创建加速对象', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '263729', + 'abilityTreeNodes' => [ + 'FEATUREcsasQCZUAR', + ], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'EapId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'eap-eec34d4b12fcca61', + ], + ], + [ + 'name' => 'Target', + 'in' => 'formData', + 'style' => 'flat', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'hub.docker.com', + ], + 'required' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response。', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => 'D1AE33DD-0D46-59CD-8340-92BEA2BDD0F1', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D1AE33DD-0D46-59CD-8340-92BEA2BDD0F1\\"\\n}","type":"json"}]', + ], + 'EnableEnterpriseAcceleratePolicy' => [ + 'summary' => '启用加速策略', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '263725', + 'abilityTreeNodes' => [ + 'FEATUREcsasQCZUAR', + ], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'EapId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'eap-530da9f7110441fb', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response。', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '09D9F396-29C5-5F0F-9C12-83308062CA2F', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"09D9F396-29C5-5F0F-9C12-83308062CA2F\\"\\n}","type":"json"}]', + ], + 'DeleteEnterpriseAccelerateTarget' => [ + 'summary' => '删除加速对象', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '263730', + 'abilityTreeNodes' => [ + 'FEATUREcsasQCZUAR', + ], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'EapId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'eap-ed1f0e392a28a4e6', + ], + ], + [ + 'name' => 'Target', + 'in' => 'formData', + 'style' => 'flat', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '*.chatgpt.com', + ], + 'required' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response。', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '655CE28F-2C0C-5801-A31E-C16BF54BD225', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"655CE28F-2C0C-5801-A31E-C16BF54BD225\\"\\n}","type":"json"}]', + ], + 'ModifyEnterpriseAcceleratePolicy' => [ + 'summary' => '修改加速策略', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '263722', + 'abilityTreeNodes' => [ + 'FEATUREcsasQCZUAR', + ], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'EapId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'eap-ce153a7165c8feea', + ], + ], + [ + 'name' => 'Name', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'Description', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'UpstreamType', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'enumValueTitles' => [ + 'connector' => 'connector', + 'ga' => 'ga', + 'cen' => 'cen', + ], + 'example' => 'ga', + ], + ], + [ + 'name' => 'UpstreamHost', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'enumValueTitles' => [], + 'example' => '12.34.56.XX', + ], + ], + [ + 'name' => 'UpstreamPort', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '1000', + ], + ], + [ + 'name' => 'UserAttributeGroup', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '', + ], + ], + [ + 'name' => 'Priority', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'maximum' => '99', + 'minimum' => '0', + 'example' => '999', + 'default' => '99', + ], + ], + [ + 'name' => 'AccelerationType', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'whiltelist', + 'default' => 'whitelist', + 'enum' => [ + 'whitelist', + 'global', + 'build-in-list', + ], + ], + ], + [ + 'name' => 'ShowInClient', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '0', + 'default' => '0', + 'enum' => [ + '0', + '1', + ], + ], + ], + [ + 'name' => 'OnTls', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '0', + 'default' => '-1', + 'enum' => [ + '0', + '1', + ], + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response。', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '2CABFEBB-0CE7-575E-833A-266F75D46713', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2CABFEBB-0CE7-575E-833A-266F75D46713\\"\\n}","type":"json"}]', + ], + 'CreateEnterpriseAcceleratePolicy' => [ + 'summary' => '创建加速策略', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '263720', + 'abilityTreeNodes' => [ + 'FEATUREcsasQCZUAR', + ], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'Name', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'Description', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'UpstreamType', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'enumValueTitles' => [ + 'connector' => 'connector', + 'ga' => 'ga', + 'cen' => 'cen', + ], + 'example' => 'ga', + ], + ], + [ + 'name' => 'UpstreamHost', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '12.34.56.XX', + ], + ], + [ + 'name' => 'UpstreamPort', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '1000', + ], + ], + [ + 'name' => 'UserAttributeGroup', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '', + ], + ], + [ + 'name' => 'Priority', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '99', + 'maxLength' => 99, + 'minLength' => 0, + 'default' => '99', + ], + ], + [ + 'name' => 'AccelerationType', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'whitelist', + 'default' => 'whitelist', + 'enum' => [ + 'whitelist', + 'global', + 'build-in-list', + ], + ], + ], + [ + 'name' => 'ShowInClient', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + 'default' => '0', + 'enum' => [ + '0', + '1', + ], + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response。', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '2CABFEBB-0CE7-575E-833A-266F75D46713', + ], + 'EapId' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2CABFEBB-0CE7-575E-833A-266F75D46713\\",\\n \\"EapId\\": \\"\\"\\n}","type":"json"}]', + ], + 'ListDynamicDisposalProcesses' => [ + 'summary' => 'Batch Query Dynamic Policy Disposal Processes', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '257988', + 'abilityTreeNodes' => [ + 'FEATUREcsas2RGHRX', + ], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'CurrentPage', + 'in' => 'query', + 'schema' => [ + 'description' => 'The page number to display in the paginated query. Range: 1~10000.', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => 'The number of items per page in the paginated query. Range: 1~1000.', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '10', + ], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => [ + 'description' => 'The start time for querying dynamic disposal processes. Format: Unix timestamp (in seconds).', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '1743143296', + ], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => [ + 'description' => 'The end time for querying dynamic disposal processes. Format: Unix timestamp (in seconds).', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '1743143296', + ], + ], + [ + 'name' => 'UserName', + 'in' => 'query', + 'schema' => [ + 'description' => 'Username.', + 'type' => 'string', + 'required' => false, + 'example' => 'xiaoming', + ], + ], + [ + 'name' => 'DisposalAction', + 'in' => 'query', + 'schema' => [ + 'description' => 'Disposal action.'."\n" + .'- **ztna_connect**: Prohibit connection to the zero-trust intranet.'."\n" + .'- **nac_connect**: Prohibit connection to the office network access.'."\n" + .'- **none**: No disposal action.', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'ztna_connect' => 'ztna_connect', + 'nac_connect' => 'nac_connect', + 'none' => 'none', + ], + 'example' => 'none', + ], + ], + [ + 'name' => 'RecoveryType', + 'in' => 'query', + 'schema' => [ + 'description' => 'Recovery type.'."\n" + .'- **auto**: Automatic recovery.'."\n" + .'- **console**: Console recovery.'."\n" + .'- **auth**: Recovery by authentication and reporting.', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'console' => 'console', + 'auto' => 'auto', + 'auth' => 'auth', + ], + 'example' => 'auto', + ], + ], + [ + 'name' => 'Status', + 'in' => 'query', + 'schema' => [ + 'description' => 'Disposal status. Values:'."\n" + .'- **disposal**: In the disposal state.'."\n" + .'- **finished**: Already automatically recovered.'."\n" + .'- **recovery**: Recovered by authentication and reporting or console recovery.', + 'type' => 'string', + 'required' => false, + 'example' => 'disposal', + ], + ], + [ + 'name' => 'DisposalProcessId', + 'in' => 'query', + 'schema' => [ + 'description' => 'Disposal process ID.', + 'type' => 'string', + 'required' => false, + 'example' => 'dp-xxxxxxxx', + ], + ], + [ + 'name' => 'DevTag', + 'in' => 'query', + 'schema' => [ + 'description' => 'Terminal device ID.', + 'type' => 'string', + 'required' => false, + 'example' => 'E7798391-2554-FE83-E0B7-045DDED629A8', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Response body.', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Request ID.', + 'type' => 'string', + 'example' => 'BE4FB974-11BC-5453-9BE1-1606A73EACA6', + ], + 'DisposalProcesses' => [ + 'description' => 'List of disposal processes.', + 'type' => 'array', + 'items' => [ + 'description' => 'Disposal process.', + 'type' => 'object', + 'properties' => [ + 'Status' => [ + 'description' => 'Disposal status. Values:'."\n" + .'- **disposal**: In the disposal state.'."\n" + .'- **finished**: Already automatically recovered.'."\n" + .'- **recovery**: Recovered by authentication and reporting or console recovery.', + 'type' => 'string', + 'enumValueTitles' => [ + 'finished' => 'finished', + 'recovery' => 'recovery', + 'disposal' => 'disposal', + ], + 'example' => 'disposal', + ], + 'DynamicPolicyId' => [ + 'description' => 'Dynamic policy ID.', + 'type' => 'string', + 'example' => 'dynamic-policy-xxxxxxxx', + ], + 'DisposalProcessId' => [ + 'description' => 'Disposal process ID.', + 'type' => 'string', + 'example' => 'dp-xxxxxxxx', + ], + 'DynamicPolicyName' => [ + 'description' => 'Dynamic policy name.', + 'type' => 'string', + 'example' => '动态策略1', + ], + 'Hostname' => [ + 'description' => 'Terminal device name. Length: 1~128 characters, supporting Chinese and uppercase/lowercase English letters, and can include numbers, half-width periods (.), commas (,), semicolons (;), hyphens (-), underscores (_), slashes (/), at (@) symbols, and spaces. Entering an underscore (_) alone will additionally query all terminal devices with 4-byte UTF-8 characters in their names.', + 'type' => 'string', + 'example' => 'WANGCHENCHENNBB', + ], + 'UserName' => [ + 'description' => 'Username.', + 'type' => 'string', + 'example' => 'xiaoming', + ], + 'Department' => [ + 'description' => 'User\'s department.', + 'type' => 'string', + 'example' => 'IT', + ], + 'SaseUserId' => [ + 'description' => 'SASE用户ID。', + 'type' => 'string', + 'example' => 'asdqwedg-xzczvzdaf-asfafs', + ], + 'DevTag' => [ + 'description' => 'Device ID.', + 'type' => 'string', + 'example' => 'FD7554AD-4CDE-6359-6B49-4FE950606C2C', + ], + 'DisposalActions' => [ + 'description' => 'List of disposal actions.', + 'type' => 'array', + 'items' => [ + 'description' => 'Disposal action.'."\n" + .'- **ztna_connect**:Prohibit connecting to the zero-trust intranet.'."\n" + .'- **nac_connect**:Prohibit connecting to the office network access.', + 'type' => 'string', + 'enumValueTitles' => [ + 'ztna_connect' => 'ztna_connect', + 'nac_connect' => 'nac_connect', + ], + 'example' => 'nac-connect', + ], + ], + 'RecoveryType' => [ + 'description' => 'Recovery type.'."\n" + .'- **auto**:Automatic recovery.'."\n" + .'- **console**:Console recovery.'."\n" + .'- **auth**:Certification and reporting recovery.', + 'type' => 'string', + 'enumValueTitles' => [ + 'console' => 'console', + 'auto' => 'auto', + 'auth' => 'auth', + ], + 'example' => 'auto', + ], + 'RuleContent' => [ + 'description' => 'Rule content.', + 'type' => 'any', + 'example' => '{'."\n" + .' "Combinator": "OR",'."\n" + .' "Rules": ['."\n" + .' {'."\n" + .' "Operator": "version_gt",'."\n" + .' "Values": ['."\n" + .' "1"'."\n" + .' ],'."\n" + .' "RuleType": "device_info",'."\n" + .' "Id": "1",'."\n" + .' "RuleSubType": "basic_info",'."\n" + .' "Name": "app_version"'."\n" + .' }'."\n" + .' ]'."\n" + .'}', + ], + 'DisposalTime' => [ + 'description' => 'Disposal time, in seconds since the epoch.', + 'type' => 'string', + 'example' => '1743059249', + ], + 'DeviceBasicInfo' => [ + 'description' => 'Basic device information.', + 'type' => 'object', + 'properties' => [ + 'DevTag' => [ + 'description' => 'Device ID.', + 'type' => 'string', + 'example' => 'A84D0AF0-1ACC-02B8-6A07-FC898F71BE09', + ], + 'DevType' => [ + 'description' => 'Device operating system type. Values:'."\n" + .'- **Windows**:Windows system.'."\n" + .'- **macOS**:macOS system.'."\n" + .'- **Linux**:Linux system.'."\n" + .'- **Android**:Android system.'."\n" + .'- **iOS**:iOS system.'."\n" + .'- **Windows_Wuying**:Wuying cloud desktop system.', + 'type' => 'string', + 'example' => 'windows', + ], + 'OsVersion' => [ + 'description' => 'Operating system version', + 'type' => 'string', + 'example' => '1', + ], + 'Mac' => [ + 'description' => 'Device MAC address.', + 'type' => 'string', + 'example' => 'CE:3B:**:**:FD:FB', + ], + 'Cpu' => [ + 'description' => 'CPU model.', + 'type' => 'string', + 'example' => 'Intel(R) Core(TM) i5-10210U CPU @ 1.60GHz', + ], + 'Hostname' => [ + 'description' => 'Device name.', + 'type' => 'string', + 'example' => 'DESKTOP-ERLV3AK', + ], + 'Memory' => [ + 'description' => 'Device memory capacity. Unit: GB.', + 'type' => 'string', + 'example' => '2', + ], + 'Disk' => [ + 'description' => 'Device disk model.', + 'type' => 'string', + 'example' => 'KXG6AZNV512G TOSHIBA', + ], + ], + ], + 'DeviceStatusInfo' => [ + 'description' => '设备状态信息。', + 'type' => 'object', + 'properties' => [ + 'SaseUserId' => [ + 'description' => 'Unique ID of the SASE user.', + 'type' => 'string', + 'example' => 'su_dfsdfsdgasgsgag', + ], + 'Username' => [ + 'description' => 'Username.', + 'type' => 'string', + 'example' => 'test', + ], + 'Department' => [ + 'description' => 'Department to which the user belongs.', + 'type' => 'string', + 'example' => 'IT运维部', + ], + 'AppVersion' => [ + 'description' => 'Client version.', + 'type' => 'string', + 'example' => '4.5.1', + ], + 'LoginStatus' => [ + 'description' => 'Login status.', + 'type' => 'string', + 'example' => 'online', + ], + 'ZtnaStatus' => [ + 'description' => 'ZTNA enablement status.', + 'type' => 'string', + 'example' => 'enabled', + ], + 'LaStatus' => [ + 'description' => 'Internet behavior management enablement status.', + 'type' => 'string', + 'example' => 'enabled', + ], + 'DlpStatus' => [ + 'description' => 'Office data protection status. Values:'."\n" + .'- **Enabled**: Enabled.'."\n" + .'- **Disabled**: Disabled.'."\n" + .'- **Unprovisioned**: Not configured.'."\n" + .'- **Unauthorized**: Unauthorized.', + 'type' => 'string', + 'example' => 'enabled', + ], + 'NacStatus' => [ + 'description' => 'Network access control status. Values:'."\n" + .'- **Enabled**: Enabled.'."\n" + .'- **Disabled**: Disabled.'."\n" + .'- **Unprovisioned**: Not configured.', + 'type' => 'string', + 'example' => 'enabled', + ], + 'InternetIp' => [ + 'description' => 'Public IP address.', + 'type' => 'string', + 'example' => '120.26.XX.XX', + ], + 'PrivateIp' => [ + 'description' => 'Private IP address.', + 'type' => 'string', + 'example' => '172.20.XX.XX', + ], + 'Workshop' => [ + 'description' => 'Identified office area name.', + 'type' => 'string', + 'example' => 'office', + ], + ], + ], + ], + ], + ], + 'TotalNum' => [ + 'description' => 'Total number of dynamic disposal processes.', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BE4FB974-11BC-5453-9BE1-1606A73EACA6\\",\\n \\"DisposalProcesses\\": [\\n {\\n \\"Status\\": \\"disposal\\",\\n \\"DynamicPolicyId\\": \\"dynamic-policy-xxxxxxxx\\",\\n \\"DisposalProcessId\\": \\"dp-xxxxxxxx\\",\\n \\"DynamicPolicyName\\": \\"动态策略1\\",\\n \\"Hostname\\": \\"WANGCHENCHENNBB\\",\\n \\"UserName\\": \\"xiaoming\\",\\n \\"Department\\": \\"场景险部\\",\\n \\"SaseUserId\\": \\"asdqwedg-xzczvzdaf-asfafs\\",\\n \\"DevTag\\": \\"FD7554AD-4CDE-6359-6B49-4FE950606C2C\\",\\n \\"DisposalActions\\": [\\n \\"nac-connect\\"\\n ],\\n \\"RecoveryType\\": \\"auto\\",\\n \\"RuleContent\\": \\"{\\\\n \\\\\\"Combinator\\\\\\": \\\\\\"OR\\\\\\",\\\\n \\\\\\"Rules\\\\\\": [\\\\n {\\\\n \\\\\\"Operator\\\\\\": \\\\\\"version_gt\\\\\\",\\\\n \\\\\\"Values\\\\\\": [\\\\n \\\\\\"1\\\\\\"\\\\n ],\\\\n \\\\\\"RuleType\\\\\\": \\\\\\"device_info\\\\\\",\\\\n \\\\\\"Id\\\\\\": \\\\\\"1\\\\\\",\\\\n \\\\\\"RuleSubType\\\\\\": \\\\\\"basic_info\\\\\\",\\\\n \\\\\\"Name\\\\\\": \\\\\\"app_version\\\\\\"\\\\n }\\\\n ]\\\\n}\\",\\n \\"DisposalTime\\": \\"1743059249\\",\\n \\"DeviceBasicInfo\\": {\\n \\"DevTag\\": \\"A84D0AF0-1ACC-02B8-6A07-FC898F71BE09\\",\\n \\"DevType\\": \\"windows\\",\\n \\"OsVersion\\": \\"1\\",\\n \\"Mac\\": \\"CE:3B:**:**:FD:FB\\",\\n \\"Cpu\\": \\"Intel(R) Core(TM) i5-10210U CPU @ 1.60GHz\\",\\n \\"Hostname\\": \\"DESKTOP-ERLV3AK\\",\\n \\"Memory\\": \\"2\\",\\n \\"Disk\\": \\"KXG6AZNV512G TOSHIBA\\"\\n },\\n \\"DeviceStatusInfo\\": {\\n \\"SaseUserId\\": \\"su_dfsdfsdgasgsgag\\",\\n \\"Username\\": \\"测试\\",\\n \\"Department\\": \\"IT运维部\\",\\n \\"AppVersion\\": \\"4.5.1\\",\\n \\"LoginStatus\\": \\"online\\",\\n \\"ZtnaStatus\\": \\"enabled\\",\\n \\"LaStatus\\": \\"enabled\\",\\n \\"DlpStatus\\": \\"enabled\\",\\n \\"NacStatus\\": \\"enabled\\",\\n \\"InternetIp\\": \\"120.26.XX.XX\\",\\n \\"PrivateIp\\": \\"172.20.XX.XX\\",\\n \\"Workshop\\": \\"办公地点\\"\\n }\\n }\\n ],\\n \\"TotalNum\\": 1\\n}","type":"json"}]', + 'title' => 'Batch Query Dynamic Policy Disposal Processes', + 'translator' => 'machine', + ], + 'UpdateApprovalStatus' => [ + 'summary' => '修改审批状态', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '213408', + 'abilityTreeNodes' => [ + 'FEATUREcsas3KYQ7V', + ], + ], + 'parameters' => [ + [ + 'name' => 'ApprovalId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'approval-872b5e911b35****', + ], + ], + [ + 'name' => 'Status', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'Approved', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '58D6B23E-E5DA-5418-8F61-51A3B5A30049', + ], + 'Approval' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ApprovalId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'approval-165e6738ad9d****', + ], + 'ApprovalProgresses' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Operators' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'SaseUserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****', + ], + 'Username' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + 'Status' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Approved', + ], + 'Executor' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****', + ], + 'Action' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Approve', + ], + 'Comment' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Timestamp' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1736752000', + ], + ], + ], + ], + 'EndTimestamp' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1757952000', + ], + 'ApprovalDetail' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Status' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Pending', + ], + 'ProcessId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'approval-process-fcc351b8a95b****', + ], + 'ProcessName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'PolicyType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'DlpSend', + ], + 'SchemaId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'approval-schema-090134f1ebff****', + ], + 'SchemaName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'SchemaContent' => [ + 'description' => '', + 'type' => 'string', + 'example' => '{"form": {"labelCol": 6,"wrapperCol": 12}}', + ], + 'CreatorUserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****', + ], + 'CreatorDevTag' => [ + 'description' => '', + 'type' => 'string', + 'example' => '36efa42d-2c32-c4dc-e3fc-8541e33a****', + ], + 'CreateTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2022-11-15 22:11:55', + ], + 'Reason' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"58D6B23E-E5DA-5418-8F61-51A3B5A30049\\",\\n \\"Approval\\": [\\n {\\n \\"ApprovalId\\": \\"approval-165e6738ad9d****\\",\\n \\"ApprovalProgresses\\": [\\n {\\n \\"Operators\\": [\\n {\\n \\"SaseUserId\\": \\"su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****\\",\\n \\"Username\\": \\"王先生\\"\\n }\\n ],\\n \\"Status\\": \\"Approved\\",\\n \\"Executor\\": \\"su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****\\",\\n \\"Action\\": \\"Approve\\",\\n \\"Comment\\": \\"审核通过\\",\\n \\"Timestamp\\": 1736752000\\n }\\n ],\\n \\"EndTimestamp\\": 1757952000,\\n \\"ApprovalDetail\\": \\"{\\\\\\"initiatorName\\\\\\":\\\\\\"王先生\\\\\\",\\\\\\"initiatorDept\\\\\\":\\\\\\"测试部\\\\\\",\\\\\\"devType\\\\\\":\\\\\\"windows\\\\\\",\\\\\\"deviceType\\\\\\":\\\\\\"usbStorage\\\\\\",\\\\\\"deviceId\\\\\\":\\\\\\"FC216E9E3****\\\\\\",\\\\\\"approvalEndTimestamp\\\\\\":1736524799,\\\\\\"approvalReason\\\\\\":\\\\\\"这是一个测试\\\\\\"}\\",\\n \\"Status\\": \\"Pending\\",\\n \\"ProcessId\\": \\"approval-process-fcc351b8a95b****\\",\\n \\"ProcessName\\": \\"测试\\",\\n \\"PolicyType\\": \\"DlpSend\\",\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"SchemaName\\": \\"测试\\",\\n \\"SchemaContent\\": \\"{\\\\\\"form\\\\\\": {\\\\\\"labelCol\\\\\\": 6,\\\\\\"wrapperCol\\\\\\": 12}}\\",\\n \\"CreatorUserId\\": \\"su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****\\",\\n \\"CreatorDevTag\\": \\"36efa42d-2c32-c4dc-e3fc-8541e33a****\\",\\n \\"CreateTime\\": \\"2022-11-15 22:11:55\\",\\n \\"Reason\\": \\"这是一个测试\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'UpdateApprovalProcess' => [ + 'summary' => '更新审批流程', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '213358', + 'abilityTreeNodes' => [ + 'FEATUREcsas3KYQ7V', + ], + ], + 'parameters' => [ + [ + 'name' => 'ProcessName', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'Description', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'ProcessNodes', + 'in' => 'formData', + 'style' => 'flat', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'su_d142d5bdeebcdb0c9dfe784d74d84a8f4644cee21bf26c9311c934debbef****', + ], + 'required' => false, + ], + 'required' => false, + ], + ], + [ + 'name' => 'MatchSchemas', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'DomainWhitelistSchemaId' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'approval-schema-090134f1ebff****', + ], + 'DomainBlacklistSchemaId' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'approval-schema-090134f1ebff****', + ], + 'SoftwareBlockSchemaId' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'approval-schema-090134f1ebff****', + ], + 'DeviceRegistrationSchemaId' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'approval-schema-090134f1ebff****', + ], + 'AppUninstallSchemaId' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'approval-schema-090134f1ebff****', + ], + 'PeripheralBlockSchemaId' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'approval-schema-090134f1ebff****', + ], + 'DlpSendSchemaId' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'approval-schema-090134f1ebff****', + ], + 'EndpointHardeningSchemaId' => [ + 'type' => 'string', + ], + 'SoftwareHardeningSchemaId' => [ + 'type' => 'string', + ], + ], + 'required' => false, + ], + ], + [ + 'name' => 'ProcessId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'approval-process-f16bf74b2b29****', + ], + ], + [ + 'name' => 'MatchSchemaConfigs', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'DomainWhitelistSchemaConfig' => [ + 'type' => 'object', + 'properties' => [ + 'SchemaId' => [ + 'type' => 'string', + ], + 'ExternalProcessId' => [ + 'type' => 'string', + ], + 'FieldMap' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'SystemField' => [ + 'type' => 'string', + ], + 'DisplayField' => [ + 'type' => 'string', + ], + 'DisplayFieldValue' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + 'DomainBlacklistSchemaConfig' => [ + 'type' => 'object', + 'properties' => [ + 'SchemaId' => [ + 'type' => 'string', + ], + 'ExternalProcessId' => [ + 'type' => 'string', + ], + 'FieldMap' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'SystemField' => [ + 'type' => 'string', + ], + 'DisplayField' => [ + 'type' => 'string', + ], + 'DisplayFieldValue' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + 'SoftwareBlockSchemaConfig' => [ + 'type' => 'object', + 'properties' => [ + 'SchemaId' => [ + 'type' => 'string', + ], + 'ExternalProcessId' => [ + 'type' => 'string', + ], + 'FieldMap' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'SystemField' => [ + 'type' => 'string', + ], + 'DisplayField' => [ + 'type' => 'string', + ], + 'DisplayFieldValue' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + 'DeviceRegistrationSchemaConfig' => [ + 'type' => 'object', + 'properties' => [ + 'SchemaId' => [ + 'type' => 'string', + ], + 'ExternalProcessId' => [ + 'type' => 'string', + ], + 'FieldMap' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'SystemField' => [ + 'type' => 'string', + ], + 'DisplayField' => [ + 'type' => 'string', + ], + 'DisplayFieldValue' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + 'AppUninstallSchemaConfig' => [ + 'type' => 'object', + 'properties' => [ + 'SchemaId' => [ + 'type' => 'string', + ], + 'ExternalProcessId' => [ + 'type' => 'string', + ], + 'FieldMap' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'SystemField' => [ + 'type' => 'string', + ], + 'DisplayField' => [ + 'type' => 'string', + ], + 'DisplayFieldValue' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + 'DlpSendSchemaConfig' => [ + 'type' => 'object', + 'properties' => [ + 'SchemaId' => [ + 'type' => 'string', + ], + 'ExternalProcessId' => [ + 'type' => 'string', + ], + 'FieldMap' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'SystemField' => [ + 'type' => 'string', + ], + 'DisplayField' => [ + 'type' => 'string', + ], + 'DisplayFieldValue' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + 'PeripheralBlockSchemaConfig' => [ + 'type' => 'object', + 'properties' => [ + 'SchemaId' => [ + 'type' => 'string', + ], + 'ExternalProcessId' => [ + 'type' => 'string', + ], + 'FieldMap' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'SystemField' => [ + 'type' => 'string', + ], + 'DisplayField' => [ + 'type' => 'string', + ], + 'DisplayFieldValue' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + 'EndpointHardeningSchemaConfig' => [ + 'type' => 'object', + 'properties' => [ + 'SchemaId' => [ + 'type' => 'string', + ], + 'ExternalProcessId' => [ + 'type' => 'string', + ], + 'FieldMap' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'SystemField' => [ + 'type' => 'string', + ], + 'DisplayField' => [ + 'type' => 'string', + ], + 'DisplayFieldValue' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + 'SoftwareHardeningSchemaConfig' => [ + 'type' => 'object', + 'properties' => [ + 'SchemaId' => [ + 'type' => 'string', + ], + 'ExternalProcessId' => [ + 'type' => 'string', + ], + 'FieldMap' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'SystemField' => [ + 'type' => 'string', + ], + 'DisplayField' => [ + 'type' => 'string', + ], + 'DisplayFieldValue' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + ], + ], + ], + [ + 'name' => 'ApprovalType', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + 'enum' => [ + '0', + '1', + '2', + ], + ], + ], + [ + 'name' => 'EventLabel', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + [ + 'name' => 'ExternalConfig', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '7E9D7ACD-53D5-56EF-A913-79D148D06299', + ], + 'Process' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'CreateTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2022-07-11 15:31:39', + ], + 'ProcessId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'approval-process-2677fcf063f5****', + ], + 'ProcessName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'ProcessNodes' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'SaseUserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****', + ], + 'Username' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + ], + 'DomainWhitelistPolicies' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'SchemaId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'approval-schema-090134f1ebff****', + ], + 'PolicyIds' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ladp-27a4fedf5e73****', + ], + ], + 'ExternalProcessId' => [ + 'type' => 'string', + ], + 'FieldMap' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'SystemField' => [ + 'type' => 'string', + ], + 'DisplayField' => [ + 'type' => 'string', + ], + 'DisplayFieldValue' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + 'DomainBlacklistPolicies' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'SchemaId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'approval-schema-090134f1ebff****', + ], + 'PolicyIds' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ladp-27a4fedf5e73****', + ], + ], + 'ExternalProcessId' => [ + 'type' => 'string', + ], + 'FieldMap' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'SystemField' => [ + 'type' => 'string', + ], + 'DisplayField' => [ + 'type' => 'string', + ], + 'DisplayFieldValue' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + 'SoftwareBlockPolicies' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'SchemaId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'approval-schema-090134f1ebff****', + ], + 'PolicyIds' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'pid-9f37f3a5991f****', + ], + ], + 'ExternalProcessId' => [ + 'type' => 'string', + ], + 'FieldMap' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'SystemField' => [ + 'type' => 'string', + ], + 'DisplayField' => [ + 'type' => 'string', + ], + 'DisplayFieldValue' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + 'DeviceRegistrationPolicies' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'SchemaId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'approval-schema-090134f1ebff****', + ], + 'PolicyIds' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'reg-policy-63b2f1844b86****', + ], + ], + 'ExternalProcessId' => [ + 'type' => 'string', + ], + 'FieldMap' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'SystemField' => [ + 'type' => 'string', + ], + 'DisplayField' => [ + 'type' => 'string', + ], + 'DisplayFieldValue' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + 'AppUninstallPolicies' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'SchemaId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'approval-schema-090134f1ebff****', + ], + 'PolicyIds' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'auto-boot-anti-uninstall-5919f8afff47****', + ], + ], + 'ExternalProcessId' => [ + 'type' => 'string', + ], + 'FieldMap' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'SystemField' => [ + 'type' => 'string', + ], + 'DisplayField' => [ + 'type' => 'string', + ], + 'DisplayFieldValue' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + 'DlpSendPolicies' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'SchemaId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'approval-schema-090134f1ebff****', + ], + 'PolicyIds' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '17**', + ], + ], + 'ExternalProcessId' => [ + 'type' => 'string', + ], + 'FieldMap' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'SystemField' => [ + 'type' => 'string', + ], + 'DisplayField' => [ + 'type' => 'string', + ], + 'DisplayFieldValue' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + 'PeripheraBlockPolicies' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'SchemaId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'approval-schema-090134f1ebff****', + ], + 'PolicyIds' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '17**', + ], + ], + 'ExternalProcessId' => [ + 'type' => 'string', + ], + 'FieldMap' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'SystemField' => [ + 'type' => 'string', + ], + 'DisplayField' => [ + 'type' => 'string', + ], + 'DisplayFieldValue' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + 'EndpointHardeningPolicies' => [ + 'type' => 'object', + 'properties' => [ + 'SchemaId' => [ + 'type' => 'string', + ], + 'PolicyIds' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + 'ExternalProcessId' => [ + 'type' => 'string', + ], + 'FieldMap' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'SystemField' => [ + 'type' => 'string', + ], + 'DisplayField' => [ + 'type' => 'string', + ], + 'DisplayFieldValue' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + 'SoftwareHardeningPolicies' => [ + 'type' => 'object', + 'properties' => [ + 'SchemaId' => [ + 'type' => 'string', + ], + 'PolicyIds' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + 'ExternalProcessId' => [ + 'type' => 'string', + ], + 'FieldMap' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'SystemField' => [ + 'type' => 'string', + ], + 'DisplayField' => [ + 'type' => 'string', + ], + 'DisplayFieldValue' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + 'ApprovalType' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'ExternalConfig' => [ + 'type' => 'string', + ], + 'EventLabel' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7E9D7ACD-53D5-56EF-A913-79D148D06299\\",\\n \\"Process\\": {\\n \\"CreateTime\\": \\"2022-07-11 15:31:39\\",\\n \\"ProcessId\\": \\"approval-process-2677fcf063f5****\\",\\n \\"ProcessName\\": \\"测试\\",\\n \\"Description\\": \\"这是一个测试\\",\\n \\"ProcessNodes\\": [\\n [\\n {\\n \\"SaseUserId\\": \\"su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****\\",\\n \\"Username\\": \\"王先生\\"\\n }\\n ]\\n ],\\n \\"DomainWhitelistPolicies\\": {\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"PolicyIds\\": [\\n \\"ladp-27a4fedf5e73****\\"\\n ],\\n \\"ExternalProcessId\\": \\"\\",\\n \\"FieldMap\\": [\\n {\\n \\"SystemField\\": \\"\\",\\n \\"DisplayField\\": \\"\\",\\n \\"DisplayFieldValue\\": \\"\\"\\n }\\n ]\\n },\\n \\"DomainBlacklistPolicies\\": {\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"PolicyIds\\": [\\n \\"ladp-27a4fedf5e73****\\"\\n ],\\n \\"ExternalProcessId\\": \\"\\",\\n \\"FieldMap\\": [\\n {\\n \\"SystemField\\": \\"\\",\\n \\"DisplayField\\": \\"\\",\\n \\"DisplayFieldValue\\": \\"\\"\\n }\\n ]\\n },\\n \\"SoftwareBlockPolicies\\": {\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"PolicyIds\\": [\\n \\"pid-9f37f3a5991f****\\"\\n ],\\n \\"ExternalProcessId\\": \\"\\",\\n \\"FieldMap\\": [\\n {\\n \\"SystemField\\": \\"\\",\\n \\"DisplayField\\": \\"\\",\\n \\"DisplayFieldValue\\": \\"\\"\\n }\\n ]\\n },\\n \\"DeviceRegistrationPolicies\\": {\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"PolicyIds\\": [\\n \\"reg-policy-63b2f1844b86****\\"\\n ],\\n \\"ExternalProcessId\\": \\"\\",\\n \\"FieldMap\\": [\\n {\\n \\"SystemField\\": \\"\\",\\n \\"DisplayField\\": \\"\\",\\n \\"DisplayFieldValue\\": \\"\\"\\n }\\n ]\\n },\\n \\"AppUninstallPolicies\\": {\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"PolicyIds\\": [\\n \\"auto-boot-anti-uninstall-5919f8afff47****\\"\\n ],\\n \\"ExternalProcessId\\": \\"\\",\\n \\"FieldMap\\": [\\n {\\n \\"SystemField\\": \\"\\",\\n \\"DisplayField\\": \\"\\",\\n \\"DisplayFieldValue\\": \\"\\"\\n }\\n ]\\n },\\n \\"DlpSendPolicies\\": {\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"PolicyIds\\": [\\n \\"17**\\"\\n ],\\n \\"ExternalProcessId\\": \\"\\",\\n \\"FieldMap\\": [\\n {\\n \\"SystemField\\": \\"\\",\\n \\"DisplayField\\": \\"\\",\\n \\"DisplayFieldValue\\": \\"\\"\\n }\\n ]\\n },\\n \\"PeripheraBlockPolicies\\": {\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"PolicyIds\\": [\\n \\"17**\\"\\n ],\\n \\"ExternalProcessId\\": \\"\\",\\n \\"FieldMap\\": [\\n {\\n \\"SystemField\\": \\"\\",\\n \\"DisplayField\\": \\"\\",\\n \\"DisplayFieldValue\\": \\"\\"\\n }\\n ]\\n },\\n \\"EndpointHardeningPolicies\\": {\\n \\"SchemaId\\": \\"\\",\\n \\"PolicyIds\\": [\\n \\"\\"\\n ],\\n \\"ExternalProcessId\\": \\"\\",\\n \\"FieldMap\\": [\\n {\\n \\"SystemField\\": \\"\\",\\n \\"DisplayField\\": \\"\\",\\n \\"DisplayFieldValue\\": \\"\\"\\n }\\n ]\\n },\\n \\"SoftwareHardeningPolicies\\": {\\n \\"SchemaId\\": \\"\\",\\n \\"PolicyIds\\": [\\n \\"\\"\\n ],\\n \\"ExternalProcessId\\": \\"\\",\\n \\"FieldMap\\": [\\n {\\n \\"SystemField\\": \\"\\",\\n \\"DisplayField\\": \\"\\",\\n \\"DisplayFieldValue\\": \\"\\"\\n }\\n ]\\n },\\n \\"ApprovalType\\": 0,\\n \\"ExternalConfig\\": \\"\\",\\n \\"EventLabel\\": \\"\\"\\n }\\n}","type":"json"}]', + ], + 'ListApprovals' => [ + 'summary' => '批量查询审批', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '213405', + 'abilityTreeNodes' => [ + 'FEATUREcsas3KYQ7V', + ], + ], + 'parameters' => [ + [ + 'name' => 'CurrentPage', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '10', + ], + ], + [ + 'name' => 'ApprovalIds', + 'in' => 'query', + 'style' => 'flat', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'approval-872b5e911b35****', + ], + 'required' => false, + ], + ], + [ + 'name' => 'Statuses', + 'in' => 'query', + 'style' => 'flat', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'Revoked' => '', + 'Approved' => '', + 'Expired' => '', + 'Rejected' => '', + 'Pending' => '', + ], + 'example' => 'Pending', + ], + 'required' => false, + ], + ], + [ + 'name' => 'SchemaId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'approval-schema-090134f1ebff****', + ], + ], + [ + 'name' => 'ProcessId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'approval-process-fcc351b8a95b****', + ], + ], + [ + 'name' => 'PolicyType', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'AppUninstall' => '', + 'DlpSend' => '', + 'DomainWhitelist' => '', + 'DomainBlacklist' => '', + 'SoftwareBlock' => '', + 'PeripheralBlock' => '', + ], + 'example' => 'DlpSend', + ], + ], + [ + 'name' => 'CreatorUserId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****', + ], + ], + [ + 'name' => 'CreatorDevTag', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '36efa42d-2c32-c4dc-e3fc-8541e33a****', + ], + ], + [ + 'name' => 'OperatorUserId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****', + ], + ], + [ + 'name' => 'OperatorUsername', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'CreatorUsername', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'CreatorDepartment', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'CreateStartTime', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '1730000000', + ], + ], + [ + 'name' => 'CreateEndTime', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '1736750500', + ], + ], + [ + 'name' => 'ProcessName', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'SchemaName', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'test', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '6965F5BA-53B6-5650-A708-51F090F843BB', + ], + 'TotalNum' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1', + ], + 'Approvals' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ApprovalId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'approval-872b5e911b35****', + ], + 'ApprovalProgresses' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Operators' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'SaseUserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****', + ], + 'Username' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + 'Status' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Revoked' => '', + 'Approved' => '', + 'Rejected' => '', + 'Pending' => '', + ], + 'example' => 'Approved', + ], + 'Executor' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****', + ], + 'Action' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Reject' => '', + 'Comment' => '', + 'Revoke' => '', + 'Approve' => '', + ], + 'example' => 'Approve', + ], + 'Comment' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Timestamp' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1736752000', + ], + ], + ], + ], + 'EndTimestamp' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1757952000', + ], + 'ApprovalDetail' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Status' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Revoked' => '', + 'Approved' => '', + 'Expired' => '', + 'Rejected' => '', + 'Pending' => '', + ], + 'example' => 'Pending', + ], + 'ProcessId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'approval-process-fcc351b8a95b****', + ], + 'ProcessName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'PolicyType' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'AppUninstall' => '', + 'DlpSend' => '', + 'DomainWhitelist' => '', + 'DomainBlacklist' => '', + 'SoftwareBlock' => '', + 'PeripheralBlock' => '', + ], + 'example' => 'DlpSend', + ], + 'SchemaId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'approval-schema-090134f1ebff****', + ], + 'SchemaName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'SchemaContent' => [ + 'description' => '', + 'type' => 'string', + 'example' => '{"form": {"labelCol": 6,"wrapperCol": 12}}', + ], + 'CreatorUserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****', + ], + 'CreatorDevTag' => [ + 'description' => '', + 'type' => 'string', + 'example' => '36efa42d-2c32-c4dc-e3fc-8541e33a****', + ], + 'CreateTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2022-11-15 22:11:55', + ], + 'Reason' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'CreatorUsername' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'CreatorDepartment' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'ApprovalType' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6965F5BA-53B6-5650-A708-51F090F843BB\\",\\n \\"TotalNum\\": \\"1\\",\\n \\"Approvals\\": [\\n {\\n \\"ApprovalId\\": \\"approval-872b5e911b35****\\",\\n \\"ApprovalProgresses\\": [\\n {\\n \\"Operators\\": [\\n {\\n \\"SaseUserId\\": \\"su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****\\",\\n \\"Username\\": \\"王先生\\"\\n }\\n ],\\n \\"Status\\": \\"Approved\\",\\n \\"Executor\\": \\"su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****\\",\\n \\"Action\\": \\"Approve\\",\\n \\"Comment\\": \\"审核通过\\",\\n \\"Timestamp\\": 1736752000\\n }\\n ],\\n \\"EndTimestamp\\": 1757952000,\\n \\"ApprovalDetail\\": \\"{\\\\\\"initiatorName\\\\\\":\\\\\\"王先生\\\\\\",\\\\\\"initiatorDept\\\\\\":\\\\\\"测试部\\\\\\",\\\\\\"devType\\\\\\":\\\\\\"windows\\\\\\",\\\\\\"deviceType\\\\\\":\\\\\\"usbStorage\\\\\\",\\\\\\"deviceId\\\\\\":\\\\\\"FC216E9E3****\\\\\\",\\\\\\"approvalEndTimestamp\\\\\\":1736524799,\\\\\\"approvalReason\\\\\\":\\\\\\"这是一个测试\\\\\\"}\\",\\n \\"Status\\": \\"Pending\\",\\n \\"ProcessId\\": \\"approval-process-fcc351b8a95b****\\",\\n \\"ProcessName\\": \\"测试\\",\\n \\"PolicyType\\": \\"DlpSend\\",\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"SchemaName\\": \\"测试\\",\\n \\"SchemaContent\\": \\"{\\\\\\"form\\\\\\": {\\\\\\"labelCol\\\\\\": 6,\\\\\\"wrapperCol\\\\\\": 12}}\\",\\n \\"CreatorUserId\\": \\"su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****\\",\\n \\"CreatorDevTag\\": \\"36efa42d-2c32-c4dc-e3fc-8541e33a****\\",\\n \\"CreateTime\\": \\"2022-11-15 22:11:55\\",\\n \\"Reason\\": \\"这是一个测试\\",\\n \\"CreatorUsername\\": \\"王先生\\",\\n \\"CreatorDepartment\\": \\"测试部\\",\\n \\"ApprovalType\\": 0\\n }\\n ]\\n}","type":"json"}]', + ], + 'ListApprovalSchemasForApprovalProcesses' => [ + 'summary' => '查询审批流程关联的渲染模板', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '213390', + 'abilityTreeNodes' => [ + 'FEATUREcsas3KYQ7V', + ], + ], + 'parameters' => [ + [ + 'name' => 'ProcessIds', + 'in' => 'query', + 'style' => 'flat', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'approval-process-dc61e92ba5c5****', + ], + 'required' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '58D6B23E-E5DA-5418-8F61-51A3B5A30049', + ], + 'Processes' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ProcessId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'approval-process-35ee09077ee9****', + ], + 'Schemas' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'CreateTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2024-03-15 14:44:07', + ], + 'SchemaId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'approval-schema-090134f1ebff****', + ], + 'SchemaName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'SchemaContent' => [ + 'description' => '', + 'type' => 'string', + 'example' => '{"form": {"labelCol": 6,"wrapperCol": 12}}', + ], + 'SchemaVersion' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1715680940', + ], + 'PolicyType' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'AppUninstall' => '', + 'DlpSend' => '', + 'DomainWhitelist' => '', + 'DomainBlacklist' => '', + 'SoftwareBlock' => '', + 'PeripheralBlock' => '', + ], + 'example' => 'DlpSend', + ], + 'IsDefault' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"58D6B23E-E5DA-5418-8F61-51A3B5A30049\\",\\n \\"Processes\\": [\\n {\\n \\"ProcessId\\": \\"approval-process-35ee09077ee9****\\",\\n \\"Schemas\\": [\\n {\\n \\"CreateTime\\": \\"2024-03-15 14:44:07\\",\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"SchemaName\\": \\"测试\\",\\n \\"Description\\": \\"这是一个模板\\",\\n \\"SchemaContent\\": \\"{\\\\\\"form\\\\\\": {\\\\\\"labelCol\\\\\\": 6,\\\\\\"wrapperCol\\\\\\": 12}}\\",\\n \\"SchemaVersion\\": 1715680940,\\n \\"PolicyType\\": \\"DlpSend\\",\\n \\"IsDefault\\": true\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', + ], + 'ListApprovalSchemas' => [ + 'summary' => '列表查询审批动态模板', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '213353', + 'abilityTreeNodes' => [ + 'FEATUREcsas3KYQ7V', + ], + ], + 'parameters' => [ + [ + 'name' => 'CurrentPage', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '10', + ], + ], + [ + 'name' => 'SchemaName', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'test', + ], + ], + [ + 'name' => 'SchemaIds', + 'in' => 'query', + 'style' => 'flat', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'approval-schema-090134f1ebff****', + ], + 'required' => false, + ], + ], + [ + 'name' => 'PolicyType', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'AppUninstall' => '', + 'DlpSend' => '', + 'DomainWhitelist' => '', + 'DomainBlacklist' => '', + 'SoftwareBlock' => '', + 'PeripheralBlock' => '', + ], + 'example' => 'DlpSend', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '102350E7-1A20-58F5-9D63-ABEA820AE6E1', + ], + 'TotalNum' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1', + ], + 'Schemas' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'CreateTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2024-03-15 14:44:07', + ], + 'SchemaId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'approval-schema-090134f1ebff****', + ], + 'SchemaName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'SchemaContent' => [ + 'description' => '', + 'type' => 'string', + 'example' => '{"form": {"labelCol": 6,"wrapperCol": 12}}', + ], + 'SchemaVersion' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1715680940', + ], + 'PolicyType' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'AppUninstall' => '', + 'DlpSend' => '', + 'DomainWhitelist' => '', + 'DomainBlacklist' => '', + 'SoftwareBlock' => '', + 'PeripheralBlock' => '', + ], + 'example' => 'DlpSend', + ], + 'IsDefault' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"102350E7-1A20-58F5-9D63-ABEA820AE6E1\\",\\n \\"TotalNum\\": \\"1\\",\\n \\"Schemas\\": [\\n {\\n \\"CreateTime\\": \\"2024-03-15 14:44:07\\",\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"SchemaName\\": \\"测试\\",\\n \\"Description\\": \\"这是一个模板\\",\\n \\"SchemaContent\\": \\"{\\\\\\"form\\\\\\": {\\\\\\"labelCol\\\\\\": 6,\\\\\\"wrapperCol\\\\\\": 12}}\\",\\n \\"SchemaVersion\\": 1715680940,\\n \\"PolicyType\\": \\"DlpSend\\",\\n \\"IsDefault\\": true\\n }\\n ]\\n}","type":"json"}]', + ], + 'ListApprovalProcessesForApprovalSchemas' => [ + 'summary' => '查询审批渲染模板关联的流程', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '213391', + 'abilityTreeNodes' => [ + 'FEATUREcsas3KYQ7V', + ], + ], + 'parameters' => [ + [ + 'name' => 'SchemaIds', + 'in' => 'query', + 'style' => 'flat', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'approval-schema-090134f1ebff****', + ], + 'required' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => 'BE4FB974-11BC-5453-9BE1-1606A73EACA6', + ], + 'Schemas' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'SchemaId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'approval-schema-090134f1ebff****', + ], + 'Processes' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'CreateTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2022-10-25 10:44:09', + ], + 'ProcessId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'approval-process-dc61e92ba5c5****', + ], + 'ProcessName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BE4FB974-11BC-5453-9BE1-1606A73EACA6\\",\\n \\"Schemas\\": [\\n {\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"Processes\\": [\\n {\\n \\"CreateTime\\": \\"2022-10-25 10:44:09\\",\\n \\"ProcessId\\": \\"approval-process-dc61e92ba5c5****\\",\\n \\"ProcessName\\": \\"测试\\",\\n \\"Description\\": \\"这是一个审批流程\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', + ], + 'ListApprovalProcesses' => [ + 'summary' => '列表查询审批流程', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '213355', + 'abilityTreeNodes' => [ + 'FEATUREcsas3KYQ7V', + ], + ], + 'parameters' => [ + [ + 'name' => 'CurrentPage', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '10', + ], + ], + [ + 'name' => 'ProcessName', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'test', + ], + ], + [ + 'name' => 'ProcessIds', + 'in' => 'query', + 'style' => 'flat', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'approval-process-dc61e92ba5c5****', + ], + 'required' => false, + ], + ], + [ + 'name' => 'PolicyType', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'AppUninstall' => '', + 'DlpSend' => '', + 'DomainWhitelist' => '', + 'DomainBlacklist' => '', + 'SoftwareBlock' => '', + 'PeripheralBlock' => '', + ], + 'example' => 'DlpSend', + ], + ], + [ + 'name' => 'PolicyId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'pid-6d6ad77d5b52****', + ], + ], + [ + 'name' => 'SaseUserId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****', + ], + ], + [ + 'name' => 'Username', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '7E39C33B-F565-55C6-ACC2-953FCE7DA7D6', + ], + 'Processes' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'CreateTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2024-02-27 14:04:27', + ], + 'ProcessId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'approval-process-35ee09077ee9****', + ], + 'ProcessName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'ProcessNodes' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'SaseUserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****', + ], + 'Username' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + ], + 'DomainWhitelistPolicies' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'SchemaId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'approval-schema-090134f1ebff****', + ], + 'PolicyIds' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ladp-27a4fedf5e73****', + ], + ], + ], + ], + 'DomainBlacklistPolicies' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'SchemaId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'approval-schema-090134f1ebff****', + ], + 'PolicyIds' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ladp-27a4fedf5e73****', + ], + ], + ], + ], + 'SoftwareBlockPolicies' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'SchemaId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'approval-schema-090134f1ebff****', + ], + 'PolicyIds' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'pid-6d6ad77d5b52****', + ], + ], + ], + ], + 'DeviceRegistrationPolicies' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'SchemaId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'approval-schema-090134f1ebff****', + ], + 'PolicyIds' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'reg-policy-63b2f1844b86****', + ], + ], + ], + ], + 'AppUninstallPolicies' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'SchemaId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'approval-schema-090134f1ebff****', + ], + 'PolicyIds' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'auto-boot-anti-uninstall-5919f8afff47****', + ], + ], + ], + ], + 'DlpSendPolicies' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'SchemaId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'approval-schema-090134f1ebff****', + ], + 'PolicyIds' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '17**', + ], + ], + ], + ], + 'PeripheralBlockPolicies' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'SchemaId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'approval-schema-090134f1ebff****', + ], + 'PolicyIds' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '17**', + ], + ], + ], + ], + 'EndpointHardeningPolicies' => [ + 'type' => 'object', + 'properties' => [ + 'SchemaId' => [ + 'type' => 'string', + ], + 'PolicyIds' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + ], + ], + 'SoftwareHardeningPolicies' => [ + 'type' => 'object', + 'properties' => [ + 'SchemaId' => [ + 'type' => 'string', + ], + 'PolicyIds' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + ], + ], + 'ApprovalType' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + ], + ], + ], + 'TotalNum' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7E39C33B-F565-55C6-ACC2-953FCE7DA7D6\\",\\n \\"Processes\\": [\\n {\\n \\"CreateTime\\": \\"2024-02-27 14:04:27\\",\\n \\"ProcessId\\": \\"approval-process-35ee09077ee9****\\",\\n \\"ProcessName\\": \\"测试\\",\\n \\"Description\\": \\"这是一个审批流程\\",\\n \\"ProcessNodes\\": [\\n [\\n {\\n \\"SaseUserId\\": \\"su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****\\",\\n \\"Username\\": \\"王先生\\"\\n }\\n ]\\n ],\\n \\"DomainWhitelistPolicies\\": {\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"PolicyIds\\": [\\n \\"ladp-27a4fedf5e73****\\"\\n ]\\n },\\n \\"DomainBlacklistPolicies\\": {\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"PolicyIds\\": [\\n \\"ladp-27a4fedf5e73****\\"\\n ]\\n },\\n \\"SoftwareBlockPolicies\\": {\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"PolicyIds\\": [\\n \\"pid-6d6ad77d5b52****\\"\\n ]\\n },\\n \\"DeviceRegistrationPolicies\\": {\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"PolicyIds\\": [\\n \\"reg-policy-63b2f1844b86****\\"\\n ]\\n },\\n \\"AppUninstallPolicies\\": {\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"PolicyIds\\": [\\n \\"auto-boot-anti-uninstall-5919f8afff47****\\"\\n ]\\n },\\n \\"DlpSendPolicies\\": {\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"PolicyIds\\": [\\n \\"17**\\"\\n ]\\n },\\n \\"PeripheralBlockPolicies\\": {\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"PolicyIds\\": [\\n \\"17**\\"\\n ]\\n },\\n \\"EndpointHardeningPolicies\\": {\\n \\"SchemaId\\": \\"\\",\\n \\"PolicyIds\\": [\\n \\"\\"\\n ]\\n },\\n \\"SoftwareHardeningPolicies\\": {\\n \\"SchemaId\\": \\"\\",\\n \\"PolicyIds\\": [\\n \\"\\"\\n ]\\n },\\n \\"ApprovalType\\": 0\\n }\\n ],\\n \\"TotalNum\\": \\"1\\"\\n}","type":"json"}]', + ], + 'GetApprovalSchema' => [ + 'summary' => '查询审批动态模板', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '213354', + 'abilityTreeNodes' => [ + 'FEATUREcsas3KYQ7V', + ], + ], + 'parameters' => [ + [ + 'name' => 'SchemaId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'approval-schema-090134f1ebff****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => 'EFE7EBB2-449D-5BBB-B381-CA7839BC1649', + ], + 'Schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'CreateTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2022-02-14 11:57:51', + ], + 'SchemaId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'approval-schema-090134f1ebff****', + ], + 'SchemaName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'SchemaContent' => [ + 'description' => '', + 'type' => 'string', + 'example' => '{"form": {"labelCol": 6,"wrapperCol": 12}}', + ], + 'SchemaVersion' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1715680940', + ], + 'PolicyType' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'AppUninstall' => '', + 'DlpSend' => '', + 'DomainWhitelist' => '', + 'DomainBlacklist' => '', + 'SoftwareBlock' => '', + 'PeripheralBlock' => '', + ], + 'example' => 'DlpSend', + ], + 'IsDefault' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"EFE7EBB2-449D-5BBB-B381-CA7839BC1649\\",\\n \\"Schema\\": {\\n \\"CreateTime\\": \\"2022-02-14 11:57:51\\",\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"SchemaName\\": \\"测试\\",\\n \\"Description\\": \\"这是一个模板\\",\\n \\"SchemaContent\\": \\"{\\\\\\"form\\\\\\": {\\\\\\"labelCol\\\\\\": 6,\\\\\\"wrapperCol\\\\\\": 12}}\\",\\n \\"SchemaVersion\\": 1715680940,\\n \\"PolicyType\\": \\"DlpSend\\",\\n \\"IsDefault\\": true\\n }\\n}","type":"json"}]', + ], + 'GetApprovalProcess' => [ + 'summary' => '查询审批流程', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '213356', + 'abilityTreeNodes' => [ + 'FEATUREcsas3KYQ7V', + ], + ], + 'parameters' => [ + [ + 'name' => 'ProcessId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'approval-process-fcc351b8a95b****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => 'C81E0B4B-AAEB-5FDD-B27E-3F5AF7EBD7EF', + ], + 'Process' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'CreateTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2022-10-25 10:44:09', + 'title' => '创建时间', + ], + 'ProcessId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'approval-process-35ee09077ee9****', + 'title' => '流程ID', + ], + 'ProcessName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + 'title' => '流程名称', + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + 'title' => '流程描述', + ], + 'ProcessNodes' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'SaseUserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****', + 'title' => 'SASE用户ID', + ], + 'Username' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + 'title' => '用户名称', + ], + ], + ], + ], + 'title' => '流程节点', + ], + 'DomainWhitelistPolicies' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'SchemaId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'approval-schema-090134f1ebff****', + 'title' => '模板ID', + ], + 'PolicyIds' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ladp-27a4fedf5e73****', + 'title' => '', + ], + 'title' => '策略ID', + ], + 'ExternalProcessId' => [ + 'title' => '外部流程ID', + 'type' => 'string', + ], + 'FieldMap' => [ + 'title' => '字段映射表', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'SystemField' => [ + 'title' => '系统字段', + 'type' => 'string', + ], + 'DisplayField' => [ + 'title' => '展示字段', + 'type' => 'string', + ], + 'DisplayFieldValue' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + 'title' => '域名白名单策略', + ], + 'DomainBlacklistPolicies' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'SchemaId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'approval-schema-090134f1ebff****', + 'title' => '模板ID', + ], + 'PolicyIds' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ladp-27a4fedf5e73****', + ], + 'title' => '策略ID', + ], + 'ExternalProcessId' => [ + 'title' => '外部流程ID', + 'type' => 'string', + ], + 'FieldMap' => [ + 'title' => '字段映射', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'SystemField' => [ + 'title' => '系统字段', + 'type' => 'string', + ], + 'DisplayField' => [ + 'title' => '展示字段', + 'type' => 'string', + ], + 'DisplayFieldValue' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + 'title' => '域名黑名单策略', + ], + 'SoftwareBlockPolicies' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'SchemaId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'approval-schema-090134f1ebff****', + 'title' => '模板ID', + ], + 'PolicyIds' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'pid-6d6ad77d5b52****', + ], + 'title' => '策略ID', + ], + 'ExternalProcessId' => [ + 'title' => '外部流程ID', + 'type' => 'string', + ], + 'FieldMap' => [ + 'title' => '字段映射', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'SystemField' => [ + 'title' => '系统字段', + 'type' => 'string', + ], + 'DisplayField' => [ + 'title' => '展示字段', + 'type' => 'string', + ], + 'DisplayFieldValue' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + 'title' => '软件禁用策略', + ], + 'DeviceRegistrationPolicies' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'SchemaId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'approval-schema-090134f1ebff****', + 'title' => '模板ID', + ], + 'PolicyIds' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'reg-policy-63b2f1844b86****', + ], + 'title' => '策略ID', + ], + 'ExternalProcessId' => [ + 'title' => '外部流程ID', + 'type' => 'string', + ], + 'FieldMap' => [ + 'title' => '字段映射', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'SystemField' => [ + 'title' => '系统字段', + 'type' => 'string', + ], + 'DisplayField' => [ + 'title' => '展示字段', + 'type' => 'string', + ], + 'DisplayFieldValue' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + 'title' => '设备注册策略', + ], + 'AppUninstallPolicies' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'SchemaId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'approval-schema-090134f1ebff****', + 'title' => '模板ID', + ], + 'PolicyIds' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'auto-boot-anti-uninstall-5919f8afff47****', + ], + 'title' => '策略ID', + ], + 'ExternalProcessId' => [ + 'title' => '外部流程ID', + 'type' => 'string', + ], + 'FieldMap' => [ + 'title' => '字段映射', + 'type' => 'array', + 'items' => [ + 'title' => '字段映射项', + 'type' => 'object', + 'properties' => [ + 'SystemField' => [ + 'title' => '系统字段', + 'type' => 'string', + 'example' => '名称', + ], + 'DisplayField' => [ + 'title' => '展示字段', + 'type' => 'string', + 'example' => '名称', + ], + 'DisplayFieldValue' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + 'title' => '软件卸载策略', + ], + 'DlpSendPolicies' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'SchemaId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'approval-schema-090134f1ebff****', + 'title' => '模板ID', + ], + 'PolicyIds' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '17**', + ], + 'title' => '策略ID', + ], + 'ExternalProcessId' => [ + 'title' => '外部流程ID', + 'type' => 'string', + ], + 'FieldMap' => [ + 'title' => '字段映射', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'SystemField' => [ + 'title' => '系统字段', + 'type' => 'string', + ], + 'DisplayField' => [ + 'title' => '展示字段', + 'type' => 'string', + ], + 'DisplayFieldValue' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + 'title' => '文件外发策略', + ], + 'PeripheralBlockPolicies' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'SchemaId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'approval-schema-090134f1ebff****', + 'title' => '模板ID', + ], + 'PolicyIds' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '17**', + ], + 'title' => '策略ID', + ], + 'ExternalProcessId' => [ + 'title' => '外部流程ID', + 'type' => 'string', + ], + 'FieldMap' => [ + 'title' => '字段映射', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'SystemField' => [ + 'title' => '系统字段', + 'type' => 'string', + ], + 'DisplayField' => [ + 'title' => '展示字段', + 'type' => 'string', + ], + 'DisplayFieldValue' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + 'title' => '外设禁用策略', + ], + 'EndpointHardeningPolicies' => [ + 'title' => '终端防护策略', + 'type' => 'object', + 'properties' => [ + 'SchemaId' => [ + 'title' => '模板ID', + 'type' => 'string', + ], + 'PolicyIds' => [ + 'title' => '策略ID', + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + 'ExternalProcessId' => [ + 'title' => '外部流程ID', + 'type' => 'string', + ], + 'FieldMap' => [ + 'title' => '字段映射', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'SystemField' => [ + 'title' => '系统字段', + 'type' => 'string', + ], + 'DisplayField' => [ + 'title' => '展示字段', + 'type' => 'string', + ], + 'DisplayFieldValue' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + 'SoftwareHardeningPolicies' => [ + 'title' => '软件加固策略', + 'type' => 'object', + 'properties' => [ + 'SchemaId' => [ + 'title' => '模板ID', + 'type' => 'string', + ], + 'PolicyIds' => [ + 'title' => '策略ID', + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + 'ExternalProcessId' => [ + 'title' => '外部流程ID', + 'type' => 'string', + ], + 'FieldMap' => [ + 'title' => '字段映射', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'SystemField' => [ + 'title' => '系统字段', + 'type' => 'string', + ], + 'DisplayField' => [ + 'title' => '展示字段', + 'type' => 'string', + ], + 'DisplayFieldValue' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + 'ApprovalType' => [ + 'title' => '审批类型', + 'type' => 'integer', + 'format' => 'int32', + ], + 'ExternalConfig' => [ + 'title' => '外部配置', + 'type' => 'string', + ], + 'EventLabel' => [ + 'title' => '标签', + 'type' => 'string', + ], + ], + 'title' => '', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C81E0B4B-AAEB-5FDD-B27E-3F5AF7EBD7EF\\",\\n \\"Process\\": {\\n \\"CreateTime\\": \\"2022-10-25 10:44:09\\",\\n \\"ProcessId\\": \\"approval-process-35ee09077ee9****\\",\\n \\"ProcessName\\": \\"测试\\",\\n \\"Description\\": \\"这是一个审批流程\\",\\n \\"ProcessNodes\\": [\\n [\\n {\\n \\"SaseUserId\\": \\"su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****\\",\\n \\"Username\\": \\"王先生\\"\\n }\\n ]\\n ],\\n \\"DomainWhitelistPolicies\\": {\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"PolicyIds\\": [\\n \\"ladp-27a4fedf5e73****\\"\\n ],\\n \\"ExternalProcessId\\": \\"\\",\\n \\"FieldMap\\": [\\n {\\n \\"SystemField\\": \\"\\",\\n \\"DisplayField\\": \\"\\",\\n \\"DisplayFieldValue\\": \\"\\"\\n }\\n ]\\n },\\n \\"DomainBlacklistPolicies\\": {\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"PolicyIds\\": [\\n \\"ladp-27a4fedf5e73****\\"\\n ],\\n \\"ExternalProcessId\\": \\"\\",\\n \\"FieldMap\\": [\\n {\\n \\"SystemField\\": \\"\\",\\n \\"DisplayField\\": \\"\\",\\n \\"DisplayFieldValue\\": \\"\\"\\n }\\n ]\\n },\\n \\"SoftwareBlockPolicies\\": {\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"PolicyIds\\": [\\n \\"pid-6d6ad77d5b52****\\"\\n ],\\n \\"ExternalProcessId\\": \\"\\",\\n \\"FieldMap\\": [\\n {\\n \\"SystemField\\": \\"\\",\\n \\"DisplayField\\": \\"\\",\\n \\"DisplayFieldValue\\": \\"\\"\\n }\\n ]\\n },\\n \\"DeviceRegistrationPolicies\\": {\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"PolicyIds\\": [\\n \\"reg-policy-63b2f1844b86****\\"\\n ],\\n \\"ExternalProcessId\\": \\"\\",\\n \\"FieldMap\\": [\\n {\\n \\"SystemField\\": \\"\\",\\n \\"DisplayField\\": \\"\\",\\n \\"DisplayFieldValue\\": \\"\\"\\n }\\n ]\\n },\\n \\"AppUninstallPolicies\\": {\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"PolicyIds\\": [\\n \\"auto-boot-anti-uninstall-5919f8afff47****\\"\\n ],\\n \\"ExternalProcessId\\": \\"\\",\\n \\"FieldMap\\": [\\n {\\n \\"SystemField\\": \\"名称\\",\\n \\"DisplayField\\": \\"名称\\",\\n \\"DisplayFieldValue\\": \\"\\"\\n }\\n ]\\n },\\n \\"DlpSendPolicies\\": {\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"PolicyIds\\": [\\n \\"17**\\"\\n ],\\n \\"ExternalProcessId\\": \\"\\",\\n \\"FieldMap\\": [\\n {\\n \\"SystemField\\": \\"\\",\\n \\"DisplayField\\": \\"\\",\\n \\"DisplayFieldValue\\": \\"\\"\\n }\\n ]\\n },\\n \\"PeripheralBlockPolicies\\": {\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"PolicyIds\\": [\\n \\"17**\\"\\n ],\\n \\"ExternalProcessId\\": \\"\\",\\n \\"FieldMap\\": [\\n {\\n \\"SystemField\\": \\"\\",\\n \\"DisplayField\\": \\"\\",\\n \\"DisplayFieldValue\\": \\"\\"\\n }\\n ]\\n },\\n \\"EndpointHardeningPolicies\\": {\\n \\"SchemaId\\": \\"\\",\\n \\"PolicyIds\\": [\\n \\"\\"\\n ],\\n \\"ExternalProcessId\\": \\"\\",\\n \\"FieldMap\\": [\\n {\\n \\"SystemField\\": \\"\\",\\n \\"DisplayField\\": \\"\\",\\n \\"DisplayFieldValue\\": \\"\\"\\n }\\n ]\\n },\\n \\"SoftwareHardeningPolicies\\": {\\n \\"SchemaId\\": \\"\\",\\n \\"PolicyIds\\": [\\n \\"\\"\\n ],\\n \\"ExternalProcessId\\": \\"\\",\\n \\"FieldMap\\": [\\n {\\n \\"SystemField\\": \\"\\",\\n \\"DisplayField\\": \\"\\",\\n \\"DisplayFieldValue\\": \\"\\"\\n }\\n ]\\n },\\n \\"ApprovalType\\": 0,\\n \\"ExternalConfig\\": \\"\\",\\n \\"EventLabel\\": \\"\\"\\n }\\n}","type":"json"}]', + ], + 'GetApproval' => [ + 'summary' => '查询审批', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '213407', + 'abilityTreeNodes' => [ + 'FEATUREcsas3KYQ7V', + ], + ], + 'parameters' => [ + [ + 'name' => 'ApprovalId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'approval-872b5e911b35****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '7E9D7ACD-53D5-56EF-A913-79D148D06299', + ], + 'Approval' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ApprovalId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'approval-3564b140642f****', + ], + 'ApprovalProgresses' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Operators' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'SaseUserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****', + ], + 'Username' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + 'Status' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Approved', + ], + 'Executor' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****', + ], + 'Action' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Approve', + ], + 'Comment' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Timestamp' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1736752000', + ], + ], + ], + ], + 'EndTimestamp' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1757952000', + ], + 'ApprovalDetail' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Status' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Pending', + ], + 'ProcessId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'approval-process-fcc351b8a95b****', + ], + 'ProcessName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'PolicyType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'DlpSend', + ], + 'SchemaId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'approval-schema-090134f1ebff****', + ], + 'SchemaName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'SchemaContent' => [ + 'description' => '', + 'type' => 'string', + 'example' => '{"form": {"labelCol": 6,"wrapperCol": 12}}', + ], + 'CreatorUserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****', + ], + 'CreatorDevTag' => [ + 'description' => '', + 'type' => 'string', + 'example' => '36efa42d-2c32-c4dc-e3fc-8541e33a****', + ], + 'CreateTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2022-11-15 22:11:55', + ], + 'Reason' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'CreatorUsername' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'CreatorDepartment' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7E9D7ACD-53D5-56EF-A913-79D148D06299\\",\\n \\"Approval\\": [\\n {\\n \\"ApprovalId\\": \\"approval-3564b140642f****\\",\\n \\"ApprovalProgresses\\": [\\n {\\n \\"Operators\\": [\\n {\\n \\"SaseUserId\\": \\"su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****\\",\\n \\"Username\\": \\"王先生\\"\\n }\\n ],\\n \\"Status\\": \\"Approved\\",\\n \\"Executor\\": \\"su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****\\",\\n \\"Action\\": \\"Approve\\",\\n \\"Comment\\": \\"审核通过\\",\\n \\"Timestamp\\": 1736752000\\n }\\n ],\\n \\"EndTimestamp\\": 1757952000,\\n \\"ApprovalDetail\\": \\"{\\\\\\"initiatorName\\\\\\":\\\\\\"王先生\\\\\\",\\\\\\"initiatorDept\\\\\\":\\\\\\"测试部\\\\\\",\\\\\\"devType\\\\\\":\\\\\\"windows\\\\\\",\\\\\\"deviceType\\\\\\":\\\\\\"usbStorage\\\\\\",\\\\\\"deviceId\\\\\\":\\\\\\"FC216E9E3****\\\\\\",\\\\\\"approvalEndTimestamp\\\\\\":1736524799,\\\\\\"approvalReason\\\\\\":\\\\\\"这是一个测试\\\\\\"}\\",\\n \\"Status\\": \\"Pending\\",\\n \\"ProcessId\\": \\"approval-process-fcc351b8a95b****\\",\\n \\"ProcessName\\": \\"测试\\",\\n \\"PolicyType\\": \\"DlpSend\\",\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"SchemaName\\": \\"测试\\",\\n \\"SchemaContent\\": \\"{\\\\\\"form\\\\\\": {\\\\\\"labelCol\\\\\\": 6,\\\\\\"wrapperCol\\\\\\": 12}}\\",\\n \\"CreatorUserId\\": \\"su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****\\",\\n \\"CreatorDevTag\\": \\"36efa42d-2c32-c4dc-e3fc-8541e33a****\\",\\n \\"CreateTime\\": \\"2022-11-15 22:11:55\\",\\n \\"Reason\\": \\"这是一个测试\\",\\n \\"CreatorUsername\\": \\"王先生\\",\\n \\"CreatorDepartment\\": \\"测试部\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DetachPolicy2ApprovalProcess' => [ + 'summary' => '解绑业务策略与审批流程', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '213393', + 'abilityTreeNodes' => [ + 'FEATUREcsas3KYQ7V', + ], + ], + 'parameters' => [ + [ + 'name' => 'PolicyType', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'enumValueTitles' => [ + 'AppUninstall' => '', + 'DlpSend' => '', + 'DomainWhitelist' => '', + 'DomainBlacklist' => '', + 'SoftwareBlock' => '', + 'PeripheralBlock' => '', + ], + 'example' => 'PeripheralBlock', + ], + ], + [ + 'name' => 'PolicyId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'ladp-27a4fedf5e73****', + ], + ], + [ + 'name' => 'ProcessId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'approval-process-2677fcf063f5****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => 'BE4FB974-11BC-5453-9BE1-1606A73EACA6', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BE4FB974-11BC-5453-9BE1-1606A73EACA6\\"\\n}","type":"json"}]', + ], + 'DeleteApprovalProcesses' => [ + 'summary' => '批量删除审批流程', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '213359', + 'abilityTreeNodes' => [ + 'FEATUREcsas3KYQ7V', + ], + ], + 'parameters' => [ + [ + 'name' => 'ProcessIds', + 'in' => 'formData', + 'style' => 'flat', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'approval-process-dc61e92ba5c5****', + ], + 'required' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => 'B608C6AE-623D-55C4-9454-601B88AE937E', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B608C6AE-623D-55C4-9454-601B88AE937E\\"\\n}","type":"json"}]', + ], + 'AttachPolicy2ApprovalProcess' => [ + 'summary' => '挂载业务策略至指定审批流程', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '213392', + 'abilityTreeNodes' => [ + 'FEATUREcsas3KYQ7V', + ], + ], + 'parameters' => [ + [ + 'name' => 'PolicyType', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'enumValueTitles' => [ + 'AppUninstall' => '', + 'DlpSend' => '', + 'DomainWhitelist' => '', + 'DomainBlacklist' => '', + 'SoftwareBlock' => '', + 'PeripheralBlock' => '', + ], + 'example' => 'DlpSend', + ], + ], + [ + 'name' => 'PolicyId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'ladp-27a4fedf5e73****', + ], + ], + [ + 'name' => 'ProcessId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'approval-process-2677fcf063f5****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => 'C51D9340-4604-5331-AE62-407F3B408F86', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C51D9340-4604-5331-AE62-407F3B408F86\\"\\n}","type":"json"}]', + ], + 'CreateApprovalProcess' => [ + 'summary' => '创建审批流程', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '213357', + 'abilityTreeNodes' => [ + 'FEATUREcsas3KYQ7V', + ], + ], + 'parameters' => [ + [ + 'name' => 'ProcessName', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'test_process', + ], + ], + [ + 'name' => 'Description', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'ProcessNodes', + 'in' => 'formData', + 'style' => 'flat', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'su_d142d5bdeebcdb0c9dfe784d74d84a8f4644cee21bf26c9311c934debbef****', + ], + 'required' => false, + ], + 'required' => true, + ], + ], + [ + 'name' => 'MatchSchemas', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'DomainWhitelistSchemaId' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'approval-schema-090134f1ebff****', + ], + 'DomainBlacklistSchemaId' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'approval-schema-090134f1ebff****', + ], + 'SoftwareBlockSchemaId' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'approval-schema-090134f1ebff****', + ], + 'DeviceRegistrationSchemaId' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'approval-schema-090134f1ebff****', + ], + 'AppUninstallSchemaId' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'approval-schema-090134f1ebff****', + ], + 'DlpSendSchemaId' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'approval-schema-090134f1ebff****', + ], + 'PeripheralBlockSchemaId' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'approval-schema-090134f1ebff****', + ], + 'EndpointHardeningSchemaId' => [ + 'type' => 'string', + ], + 'SoftwareHardeningSchemaId' => [ + 'type' => 'string', + ], + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '2CABFEBB-0CE7-575E-833A-266F75D46713', + ], + 'Process' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'CreateTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2022-10-25 10:44:09', + ], + 'ProcessId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'approval-process-dc61e92ba5c5****', + ], + 'ProcessName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'ProcessNodes' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'SaseUserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****', + ], + 'Username' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + ], + 'DomainWhitelistPolicies' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'SchemaId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'approval-schema-090134f1ebff****', + ], + 'PolicyIds' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ladp-27a4fedf5e73****', + ], + ], + ], + ], + 'DomainBlacklistPolicies' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'SchemaId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'approval-schema-090134f1ebff****', + ], + 'PolicyIds' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ladp-27a4fedf5e73****', + ], + ], + ], + ], + 'SoftwareBlockPolicies' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'SchemaId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'approval-schema-090134f1ebff****', + ], + 'PolicyIds' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'pid-6d6ad77d5b52****', + ], + ], + ], + ], + 'DeviceRegistrationPolicies' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'SchemaId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'approval-schema-090134f1ebff****', + ], + 'PolicyIds' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'reg-policy-63b2f1844b86****', + ], + ], + ], + ], + 'AppUninstallPolicies' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'SchemaId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'approval-schema-090134f1ebff****', + ], + 'PolicyIds' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'auto-boot-anti-uninstall-5919f8afff47****', + ], + ], + ], + ], + 'DlpSendPolicies' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'SchemaId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'approval-schema-090134f1ebff****', + ], + 'PolicyIds' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '17**', + ], + ], + ], + ], + 'PeripheralBlockPolicies' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'SchemaId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'approval-schema-090134f1ebff****', + ], + 'PolicyIds' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '17**', + ], + ], + ], + ], + 'EndpointHardeningPolicies' => [ + 'type' => 'object', + 'properties' => [ + 'SchemaId' => [ + 'type' => 'string', + ], + 'PolicyIds' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + ], + ], + 'SoftwareHardeningPolicies' => [ + 'type' => 'object', + 'properties' => [ + 'SchemaId' => [ + 'type' => 'string', + ], + 'PolicyIds' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2CABFEBB-0CE7-575E-833A-266F75D46713\\",\\n \\"Process\\": {\\n \\"CreateTime\\": \\"2022-10-25 10:44:09\\",\\n \\"ProcessId\\": \\"approval-process-dc61e92ba5c5****\\",\\n \\"ProcessName\\": \\"测试\\",\\n \\"Description\\": \\"这是一个审批流程\\",\\n \\"ProcessNodes\\": [\\n [\\n {\\n \\"SaseUserId\\": \\"su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****\\",\\n \\"Username\\": \\"王先生\\"\\n }\\n ]\\n ],\\n \\"DomainWhitelistPolicies\\": {\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"PolicyIds\\": [\\n \\"ladp-27a4fedf5e73****\\"\\n ]\\n },\\n \\"DomainBlacklistPolicies\\": {\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"PolicyIds\\": [\\n \\"ladp-27a4fedf5e73****\\"\\n ]\\n },\\n \\"SoftwareBlockPolicies\\": {\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"PolicyIds\\": [\\n \\"pid-6d6ad77d5b52****\\"\\n ]\\n },\\n \\"DeviceRegistrationPolicies\\": {\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"PolicyIds\\": [\\n \\"reg-policy-63b2f1844b86****\\"\\n ]\\n },\\n \\"AppUninstallPolicies\\": {\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"PolicyIds\\": [\\n \\"auto-boot-anti-uninstall-5919f8afff47****\\"\\n ]\\n },\\n \\"DlpSendPolicies\\": {\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"PolicyIds\\": [\\n \\"17**\\"\\n ]\\n },\\n \\"PeripheralBlockPolicies\\": {\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"PolicyIds\\": [\\n \\"17**\\"\\n ]\\n },\\n \\"EndpointHardeningPolicies\\": {\\n \\"SchemaId\\": \\"\\",\\n \\"PolicyIds\\": [\\n \\"\\"\\n ]\\n },\\n \\"SoftwareHardeningPolicies\\": {\\n \\"SchemaId\\": \\"\\",\\n \\"PolicyIds\\": [\\n \\"\\"\\n ]\\n }\\n }\\n}","type":"json"}]', + ], + 'ListUninstallApplications' => [ + 'summary' => '列表查询卸载申请列表', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '215483', + 'abilityTreeNodes' => [ + 'FEATUREcsas3KYQ7V', + ], + ], + 'parameters' => [ + [ + 'name' => 'CurrentPage', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '10', + ], + ], + [ + 'name' => 'ApplicationIds', + 'in' => 'query', + 'style' => 'flat', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'uninstall-app-6646831ac314****', + ], + 'required' => false, + ], + ], + [ + 'name' => 'Statuses', + 'in' => 'query', + 'style' => 'flat', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'Pending', + ], + 'required' => false, + ], + ], + [ + 'name' => 'Username', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'Department', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'Mac', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '00:16:XX:XX:7c:46', + ], + ], + [ + 'name' => 'Hostname', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'win10-64bit', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '58D6B23E-E5DA-5418-8F61-51A3B5A30049', + ], + 'TotalNum' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + 'Applications' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'DevTag' => [ + 'description' => '', + 'type' => 'string', + 'example' => '36efa42d-2c32-c4dc-e3fc-8541e33a****', + ], + 'DevType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Windows', + ], + 'Mac' => [ + 'description' => '', + 'type' => 'string', + 'example' => '00:16:XX:XX:7c:46', + ], + 'Hostname' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'win10-64bit', + ], + 'Username' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'SaseUserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****', + ], + 'Department' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Reason' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Status' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Approved', + ], + 'ApplicationId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'uninstall-app-6646831ac314****', + ], + 'IsUninstall' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + 'CreateTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2023-07-17 18:46:55', + ], + 'IdpName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"58D6B23E-E5DA-5418-8F61-51A3B5A30049\\",\\n \\"TotalNum\\": 1,\\n \\"Applications\\": [\\n {\\n \\"DevTag\\": \\"36efa42d-2c32-c4dc-e3fc-8541e33a****\\",\\n \\"DevType\\": \\"Windows\\",\\n \\"Mac\\": \\"00:16:XX:XX:7c:46\\",\\n \\"Hostname\\": \\"win10-64bit\\",\\n \\"Username\\": \\"王先生\\",\\n \\"SaseUserId\\": \\"su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****\\",\\n \\"Department\\": \\"测试部\\",\\n \\"Reason\\": \\"这是一个测试\\",\\n \\"Status\\": \\"Approved\\",\\n \\"ApplicationId\\": \\"uninstall-app-6646831ac314****\\",\\n \\"IsUninstall\\": false,\\n \\"CreateTime\\": \\"2023-07-17 18:46:55\\",\\n \\"IdpName\\": \\"测试身份源\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'UpdateBootAndAntiUninstallPolicy' => [ + 'summary' => '更新自启动与防卸载策略配置', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '218007', + 'abilityTreeNodes' => [ + 'FEATUREcsas3KYQ7V', + ], + ], + 'parameters' => [ + [ + 'name' => 'IsBoot', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + [ + 'name' => 'IsAntiUninstall', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + [ + 'name' => 'AllowReport', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + [ + 'name' => 'WhitelistUsers', + 'in' => 'formData', + 'style' => 'flat', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + 'required' => false, + ], + ], + [ + 'name' => 'UserGroupIds', + 'in' => 'formData', + 'style' => 'flat', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'usergroup-086bcf2d650b****', + ], + 'required' => false, + ], + ], + [ + 'name' => 'BlockContent', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'BlockTextZh' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Title' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + 'Content' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + 'MainButtonText' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + 'MinorButtonText' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + 'required' => false, + ], + 'BlockTextEn' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Title' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'Anti-Uninstall Warning', + ], + 'Content' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'After uninstalling, the device can no longer be used for company work, and it will lose access to the company\'s intranet!', + ], + 'MainButtonText' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'Report', + ], + 'MinorButtonText' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'Ignore', + ], + ], + 'required' => false, + ], + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => 'CB67D866-1E54-5106-89DF-6D70C73E5989', + ], + 'Strategy' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'CreateTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2023-04-16 10:50:05', + ], + 'UpdateTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2024-06-14 10:17:14', + ], + 'IsBoot' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'IsAntiUninstall' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'AllowReport' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'WhitelistUsers' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + 'UserGroupIds' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'usergroup-086bcf2d650b****', + ], + ], + 'PolicyId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'auto-boot-anti-uninstall-6f6cbf5f6605****', + ], + 'BlockContent' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'BlockTextZh' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Title' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Content' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'MainButtonText' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'MinorButtonText' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + 'BlockTextEn' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Title' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Anti-Uninstall Warning', + ], + 'Content' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'After uninstalling, the device can no longer be used for company work, and it will lose access to the company\'s intranet!', + ], + 'MainButtonText' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Report', + ], + 'MinorButtonText' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Ignore', + ], + ], + ], + ], + ], + 'ReportProcessId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'approval-process-65c255598826****', + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CB67D866-1E54-5106-89DF-6D70C73E5989\\",\\n \\"Strategy\\": {\\n \\"CreateTime\\": \\"2023-04-16 10:50:05\\",\\n \\"UpdateTime\\": \\"2024-06-14 10:17:14\\",\\n \\"IsBoot\\": true,\\n \\"IsAntiUninstall\\": true,\\n \\"AllowReport\\": true,\\n \\"WhitelistUsers\\": [\\n \\"王先生\\"\\n ],\\n \\"UserGroupIds\\": [\\n \\"usergroup-086bcf2d650b****\\"\\n ],\\n \\"PolicyId\\": \\"auto-boot-anti-uninstall-6f6cbf5f6605****\\",\\n \\"BlockContent\\": {\\n \\"BlockTextZh\\": {\\n \\"Title\\": \\"防卸载警告\\",\\n \\"Content\\": \\"卸载后该设备无法再用于公司办公,同时该设备将失去进入公司内网权限!\\",\\n \\"MainButtonText\\": \\"去报备\\",\\n \\"MinorButtonText\\": \\"我知道了\\"\\n },\\n \\"BlockTextEn\\": {\\n \\"Title\\": \\"Anti-Uninstall Warning\\",\\n \\"Content\\": \\"After uninstalling, the device can no longer be used for company work, and it will lose access to the company\'s intranet!\\",\\n \\"MainButtonText\\": \\"Report\\",\\n \\"MinorButtonText\\": \\"Ignore\\"\\n }\\n },\\n \\"ReportProcessId\\": \\"approval-process-65c255598826****\\"\\n }\\n}","type":"json"}]', + ], + 'UpdateUninstallApplicationsStatus' => [ + 'summary' => '批量修改卸载申请状态', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '215484', + 'abilityTreeNodes' => [ + 'FEATUREcsas3KYQ7V', + ], + ], + 'parameters' => [ + [ + 'name' => 'ApplicationIds', + 'in' => 'formData', + 'style' => 'flat', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'uninstall-app-6646831ac314****', + ], + 'required' => false, + ], + ], + [ + 'name' => 'Status', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'Approved', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '9B769522-D50C-5978-8981-52BE800D6099', + ], + 'Applications' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'DevTag' => [ + 'description' => '', + 'type' => 'string', + 'example' => '36efa42d-2c32-c4dc-e3fc-8541e33a****', + ], + 'DevType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Windows', + ], + 'Mac' => [ + 'description' => '', + 'type' => 'string', + 'example' => '00:16:XX:XX:7c:46', + ], + 'Hostname' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'win10-64bit', + ], + 'Username' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'SaseUserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****', + ], + 'Department' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Reason' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Status' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Approved', + ], + 'ApplicationId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'uninstall-app-6646831ac314****', + ], + 'IsUninstall' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + 'IdpName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'CreateTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2023-07-17 18:46:55', + ], + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9B769522-D50C-5978-8981-52BE800D6099\\",\\n \\"Applications\\": [\\n {\\n \\"DevTag\\": \\"36efa42d-2c32-c4dc-e3fc-8541e33a****\\",\\n \\"DevType\\": \\"Windows\\",\\n \\"Mac\\": \\"00:16:XX:XX:7c:46\\",\\n \\"Hostname\\": \\"win10-64bit\\",\\n \\"Username\\": \\"王先生\\",\\n \\"SaseUserId\\": \\"su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****\\",\\n \\"Department\\": \\"测试部\\",\\n \\"Reason\\": \\"这是一个测试\\",\\n \\"Status\\": \\"Approved\\",\\n \\"ApplicationId\\": \\"uninstall-app-6646831ac314****\\",\\n \\"IsUninstall\\": false,\\n \\"IdpName\\": \\"测试身份源\\",\\n \\"CreateTime\\": \\"2023-07-17 18:46:55\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'GetBootAndAntiUninstallPolicy' => [ + 'summary' => '查询自启动与防卸载策略配置', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '218008', + 'abilityTreeNodes' => [ + 'FEATUREcsas3KYQ7V', + ], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => 'CB67D866-1E54-5106-89DF-6D70C73E5989', + ], + 'Strategy' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'CreateTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2023-04-16 10:50:05', + ], + 'UpdateTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2024-06-14 10:17:14', + ], + 'IsBoot' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'IsAntiUninstall' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'AllowReport' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'WhitelistUsers' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + 'UserGroupIds' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'usergroup-086bcf2d650b****', + ], + ], + 'PolicyId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'auto-boot-anti-uninstall-6f6cbf5f6605****', + ], + 'BlockContent' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'BlockTextZh' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Title' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Content' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'MainButtonText' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'MinorButtonText' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + 'BlockTextEn' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Title' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Anti-Uninstall Warning', + ], + 'Content' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'After uninstalling, the device can no longer be used for company work, and it will lose access to the company\'s intranet!', + ], + 'MainButtonText' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Report', + ], + 'MinorButtonText' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Ignore', + ], + ], + ], + ], + ], + 'ReportProcessId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'approval-process-300abfb970cc****', + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CB67D866-1E54-5106-89DF-6D70C73E5989\\",\\n \\"Strategy\\": {\\n \\"CreateTime\\": \\"2023-04-16 10:50:05\\",\\n \\"UpdateTime\\": \\"2024-06-14 10:17:14\\",\\n \\"IsBoot\\": true,\\n \\"IsAntiUninstall\\": true,\\n \\"AllowReport\\": true,\\n \\"WhitelistUsers\\": [\\n \\"王先生\\"\\n ],\\n \\"UserGroupIds\\": [\\n \\"usergroup-086bcf2d650b****\\"\\n ],\\n \\"PolicyId\\": \\"auto-boot-anti-uninstall-6f6cbf5f6605****\\",\\n \\"BlockContent\\": {\\n \\"BlockTextZh\\": {\\n \\"Title\\": \\"防卸载警告\\",\\n \\"Content\\": \\"卸载后该设备无法再用于公司办公,同时该设备将失去进入公司内网权限!\\",\\n \\"MainButtonText\\": \\"去报备\\",\\n \\"MinorButtonText\\": \\"我知道了\\"\\n },\\n \\"BlockTextEn\\": {\\n \\"Title\\": \\"Anti-Uninstall Warning\\",\\n \\"Content\\": \\"After uninstalling, the device can no longer be used for company work, and it will lose access to the company\'s intranet!\\",\\n \\"MainButtonText\\": \\"Report\\",\\n \\"MinorButtonText\\": \\"Ignore\\"\\n }\\n },\\n \\"ReportProcessId\\": \\"approval-process-300abfb970cc****\\"\\n }\\n}","type":"json"}]', + ], + 'ListNacUserCert' => [ + 'summary' => '入网用户列表', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'abilityTreeCode' => '209040', + 'abilityTreeNodes' => [ + 'FEATUREcsasFARMOF', + ], + ], + 'parameters' => [ + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '10', + ], + ], + [ + 'name' => 'CurrentPage', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '1702260834', + ], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '1702770400', + ], + ], + [ + 'name' => 'Username', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'zhang**', + ], + ], + [ + 'name' => 'Department', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'DeviceType', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'linux' => 'linux', + 'android' => 'android', + 'windows' => 'windows', + 'ios' => 'ios', + 'macos' => 'macos', + ], + 'example' => 'windows', + ], + ], + [ + 'name' => 'Status', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'Enabled' => 'Enabled', + 'Disabled' => 'Disabled', + ], + 'example' => 'Enabled', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'Schema of Response。', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '58D6B23E-E5DA-5418-8F61-51A3B5A30049', + ], + 'Code' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'enumValueTitles' => [ + '2xx' => '2xx', + '3xx' => '3xx', + '4xx' => '4xx', + '5xx' => '5xx', + ], + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'successful', + ], + 'TotalNum' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + 'DataList' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Username' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'zhang**', + ], + 'Aliuid' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1', + ], + 'ExpiredTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2029-06-30 09:31:54', + ], + 'Department' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'DeviceType' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'linux' => 'linux', + 'android' => 'android', + 'windows' => 'windows', + 'ios' => 'ios', + 'macos' => 'macos', + ], + 'example' => 'windows', + ], + 'Status' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Enabled' => 'Enabled', + 'Disabled' => 'Disabled', + ], + 'example' => 'Disabled', + ], + 'UserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****', + ], + 'DevTag' => [ + 'description' => '', + 'type' => 'string', + 'example' => '36efa42d-2c32-c4dc-e3fc-8541e33a****', + ], + 'Hostname' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'MS-XU****', + ], + 'Mac' => [ + 'description' => '', + 'type' => 'string', + 'example' => '08:f8:**:**:**:5e', + ], + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"58D6B23E-E5DA-5418-8F61-51A3B5A30049\\",\\n \\"Code\\": 200,\\n \\"Message\\": \\"successful\\",\\n \\"TotalNum\\": 1,\\n \\"DataList\\": [\\n {\\n \\"Username\\": \\"zhang**\\",\\n \\"Aliuid\\": \\"1\\",\\n \\"ExpiredTime\\": \\"2029-06-30 09:31:54\\",\\n \\"Department\\": \\"外包\\",\\n \\"DeviceType\\": \\"windows\\",\\n \\"Status\\": \\"Disabled\\",\\n \\"UserId\\": \\"su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****\\",\\n \\"DevTag\\": \\"36efa42d-2c32-c4dc-e3fc-8541e33a****\\",\\n \\"Hostname\\": \\"MS-XU****\\",\\n \\"Mac\\": \\"08:f8:**:**:**:5e\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'UpdateNacUserCertStatus' => [ + 'summary' => '更新NAC User 状态', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'abilityTreeCode' => '208782', + 'abilityTreeNodes' => [ + 'FEATUREcsasFARMOF', + ], + ], + 'parameters' => [ + [ + 'name' => 'IdList', + 'in' => 'formData', + 'style' => 'flat', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'UserId' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****', + ], + 'DevTag' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '36efa42d-2c32-c4dc-e3fc-8541e33a****', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + ], + [ + 'name' => 'Status', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'Enabled' => 'Enabled', + 'Disabled' => 'Disabled', + ], + 'example' => 'Enabled', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response。', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '102350E7-1A20-58F5-9D63-ABEA820AE6E1', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + '2xx' => '2xx', + '3xx' => '3xx', + '4xx' => '4xx', + '5xx' => '5xx', + ], + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'successful', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"102350E7-1A20-58F5-9D63-ABEA820AE6E1\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"successful\\"\\n}","type":"json"}]', + ], + 'ListIdpConfigs' => [ + 'summary' => '查询IDP配置', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '215351', + 'abilityTreeNodes' => [ + 'FEATUREcsas62O8LY', + ], + ], + 'parameters' => [ + [ + 'name' => 'CurrentPage', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'minimum' => '1', + 'example' => '1', + 'default' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'maximum' => '100', + 'minimum' => '1', + 'example' => '10', + 'default' => '10', + ], + ], + [ + 'name' => 'Include', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'CSAS,DingTalk,LDAP', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => 'FD724DBC-CD76-5235-BF76-59C51B73296D', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'TotalNum' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + 'DataList' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Id' => [ + 'description' => '', + 'type' => 'string', + 'example' => '277', + ], + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Type' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'DingTalk', + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Mfa' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'totp', + ], + 'MobileLoginType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'password', + ], + 'MobileMfaConfigType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'password', + ], + 'MultiIdpInfo' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1482,1355', + ], + 'PcLoginType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'password', + ], + 'Status' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Disabled', + ], + 'UpdateTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2023-05-09T02:22:41.430Z', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"FD724DBC-CD76-5235-BF76-59C51B73296D\\",\\n \\"Data\\": {\\n \\"TotalNum\\": 1,\\n \\"DataList\\": [\\n {\\n \\"Id\\": \\"277\\",\\n \\"Name\\": \\"示例身份源\\",\\n \\"Type\\": \\"DingTalk\\",\\n \\"Description\\": \\"示例描述\\",\\n \\"Mfa\\": \\"totp\\",\\n \\"MobileLoginType\\": \\"password\\",\\n \\"MobileMfaConfigType\\": \\"password\\",\\n \\"MultiIdpInfo\\": \\"1482,1355\\",\\n \\"PcLoginType\\": \\"password\\",\\n \\"Status\\": \\"Disabled\\",\\n \\"UpdateTime\\": \\"2023-05-09T02:22:41.430Z\\"\\n }\\n ]\\n }\\n}","type":"json"}]', + ], + 'GetIdpConfig' => [ + 'summary' => '查询身份源配置详情', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '215357', + 'abilityTreeNodes' => [ + 'FEATUREcsas62O8LY', + ], + ], + 'parameters' => [ + [ + 'name' => 'Id', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '1465', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '58D6B23E-E5DA-5418-8F61-51A3B5A30049', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Id' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1465', + ], + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Type' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'CSAS', + ], + 'IdpMetadata' => [ + 'description' => '', + 'type' => 'string', + 'example' => '<?xml version="1.0" encoding="utf-8"?>***', + ], + 'AccessKey' => [ + 'description' => 'AccessKey ID', + 'type' => 'string', + 'example' => 'LTAI5tJVztnh6Nn***', + ], + 'AccessKeySecret' => [ + 'description' => 'AccessKey Secret', + 'type' => 'string', + 'example' => 'E75ktr5jENiR3ssjC***', + ], + 'Status' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Enabled', + ], + 'MfaConfigType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'totp', + ], + 'UpdateTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2024-02-26T02:02:42Z', + ], + 'GetGroupUrl' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'https://172.10.10.2:4321/getGroup?name=%s&pass=%s', + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'MultiIdpInfo' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1482,1355', + ], + 'PcLoginType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'password', + ], + 'MobileLoginType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'password', + ], + 'MobileMfaConfigType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'totp', + ], + 'VerifyToken' => [ + 'description' => '', + 'type' => 'string', + 'example' => '7JAr3fYtnl***', + ], + 'VerifyAesKey' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'QVhaU0RDR0JIWVV***', + ], + 'VerifyUrl' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'http://172.10.10.1:1234/otp_verify', + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"58D6B23E-E5DA-5418-8F61-******\\",\\n \\"Data\\": {\\n \\"Id\\": \\"idp-cfg68956d86e********\\",\\n \\"Name\\": \\"示例身份源\\",\\n \\"Type\\": \\"CSAS\\",\\n \\"IdpMetadata\\": \\"<?xml version=\\\\\\"1.0\\\\\\" encoding=\\\\\\"utf-8\\\\\\"?>***\\",\\n \\"AccessKey\\": \\"*******\\",\\n \\"AccessKeySecret\\": \\"*******\\",\\n \\"Status\\": \\"Enabled\\",\\n \\"MfaConfigType\\": \\"totp\\",\\n \\"UpdateTime\\": \\"2024-02-26T02:02:42Z\\",\\n \\"GetGroupUrl\\": \\"https://172.10.XX.XX:4321/getGroup?name=%s&pass=%s\\",\\n \\"Description\\": \\"示例身份源\\",\\n \\"MultiIdpInfo\\": \\"1482,1355\\",\\n \\"PcLoginType\\": \\"password\\",\\n \\"MobileLoginType\\": \\"password\\",\\n \\"MobileMfaConfigType\\": \\"totp\\",\\n \\"VerifyToken\\": \\"7JAr3fYtn****\\",\\n \\"VerifyAesKey\\": \\"QVhaU0RDR0JIWV****\\",\\n \\"VerifyUrl\\": \\"http://172.10.XX.XX:1234/otp_verify\\"\\n }\\n}","type":"json"}]', + ], + 'GetActiveIdpConfig' => [ + 'summary' => '查询已启用的身份源配置', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '215457', + 'abilityTreeNodes' => [ + 'FEATUREcsas62O8LY', + ], + ], + 'parameters' => [], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '4D169859-A4F2-5EC8-853B-8447787C0D8A', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Id' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'idp-cfg001', + ], + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Type' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'DingTalk', + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4D169859-A4F2-5EC8-853B-8447787C0D8A\\",\\n \\"Data\\": {\\n \\"Id\\": \\"idp-cfg001\\",\\n \\"Name\\": \\"测试身份源\\",\\n \\"Type\\": \\"DingTalk\\",\\n \\"Description\\": \\"示例身份源\\"\\n }\\n}","type":"json"}]', + ], + 'ListIdpDepartments' => [ + 'summary' => '查询自定义身份源部门', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '215359', + 'abilityTreeNodes' => [ + 'FEATUREcsas62O8LY', + ], + ], + 'parameters' => [ + [ + 'name' => 'IdpConfigId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '1440', + ], + ], + [ + 'name' => 'CurrentPage', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'minimum' => '1', + 'example' => '1', + 'default' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'maximum' => '100', + 'minimum' => '1', + 'example' => '10', + 'default' => '10', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '102350E7-1A20-58F5-9D63-ABEA820AE6E1', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'TotalNum' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '2', + ], + 'DataList' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Id' => [ + 'description' => '', + 'type' => 'string', + 'example' => '30520', + ], + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'IdpConfigId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1440', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"102350E7-1A20-58F5-9D63-ABEA820AE6E1\\",\\n \\"Data\\": {\\n \\"TotalNum\\": 2,\\n \\"DataList\\": [\\n {\\n \\"Id\\": \\"30520\\",\\n \\"Name\\": \\"示例部门\\",\\n \\"IdpConfigId\\": \\"1440\\"\\n }\\n ]\\n }\\n}","type":"json"}]', + ], + 'CreateIdpDepartment' => [ + 'summary' => '创建自定义身份源部门', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '215362', + 'abilityTreeNodes' => [ + 'FEATUREcsas62O8LY', + ], + ], + 'parameters' => [ + [ + 'name' => 'IdpConfigId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '1222', + ], + ], + [ + 'name' => 'DepartmentName', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => 'D6707286-A50E-57B1-B2CF-EFAC59E850D8', + ], + 'Data' => [ + 'description' => '', + 'type' => 'string', + 'example' => '726', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D6707286-A50E-57B1-B2CF-EFAC59E850D8\\",\\n \\"Data\\": \\"726\\"\\n}","type":"json"}]', + ], + 'ListClientUsers' => [ + 'summary' => '查询自定义身份源用户', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '215379', + 'abilityTreeNodes' => [ + 'FEATUREcsas62O8LY', + ], + ], + 'parameters' => [ + [ + 'name' => 'IdpConfigId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '1071', + ], + ], + [ + 'name' => 'DepartmentId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '10785', + ], + ], + [ + 'name' => 'Username', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'Email', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '[email protected]', + ], + ], + [ + 'name' => 'MobileNumber', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '18980976559', + ], + ], + [ + 'name' => 'Status', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'Enabled', + ], + ], + [ + 'name' => 'CurrentPage', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'minimum' => '1', + 'example' => '1', + 'default' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'maximum' => '100', + 'minimum' => '1', + 'exclusiveMinimum' => false, + 'example' => '10', + 'default' => '10', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => 'FEF1144C-95D1-5F7C-81EF-9DB70EA49FCE', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'TotalNum' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '2', + ], + 'DataList' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Id' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1970', + ], + 'IdpConfigId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1026', + ], + 'Username' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'UserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'su_dead7216****', + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Email' => [ + 'description' => '', + 'type' => 'string', + 'example' => '[email protected]', + ], + 'MobileNumber' => [ + 'description' => '', + 'type' => 'string', + 'example' => '15800820468', + ], + 'DepartmentId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '10800', + ], + 'Status' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Disabled', + ], + 'Department' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Id' => [ + 'description' => '', + 'type' => 'string', + 'example' => '105', + ], + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"FEF1144C-95D1-5F7C-81EF-9DB70EA49FCE\\",\\n \\"Data\\": {\\n \\"TotalNum\\": 2,\\n \\"DataList\\": [\\n {\\n \\"Id\\": \\"1970\\",\\n \\"IdpConfigId\\": \\"1026\\",\\n \\"Username\\": \\"张三\\",\\n \\"UserId\\": \\"su_dead7216****\\",\\n \\"Description\\": \\"示例用户\\",\\n \\"Email\\": \\"[email protected]\\",\\n \\"MobileNumber\\": \\"15800820468\\",\\n \\"DepartmentId\\": \\"10800\\",\\n \\"Status\\": \\"Disabled\\",\\n \\"Department\\": {\\n \\"Id\\": \\"105\\",\\n \\"Name\\": \\"示例部门\\"\\n }\\n }\\n ]\\n }\\n}","type":"json"}]', + ], + 'UpdateClientUser' => [ + 'summary' => '修改自定义身份源指定用户', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '215389', + 'abilityTreeNodes' => [ + 'FEATUREcsas62O8LY', + ], + ], + 'parameters' => [ + [ + 'name' => 'Id', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '20644', + ], + ], + [ + 'name' => 'DepartmentId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '10701', + ], + ], + [ + 'name' => 'Email', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '[email protected]', + ], + ], + [ + 'name' => 'MobileNumber', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '13641966835', + ], + ], + [ + 'name' => 'Description', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => 'BE4FB974-11BC-5453-9BE1-1606A73EACA6', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BE4FB974-11BC-5453-9BE1-1606A73EACA6\\"\\n}","type":"json"}]', + ], + 'GetClientUser' => [ + 'summary' => 'Query a specified user from a custom identity source', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '215387', + 'abilityTreeNodes' => [ + 'FEATUREcsas62O8LY', + ], + ], + 'parameters' => [ + [ + 'name' => 'IdpConfigId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '598', + ], + ], + [ + 'name' => 'Username', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '58D6B23E-E5DA-5418-8F61-51A3B5A30049', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Id' => [ + 'description' => '', + 'type' => 'string', + 'example' => '83', + ], + 'IdpConfigId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '598', + ], + 'Username' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'UserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'su_abcd7215****', + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Email' => [ + 'description' => '', + 'type' => 'string', + 'example' => '[email protected]', + ], + 'MobileNumber' => [ + 'description' => '', + 'type' => 'string', + 'example' => '13641966835', + ], + 'DepartmentId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '10713', + ], + 'Status' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Disabled', + ], + 'Department' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Id' => [ + 'description' => '', + 'type' => 'string', + 'example' => '107', + ], + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"58D6B23E-E5DA-5418-8F61-51A3B5A30049\\",\\n \\"Data\\": {\\n \\"Id\\": \\"83\\",\\n \\"IdpConfigId\\": \\"idp-cfg68956d86e********\\",\\n \\"Username\\": \\"张三\\",\\n \\"UserId\\": \\"su_abcd7215****\\",\\n \\"Description\\": \\"示例用户\\",\\n \\"Email\\": \\"[email protected]\\",\\n \\"MobileNumber\\": \\"1364196****\\",\\n \\"DepartmentId\\": \\"10713\\",\\n \\"Status\\": \\"Disabled\\",\\n \\"Department\\": {\\n \\"Id\\": \\"107\\",\\n \\"Name\\": \\"示例部门\\"\\n }\\n }\\n}","type":"json"}]', + 'title' => 'Query Custom Identity Source User Details', + 'translator' => 'machine', + ], + 'DeleteIdpDepartment' => [ + 'summary' => '删除指定自定义身份源部门', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '215371', + 'abilityTreeNodes' => [ + 'FEATUREcsas62O8LY', + ], + ], + 'parameters' => [ + [ + 'name' => 'IdpConfigId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '507', + ], + ], + [ + 'name' => 'DepartmentId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '10829', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => 'FEF1144C-95D1-5F7C-81EF-9DB70EA49FCE', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"FEF1144C-95D1-5F7C-81EF-9DB70EA49FCE\\"\\n}","type":"json"}]', + ], + 'CreateClientUser' => [ + 'summary' => '创建自定义身份源用户', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '215388', + 'abilityTreeNodes' => [ + 'FEATUREcsas62O8LY', + ], + ], + 'parameters' => [ + [ + 'name' => 'IdpConfigId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '727', + ], + ], + [ + 'name' => 'Username', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '', + ], + ], + [ + 'name' => 'DepartmentId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '10797', + ], + ], + [ + 'name' => 'Email', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '[email protected]', + ], + ], + [ + 'name' => 'MobileNumber', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '13641966835', + ], + ], + [ + 'name' => 'Password', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'kehudiyi', + ], + ], + [ + 'name' => 'Description', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '58D6B23E-E5DA-5418-8F61-51A3B5A30049', + ], + 'Data' => [ + 'description' => '', + 'type' => 'string', + 'example' => '726', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"58D6B23E-E5DA-5418-8F61-51A3B5A30049\\",\\n \\"Data\\": \\"726\\"\\n}","type":"json"}]', + ], + 'UpdateIdpDepartment' => [ + 'summary' => '修改指定自定义身份源部门', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '215363', + 'abilityTreeNodes' => [ + 'FEATUREcsas62O8LY', + ], + ], + 'parameters' => [ + [ + 'name' => 'IdpConfigId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '598', + ], + ], + [ + 'name' => 'DepartmentId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '10653', + ], + ], + [ + 'name' => 'DepartmentName', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '4D169859-A4F2-5EC8-853B-8447787C0D8A', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4D169859-A4F2-5EC8-853B-8447787C0D8A\\"\\n}","type":"json"}]', + ], + 'UpdateClientUserStatus' => [ + 'summary' => '修改自定义身份源指定用户启用状态', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '215392', + 'abilityTreeNodes' => [ + 'FEATUREcsas62O8LY', + ], + ], + 'parameters' => [ + [ + 'name' => 'Id', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '1495', + ], + ], + [ + 'name' => 'Status', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'Enabled', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => 'BE4FB974-11BC-5453-9BE1-1606A73EACA6', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BE4FB974-11BC-5453-9BE1-1606A73EACA6\\"\\n}","type":"json"}]', + ], + 'DeleteClientUser' => [ + 'summary' => '删除自定义身份源指定用户', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '215391', + 'abilityTreeNodes' => [ + 'FEATUREcsas62O8LY', + ], + ], + 'parameters' => [ + [ + 'name' => 'Id', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '27058', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '102350E7-1A20-58F5-9D63-ABEA820AE6E1', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"102350E7-1A20-58F5-9D63-ABEA820AE6E1\\"\\n}","type":"json"}]', + ], + 'UpdateClientUserPassword' => [ + 'summary' => '修改自定义身份源指定用户密码', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '215390', + 'abilityTreeNodes' => [ + 'FEATUREcsas62O8LY', + ], + ], + 'parameters' => [ + [ + 'name' => 'Id', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '1128', + ], + ], + [ + 'name' => 'Username', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'Password', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'kehudiyidj', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => 'EFE7EBB2-449D-5BBB-B381-CA7839BC1649', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"EFE7EBB2-449D-5BBB-B381-CA7839BC1649\\"\\n}","type":"json"}]', + ], + 'UpdateUserDevicesStatus' => [ + 'summary' => '批量更新用户设备状态', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '192476', + 'abilityTreeNodes' => [ + 'FEATUREcsas3KYQ7V', + ], + ], + 'parameters' => [ + [ + 'name' => 'DeviceTags', + 'in' => 'formData', + 'style' => 'flat', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '36efa42d-2c32-c4dc-e3fc-8541e33a****'."\n", + ], + 'required' => true, + ], + ], + [ + 'name' => 'DeviceAction', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'enumValueTitles' => [ + 'Lost' => '', + 'Locked' => '', + 'Unlocked' => '', + 'Unbound' => '', + 'Found' => '', + ], + 'example' => 'Unbound', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '5FEF5CFA-14CC-5DE5-BD1F-AFFE0996E71D', + ], + 'Devices' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'DeviceTag' => [ + 'description' => '', + 'type' => 'string', + 'example' => '36efa42d-2c32-c4dc-e3fc-8541e33a****', + ], + 'DeviceType' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Linux' => '', + 'Windows_Wuying' => '', + 'Windows' => '', + 'iOS' => '', + 'macOS' => '', + 'Android' => '', + ], + 'example' => 'Windows', + ], + 'DeviceModel' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'MacBookPro17,1', + ], + 'DeviceVersion' => [ + 'description' => '', + 'type' => 'string', + 'example' => '3.5.1', + ], + 'Hostname' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'win10-64bit'."\n", + ], + 'Username' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'SaseUserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****', + ], + 'Department' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'InnerIP' => [ + 'description' => '', + 'type' => 'string', + 'example' => '192.168.XX.XX'."\n", + ], + 'SrcIP' => [ + 'description' => '', + 'type' => 'string', + 'example' => '11.49.XX.XX', + ], + 'Memory' => [ + 'description' => '', + 'type' => 'string', + 'example' => '16', + ], + 'CPU' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Apple M1', + ], + 'Disk' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'APPLE SSD AP0512Q Media'."\n", + ], + 'Mac' => [ + 'description' => '', + 'type' => 'string', + 'example' => '00:16:XX:XX:7c:46'."\n", + ], + 'AppVersion' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2.2.0', + ], + 'DeviceBelong' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Company' => '', + 'Personal' => '', + ], + 'example' => 'Company', + ], + 'SharingStatus' => [ + 'description' => '', + 'type' => 'boolean', + 'enumValueTitles' => [ + 'true' => '', + 'false' => '', + ], + 'example' => 'true', + ], + 'DeviceStatus' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Lost' => '', + 'Locked' => '', + 'LongTermOffline' => '', + 'Offline' => '', + 'Online' => '', + ], + 'example' => 'Online', + ], + 'AppStatus' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Offline' => '', + 'Online' => '', + ], + 'example' => 'Online', + ], + 'PaStatus' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Enabled' => '', + 'Disabled' => '', + 'Unprovisioned' => '', + ], + 'example' => 'Enabled', + ], + 'IaStatus' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Enabled' => '', + 'Diabled' => '', + 'Unprovisioned' => '', + ], + 'example' => 'Enabled', + ], + 'DlpStatus' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Enabled' => '', + 'Unauthorized' => '', + 'Disabled' => '', + 'Unprovisioned' => '', + ], + 'example' => 'Enabled', + ], + 'NacStatus' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Enabled' => '', + 'Disabled' => '', + 'Unprovisioned' => '', + ], + 'example' => 'Enabled', + ], + 'CreateTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2023-07-17 18:46:55', + ], + 'UpdateTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2023-08-24 19:04:42', + ], + 'NetInterfaceInfo' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'type' => 'string', + ], + 'Mac' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5FEF5CFA-14CC-5DE5-BD1F-AFFE0996E71D\\",\\n \\"Devices\\": [\\n {\\n \\"DeviceTag\\": \\"36efa42d-2c32-c4dc-e3fc-8541e33a****\\",\\n \\"DeviceType\\": \\"Windows\\",\\n \\"DeviceModel\\": \\"MacBookPro17,1\\",\\n \\"DeviceVersion\\": \\"3.5.1\\",\\n \\"Hostname\\": \\"win10-64bit\\",\\n \\"Username\\": \\"王先生\\",\\n \\"SaseUserId\\": \\"su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****\\",\\n \\"Department\\": \\"测试部\\",\\n \\"InnerIP\\": \\"192.168.XX.XX\\",\\n \\"SrcIP\\": \\"11.49.XX.XX\\",\\n \\"Memory\\": \\"16\\",\\n \\"CPU\\": \\"Apple M1\\",\\n \\"Disk\\": \\"APPLE SSD AP0512Q Media\\",\\n \\"Mac\\": \\"00:16:XX:XX:7c:46\\",\\n \\"AppVersion\\": \\"2.2.0\\",\\n \\"DeviceBelong\\": \\"Company\\",\\n \\"SharingStatus\\": true,\\n \\"DeviceStatus\\": \\"Online\\",\\n \\"AppStatus\\": \\"Online\\",\\n \\"PaStatus\\": \\"Enabled\\",\\n \\"IaStatus\\": \\"Enabled\\",\\n \\"DlpStatus\\": \\"Enabled\\",\\n \\"NacStatus\\": \\"Enabled\\",\\n \\"CreateTime\\": \\"2023-07-17 18:46:55\\",\\n \\"UpdateTime\\": \\"2023-08-24 19:04:42\\",\\n \\"NetInterfaceInfo\\": [\\n {\\n \\"Name\\": \\"eth0\\",\\n \\"Mac\\": \\"00:16:XX:XX:7c:46\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', + ], + 'ListExcessiveDeviceRegistrationApplications' => [ + 'summary' => '批量查询超额注册申请列表', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREcsasDGFP8V', + ], + ], + 'parameters' => [ + [ + 'name' => 'CurrentPage', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '10', + ], + ], + [ + 'name' => 'Username', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'SaseUserId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****', + ], + ], + [ + 'name' => 'Department', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'Hostname', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'win10-64bit'."\n", + ], + ], + [ + 'name' => 'Mac', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '00:16:XX:XX:7c:46', + ], + ], + [ + 'name' => 'DeviceTag', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '36efa42d-2c32-c4dc-e3fc-8541e33a****'."\n", + ], + ], + [ + 'name' => 'Statuses', + 'in' => 'query', + 'style' => 'flat', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'Approved' => '', + 'Rejected' => '', + 'Pending' => '', + ], + 'example' => 'Pending', + ], + 'required' => false, + ], + ], + [ + 'name' => 'ApplicationIds', + 'in' => 'query', + 'style' => 'flat', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'reg-application-0f4a127b7e78****', + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '58D6B23E-E5DA-5418-8F61-51A3B5A30049', + ], + 'TotalNum' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + 'Applications' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'DeviceTag' => [ + 'description' => '', + 'type' => 'string', + 'example' => '36efa42d-2c32-c4dc-e3fc-8541e33a****'."\n", + ], + 'DeviceType' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Linux' => '', + 'Windows_Wuying' => '', + 'Windows' => '', + 'iOS' => '', + 'macOS' => '', + 'Android' => '', + ], + 'example' => 'Windows', + ], + 'Hostname' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'win10-64bit'."\n", + ], + 'Username' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'SaseUserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****', + ], + 'Department' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Mac' => [ + 'description' => '', + 'type' => 'string', + 'example' => '00:16:XX:XX:7c:46', + ], + 'IsUsed' => [ + 'description' => '', + 'type' => 'boolean', + 'enumValueTitles' => [ + 'true' => '', + 'false' => '', + ], + 'example' => 'false', + ], + 'Status' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Approved' => '', + 'Rejected' => '', + 'Pending' => '', + ], + 'example' => 'Approved', + ], + 'CreateTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2023-07-17 18:46:55'."\n", + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'ApplicationId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'reg-application-0f4a127b7e78****'."\n", + ], + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"58D6B23E-E5DA-5418-8F61-51A3B5A30049\\",\\n \\"TotalNum\\": 1,\\n \\"Applications\\": [\\n {\\n \\"DeviceTag\\": \\"36efa42d-2c32-c4dc-e3fc-8541e33a****\\",\\n \\"DeviceType\\": \\"Windows\\",\\n \\"Hostname\\": \\"win10-64bit\\",\\n \\"Username\\": \\"王先生\\",\\n \\"SaseUserId\\": \\"su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****\\",\\n \\"Department\\": \\"测试部\\",\\n \\"Mac\\": \\"00:16:XX:XX:7c:46\\",\\n \\"IsUsed\\": false,\\n \\"Status\\": \\"Approved\\",\\n \\"CreateTime\\": \\"2023-07-17 18:46:55\\",\\n \\"Description\\": \\"这是一条超额注册申请\\",\\n \\"ApplicationId\\": \\"reg-application-0f4a127b7e78****\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'UpdateExcessiveDeviceRegistrationApplicationsStatus' => [ + 'summary' => '批量更新超额注册申请状态', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREcsasAPE6DH', + ], + ], + 'parameters' => [ + [ + 'name' => 'Status', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'enumValueTitles' => [ + 'Approved' => '', + 'Rejected' => '', + ], + 'example' => 'Approved', + ], + ], + [ + 'name' => 'ApplicationIds', + 'in' => 'formData', + 'style' => 'flat', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'reg-application-0f4a127b7e78****'."\n", + ], + 'required' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '102350E7-1A20-58F5-9D63-ABEA820AE6E1', + ], + 'Applications' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'DeviceTag' => [ + 'description' => '', + 'type' => 'string', + 'example' => '36efa42d-2c32-c4dc-e3fc-8541e33a****'."\n", + ], + 'DeviceType' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Linux' => '', + 'Windows_Wuying' => '', + 'Windows' => '', + 'iOS' => '', + 'macOS' => '', + 'Android' => '', + ], + 'example' => 'Windows', + ], + 'Hostname' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'win10-64bit'."\n", + ], + 'Username' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'SaseUserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****'."\n", + ], + 'Department' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Mac' => [ + 'description' => '', + 'type' => 'string', + 'example' => '00:16:XX:XX:7c:46', + ], + 'IsUsed' => [ + 'description' => '', + 'type' => 'boolean', + 'enumValueTitles' => [ + 'true' => '', + 'false' => '', + ], + 'example' => 'false', + ], + 'Status' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Approved' => '', + 'Rejected' => '', + 'Pending' => '', + ], + 'example' => 'Approved', + ], + 'CreateTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2023-07-17 18:46:55'."\n", + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'ApplicationId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'reg-application-0f4a127b7e78****'."\n", + ], + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"102350E7-1A20-58F5-9D63-ABEA820AE6E1\\",\\n \\"Applications\\": [\\n {\\n \\"DeviceTag\\": \\"36efa42d-2c32-c4dc-e3fc-8541e33a****\\",\\n \\"DeviceType\\": \\"Windows\\",\\n \\"Hostname\\": \\"win10-64bit\\",\\n \\"Username\\": \\"王先生\\",\\n \\"SaseUserId\\": \\"su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****\\",\\n \\"Department\\": \\"测试部\\",\\n \\"Mac\\": \\"00:16:XX:XX:7c:46\\",\\n \\"IsUsed\\": false,\\n \\"Status\\": \\"Approved\\",\\n \\"CreateTime\\": \\"2023-07-17 18:46:55\\",\\n \\"Description\\": \\"这是一条超额注册申请\\",\\n \\"ApplicationId\\": \\"reg-application-0f4a127b7e78****\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'UpdateUserDevicesSharingStatus' => [ + 'summary' => '批量更新用户设备共享状态', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREcsas3KYQ7V', + ], + ], + 'parameters' => [ + [ + 'name' => 'DeviceTags', + 'in' => 'formData', + 'style' => 'flat', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '36efa42d-2c32-c4dc-e3fc-8541e33a****'."\n", + ], + 'required' => true, + ], + ], + [ + 'name' => 'SharingStatus', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => true, + 'enumValueTitles' => [ + 'true' => '', + 'false' => '', + ], + 'example' => 'true', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '4D169859-A4F2-5EC8-853B-8447787C0D8A', + ], + 'Devices' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'DeviceTag' => [ + 'description' => '', + 'type' => 'string', + 'example' => '36efa42d-2c32-c4dc-e3fc-8541e33a****', + ], + 'DeviceType' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Linux' => '', + 'Windows_Wuying' => '', + 'Windows' => '', + 'iOS' => '', + 'macOS' => '', + 'Android' => '', + ], + 'example' => 'Windows', + ], + 'DeviceModel' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'MacBookPro17,1', + ], + 'DeviceVersion' => [ + 'description' => '', + 'type' => 'string', + 'example' => '3.5.1', + ], + 'Hostname' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'win10-64bit', + ], + 'Username' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'SaseUserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****', + ], + 'Department' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'InnerIP' => [ + 'description' => '', + 'type' => 'string', + 'example' => '192.168.XX.XX', + ], + 'SrcIP' => [ + 'description' => '', + 'type' => 'string', + 'example' => '11.49.XX.XX'."\n", + ], + 'Memory' => [ + 'description' => '', + 'type' => 'string', + 'example' => '16', + ], + 'CPU' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Apple M1', + ], + 'Disk' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'APPLE SSD AP0512Q Media', + ], + 'Mac' => [ + 'description' => '', + 'type' => 'string', + 'example' => '00:16:XX:XX:7c:46', + ], + 'AppVersion' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2.2.0', + ], + 'DeviceBelong' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Company' => '', + 'Personal' => '', + ], + 'example' => 'Company', + ], + 'SharingStatus' => [ + 'description' => '', + 'type' => 'boolean', + 'enumValueTitles' => [ + 'true' => '', + 'false' => '', + ], + 'example' => 'true', + ], + 'DeviceStatus' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Lost' => '', + 'Locked' => '', + 'LongTermOffline' => '', + 'Offline' => '', + 'Online' => '', + ], + 'example' => 'Online', + ], + 'AppStatus' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Offline' => '', + 'Online' => '', + ], + 'example' => 'Online', + ], + 'PaStatus' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Enabled' => '', + 'Disabled' => '', + 'Unprovisioned' => '', + ], + 'example' => 'Enabled', + ], + 'IaStatus' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Enabled' => '', + 'Disabled' => '', + 'Unprovisioned' => '', + ], + 'example' => 'Enabled', + ], + 'DlpStatus' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Enabled' => '', + 'Unauthorized' => '', + 'Disabled' => '', + 'Unprovisioned' => '', + ], + 'example' => 'Enabled', + ], + 'NacStatus' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Enabled' => '', + 'Disabled' => '', + 'Unprovisioned' => '', + ], + 'example' => 'Enabled', + ], + 'CreateTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2023-05-16 17:18:46', + ], + 'UpdateTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2023-08-24 19:04:42'."\n", + ], + 'NetInterfaceInfo' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'type' => 'string', + ], + 'Mac' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4D169859-A4F2-5EC8-853B-8447787C0D8A\\",\\n \\"Devices\\": [\\n {\\n \\"DeviceTag\\": \\"36efa42d-2c32-c4dc-e3fc-8541e33a****\\",\\n \\"DeviceType\\": \\"Windows\\",\\n \\"DeviceModel\\": \\"MacBookPro17,1\\",\\n \\"DeviceVersion\\": \\"3.5.1\\",\\n \\"Hostname\\": \\"win10-64bit\\",\\n \\"Username\\": \\"王先生\\",\\n \\"SaseUserId\\": \\"su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****\\",\\n \\"Department\\": \\"测试部\\",\\n \\"InnerIP\\": \\"192.168.XX.XX\\",\\n \\"SrcIP\\": \\"11.49.XX.XX\\",\\n \\"Memory\\": \\"16\\",\\n \\"CPU\\": \\"Apple M1\\",\\n \\"Disk\\": \\"APPLE SSD AP0512Q Media\\",\\n \\"Mac\\": \\"00:16:XX:XX:7c:46\\",\\n \\"AppVersion\\": \\"2.2.0\\",\\n \\"DeviceBelong\\": \\"Company\\",\\n \\"SharingStatus\\": true,\\n \\"DeviceStatus\\": \\"Online\\",\\n \\"AppStatus\\": \\"Online\\",\\n \\"PaStatus\\": \\"Enabled\\",\\n \\"IaStatus\\": \\"Enabled\\",\\n \\"DlpStatus\\": \\"Enabled\\",\\n \\"NacStatus\\": \\"Enabled\\",\\n \\"CreateTime\\": \\"2023-05-16 17:18:46\\",\\n \\"UpdateTime\\": \\"2023-08-24 19:04:42\\",\\n \\"NetInterfaceInfo\\": [\\n {\\n \\"Name\\": \\"eth0\\",\\n \\"Mac\\": \\"00:16:XX:XX:7c:46\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', + ], + 'ListUserDevices' => [ + 'summary' => '批量查询用户设备列表', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '192473', + 'abilityTreeNodes' => [ + 'FEATUREcsas3KYQ7V', + ], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'CurrentPage', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '10', + ], + ], + [ + 'name' => 'Username', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'SaseUserId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****', + ], + ], + [ + 'name' => 'Department', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'Hostname', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'win10-64bit', + ], + ], + [ + 'name' => 'DeviceBelong', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'Company' => '', + 'Personal' => '', + ], + 'example' => 'Company', + ], + ], + [ + 'name' => 'Mac', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '00:16:XX:XX:7c:46', + ], + ], + [ + 'name' => 'SharingStatus', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'enumValueTitles' => [ + 'true' => '', + 'false' => '', + ], + 'example' => 'true', + ], + ], + [ + 'name' => 'DeviceStatuses', + 'in' => 'query', + 'style' => 'flat', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'Lost' => '', + 'Locked' => '', + 'LongTermOffline' => '', + 'Offline' => '', + 'Online' => '', + ], + 'example' => 'Online', + ], + 'required' => false, + ], + ], + [ + 'name' => 'AppStatuses', + 'in' => 'query', + 'style' => 'flat', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'Offline' => '', + 'Online' => '', + ], + 'example' => 'Online', + ], + 'required' => false, + ], + ], + [ + 'name' => 'PaStatuses', + 'in' => 'query', + 'style' => 'flat', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'Enabled' => '', + 'Disabled' => '', + 'Unprovisioned' => '', + ], + 'example' => 'Enabled', + ], + 'required' => false, + ], + ], + [ + 'name' => 'IaStatuses', + 'in' => 'query', + 'style' => 'flat', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'Enabled' => '', + 'Disabled' => '', + 'Unprovisioned' => '', + ], + 'example' => 'Disabled', + ], + 'required' => false, + ], + ], + [ + 'name' => 'DlpStatuses', + 'in' => 'query', + 'style' => 'flat', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'Enabled' => '', + 'Unauthorized' => '', + 'Disabled' => '', + 'Unprovisioned' => '', + ], + 'example' => 'Enabled', + ], + 'required' => false, + ], + ], + [ + 'name' => 'NacStatuses', + 'in' => 'query', + 'style' => 'flat', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'Enabled' => '', + 'Disabled' => '', + 'Unprovisioned' => '', + ], + 'example' => 'Unprovisioned', + ], + 'required' => false, + ], + ], + [ + 'name' => 'AutoLoginStatuses', + 'in' => 'query', + 'style' => 'flat', + 'schema' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + ], + [ + 'name' => 'DeviceTypes', + 'in' => 'query', + 'style' => 'flat', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'Linux' => '', + 'Windows_Wuying' => '', + 'Windows' => '', + 'iOS' => '', + 'macOS' => '', + 'Android' => '', + ], + 'example' => 'Windows', + ], + 'required' => false, + ], + ], + [ + 'name' => 'DeviceTags', + 'in' => 'query', + 'style' => 'flat', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '36efa42d-2c32-c4dc-e3fc-8541e33a****', + ], + 'required' => false, + ], + ], + [ + 'name' => 'SortBy', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + [ + 'name' => 'InnerIp', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + [ + 'name' => 'AppVersions', + 'in' => 'query', + 'style' => 'flat', + 'schema' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + ], + [ + 'name' => 'Workshop', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + [ + 'name' => 'DeviceGroupId', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + [ + 'name' => 'SnSystem', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '5FEF5CFA-14CC-5DE5-BD1F-AFFE0996E71D', + ], + 'TotalNum' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + 'Devices' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'DeviceTag' => [ + 'description' => '', + 'type' => 'string', + 'example' => '36efa42d-2c32-c4dc-e3fc-8541e33a****', + ], + 'DeviceType' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Linux' => '', + 'Windows_Wuying' => '', + 'Windows' => '', + 'iOS' => '', + 'macOS' => '', + 'Android' => '', + ], + 'example' => 'Windows', + ], + 'DeviceModel' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'MacBookPro17,1', + ], + 'DeviceVersion' => [ + 'description' => '', + 'type' => 'string', + 'example' => '3.5.1', + ], + 'Hostname' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'win10-64bit', + ], + 'Username' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'SaseUserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****', + ], + 'Department' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'InnerIP' => [ + 'description' => '', + 'type' => 'string', + 'example' => '192.168.XX.XX', + ], + 'SrcIP' => [ + 'description' => '', + 'type' => 'string', + 'example' => '11.49.XX.XX', + ], + 'Memory' => [ + 'description' => '', + 'type' => 'string', + 'example' => '16', + ], + 'CPU' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Apple M1', + ], + 'Disk' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'APPLE SSD AP0512Q Media', + ], + 'Mac' => [ + 'description' => '', + 'type' => 'string', + 'example' => '00:16:XX:XX:7c:46', + ], + 'AppVersion' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2.2.0', + ], + 'DeviceBelong' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Company' => '', + 'Personal' => '', + ], + 'example' => 'Company', + ], + 'SharingStatus' => [ + 'description' => '', + 'type' => 'boolean', + 'enumValueTitles' => [ + 'true' => '', + 'false' => '', + ], + 'example' => 'true', + ], + 'DeviceStatus' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Lost' => '', + 'Locked' => '', + 'LongTermOffline' => '', + 'Offline' => '', + 'Online' => '', + ], + 'example' => 'Online', + ], + 'AppStatus' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Offline' => '', + 'Online' => '', + ], + 'example' => 'Online', + ], + 'PaStatus' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Enabled' => '', + 'Disabled' => '', + 'Unprovisioned' => '', + ], + 'example' => 'Enabled', + ], + 'IaStatus' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Enabled' => '', + 'Disabled' => '', + 'Unprovisioned' => '', + ], + 'example' => 'Enabled', + ], + 'DlpStatus' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Enabled' => '', + 'Unauthorized' => '', + 'Disabled' => '', + 'Unprovisioned' => '', + ], + 'example' => 'Enabled', + ], + 'NacStatus' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Enabled' => '', + 'Disabled' => '', + 'Unprovisioned' => '', + ], + 'example' => 'Enabled', + ], + 'CreateTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2023-07-17 18:46:55', + ], + 'UpdateTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2023-08-24 19:04:42', + ], + 'EdrStatus' => [ + 'type' => 'string', + ], + 'NetInterfaceInfo' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'type' => 'string', + ], + 'Mac' => [ + 'type' => 'string', + ], + ], + ], + ], + 'Workshop' => [ + 'type' => 'string', + ], + 'SnSystem' => [ + 'type' => 'string', + ], + 'SnDiskDrive' => [ + 'type' => 'string', + ], + 'SnBaseBoard' => [ + 'type' => 'string', + ], + 'SnProcessor' => [ + 'type' => 'string', + ], + 'SnBios' => [ + 'type' => 'string', + ], + 'AutoLoginStatus' => [ + 'type' => 'string', + ], + 'MatchDeviceGroupIds' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5FEF5CFA-14CC-5DE5-BD1F-AFFE0996E71D\\",\\n \\"TotalNum\\": 1,\\n \\"Devices\\": [\\n {\\n \\"DeviceTag\\": \\"36efa42d-2c32-c4dc-e3fc-8541e33a****\\",\\n \\"DeviceType\\": \\"Windows\\",\\n \\"DeviceModel\\": \\"MacBookPro17,1\\",\\n \\"DeviceVersion\\": \\"3.5.1\\",\\n \\"Hostname\\": \\"win10-64bit\\",\\n \\"Username\\": \\"王先生\\",\\n \\"SaseUserId\\": \\"su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****\\",\\n \\"Department\\": \\"测试部\\",\\n \\"InnerIP\\": \\"192.168.XX.XX\\",\\n \\"SrcIP\\": \\"11.49.XX.XX\\",\\n \\"Memory\\": \\"16\\",\\n \\"CPU\\": \\"Apple M1\\",\\n \\"Disk\\": \\"APPLE SSD AP0512Q Media\\",\\n \\"Mac\\": \\"00:16:XX:XX:7c:46\\",\\n \\"AppVersion\\": \\"2.2.0\\",\\n \\"DeviceBelong\\": \\"Company\\",\\n \\"SharingStatus\\": true,\\n \\"DeviceStatus\\": \\"Online\\",\\n \\"AppStatus\\": \\"Online\\",\\n \\"PaStatus\\": \\"Enabled\\",\\n \\"IaStatus\\": \\"Enabled\\",\\n \\"DlpStatus\\": \\"Enabled\\",\\n \\"NacStatus\\": \\"Enabled\\",\\n \\"CreateTime\\": \\"2023-07-17 18:46:55\\",\\n \\"UpdateTime\\": \\"2023-08-24 19:04:42\\",\\n \\"EdrStatus\\": \\"Enabled\\",\\n \\"NetInterfaceInfo\\": [\\n {\\n \\"Name\\": \\"eth0\\",\\n \\"Mac\\": \\"00:16:XX:XX:7c:46\\"\\n }\\n ],\\n \\"Workshop\\": \\"测试办公区\\",\\n \\"SnSystem\\": \\"KVN9C9****\\",\\n \\"SnDiskDrive\\": \\"WD-WXR1A99A****\\",\\n \\"SnBaseBoard\\": \\"PJGGU00WBD****\\",\\n \\"SnProcessor\\": \\"BFEBFBFF0008****\\",\\n \\"SnBios\\": \\"5CG003****\\",\\n \\"AutoLoginStatus\\": \\"\\",\\n \\"MatchDeviceGroupIds\\": [\\n \\"device-group-5191cf830a5e****\\"\\n ]\\n }\\n ]\\n}","type":"json"}]', + ], + 'ExportUserDevices' => [ + 'summary' => 'Exports the information about user terminals in an Excel file.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '197383', + 'abilityTreeNodes' => [ + 'FEATUREcsas3KYQ7V', + ], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'Username', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'SaseUserId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****', + ], + ], + [ + 'name' => 'Department', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'Hostname', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'win10-64bit', + ], + ], + [ + 'name' => 'DeviceBelong', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'Company' => '', + 'Personal' => '', + ], + 'example' => 'Company', + ], + ], + [ + 'name' => 'Mac', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '00:16:XX:XX:7c:46', + ], + ], + [ + 'name' => 'SharingStatus', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'enumValueTitles' => [ + 'true' => '', + 'false' => '', + ], + 'example' => 'true', + ], + ], + [ + 'name' => 'DeviceStatuses', + 'in' => 'formData', + 'style' => 'flat', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'Lost' => '', + 'Locked' => '', + 'LongTermOffline' => '', + 'Offline' => '', + 'Unbound' => '', + 'Online' => '', + ], + 'example' => 'Online', + ], + 'required' => false, + ], + ], + [ + 'name' => 'AppStatuses', + 'in' => 'formData', + 'style' => 'flat', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'Offline' => '', + 'Online' => '', + ], + 'example' => 'Online', + ], + 'required' => false, + ], + ], + [ + 'name' => 'PaStatuses', + 'in' => 'formData', + 'style' => 'flat', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'Enabled' => '', + 'Disabled' => '', + 'Unprovisioned' => '', + ], + 'example' => 'Enabled', + ], + 'required' => false, + ], + ], + [ + 'name' => 'IaStatuses', + 'in' => 'formData', + 'style' => 'flat', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'Enabled' => '', + 'Disabled' => '', + 'Unprovisioned' => '', + ], + 'example' => 'Disabled', + ], + 'required' => false, + ], + ], + [ + 'name' => 'DlpStatuses', + 'in' => 'formData', + 'style' => 'flat', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'Enabled' => '', + 'Unauthorized' => '', + 'Disabled' => '', + 'Unprovisioned' => '', + ], + 'example' => 'Enabled', + ], + 'required' => false, + ], + ], + [ + 'name' => 'NacStatuses', + 'in' => 'formData', + 'style' => 'flat', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'Enabled' => '', + 'Disabled' => '', + 'Unprovisioned' => '', + ], + 'example' => 'Unprovisioned', + ], + 'required' => false, + ], + ], + [ + 'name' => 'DeviceTypes', + 'in' => 'formData', + 'style' => 'flat', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'Linux' => '', + 'Windows_Wuying' => '', + 'Windows' => '', + 'iOS' => '', + 'macOS' => '', + 'Android' => '', + ], + 'example' => 'Windows', + ], + 'required' => false, + ], + ], + [ + 'name' => 'DeviceTags', + 'in' => 'formData', + 'style' => 'flat', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '36efa42d-2c32-c4dc-e3fc-8541e33a****'."\n", + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '748CFDC7-1EB6-5B8B-9405-DA76ED5BB60D', + ], + 'SignedUrl' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'https://sase-export.oss-cn-hangzhou.aliyuncs.com/export%2Fapp-device%2F20240607154831.xlsx?Expires=1717746571&OSSAccessKeyId=********************', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"748CFDC7-1EB6-5B8B-9405-DA76ED5BB60D\\",\\n \\"SignedUrl\\": \\"https://sase-export.oss-cn-hangzhou.aliyuncs.com/export%2Fapp-device%2F20240607154831.xlsx?Expires=1717746571&OSSAccessKeyId=********************\\"\\n}","type":"json"}]', + 'title' => 'ExportUserDevices', + ], + 'GetUserDevice' => [ + 'summary' => '查询用户设备详情', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '192474', + 'abilityTreeNodes' => [ + 'FEATUREcsas3KYQ7V', + ], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'DeviceTag', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '36efa42d-2c32-c4dc-e3fc-8541e33a****'."\n", + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => 'EFE7EBB2-449D-5BBB-B381-CA7839BC1649', + ], + 'Device' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'DeviceTag' => [ + 'description' => '', + 'type' => 'string', + 'example' => '36efa42d-2c32-c4dc-e3fc-8541e33a****'."\n", + ], + 'DeviceType' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Linux' => '', + 'Windows_Wuying' => '', + 'Windows' => '', + 'iOS' => '', + 'macOS' => '', + 'Android' => '', + ], + 'example' => 'Windows', + ], + 'DeviceModel' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'MacBookPro17,1'."\n", + ], + 'DeviceVersion' => [ + 'description' => '', + 'type' => 'string', + 'example' => '3.5.1', + ], + 'Hostname' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'win10-64bit', + ], + 'Username' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'SaseUserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****', + ], + 'Department' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'InnerIP' => [ + 'description' => '', + 'type' => 'string', + 'example' => '172.16.XX.XX', + ], + 'SrcIP' => [ + 'description' => '', + 'type' => 'string', + 'example' => '106.14.XX.XX', + ], + 'Memory' => [ + 'description' => '', + 'type' => 'string', + 'example' => '16', + ], + 'CPU' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Apple M1', + ], + 'Disk' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'APPLE SSD AP0512Q Media', + ], + 'Mac' => [ + 'description' => '', + 'type' => 'string', + 'example' => '48:9e:XX:XX:02:80', + ], + 'AppVersion' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2.2.0', + ], + 'DeviceBelong' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Company' => '', + 'Personal' => '', + ], + 'example' => 'Company', + ], + 'SharingStatus' => [ + 'description' => '', + 'type' => 'boolean', + 'enumValueTitles' => [ + 'true' => '', + 'false' => '', + ], + 'example' => 'true', + ], + 'DeviceStatus' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Lost' => '', + 'Locked' => '', + 'LongTermOffline' => '', + 'Offline' => '', + 'Online' => '', + ], + 'example' => 'Online', + ], + 'AppStatus' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Offline' => '', + 'Online' => '', + ], + 'example' => 'Online', + ], + 'PaStatus' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Enabled' => '', + 'Disabled' => '', + 'Unprovisioned' => '', + ], + 'example' => 'Enabled', + ], + 'IaStatus' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Enabled' => '', + 'Disabled' => '', + 'Unprovisioned' => '', + ], + 'example' => 'Disabled', + ], + 'DlpStatus' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Enabled' => '', + 'Unauthorized' => '', + 'Disabled' => '', + 'Unprovisioned' => '', + ], + 'example' => 'Unauthorized', + ], + 'NacStatus' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Enabled' => '', + 'Disabled' => '', + 'Unprovisioned' => '', + ], + 'example' => 'Unprovisioned', + ], + 'CreateTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2023-05-16 17:18:46', + ], + 'UpdateTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2023-08-24 19:04:42', + ], + 'HistoryUsers' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Username' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'SaseUserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****', + ], + ], + ], + ], + 'EdrStatus' => [ + 'type' => 'string', + ], + 'AutoLoginStatus' => [ + 'type' => 'string', + ], + 'NetInterfaceInfo' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'type' => 'string', + ], + 'Mac' => [ + 'type' => 'string', + ], + ], + ], + ], + 'Workshop' => [ + 'type' => 'string', + ], + 'MatchDeviceGroupIds' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + 'SnSystem' => [ + 'type' => 'string', + ], + 'SnDiskDrive' => [ + 'type' => 'string', + ], + 'SnBaseBoard' => [ + 'type' => 'string', + ], + 'SnProcessor' => [ + 'type' => 'string', + ], + 'SnBios' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"EFE7EBB2-449D-5BBB-B381-CA7839BC1649\\",\\n \\"Device\\": {\\n \\"DeviceTag\\": \\"36efa42d-2c32-c4dc-e3fc-8541e33a****\\",\\n \\"DeviceType\\": \\"Windows\\",\\n \\"DeviceModel\\": \\"MacBookPro17,1\\",\\n \\"DeviceVersion\\": \\"3.5.1\\",\\n \\"Hostname\\": \\"win10-64bit\\",\\n \\"Username\\": \\"王先生\\",\\n \\"SaseUserId\\": \\"su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****\\",\\n \\"Department\\": \\"测试部\\",\\n \\"InnerIP\\": \\"172.16.XX.XX\\",\\n \\"SrcIP\\": \\"106.14.XX.XX\\",\\n \\"Memory\\": \\"16\\",\\n \\"CPU\\": \\"Apple M1\\",\\n \\"Disk\\": \\"APPLE SSD AP0512Q Media\\",\\n \\"Mac\\": \\"48:9e:XX:XX:02:80\\",\\n \\"AppVersion\\": \\"2.2.0\\",\\n \\"DeviceBelong\\": \\"Company\\",\\n \\"SharingStatus\\": true,\\n \\"DeviceStatus\\": \\"Online\\",\\n \\"AppStatus\\": \\"Online\\",\\n \\"PaStatus\\": \\"Enabled\\",\\n \\"IaStatus\\": \\"Disabled\\",\\n \\"DlpStatus\\": \\"Unauthorized\\",\\n \\"NacStatus\\": \\"Unprovisioned\\",\\n \\"CreateTime\\": \\"2023-05-16 17:18:46\\",\\n \\"UpdateTime\\": \\"2023-08-24 19:04:42\\",\\n \\"HistoryUsers\\": [\\n {\\n \\"Username\\": \\"张女士\\",\\n \\"SaseUserId\\": \\"su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****\\"\\n }\\n ],\\n \\"EdrStatus\\": \\"Disabled\\",\\n \\"AutoLoginStatus\\": \\"Enabled\\",\\n \\"NetInterfaceInfo\\": [\\n {\\n \\"Name\\": \\"eth0\\",\\n \\"Mac\\": \\"00:16:XX:XX:7c:46\\"\\n }\\n ],\\n \\"Workshop\\": \\"测试办公区\\",\\n \\"MatchDeviceGroupIds\\": [\\n \\"device-group-5191cf830a5e****\\"\\n ],\\n \\"SnSystem\\": \\"KVN9C9****\\",\\n \\"SnDiskDrive\\": \\"WD-WXR1A99A****\\",\\n \\"SnBaseBoard\\": \\"PJGGU00WBD****\\",\\n \\"SnProcessor\\": \\"BFEBFBFF0008****\\",\\n \\"SnBios\\": \\"5CG003****\\"\\n }\\n}","type":"json"}]', + ], + 'DeleteUserDevices' => [ + 'summary' => 'Deletes multiple user terminals at a time.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '197382', + 'abilityTreeNodes' => [ + 'FEATUREcsas3KYQ7V', + ], + ], + 'parameters' => [ + [ + 'name' => 'DeviceTags', + 'in' => 'formData', + 'style' => 'flat', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '36efa42d-2c32-c4dc-e3fc-8541e33a****', + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '5FEF5CFA-14CC-5DE5-BD1F-AFFE0996E71D'."\n", + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5FEF5CFA-14CC-5DE5-BD1F-AFFE0996E71D\\\\n\\"\\n}","type":"json"}]', + 'title' => 'DeleteUserDevices', + ], + 'ListSoftwareForUserDevice' => [ + 'summary' => '批量查询终端安装软件列表', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREcsas3KYQ7V', + ], + ], + 'parameters' => [ + [ + 'name' => 'CurrentPage', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '10', + ], + ], + [ + 'name' => 'DeviceTag', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '36efa42d-2c32-c4dc-e3fc-8541e33a****'."\n", + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '102350E7-1A20-58F5-9D63-ABEA820AE6E1', + ], + 'TotalNum' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + 'Software' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Inc' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Alibaba (China) Network Technology Co.,Ltd.'."\n", + ], + 'Versions' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '7.0.40', + ], + ], + 'InstallTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2023-08-18 02:43:02', + ], + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"102350E7-1A20-58F5-9D63-ABEA820AE6E1\\",\\n \\"TotalNum\\": 1,\\n \\"Software\\": [\\n {\\n \\"Name\\": \\"钉钉\\",\\n \\"Inc\\": \\"Alibaba (China) Network Technology Co.,Ltd.\\",\\n \\"Versions\\": [\\n \\"7.0.40\\"\\n ],\\n \\"InstallTime\\": \\"2023-08-18 02:43:02\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'ListRegistrationPolicies' => [ + 'summary' => '查询用户设备注册策略列表', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREcsasAPE6DH', + ], + ], + 'parameters' => [ + [ + 'name' => 'CurrentPage', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '10', + ], + ], + [ + 'name' => 'Name', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'registration_policy_name', + ], + ], + [ + 'name' => 'UserGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'usergroup-6f1ef2fc56b6****', + ], + ], + [ + 'name' => 'CompanyLimitType', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'LimitAll' => '', + 'LimitDiff' => '', + 'Unlimited' => '', + ], + 'example' => 'LimitAll', + ], + ], + [ + 'name' => 'PersonalLimitType', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'LimitAll' => '', + 'LimitDiff' => '', + 'Unlimited' => '', + ], + 'example' => 'LimitDiff', + ], + ], + [ + 'name' => 'Status', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'Enabled' => '', + 'Disabled' => '', + ], + 'example' => 'Enabled', + ], + ], + [ + 'name' => 'MatchMode', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'UserGroupNormal' => '', + 'UserGroupAll' => '', + ], + 'example' => 'UserGroupAll', + ], + ], + [ + 'name' => 'PolicyIds', + 'in' => 'query', + 'style' => 'flat', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'reg-policy-63b2f1844b86****', + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '7A8FE38A-E29C-5678-B84A-FEDBCB83552F', + ], + 'TotalNum' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1', + ], + 'Policies' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'registration_policy_name', + ], + 'PolicyId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'reg-policy-dcbfd33cb004****', + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Priority' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + 'Whitelist' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + 'Status' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Enabled' => '', + 'Disabled' => '', + ], + 'example' => 'Enabled', + ], + 'MatchMode' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'UserGroupNormal' => '', + 'UserGroupAll' => '', + ], + 'example' => 'UserGroupNormal', + ], + 'UserGroupIds' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'usergroup-086bcf2d650b****', + ], + ], + 'CreateTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2023-05-16 17:18:46', + ], + 'LimitDetail' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'DeviceBelong' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Company' => '', + 'Personal' => '', + ], + 'example' => 'Company', + ], + 'LimitType' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'LimitAll' => '', + 'LimitDiff' => '', + 'Unlimited' => '', + ], + 'example' => 'LimitAll', + ], + 'LimitCount' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'All' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '3', + ], + 'PC' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + 'Mobile' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7A8FE38A-E29C-5678-B84A-FEDBCB83552F\\",\\n \\"TotalNum\\": \\"1\\",\\n \\"Policies\\": [\\n {\\n \\"Name\\": \\"registration_policy_name\\",\\n \\"PolicyId\\": \\"reg-policy-dcbfd33cb004****\\",\\n \\"Description\\": \\"这是一条设备注册策略。\\",\\n \\"Priority\\": 1,\\n \\"Whitelist\\": [\\n \\"王先生\\"\\n ],\\n \\"Status\\": \\"Enabled\\",\\n \\"MatchMode\\": \\"UserGroupNormal\\",\\n \\"UserGroupIds\\": [\\n \\"usergroup-086bcf2d650b****\\"\\n ],\\n \\"CreateTime\\": \\"2023-05-16 17:18:46\\",\\n \\"LimitDetail\\": [\\n {\\n \\"DeviceBelong\\": \\"Company\\",\\n \\"LimitType\\": \\"LimitAll\\",\\n \\"LimitCount\\": {\\n \\"All\\": 3,\\n \\"PC\\": 0,\\n \\"Mobile\\": 0\\n }\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', + ], + 'ListUserGroupsForRegistrationPolicy' => [ + 'summary' => '查询设备注册策略相关用户组', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREcsasAPE6DH', + ], + ], + 'parameters' => [ + [ + 'name' => 'PolicyIds', + 'in' => 'query', + 'style' => 'flat', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'reg-policy-63b2f1844b86****'."\n", + ], + 'required' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => 'D89009C7-54C6-51B6-BAE7-3F373920C6BF', + ], + 'Policies' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'PolicyId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'reg-policy-f25c9e5872e5****', + ], + 'UserGroups' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'UserGroupId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'usergroup-6f1ef2fc56b6****', + ], + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'user_group_name', + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'CreateTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2022-09-27 18:10:25'."\n", + ], + 'Attributes' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'UserGroupType' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'telephone' => '', + 'department' => '', + 'email' => '', + 'username' => '', + ], + 'example' => 'department', + ], + 'Relation' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Unequal' => '', + 'Equal' => '', + ], + 'example' => 'Equal', + ], + 'Value' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'IdpId' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '12', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D89009C7-54C6-51B6-BAE7-3F373920C6BF\\",\\n \\"Policies\\": [\\n {\\n \\"PolicyId\\": \\"reg-policy-f25c9e5872e5****\\",\\n \\"UserGroups\\": [\\n {\\n \\"UserGroupId\\": \\"usergroup-6f1ef2fc56b6****\\",\\n \\"Name\\": \\"user_group_name\\",\\n \\"Description\\": \\"这是一条被设备注册策略引用的用户组。\\",\\n \\"CreateTime\\": \\"2022-09-27 18:10:25\\",\\n \\"Attributes\\": [\\n {\\n \\"UserGroupType\\": \\"department\\",\\n \\"Relation\\": \\"Equal\\",\\n \\"Value\\": \\"OU=部门1,OU=SASE钉钉\\",\\n \\"IdpId\\": 12\\n }\\n ]\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', + ], + 'ListRegistrationPoliciesForUserGroup' => [ + 'summary' => '查询用户组相关的设备注册策略', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREcsasAPE6DH', + ], + ], + 'parameters' => [ + [ + 'name' => 'UserGroupIds', + 'in' => 'query', + 'style' => 'flat', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'usergroup-6f1ef2fc56b6****', + ], + 'required' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '58D6B23E-E5DA-5418-8F61-51A3B5A30049', + ], + 'UserGroups' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'UserGroupId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'usergroup-6f1ef2fc56b6****', + ], + 'Policies' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'registration_policy_name', + ], + 'PolicyId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'reg-policy-dcbfd33cb004****'."\n", + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Priority' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + 'Status' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Enabled' => '', + 'Disabled' => '', + ], + 'example' => 'Enabled', + ], + 'Whitelist' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + 'MatchMode' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'UserGroupNormal' => '', + 'UserGroupAll' => '', + ], + 'example' => 'UserGroupNormal'."\n", + ], + 'CreateTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2023-05-16 17:18:46'."\n", + ], + 'LimitDetail' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'DeviceBelong' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Company' => '', + 'Personal' => '', + ], + 'example' => 'Company', + ], + 'LimitType' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'LimitAll' => '', + 'LimitDiff' => '', + 'Unlimited' => '', + ], + 'example' => 'LimitAll', + ], + 'LimitCount' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'All' => [ + 'description' => '', + 'type' => 'string', + 'example' => '3', + ], + 'PC' => [ + 'description' => '', + 'type' => 'string', + 'example' => '0', + ], + 'Mobile' => [ + 'description' => '', + 'type' => 'string', + 'example' => '0', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"58D6B23E-E5DA-5418-8F61-51A3B5A30049\\",\\n \\"UserGroups\\": [\\n {\\n \\"UserGroupId\\": \\"usergroup-6f1ef2fc56b6****\\",\\n \\"Policies\\": [\\n {\\n \\"Name\\": \\"registration_policy_name\\",\\n \\"PolicyId\\": \\"reg-policy-dcbfd33cb004****\\",\\n \\"Description\\": \\"这是一条设备注册策略。\\",\\n \\"Priority\\": 1,\\n \\"Status\\": \\"Enabled\\",\\n \\"Whitelist\\": [\\n \\"王先生\\"\\n ],\\n \\"MatchMode\\": \\"UserGroupNormal\\",\\n \\"CreateTime\\": \\"2023-05-16 17:18:46\\",\\n \\"LimitDetail\\": [\\n {\\n \\"DeviceBelong\\": \\"Company\\",\\n \\"LimitType\\": \\"LimitAll\\",\\n \\"LimitCount\\": {\\n \\"All\\": \\"3\\",\\n \\"PC\\": \\"0\\",\\n \\"Mobile\\": \\"0\\"\\n }\\n }\\n ]\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', + ], + 'GetRegistrationPolicy' => [ + 'summary' => '查询设备注册策略详情', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREcsas642DA7', + ], + ], + 'parameters' => [ + [ + 'name' => 'PolicyId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'reg-policy-dcbfd33cb004****'."\n", + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '47363C2B-1AAA-5954-8847-0E50FCC54117', + ], + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'registration_policy_name', + ], + 'PolicyId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'reg-policy-dcbfd33cb004****'."\n", + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Priority' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '99', + ], + 'Whitelist' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + 'Status' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Enabled', + ], + 'MatchMode' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'UserGroupAll', + ], + 'UserGroupIds' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'usergroup-086bcf2d650b****'."\n", + ], + ], + 'CreateTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2023-05-16 17:18:46', + ], + 'LimitDetail' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'DeviceBelong' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Company' => '', + 'Personal' => '', + ], + 'example' => 'Personal', + ], + 'LimitType' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'LimitAll' => '', + 'LimitDiff' => '', + 'Unlimited' => '', + ], + 'example' => 'LimitDiff', + ], + 'LimitCount' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'All' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + 'PC' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '2', + ], + 'Mobile' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '2', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"47363C2B-1AAA-5954-8847-0E50FCC54117\\",\\n \\"Name\\": \\"registration_policy_name\\",\\n \\"PolicyId\\": \\"reg-policy-dcbfd33cb004****\\",\\n \\"Description\\": \\"这是一条设备注册策略。\\",\\n \\"Priority\\": 99,\\n \\"Whitelist\\": [\\n \\"王先生\\"\\n ],\\n \\"Status\\": \\"Enabled\\",\\n \\"MatchMode\\": \\"UserGroupAll\\",\\n \\"UserGroupIds\\": [\\n \\"usergroup-086bcf2d650b****\\"\\n ],\\n \\"CreateTime\\": \\"2023-05-16 17:18:46\\",\\n \\"LimitDetail\\": [\\n {\\n \\"DeviceBelong\\": \\"Personal\\",\\n \\"LimitType\\": \\"LimitDiff\\",\\n \\"LimitCount\\": {\\n \\"All\\": 0,\\n \\"PC\\": 2,\\n \\"Mobile\\": 2\\n }\\n }\\n ]\\n}","type":"json"}]', + ], + 'DeleteRegistrationPolicies' => [ + 'summary' => '删除设备注册策略', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREcsasAPE6DH', + ], + ], + 'parameters' => [ + [ + 'name' => 'PolicyIds', + 'in' => 'formData', + 'style' => 'flat', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'reg-policy-63b2f1844b86****'."\n", + ], + 'required' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => 'D6707286-A50E-57B1-B2CF-EFAC59E850D8', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D6707286-A50E-57B1-B2CF-EFAC59E850D8\\"\\n}","type":"json"}]', + ], + 'UpdateRegistrationPolicy' => [ + 'summary' => '修改设备注册策略', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREcsasAPE6DH', + ], + ], + 'parameters' => [ + [ + 'name' => 'Name', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'registration_policy_name', + ], + ], + [ + 'name' => 'Description', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'Status', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'Enabled' => '', + 'Disabled' => '', + ], + 'example' => 'Enabled', + ], + ], + [ + 'name' => 'Whitelist', + 'in' => 'formData', + 'style' => 'flat', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + 'required' => false, + ], + ], + [ + 'name' => 'Priority', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '0', + ], + ], + [ + 'name' => 'CompanyLimitType', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'LimitAll' => '', + 'LimitDiff' => '', + 'Unlimited' => '', + ], + 'example' => 'LimitAll', + ], + ], + [ + 'name' => 'CompanyLimitCount', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'All' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + 'PC' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '0', + ], + 'Mobile' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '0', + ], + ], + 'required' => false, + ], + ], + [ + 'name' => 'PersonalLimitType', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'LimitAll' => '', + 'LimitDiff' => '', + 'Unlimited' => '', + ], + 'example' => 'LimitDiff', + ], + ], + [ + 'name' => 'PersonalLimitCount', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'All' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '0', + ], + 'PC' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '2', + ], + 'Mobile' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + ], + 'required' => false, + ], + ], + [ + 'name' => 'MatchMode', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'UserGroupNormal' => '', + 'UserGroupAll' => '', + ], + 'example' => 'UserGroupNormal', + ], + ], + [ + 'name' => 'UserGroupIds', + 'in' => 'formData', + 'style' => 'flat', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'usergroup-086bcf2d650b****'."\n", + ], + 'required' => false, + ], + ], + [ + 'name' => 'PolicyId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'reg-policy-63b2f1844b86****'."\n", + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '27064ECA-0936-59F3-8A98-EC821E5BD08F', + ], + 'Policy' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'registration_policy_name', + ], + 'PolicyId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Priority' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1', + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Whitelist' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + 'Status' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Enabled' => '', + 'Disabled' => '', + ], + 'example' => 'Enabled', + ], + 'MatchMode' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'UserGroupNormal' => '', + 'UserGroupAll' => '', + ], + 'example' => 'UserGroupNormal', + ], + 'UserGroupIds' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'usergroup-086bcf2d650b****'."\n", + ], + ], + 'CreateTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2023-05-16 17:18:46'."\n", + ], + 'LimitDetail' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'DeviceBelong' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Company' => '', + 'Personal' => '', + ], + 'example' => 'Company', + ], + 'LimitType' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'LimitAll' => '', + 'LimitDiff' => '', + 'Unlimited' => '', + ], + 'example' => 'LimitAll', + ], + 'LimitCount' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'All' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'PC' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + 'Mobile' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"27064ECA-0936-59F3-8A98-EC821E5BD08F\\",\\n \\"Policy\\": {\\n \\"Name\\": \\"registration_policy_name\\",\\n \\"PolicyId\\": \\"设备注册策略ID\\",\\n \\"Priority\\": \\"1\\",\\n \\"Description\\": \\"这是一条设备注册策略\\",\\n \\"Whitelist\\": [\\n \\"韩梅梅\\"\\n ],\\n \\"Status\\": \\"Enabled\\",\\n \\"MatchMode\\": \\"UserGroupNormal\\",\\n \\"UserGroupIds\\": [\\n \\"usergroup-086bcf2d650b****\\"\\n ],\\n \\"CreateTime\\": \\"2023-05-16 17:18:46\\",\\n \\"LimitDetail\\": [\\n {\\n \\"DeviceBelong\\": \\"Company\\",\\n \\"LimitType\\": \\"LimitAll\\",\\n \\"LimitCount\\": {\\n \\"All\\": 1,\\n \\"PC\\": 0,\\n \\"Mobile\\": 0\\n }\\n }\\n ]\\n }\\n}","type":"json"}]', + ], + 'CreateRegistrationPolicy' => [ + 'summary' => '创建设备注册策略', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREcsasAPE6DH', + ], + ], + 'parameters' => [ + [ + 'name' => 'Name', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'registration_policy_name', + ], + ], + [ + 'name' => 'Description', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'Status', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'enumValueTitles' => [ + 'Enabled' => '', + 'Disabled' => '', + ], + 'example' => 'Enabled', + ], + ], + [ + 'name' => 'Whitelist', + 'in' => 'formData', + 'style' => 'flat', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + 'required' => false, + ], + ], + [ + 'name' => 'Priority', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '99', + ], + ], + [ + 'name' => 'CompanyLimitType', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'enumValueTitles' => [ + 'LimitAll' => '', + 'LimitDiff' => '', + 'Unlimited' => '', + ], + 'example' => 'LimitAll', + ], + ], + [ + 'name' => 'CompanyLimitCount', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'All' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + 'PC' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '0', + ], + 'Mobile' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '0', + ], + ], + 'required' => false, + ], + ], + [ + 'name' => 'PersonalLimitType', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'enumValueTitles' => [ + 'LimitAll' => '', + 'LimitDiff' => '', + 'Unlimited' => '', + ], + 'example' => 'LimitDiff', + ], + ], + [ + 'name' => 'PersonalLimitCount', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'All' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '0', + ], + 'PC' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '2', + ], + 'Mobile' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '3', + ], + ], + 'required' => false, + ], + ], + [ + 'name' => 'MatchMode', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'enumValueTitles' => [ + 'UserGroupNormal' => '', + 'UserGroupAll' => '', + ], + 'example' => 'UserGroupAll', + ], + ], + [ + 'name' => 'UserGroupIds', + 'in' => 'formData', + 'style' => 'flat', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'usergroup-086bcf2d650b****', + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => 'FEF1144C-95D1-5F7C-81EF-9DB70EA49FCE', + ], + 'Policy' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'registration_policy_name', + ], + 'PolicyId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'reg-policy-dcbfd33cb004****'."\n", + ], + 'Priority' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1', + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Whitelist' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + 'Status' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Enabled' => '', + 'Disabled' => '', + ], + 'example' => 'Enabled', + ], + 'MatchMode' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'UserGroupNormal' => '', + 'UserGroupAll' => '', + ], + 'example' => 'UserGroupNormal', + ], + 'UserGroupIds' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'usergroup-086bcf2d650b****'."\n", + ], + ], + 'CreateTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2023-05-16 17:18:46', + ], + 'LimitDetail' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'DeviceBelong' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Company' => '', + 'Personal' => '', + ], + 'example' => 'Company', + ], + 'LimitType' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'LimitAll' => '', + 'LimitDiff' => '', + 'Unlimited' => '', + ], + 'example' => 'LimitDiff', + ], + 'LimitCount' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'All' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + 'PC' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '2', + ], + 'Mobile' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '3', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"FEF1144C-95D1-5F7C-81EF-9DB70EA49FCE\\",\\n \\"Policy\\": {\\n \\"Name\\": \\"registration_policy_name\\",\\n \\"PolicyId\\": \\"reg-policy-dcbfd33cb004****\\",\\n \\"Priority\\": \\"1\\",\\n \\"Description\\": \\"这是一条设备注册策略\\",\\n \\"Whitelist\\": [\\n \\"王先生\\"\\n ],\\n \\"Status\\": \\"Enabled\\",\\n \\"MatchMode\\": \\"UserGroupNormal\\",\\n \\"UserGroupIds\\": [\\n \\"usergroup-086bcf2d650b****\\"\\n ],\\n \\"CreateTime\\": \\"2023-05-16 17:18:46\\",\\n \\"LimitDetail\\": [\\n {\\n \\"DeviceBelong\\": \\"Company\\",\\n \\"LimitType\\": \\"LimitDiff\\",\\n \\"LimitCount\\": {\\n \\"All\\": 0,\\n \\"PC\\": 2,\\n \\"Mobile\\": 3\\n }\\n }\\n ]\\n }\\n}","type":"json"}]', + ], + 'ListUserGroups' => [ + 'summary' => '批量查询用户组', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREcsas3KYQ7V', + ], + ], + 'parameters' => [ + [ + 'name' => 'CurrentPage', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'maximum' => '10000', + 'minimum' => '1', + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'maximum' => '1000', + 'minimum' => '1', + 'example' => '10', + ], + ], + [ + 'name' => 'UserGroupIds', + 'in' => 'query', + 'style' => 'flat', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'usergroup-6f1ef2fc56b6****', + ], + 'required' => false, + ], + ], + [ + 'name' => 'Name', + 'in' => 'query', + 'schema' => [ + 'description' => '用户组名称。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)。', + 'type' => 'string', + 'required' => false, + 'example' => 'user_group_name', + ], + ], + [ + 'name' => 'AttributeValue', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'username', + ], + ], + [ + 'name' => 'PAPolicyId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'pa-policy-54a7838a48bf****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '4AB972E2-D702-5464-B132-B1911498B8BF', + ], + 'TotalNum' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'UserGroups' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'UserGroupId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'usergroup-6f1ef2fc56b6****', + ], + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'user_group_name', + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Attributes' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'UserGroupType' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'telephone' => '', + 'department' => '', + 'email' => '', + 'username' => '', + ], + 'example' => 'department', + ], + 'Relation' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Unequal' => '', + 'Equal' => '', + ], + 'example' => 'Equal', + ], + 'Value' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'IdpId' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '12', + ], + ], + ], + ], + 'CreateTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2022-10-10 11:39:22', + ], + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4AB972E2-D702-5464-B132-B1911498B8BF\\",\\n \\"TotalNum\\": 1,\\n \\"UserGroups\\": [\\n {\\n \\"UserGroupId\\": \\"usergroup-6f1ef2fc56b6****\\",\\n \\"Name\\": \\"user_group_name\\",\\n \\"Description\\": \\"这是一条用户组\\",\\n \\"Attributes\\": [\\n {\\n \\"UserGroupType\\": \\"department\\",\\n \\"Relation\\": \\"Equal\\",\\n \\"Value\\": \\"OU=部门1,OU=SASE钉钉\\",\\n \\"IdpId\\": 12\\n }\\n ],\\n \\"CreateTime\\": \\"2022-10-10 11:39:22\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'ListPolicesForUserGroup' => [ + 'summary' => '批量查询用户组的策略', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREcsas7ZB8UX', + ], + ], + 'parameters' => [ + [ + 'name' => 'UserGroupIds', + 'in' => 'query', + 'style' => 'flat', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'usergroup-6f1ef2fc56b6****', + ], + 'required' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '5F04DFBD-3F48-5F70-AE72-474026670128', + ], + 'UserGroups' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'UserGroupId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'usergroup-6f1ef2fc56b6****', + ], + 'Polices' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'PolicyId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'pa-policy-ce2bf7236fab****', + ], + 'PolicyType' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'NAC' => '', + 'URLFilter' => '', + 'DLP' => '', + 'PrivateAccess' => '', + 'AppAccessControl' => '', + ], + 'example' => 'PrivateAccess', + ], + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'private_access_policy_name', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5F04DFBD-3F48-5F70-AE72-474026670128\\",\\n \\"UserGroups\\": [\\n {\\n \\"UserGroupId\\": \\"usergroup-6f1ef2fc56b6****\\",\\n \\"Polices\\": [\\n {\\n \\"PolicyId\\": \\"pa-policy-ce2bf7236fab****\\",\\n \\"PolicyType\\": \\"PrivateAccess\\",\\n \\"Name\\": \\"private_access_policy_name\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', + ], + 'GetUserGroup' => [ + 'summary' => '查询用户组详情', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREcsas7ZB8UX', + ], + ], + 'parameters' => [ + [ + 'name' => 'UserGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1310DBC7-7E1F-55D3-B4B4-E4BE912517FB', + ], + 'UserGroup' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'UserGroupId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'user_group_name', + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Attributes' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'UserGroupType' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'telephone' => '', + 'department' => '', + 'email' => '', + 'username' => '', + ], + 'example' => 'department', + ], + 'Relation' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Unequal' => '', + 'Equal' => '', + ], + 'example' => 'Equal', + ], + 'Value' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'IdpId' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '12', + ], + ], + ], + ], + 'CreateTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2022-10-10 11:39:22', + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 404 => [ + [ + 'errorCode' => 'UserGroup.NotFound', + 'errorMessage' => 'The userGroup is not found.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1310DBC7-7E1F-55D3-B4B4-E4BE912517FB\\",\\n \\"UserGroup\\": {\\n \\"UserGroupId\\": \\"usergroup-6f1ef2fc56b6****\\",\\n \\"Name\\": \\"user_group_name\\",\\n \\"Description\\": \\"这是一条用户组\\\\n\\",\\n \\"Attributes\\": [\\n {\\n \\"UserGroupType\\": \\"department\\",\\n \\"Relation\\": \\"Equal\\",\\n \\"Value\\": \\"OU=部门1,OU=SASE钉钉\\",\\n \\"IdpId\\": 12\\n }\\n ],\\n \\"CreateTime\\": \\"2022-10-10 11:39:22\\"\\n }\\n}","type":"json"}]', + ], + 'CreateUserGroup' => [ + 'summary' => '创建用户组', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '163587', + 'abilityTreeNodes' => [ + 'FEATUREcsas7ZB8UX', + ], + ], + 'parameters' => [ + [ + 'name' => 'Name', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'user_group_name', + ], + ], + [ + 'name' => 'Description', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'Attributes', + 'in' => 'formData', + 'style' => 'flat', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'UserGroupType' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'enumValueTitles' => [ + 'telephone' => '', + 'department' => '', + 'email' => '', + 'username' => '', + ], + 'example' => 'department', + ], + 'Relation' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'enumValueTitles' => [ + 'Unequal' => '', + 'Equal' => '', + ], + 'example' => 'Equal', + ], + 'Value' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '', + ], + 'IdpId' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '12', + ], + ], + 'required' => true, + ], + 'required' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '102350E7-1A20-58F5-9D63-ABEA820AE6E1', + ], + 'UserGroupId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'usergroup-6f1ef2fc56b6****', + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"102350E7-1A20-58F5-9D63-ABEA820AE6E1\\",\\n \\"UserGroupId\\": \\"usergroup-6f1ef2fc56b6****\\"\\n}","type":"json"}]', + ], + 'DeleteUserGroup' => [ + 'summary' => '删除用户组', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '163604', + 'abilityTreeNodes' => [ + 'FEATUREcsas7ZB8UX', + ], + ], + 'parameters' => [ + [ + 'name' => 'UserGroupId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'usergroup-6f1ef2fc56b6****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '58D6B23E-E5DA-5418-8F61-51A3B5A30049', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'UserGroup.UsedByPolicy', + 'errorMessage' => 'The userGroup is used by policy.', + ], + ], + 404 => [ + [ + 'errorCode' => 'UserGroup.NotFound', + 'errorMessage' => 'The userGroup is not found.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"58D6B23E-E5DA-5418-8F61-51A3B5A30049\\"\\n}","type":"json"}]', + ], + 'UpdateUserGroup' => [ + 'summary' => '修改用户组', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '163597', + 'abilityTreeNodes' => [ + 'FEATUREcsas7ZB8UX', + ], + ], + 'parameters' => [ + [ + 'name' => 'UserGroupId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'usergroup-6f1ef2fc56b6****', + ], + ], + [ + 'name' => 'Description', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'Attributes', + 'in' => 'formData', + 'style' => 'flat', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'UserGroupType' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'enumValueTitles' => [ + 'telephone' => '', + 'department' => '', + 'email' => '', + 'username' => '', + ], + 'example' => 'department', + ], + 'Relation' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'enumValueTitles' => [ + 'Unequal' => '', + 'Equal' => '', + ], + 'example' => 'Equal', + ], + 'Value' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '', + ], + 'IdpId' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '12', + ], + ], + 'required' => true, + ], + 'required' => false, + ], + ], + [ + 'name' => 'ModifyType', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'Cover' => '', + 'Append' => '', + ], + 'example' => 'Cover', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'FD724DBC-CD76-5235-BF76-59C51B73296D', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 404 => [ + [ + 'errorCode' => 'UserGroup.NotFound', + 'errorMessage' => 'The userGroup is not found.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"FD724DBC-CD76-5235-BF76-59C51B73296D\\"\\n}","type":"json"}]', + ], + 'ListUserPrivateAccessPolicies' => [ + 'summary' => 'List query of user zero trust policies', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '248706', + 'abilityTreeNodes' => [ + 'FEATUREcsas3KYQ7V', + ], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'SaseUserId', + 'in' => 'query', + 'schema' => [ + 'description' => 'User ID.', + 'type' => 'string', + 'required' => true, + 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****', + ], + ], + [ + 'name' => 'CurrentPage', + 'in' => 'query', + 'schema' => [ + 'description' => 'Current page number.', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'minimum' => '1', + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => 'Number of items per page for pagination. Range: 1~100.', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'maximum' => '100', + 'minimum' => '1', + 'example' => '10', + ], + ], + [ + 'name' => 'Name', + 'in' => 'query', + 'schema' => [ + 'description' => 'Intranet access policy name. Length should be between 1 to 128 characters, supporting Chinese and case-sensitive English letters, and can include numbers, periods (.), underscores (_), and hyphens (-).', + 'type' => 'string', + 'required' => false, + 'example' => 'private_access_policy_name'."\n", + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of the response.', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'ID of the request.', + 'type' => 'string', + 'example' => '9D852F87-AFB5-51B8-AACD-F7D0EFB8277D', + ], + 'TotalNum' => [ + 'description' => 'Total number of authorized policies.', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '20', + ], + 'Polices' => [ + 'description' => 'List of authorized policies.', + 'type' => 'array', + 'items' => [ + 'description' => 'Intranet access policy.', + 'type' => 'object', + 'properties' => [ + 'PolicyId' => [ + 'description' => 'Intranet access policy ID.', + 'type' => 'string', + 'example' => 'pa-policy-1b0d0e8b4bcf****', + ], + 'Name' => [ + 'description' => 'Intranet access policy name.', + 'type' => 'string', + 'example' => 'private_access_policy_name', + ], + 'Priority' => [ + 'description' => 'Priority of the intranet access policy. The number 1 indicates the highest priority.', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + 'PolicyAction' => [ + 'description' => 'Action of the intranet access policy. Values:'."\n" + .'- **Block**: Block.'."\n" + .'- **Allow**: Allow.', + 'type' => 'string', + 'enumValueTitles' => [ + 'Block' => '阻断', + 'Allow' => '允许', + ], + 'example' => 'Allow', + ], + 'UserGroupMode' => [ + 'description' => 'Type of the user group for the intranet access policy. Values:'."\n" + .'- **Normal**: Normal user group.'."\n" + .'- **Custom**: Custom user group.', + 'type' => 'string', + 'enumValueTitles' => [ + 'Custom' => '自定义用户组', + 'Normal' => '普通用户组', + ], + 'example' => 'Custom', + ], + 'MatchedUserGroup' => [ + 'description' => 'Associated user group.', + 'type' => 'string', + 'example' => 'user_group_name', + ], + 'DeviceAttributeName' => [ + 'description' => 'Associated security baseline.', + 'type' => 'string', + 'example' => 'device_attribute_name', + ], + 'CustomUserAttributes' => [ + 'description' => 'Set of custom user group attributes. Multiple custom user group attributes are in an OR relationship, effective as a union.', + 'type' => 'array', + 'items' => [ + 'description' => 'Custom user group attribute.', + 'type' => 'object', + 'properties' => [ + 'UserGroupType' => [ + 'description' => 'Type of the user group. Values:'."\n" + .'- **username**: Username.'."\n" + .'- **department**: Department.'."\n" + .'- **email**: Email.'."\n" + .'- **telephone**: Telephone.', + 'type' => 'string', + 'enumValueTitles' => [ + 'telephone' => '手机', + 'department' => '部门', + 'email' => '邮箱', + 'username' => '用户名', + ], + 'example' => 'department', + ], + 'Relation' => [ + 'description' => 'Relation of the user group. Values:'."\n" + .'- **Equal**: Equal.'."\n" + .'- **Unequal**: Not equal.', + 'type' => 'string', + 'enumValueTitles' => [ + 'Unequal' => '不等于', + 'Equal' => '等于', + ], + 'example' => 'Equal', + ], + 'Value' => [ + 'description' => 'The value of the user group attribute.'."\n" + .'- When the user group type is **username**, it represents the value of the username. The length is 1 to 128 characters, supporting Chinese and case-sensitive English letters, and can include numbers, periods (.), underscores (_), and hyphens (-).'."\n" + .'- When the user group type is **department**, it represents the value of the department. For example: OU=Department1,OU=SASE DingTalk.'."\n" + .'- When the user group type is **email**, it represents the value of the email. For example: [email protected].'."\n" + .'- When the user group type is **telephone**, it represents the value of the phone number. For example: 13900001234.', + 'type' => 'string', + 'example' => 'OU=部门1,OU=SASE钉钉', + ], + 'IdpId' => [ + 'description' => 'The identity provider ID of the user group. This value exists when the custom user group type is **department**.', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '12', + ], + ], + ], + ], + 'TrustedSoftwareIds' => [ + 'description' => 'List of trusted software IDs.', + 'type' => 'array', + 'items' => [ + 'description' => 'Trusted software ID.', + 'type' => 'string', + 'example' => 'swb-xxxxxxx', + ], + ], + 'TrustedProcessGroupIds' => [ + 'description' => 'List of trusted process group IDs.', + 'type' => 'array', + 'items' => [ + 'description' => 'Trusted process group ID.', + 'type' => 'string', + 'example' => 'pg-xdxxxxxx', + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9D852F87-AFB5-51B8-AACD-F7D0EFB8277D\\",\\n \\"TotalNum\\": 20,\\n \\"Polices\\": [\\n {\\n \\"PolicyId\\": \\"pa-policy-1b0d0e8b4bcf****\\",\\n \\"Name\\": \\"private_access_policy_name\\",\\n \\"Priority\\": 1,\\n \\"PolicyAction\\": \\"Allow\\",\\n \\"UserGroupMode\\": \\"Custom\\",\\n \\"MatchedUserGroup\\": \\"user_group_name\\",\\n \\"DeviceAttributeName\\": \\"device_attribute_name\\",\\n \\"CustomUserAttributes\\": [\\n {\\n \\"UserGroupType\\": \\"department\\",\\n \\"Relation\\": \\"Equal\\",\\n \\"Value\\": \\"OU=部门1,OU=SASE钉钉\\",\\n \\"IdpId\\": 12\\n }\\n ],\\n \\"TrustedSoftwareIds\\": [\\n \\"swb-xxxxxxx\\"\\n ],\\n \\"TrustedProcessGroupIds\\": [\\n \\"pg-xdxxxxxx\\"\\n ]\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'Query User Zero Trust Policies', + 'translator' => 'machine', + ], + 'ListUserApplications' => [ + 'summary' => '列表查询用户应用权限', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'abilityTreeCode' => '248619', + 'abilityTreeNodes' => [ + 'FEATUREcsas3KYQ7V', + ], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'SaseUserId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****', + ], + ], + [ + 'name' => 'Name', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'private_access_application_name', + ], + ], + [ + 'name' => 'CurrentPage', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '10', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request', + 'type' => 'string', + 'example' => '58D6B23E-E5DA-5418-8F61-51A3B5A30049', + ], + 'TotalNum' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '20', + ], + 'Applications' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'private_access_application_name', + ], + 'ApplicationId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'pa-application-b927baf3e592****', + ], + 'Protocol' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'TCP' => 'TCP', + 'UDP' => 'UDP', + 'ALL' => '', + 'HTTPS' => 'HTTPS', + 'HTTP' => 'HTTP', + ], + 'example' => 'TCP', + ], + 'Action' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Block' => '', + 'Allow' => '', + ], + 'example' => 'Block', + ], + 'Addresses' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '192.168.0.0/16', + ], + ], + 'PortRanges' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Begin' => [ + 'description' => '', + 'type' => 'string', + 'example' => '80', + ], + 'End' => [ + 'description' => '', + 'type' => 'string', + 'example' => '81', + ], + ], + ], + ], + 'ConfigMode' => [ + 'title' => '配置模式,枚举值:'."\n" + .'* 空字符串:默认模式。'."\n" + .'* Precise:精细模式。', + 'type' => 'string', + ], + 'AddressGroups' => [ + 'title' => '应用地址组。在ConfigMode为Precise时返回;在ConfigMode为空字符串时为空。', + 'type' => 'array', + 'items' => [ + '$ref' => '#/components/schemas/AddressGroup', + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"58D6B23E-E5DA-5418-8F61-51A3B5A30049\\",\\n \\"TotalNum\\": 20,\\n \\"Applications\\": [\\n {\\n \\"Name\\": \\"private_access_application_name\\",\\n \\"ApplicationId\\": \\"pa-application-b927baf3e592****\\",\\n \\"Protocol\\": \\"TCP\\",\\n \\"Action\\": \\"Block\\",\\n \\"Addresses\\": [\\n \\"192.168.0.0/16\\"\\n ],\\n \\"PortRanges\\": [\\n {\\n \\"Begin\\": \\"80\\",\\n \\"End\\": \\"81\\"\\n }\\n ],\\n \\"ConfigMode\\": \\"\\",\\n \\"AddressGroups\\": [\\n {\\n \\"Addresses\\": [\\n \\"\\"\\n ],\\n \\"Ports\\": [\\n {\\n \\"Begin\\": 0,\\n \\"End\\": 0\\n }\\n ]\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', + ], + 'ListUsers' => [ + 'summary' => '列表查询登陆用户', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREcsas62O8LY', + ], + ], + 'parameters' => [ + [ + 'name' => 'CurrentPage', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '10', + ], + ], + [ + 'name' => 'FuzzyUsername', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'PreciseUsername', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'SaseUserIds', + 'in' => 'query', + 'style' => 'flat', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****', + ], + 'required' => false, + ], + ], + [ + 'name' => 'Status', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'Enabled' => '', + 'Disabled' => '', + ], + 'example' => 'Enabled', + ], + ], + [ + 'name' => 'Department', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '5FEF5CFA-14CC-5DE5-BD1F-AFFE0996E71D', + ], + 'TotalNum' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1', + ], + 'Users' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Username' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'SaseUserId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****', + ], + 'Department' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Email' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'a***@example.net', + ], + 'Phone' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1381111****', + ], + 'Status' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Enabled' => '', + 'Disabled' => '', + ], + 'example' => 'Enabled', + ], + 'IdpName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5FEF5CFA-14CC-5DE5-BD1F-AFFE0996E71D\\",\\n \\"TotalNum\\": \\"1\\",\\n \\"Users\\": [\\n {\\n \\"Username\\": \\"王先生\\",\\n \\"SaseUserId\\": \\"su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****\\",\\n \\"Department\\": \\"测试部\\",\\n \\"Email\\": \\"a***@example.net\\",\\n \\"Phone\\": \\"1381111****\\",\\n \\"Status\\": \\"Enabled\\",\\n \\"IdpName\\": \\"飞书\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'UpdateUsersStatus' => [ + 'summary' => '批量修改登陆用户状态', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREcsas642DA7', + ], + ], + 'parameters' => [ + [ + 'name' => 'SaseUserIds', + 'in' => 'query', + 'style' => 'flat', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****', + ], + 'required' => true, + ], + ], + [ + 'name' => 'Status', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'enumValueTitles' => [ + 'Enabled' => '', + 'Disabled' => '', + ], + 'example' => 'Enabled', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '47363C2B-1AAA-5954-8847-0E50FCC54117', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"47363C2B-1AAA-5954-8847-0E50FCC54117\\"\\n}","type":"json"}]', + ], + 'ListPrivateAccessApplications' => [ + 'summary' => '批量查询内网访问应用', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '163590', + 'abilityTreeNodes' => [ + 'FEATUREcsas642DA7', + ], + ], + 'parameters' => [ + [ + 'name' => 'CurrentPage', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '10', + ], + ], + [ + 'name' => 'Name', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'private_access_application_name', + ], + ], + [ + 'name' => 'Status', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'Enabled' => '', + 'Disabled' => '', + ], + 'example' => 'Enabled', + ], + ], + [ + 'name' => 'Address', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '192.168.0.0/16', + ], + ], + [ + 'name' => 'ApplicationIds', + 'in' => 'query', + 'style' => 'flat', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'pa-application-e12860ef6c48****', + ], + 'required' => false, + ], + ], + [ + 'name' => 'TagId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'tag-d3f64e8bdd4a****', + ], + ], + [ + 'name' => 'PolicyId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'pa-policy-54a7838a48bf****', + ], + ], + [ + 'name' => 'ConnectorId', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + [ + 'name' => 'AccessModes', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '748CFDC7-1EB6-5B8B-9405-DA76ED5BB60D', + ], + 'TotalNum' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'Applications' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ApplicationId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'pa-application-e12860ef6c48****', + ], + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'private_access_application_name', + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Addresses' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '192.168.0.0/16', + ], + ], + 'PortRanges' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Begin' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '80', + ], + 'End' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '81', + ], + ], + ], + ], + 'Protocol' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'All' => 'All', + 'TCP' => 'TCP', + 'UDP' => 'UDP', + ], + 'example' => 'All', + ], + 'Status' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Enabled' => '', + 'Disabled' => '', + ], + 'example' => 'Enabled', + ], + 'CreateTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2022-12-16 15:03:42', + ], + 'TagIds' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'tag-d3f64e8bdd4a****', + ], + ], + 'PolicyIds' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'pa-policy-54a7838a48bf****', + ], + ], + 'ConnectorIds' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + 'BrowserAccessStatus' => [ + 'type' => 'string', + ], + 'L7ProxyDomainAutomatic' => [ + 'type' => 'string', + ], + 'L7ProxyDomainCustom' => [ + 'type' => 'string', + ], + 'AutoGenerated' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'ConfigMode' => [ + 'title' => '配置模式,枚举值:'."\n" + .'* 空字符串:默认模式。'."\n" + .'* Precise:精细模式。', + 'type' => 'string', + ], + 'AddressGroups' => [ + 'title' => '应用地址组。在ConfigMode为Precise时返回;在ConfigMode为空字符串时为空。', + 'type' => 'array', + 'items' => [ + '$ref' => '#/components/schemas/AddressGroup', + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"748CFDC7-1EB6-5B8B-9405-DA76ED5BB60D\\",\\n \\"TotalNum\\": 1,\\n \\"Applications\\": [\\n {\\n \\"ApplicationId\\": \\"pa-application-e12860ef6c48****\\",\\n \\"Name\\": \\"private_access_application_name\\",\\n \\"Description\\": \\"这是一条内网访问应用\\",\\n \\"Addresses\\": [\\n \\"192.168.0.0/16\\"\\n ],\\n \\"PortRanges\\": [\\n {\\n \\"Begin\\": 80,\\n \\"End\\": 81\\n }\\n ],\\n \\"Protocol\\": \\"All\\",\\n \\"Status\\": \\"Enabled\\",\\n \\"CreateTime\\": \\"2022-12-16 15:03:42\\",\\n \\"TagIds\\": [\\n \\"tag-d3f64e8bdd4a****\\"\\n ],\\n \\"PolicyIds\\": [\\n \\"pa-policy-54a7838a48bf****\\"\\n ],\\n \\"ConnectorIds\\": [\\n \\"connector-94db94e06b98****\\"\\n ],\\n \\"BrowserAccessStatus\\": \\"Enabled\\",\\n \\"L7ProxyDomainAutomatic\\": \\"app1-xxx.at.cloudssecsase.com\\",\\n \\"L7ProxyDomainCustom\\": \\"app1.example.com\\",\\n \\"AutoGenerated\\": 0,\\n \\"ConfigMode\\": \\"\\",\\n \\"AddressGroups\\": [\\n {\\n \\"Addresses\\": [\\n \\"\\"\\n ],\\n \\"Ports\\": [\\n {\\n \\"Begin\\": 0,\\n \\"End\\": 0\\n }\\n ]\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', + ], + 'ListTagsForPrivateAccessApplication' => [ + 'summary' => '批量查询内网访问应用的标签', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREcsas642DA7', + ], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'ApplicationIds', + 'in' => 'query', + 'style' => 'flat', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'pa-application-7a4445897856****', + ], + 'required' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '7241F45B-E8D3-5BA3-8172-8A58AC2AB0FC', + ], + 'Applications' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ApplicationId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'pa-application-7a4445897856****', + ], + 'Tags' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'TagId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'tag-c0cb77857a99****', + ], + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'tag_name', + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'TagType' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Custom' => '', + 'Default' => '', + ], + 'example' => 'Default', + ], + 'CreateTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2022-07-01 16:05:26', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7241F45B-E8D3-5BA3-8172-8A58AC2AB0FC\\",\\n \\"Applications\\": [\\n {\\n \\"ApplicationId\\": \\"pa-application-7a4445897856****\\",\\n \\"Tags\\": [\\n {\\n \\"TagId\\": \\"tag-c0cb77857a99****\\",\\n \\"Name\\": \\"tag_name\\",\\n \\"Description\\": \\"这是一条内网访问标签\\",\\n \\"TagType\\": \\"Default\\",\\n \\"CreateTime\\": \\"2022-07-01 16:05:26\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', + ], + 'ListPolicesForPrivateAccessApplication' => [ + 'summary' => '批量查询内网访问应用的策略', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREcsas7ZB8UX', + ], + ], + 'parameters' => [ + [ + 'name' => 'ApplicationIds', + 'in' => 'query', + 'style' => 'flat', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'pa-application-b927baf3e592****', + ], + 'required' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '4AB972E2-D702-5464-B132-B1911498B8BF', + ], + 'Applications' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ApplicationId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'pa-application-b927baf3e592****', + ], + 'Policies' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'PolicyId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'pa-policy-867ef4007c8a****', + ], + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'private_access_policy_name'."\n", + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'PolicyAction' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Block' => '', + 'Allow' => '', + ], + 'example' => 'Allow', + ], + 'Priority' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'Status' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Enabled' => '', + 'Disabled' => '', + ], + 'example' => 'Enabled', + ], + 'ApplicationType' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Tag' => '', + 'Application' => '', + ], + 'example' => 'Application', + ], + 'UserGroupType' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Custom' => '', + 'Normal' => '', + ], + 'example' => 'Normal', + ], + 'CustomUserAttributes' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'UserGroupType' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'telephone' => '', + 'department' => '', + 'email' => '', + 'username' => '', + ], + 'example' => 'department', + ], + 'Relation' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Unequal' => '', + 'Equal' => '', + ], + 'example' => 'Equal', + ], + 'Value' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'IdpId' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '12', + ], + ], + ], + ], + 'CreateTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2022-09-27 18:10:25', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4AB972E2-D702-5464-B132-B1911498B8BF\\",\\n \\"Applications\\": [\\n {\\n \\"ApplicationId\\": \\"pa-application-b927baf3e592****\\",\\n \\"Policies\\": [\\n {\\n \\"PolicyId\\": \\"pa-policy-867ef4007c8a****\\",\\n \\"Name\\": \\"private_access_policy_name\\\\n\\",\\n \\"Description\\": \\"这是一条内网访问策略\\\\n\\",\\n \\"PolicyAction\\": \\"Allow\\",\\n \\"Priority\\": 1,\\n \\"Status\\": \\"Enabled\\",\\n \\"ApplicationType\\": \\"Application\\",\\n \\"UserGroupType\\": \\"Normal\\",\\n \\"CustomUserAttributes\\": [\\n {\\n \\"UserGroupType\\": \\"department\\",\\n \\"Relation\\": \\"Equal\\",\\n \\"Value\\": \\"OU=部门1,OU=SASE钉钉\\",\\n \\"IdpId\\": 12\\n }\\n ],\\n \\"CreateTime\\": \\"2022-09-27 18:10:25\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', + ], + 'GetPrivateAccessApplication' => [ + 'summary' => 'Queries the details of the office applications that belong to the current Alibaba Cloud account.', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '163601', + 'abilityTreeNodes' => [ + 'FEATUREcsas642DA7', + ], + ], + 'parameters' => [ + [ + 'name' => 'ApplicationId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the office application. You can obtain the value by calling the following operations:'."\n" + ."\n" + .'* [ListPrivateAccessApplications](~~ListPrivateAccessApplications~~): queries office applications.'."\n" + .'* [CreatePrivateAccessApplication](~~CreatePrivateAccessApplication~~): creates an office application.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'pa-application-e12860ef6c48****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => '3ACC5EDC-2B7D-5032-8C58-D7615D66C1D4', + ], + 'Application' => [ + 'description' => 'The office application.'."\n", + 'type' => 'object', + 'properties' => [ + 'ApplicationId' => [ + 'description' => 'The ID of the office application.'."\n", + 'type' => 'string', + 'example' => 'pa-application-e12860ef6c48****', + ], + 'Name' => [ + 'description' => 'The name of the office application.'."\n", + 'type' => 'string', + 'example' => 'private_access_application_name', + ], + 'Description' => [ + 'description' => 'The description of the office application.'."\n", + 'type' => 'string', + 'example' => '', + ], + 'Addresses' => [ + 'description' => 'The addresses of the office applications.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The address of the office application. The address must be 1 to 128 characters in length and can be IPv4 addresses, CIDR blocks, domain names, and wildcard domain names.'."\n", + 'type' => 'string', + 'example' => '192.168.0.0/16', + ], + ], + 'PortRanges' => [ + 'description' => 'The port ranges of the office applications. Multiple port ranges cannot be duplicated or overlapped.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The port range of the office application. Valid values: 1 to 65535.'."\n", + 'type' => 'object', + 'properties' => [ + 'Begin' => [ + 'description' => 'The start port.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '80', + ], + 'End' => [ + 'description' => 'The end port.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '81', + ], + ], + ], + ], + 'Protocol' => [ + 'description' => 'The protocol that is used by the office application. Valid values:'."\n" + ."\n" + .'* **All**'."\n" + .'* **TCP**'."\n" + .'* **UDP**'."\n", + 'type' => 'string', + 'enumValueTitles' => [ + 'All' => 'All', + 'TCP' => 'TCP', + 'UDP' => 'UDP', + ], + 'example' => 'All', + ], + 'Status' => [ + 'description' => 'The status of the office application. Valid values:'."\n" + ."\n" + .'* **Enabled**'."\n" + .'* **Disabled**'."\n", + 'type' => 'string', + 'enumValueTitles' => [ + 'Enabled' => '', + 'Disabled' => '', + ], + 'example' => 'Enabled', + ], + 'CreateTime' => [ + 'description' => 'The creation time of the office application.'."\n", + 'type' => 'string', + 'example' => '2022-08-30 16:50:32', + ], + 'TagIds' => [ + 'description' => 'The IDs of the tags for the office applications.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The ID of the tag for the office application.'."\n", + 'type' => 'string', + 'example' => 'tag-d3f64e8bdd4a****', + ], + ], + 'PolicyIds' => [ + 'description' => 'The IDs of the private access policies.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The ID of the private access policy.'."\n", + 'type' => 'string', + 'example' => 'pa-policy-54a7838a48bf****', + ], + ], + 'ConnectorIds' => [ + 'description' => 'The IDs of connectors.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The ID of the connector.'."\n", + 'type' => 'string', + 'example' => 'connector-94db94e06b98****', + ], + ], + 'BrowserAccessStatus' => [ + 'description' => 'The browser access mode. Valid values:'."\n" + ."\n" + .'* **Enabled**'."\n" + .'* **Disabled**'."\n", + 'type' => 'string', + 'example' => 'Enabled', + ], + 'L7ProxyDomainAutomatic' => [ + 'description' => 'The browser access mode parameter. The parameter indicates the domain name that the proxy gateway uses.'."\n", + 'type' => 'string', + 'example' => 'app.example.com', + ], + 'L7ProxyDomainCustom' => [ + 'description' => 'The browser access mode parameter. The parameter indicates the custom domain name of the proxy gateway.'."\n", + 'type' => 'string', + 'example' => 'app.example.com', + ], + 'L7Config' => [ + 'description' => 'The browser access mode parameter. The parameter indicates the configurations of Layer 7 applications.'."\n", + '$ref' => '#/components/schemas/PAL7Config', + ], + 'AutoGenerated' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'ConfigMode' => [ + 'title' => '配置模式,枚举值:'."\n" + .'* 空字符串:默认模式。'."\n" + .'* Precise:精细模式。', + 'type' => 'string', + ], + 'AddressGroups' => [ + 'title' => '应用地址组。在ConfigMode为Precise时必传;在ConfigMode为空字符串时不可传。', + 'type' => 'array', + 'items' => [ + '$ref' => '#/components/schemas/AddressGroup', + ], + ], + ], + ], + ], + 'description' => '', + ], + ], + ], + 'errorCodes' => [ + 404 => [ + [ + 'errorCode' => 'Application.NotFound', + 'errorMessage' => 'The application is not found.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"3ACC5EDC-2B7D-5032-8C58-D7615D66C1D4\\",\\n \\"Application\\": {\\n \\"ApplicationId\\": \\"pa-application-e12860ef6c48****\\",\\n \\"Name\\": \\"private_access_application_name\\",\\n \\"Description\\": \\"这是一条内网访问应用\\",\\n \\"Addresses\\": [\\n \\"192.168.0.0/16\\"\\n ],\\n \\"PortRanges\\": [\\n {\\n \\"Begin\\": 80,\\n \\"End\\": 81\\n }\\n ],\\n \\"Protocol\\": \\"All\\",\\n \\"Status\\": \\"Enabled\\",\\n \\"CreateTime\\": \\"2022-08-30 16:50:32\\",\\n \\"TagIds\\": [\\n \\"tag-d3f64e8bdd4a****\\"\\n ],\\n \\"PolicyIds\\": [\\n \\"pa-policy-54a7838a48bf****\\"\\n ],\\n \\"ConnectorIds\\": [\\n \\"connector-94db94e06b98****\\"\\n ],\\n \\"BrowserAccessStatus\\": \\"Enabled\\",\\n \\"L7ProxyDomainAutomatic\\": \\"app.example.com\\",\\n \\"L7ProxyDomainCustom\\": \\"app.example.com\\",\\n \\"L7Config\\": {\\n \\"RequestQueryRewriteConfig\\": {\\n \\"Ops\\": [\\n {\\n \\"Op\\": \\"add,set,delete,replace\\",\\n \\"OldValue\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Key\\": \\"\\",\\n \\"ValueVariable\\": \\"\\"\\n }\\n ]\\n },\\n \\"JsHookConfig\\": {\\n \\"Mode\\": \\"\\",\\n \\"ReplaceRules\\": [\\n {\\n \\"From\\": \\"aaa\\",\\n \\"To\\": \\"bbb\\"\\n }\\n ]\\n },\\n \\"BypassConfig\\": {\\n \\"AppBypassFroms\\": [\\n \\"\\"\\n ],\\n \\"Mode\\": \\"\\",\\n \\"UrlBypassRules\\": [\\n {\\n \\"Paths\\": [\\n \\"\\"\\n ],\\n \\"Froms\\": [\\n \\"\\"\\n ]\\n }\\n ]\\n },\\n \\"CertId\\": \\"\\",\\n \\"ClientTypeRestrictConfig\\": {\\n \\"BlacklistClients\\": [\\n \\"\\"\\n ],\\n \\"Mode\\": \\"disabled,whitelist,blacklist\\",\\n \\"WhitelistClients\\": [\\n \\"\\"\\n ]\\n },\\n \\"ResponseHeaderRewriteConfig\\": {\\n \\"Ops\\": [\\n {\\n \\"Op\\": \\"add,set,delete,replace\\",\\n \\"OldValue\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Key\\": \\"\\",\\n \\"ValueVariable\\": \\"\\"\\n }\\n ]\\n },\\n \\"IsNtlm\\": true,\\n \\"ClientIpConfig\\": {\\n \\"ClientIpHeaders\\": [\\n \\"\\"\\n ],\\n \\"TrustedProxies\\": [\\n \\"\\"\\n ]\\n },\\n \\"ClientIpRestrictConfig\\": {\\n \\"BlacklistFroms\\": [\\n \\"\\"\\n ],\\n \\"Mode\\": \\"disabled,whitelist,blacklist\\",\\n \\"WhitelistFroms\\": [\\n \\"\\"\\n ]\\n },\\n \\"ResponseRewriteConfig\\": {\\n \\"Mode\\": \\"\\",\\n \\"ReplaceRules\\": [\\n {\\n \\"From\\": \\"aaa\\",\\n \\"To\\": \\"bbb\\"\\n }\\n ]\\n },\\n \\"RequestHeaderRewriteConfig\\": {\\n \\"Ops\\": [\\n {\\n \\"Op\\": \\"add,set,delete,replace\\",\\n \\"OldValue\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Key\\": \\"\\",\\n \\"ValueVariable\\": \\"\\"\\n }\\n ]\\n },\\n \\"DnsConfig\\": {\\n \\"DnsServers\\": [\\n \\"\\"\\n ]\\n },\\n \\"ProxyDomainTypes\\": \\"逗号分隔的枚举值:automatic,custom\\"\\n },\\n \\"AutoGenerated\\": 0,\\n \\"ConfigMode\\": \\"Precise\\",\\n \\"AddressGroups\\": [\\n {\\n \\"Addresses\\": [\\n \\"\\"\\n ],\\n \\"Ports\\": [\\n {\\n \\"Begin\\": 0,\\n \\"End\\": 0\\n }\\n ]\\n }\\n ]\\n }\\n}","type":"json"}]', + 'title' => 'GetPrivateAccessApplication', + ], + 'CreatePrivateAccessApplication' => [ + 'summary' => 'Creates an office application within the current Alibaba Cloud account.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '163596', + 'abilityTreeNodes' => [ + 'FEATUREcsas642DA7', + ], + ], + 'parameters' => [ + [ + 'name' => 'Name', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The name of the office application. The value must be 1 to 128 characters in length and can contain letters, digits, periods (.), underscores (\\_), and hyphens (-).'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'private_access_application_name', + ], + ], + [ + 'name' => 'Description', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The description of the office application. The value must be 1 to 128 characters in length and can contain letters, digits, periods (.), underscores (\\_), hyphens (-), and spaces.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'Addresses', + 'in' => 'formData', + 'style' => 'flat', + 'schema' => [ + 'description' => 'The addresses of the office applications. You can enter up to 1,000 addresses of office applications.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The address of the office application. The address must be 1 to 128 characters in length and can be IPv4 addresses, CIDR blocks, domain names, and wildcard domain names.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => '192.168.0.0/16', + ], + 'required' => false, + 'title' => '应用地址。在ConfigMode为空字符串时必传;在ConfigMode为Precise时不可传。', + ], + ], + [ + 'name' => 'PortRanges', + 'in' => 'formData', + 'style' => 'flat', + 'schema' => [ + 'description' => 'The port ranges of the office applications. You can enter up to 65,535 port ranges. Multiple port ranges cannot be duplicated or overlapped.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The port range of the office application. Valid values: 1 to 65535.'."\n", + 'type' => 'object', + 'properties' => [ + 'Begin' => [ + 'description' => 'The start port. The start port must be less than or equal to the end port.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'maximum' => '65535', + 'minimum' => '1', + 'example' => '80', + ], + 'End' => [ + 'description' => 'The end port. The end port must be greater than or equal to the start port.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'maximum' => '65535', + 'minimum' => '1', + 'example' => '81', + ], + ], + 'required' => true, + ], + 'required' => false, + 'title' => '应用端口。在ConfigMode为空字符串时必传;在ConfigMode为Precise时不可传。', + ], + ], + [ + 'name' => 'Protocol', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The protocol that is used by the office application. Valid values:'."\n" + ."\n" + .'* **All**'."\n" + .'* **TCP**'."\n" + .'* **UDP**'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'All', + 'enum' => [ + 'All', + 'TCP', + 'UDP', + 'HTTP', + 'HTTPS', + ], + ], + ], + [ + 'name' => 'Status', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The status of the office application. Valid values:'."\n" + ."\n" + .'* **Enabled**'."\n" + .'* **Disabled**'."\n", + 'type' => 'string', + 'required' => true, + 'enumValueTitles' => [ + 'Enabled' => '', + 'Disabled' => '', + ], + 'example' => 'Enabled', + 'enum' => [ + 'Enabled', + 'Disabled', + ], + ], + ], + [ + 'name' => 'TagIds', + 'in' => 'formData', + 'style' => 'flat', + 'schema' => [ + 'description' => 'The IDs of the tags for the office applications. You can add up to six custom tags to an office application.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The ID of the tag for the office application. You can obtain the value by calling the following operations:'."\n" + ."\n" + .'* [ListPrivateAccessTags](~~ListPrivateAccessTags~~): queries tags for office applications.'."\n" + .'* [CreatePrivateAccessTag](~~CreatePrivateAccessTag~~): creates a tag for office applications.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'tag-d3f64e8bdd4a****', + ], + 'required' => false, + ], + ], + [ + 'name' => 'BrowserAccessStatus', + 'in' => 'formData', + 'schema' => [ + 'description' => 'Specifies whether to allow access from a browser. Default value: **Disabled**. Valid values:'."\n" + ."\n" + .'* **Enabled**'."\n" + .'* **Disabled**'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'Disabled', + ], + ], + [ + 'name' => 'L7ProxyDomainAutomaticPrefix', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The browser access mode parameter. The parameter specifies the prefix of the domain name that the proxy gateway uses. The prefix must be 3 to 20 characters in length, and can contain lowercase letters, digits, and hyphens (-).'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'app-sample', + ], + ], + [ + 'name' => 'L7ProxyDomainCustom', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The browser access mode parameter. The parameter specifies the custom domain name of the proxy gateway. Enter a valid domain name.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'app1.example.com', + ], + ], + [ + 'name' => 'L7Config', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => 'The browser access mode parameter. The parameter specifies the configurations of Layer 7 applications.'."\n", + 'required' => false, + '$ref' => '#/components/schemas/PAL7Config', + ], + ], + [ + 'name' => 'ConfigMode', + 'in' => 'formData', + 'schema' => [ + 'title' => '配置模式,枚举值:'."\n" + .'* 空字符串:默认模式。'."\n" + .'* Precise:精细模式。'."\n", + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'AddressGroups', + 'in' => 'formData', + 'style' => 'flat', + 'schema' => [ + 'title' => '应用地址组。在ConfigMode为Precise时必传;在ConfigMode为空字符串时不可传。', + 'type' => 'array', + 'items' => [ + '$ref' => '#/components/schemas/AddressGroup', + ], + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => 'BE4FB974-11BC-5453-9BE1-1606A73EACA6', + ], + 'ApplicationId' => [ + 'description' => 'The ID of the office application.'."\n", + 'type' => 'string', + 'example' => 'pa-application-e12860ef6c48****', + ], + ], + 'description' => '', + ], + ], + ], + 'errorCodes' => [], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BE4FB974-11BC-5453-9BE1-1606A73EACA6\\",\\n \\"ApplicationId\\": \\"pa-application-e12860ef6c48****\\"\\n}","type":"json"}]', + 'title' => 'CreatePrivateAccessApplication', + 'description' => 'By default, you can create a maximum of 500 office applications.'."\n", + ], + 'DeletePrivateAccessApplication' => [ + 'summary' => '删除内网访问应用', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '163584', + 'abilityTreeNodes' => [ + 'FEATUREcsas642DA7', + ], + ], + 'parameters' => [ + [ + 'name' => 'ApplicationId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'pa-application-e12860ef6c48****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'BE4FB974-11BC-5453-9BE1-1606A73EACA6', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 404 => [ + [ + 'errorCode' => 'Application.NotFound', + 'errorMessage' => 'The application is not found.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BE4FB974-11BC-5453-9BE1-1606A73EACA6\\"\\n}","type":"json"}]', + ], + 'UpdatePrivateAccessApplication' => [ + 'summary' => 'Modifies the office applications of the current Alibaba Cloud account.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '163600', + 'abilityTreeNodes' => [ + 'FEATUREcsas642DA7', + ], + ], + 'parameters' => [ + [ + 'name' => 'ApplicationId', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The ID of the office application. You can obtain the value by calling the following operations:'."\n" + ."\n" + .'* [ListPrivateAccessApplications](~~ListPrivateAccessApplications~~): queries office applications.'."\n" + .'* [CreatePrivateAccessApplication](~~CreatePrivateAccessApplication~~): creates an office application.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'pa-application-e12860ef6c48****', + ], + ], + [ + 'name' => 'Description', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The description of the office application. The value must be 1 to 128 characters in length and can contain letters, digits, periods (.), underscores (\\_), hyphens (-), and spaces.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'Addresses', + 'in' => 'formData', + 'style' => 'flat', + 'schema' => [ + 'description' => 'The addresses of the office applications. You can enter up to 1,000 addresses of office applications.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The address of the office application. The address must be 1 to 128 characters in length and can be IPv4 addresses, CIDR blocks, domain names, and wildcard domain names.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '192.168.0.0/16', + ], + 'required' => false, + 'title' => '应用地址。在ConfigMode为空字符串时可传;在ConfigMode为Precise时不可传。', + ], + ], + [ + 'name' => 'PortRanges', + 'in' => 'formData', + 'style' => 'flat', + 'schema' => [ + 'description' => 'The port ranges of the office applications. You can enter up to 65,535 port ranges. Multiple port ranges cannot be duplicated or overlapped.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The port range of the office application. Valid values: 1 to 65535.'."\n", + 'type' => 'object', + 'properties' => [ + 'Begin' => [ + 'description' => 'The start port. The start port must be less than or equal to the end port.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'maximum' => '65535', + 'minimum' => '1', + 'example' => '80', + ], + 'End' => [ + 'description' => 'The end port. The end port must be greater than or equal to the start port.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'maximum' => '65535', + 'minimum' => '1', + 'example' => '81', + ], + ], + 'required' => false, + ], + 'required' => false, + 'title' => '应用端口。在ConfigMode为空字符串时可传;在ConfigMode为Precise时不可传。', + ], + ], + [ + 'name' => 'Protocol', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The protocol that is used by the office application. Valid values:'."\n" + ."\n" + .'* **All**'."\n" + .'* **TCP**'."\n" + .'* **UDP**'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'All', + 'enum' => [ + 'All', + 'TCP', + 'UDP', + 'HTTP', + 'HTTPS', + ], + ], + ], + [ + 'name' => 'Status', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The status of the office application. Valid values:'."\n" + ."\n" + .'* **Enabled**'."\n" + .'* **Disabled**'."\n", + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'Enabled' => '', + 'Disabled' => '', + ], + 'example' => 'Enabled', + 'enum' => [ + 'Enabled', + 'Disabled', + ], + ], + ], + [ + 'name' => 'TagIds', + 'in' => 'formData', + 'style' => 'flat', + 'schema' => [ + 'description' => 'The IDs of the tags for the office applications. You can add up to six custom tags to an office application.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The ID of the tag for the office application. You can obtain the value by calling the following operations:'."\n" + ."\n" + .'* [ListPrivateAccessTags](~~ListPrivateAccessTags~~): queries tags for office applications.'."\n" + .'* [CreatePrivateAccessTag](~~CreatePrivateAccessTag~~): creates a tag for office applications.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'tag-d3f64e8bdd4a****', + ], + 'required' => false, + ], + ], + [ + 'name' => 'ModifyType', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The modification type of the office application. Valid values:'."\n" + ."\n" + .'* **Cover**: uses the values of the **Addresses**, **PortRanges**, and **TagIds** parameters to overwrite the original addresses, port ranges, and tag IDs. This is the default value.'."\n" + .'* **Append**: adds the values of the **Addresses**, **PortRanges**, and **TagIds** parameters respectively to the original addresses, port ranges, and tag IDs.', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'Cover' => '', + 'Append' => '', + ], + 'example' => 'Cover', + ], + ], + [ + 'name' => 'L7ProxyDomainAutomaticPrefix', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The browser access mode parameter. The parameter specifies the prefix of the domain name that the proxy gateway uses. The prefix must be 3 to 20 characters in length, and can contain lowercase letters, digits, and hyphens (-).'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'app1-xxx', + ], + ], + [ + 'name' => 'L7ProxyDomainCustom', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The browser access mode parameter. The parameter specifies the custom domain name of the proxy gateway.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'app1.example.com', + ], + ], + [ + 'name' => 'L7ProxyDomainPrivate', + 'in' => 'formData', + 'schema' => [ + 'description' => '浏览器访问模式参数:私有代理域名。', + 'type' => 'string', + 'deprecated' => true, + 'required' => false, + 'example' => 'app1.example.com', + ], + ], + [ + 'name' => 'L7Config', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => 'The browser access mode parameter. The parameter specifies the configurations of Layer 7 applications.'."\n", + 'required' => false, + '$ref' => '#/components/schemas/PAL7Config', + ], + ], + [ + 'name' => 'ConfigMode', + 'in' => 'formData', + 'schema' => [ + 'title' => '配置模式,枚举值:'."\n" + .'* 空字符串:默认模式。'."\n" + .'* Precise:精细模式。'."\n", + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'AddressGroups', + 'in' => 'formData', + 'style' => 'flat', + 'schema' => [ + 'title' => '应用地址组。在ConfigMode为Precise时可传;在ConfigMode为空字符串时不可传。', + 'type' => 'array', + 'items' => [ + '$ref' => '#/components/schemas/AddressGroup', + ], + 'required' => false, + ], + ], + [ + 'name' => 'Name', + 'in' => 'formData', + 'schema' => [ + 'title' => '应用名称。', + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => 'FD724DBC-CD76-5235-BF76-59C51B73296D', + ], + ], + 'description' => '', + ], + ], + ], + 'errorCodes' => [ + 404 => [ + [ + 'errorCode' => 'Application.NotFound', + 'errorMessage' => 'The application is not found.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"FD724DBC-CD76-5235-BF76-59C51B73296D\\"\\n}","type":"json"}]', + 'title' => 'UpdatePrivateAccessApplication', + ], + 'ListConnectors' => [ + 'summary' => 'Batch query connectors', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREcsas62O8LY', + ], + ], + 'parameters' => [ + [ + 'name' => 'CurrentPage', + 'in' => 'query', + 'schema' => [ + 'description' => 'The page number of the current page in a paginated query. Value: 1~10000.', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => 'The number of items per page in a paginated query. Value: 1~1000.', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '10', + ], + ], + [ + 'name' => 'Name', + 'in' => 'query', + 'schema' => [ + 'description' => 'Connector name. Length: 1~128 characters, supporting Chinese and uppercase/lowercase English letters, and can include numbers, periods (.), underscores (_), and hyphens (-).', + 'type' => 'string', + 'required' => false, + 'example' => 'connector_name', + ], + ], + [ + 'name' => 'Status', + 'in' => 'query', + 'schema' => [ + 'description' => 'Connector connection status. Values:'."\n" + .'- **Online**: Online.'."\n" + .'- **Offline**: Offline.', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'Offline' => '离线', + 'Online' => '在线', + ], + 'example' => 'Online', + ], + ], + [ + 'name' => 'SwitchStatus', + 'in' => 'query', + 'schema' => [ + 'description' => 'Connector instance status. Values:'."\n" + .'- **Enabled**: Enabled.'."\n" + .'- **Disabled**: Disabled.', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'Enabled' => '开启', + 'Disabled' => '关闭', + ], + 'example' => 'Enabled', + ], + ], + [ + 'name' => 'ConnectorIds', + 'in' => 'query', + 'style' => 'flat', + 'schema' => [ + 'description' => 'Collection of ConnectorIDs. Up to 100 ConnectorIDs can be entered.', + 'type' => 'array', + 'items' => [ + 'description' => 'ConnectorID. The value is obtained from [ListConnectors](~~ListConnectors~~) for batch querying Connectors.', + 'type' => 'string', + 'required' => false, + 'example' => 'connector-94db94e06b98****', + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the current request.', + 'type' => 'string', + 'example' => '58D6B23E-E5DA-5418-8F61-51A3B5A30049', + ], + 'TotalNum' => [ + 'description' => 'Total number of Connectors.', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'Connectors' => [ + 'description' => 'List of Connectors.', + 'type' => 'array', + 'items' => [ + 'description' => 'Connector.', + 'type' => 'object', + 'properties' => [ + 'ConnectorId' => [ + 'description' => 'ConnectorID.', + 'type' => 'string', + 'example' => 'connector-94db94e06b98****', + ], + 'Name' => [ + 'description' => 'Connector name.', + 'type' => 'string', + 'example' => 'connector_name', + ], + 'RegionId' => [ + 'description' => 'Region ID.', + 'type' => 'string', + 'example' => 'cn-hangzhou', + ], + 'SwitchStatus' => [ + 'description' => 'Connector instance status. Values:'."\n" + .'- **Enabled**: Enabled.'."\n" + .'- **Disabled**: Disabled.', + 'type' => 'string', + 'enumValueTitles' => [ + 'Enabled' => '开启', + 'Disabled' => '关闭', + ], + 'example' => 'Enabled', + ], + 'Status' => [ + 'description' => 'Connector connection status. Values:'."\n" + .'- **Online**: Online.'."\n" + .'- **Offline**: Offline.', + 'type' => 'string', + 'enumValueTitles' => [ + 'Offline' => '离线', + 'Online' => '在线', + ], + 'example' => 'Online', + ], + 'Applications' => [ + 'description' => 'Collection of associated internal network access applications.', + 'type' => 'array', + 'items' => [ + 'description' => 'Associated internal network access application.', + 'type' => 'object', + 'properties' => [ + 'ApplicationId' => [ + 'description' => 'Internal network access application ID.', + 'type' => 'string', + 'example' => 'pa-application-e12860ef6c48****'."\n", + ], + 'ApplicationName' => [ + 'description' => 'Internal network access application name.', + 'type' => 'string', + 'example' => 'application_name', + ], + ], + ], + ], + 'UpgradeTime' => [ + 'description' => 'Connector升级时间。', + 'type' => 'object', + 'properties' => [ + 'Start' => [ + 'description' => 'Start time.', + 'type' => 'string', + 'example' => '20:00', + ], + 'End' => [ + 'description' => 'End time.', + 'type' => 'string', + 'example' => '23:00', + ], + ], + ], + 'ConnectorClients' => [ + 'description' => 'Collection of deployed ConnectorClients.', + 'type' => 'array', + 'items' => [ + 'description' => 'Deployed ConnectorClient.', + 'type' => 'object', + 'properties' => [ + 'DevTag' => [ + 'description' => 'Unique device identifier for the ConnectorClient.', + 'type' => 'string', + 'example' => 'C50A2386-F851-4F11-920B-DF7148DA0C22', + ], + 'Hostname' => [ + 'description' => 'Hostname of the ConnectorClient.', + 'type' => 'string', + 'example' => 'connector_client', + ], + 'ConnectionStatus' => [ + 'description' => 'Connection status between the ConnectorClient and ConnectorServer.', + 'type' => 'string', + 'enumValueTitles' => [ + 'Connected' => '已连接', + 'Disconnected' => '未连接', + ], + 'example' => 'Disconnected', + ], + 'PublicIp' => [ + 'description' => 'Public IP of the ConnectorClient.', + 'type' => 'string', + 'example' => '192.0.2.1', + ], + ], + ], + ], + 'CreateTime' => [ + 'description' => 'Connector creation time.', + 'type' => 'string', + 'example' => '2022-09-27 18:10:25', + ], + 'ClusterIP' => [ + 'description' => 'Cluster IP.', + 'type' => 'string', + 'example' => '1.1.1.1', + ], + 'ClusterPort' => [ + 'description' => 'Cluster port.', + 'type' => 'string', + 'example' => '8000', + ], + 'AccelerateStatus' => [ + 'description' => 'Whether to enable global acceleration. Values: '."\n" + .'- **Enabled**: Turn on. '."\n" + .'- **Disabled**: Turn off.', + 'type' => 'string', + 'example' => 'Enabled', + ], + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"58D6B23E-E5DA-5418-8F61-51A3B5A30049\\",\\n \\"TotalNum\\": 1,\\n \\"Connectors\\": [\\n {\\n \\"ConnectorId\\": \\"connector-94db94e06b98****\\",\\n \\"Name\\": \\"connector_name\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"SwitchStatus\\": \\"Enabled\\",\\n \\"Status\\": \\"Online\\",\\n \\"Applications\\": [\\n {\\n \\"ApplicationId\\": \\"pa-application-e12860ef6c48****\\\\n\\",\\n \\"ApplicationName\\": \\"application_name\\"\\n }\\n ],\\n \\"UpgradeTime\\": {\\n \\"Start\\": \\"20:00\\",\\n \\"End\\": \\"23:00\\"\\n },\\n \\"ConnectorClients\\": [\\n {\\n \\"DevTag\\": \\"C50A2386-F851-4F11-920B-DF7148DA0C22\\",\\n \\"Hostname\\": \\"connector_client\\",\\n \\"ConnectionStatus\\": \\"Disconnected\\",\\n \\"PublicIp\\": \\"192.0.2.1\\"\\n }\\n ],\\n \\"CreateTime\\": \\"2022-09-27 18:10:25\\",\\n \\"ClusterIP\\": \\"1.1.1.1\\",\\n \\"ClusterPort\\": \\"8000\\",\\n \\"AccelerateStatus\\": \\"Enabled\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'Batch Query Connectors', + 'translator' => 'machine', + ], + 'AttachApplication2Connector' => [ + 'summary' => '挂载connector的应用', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '164987', + 'abilityTreeNodes' => [ + 'FEATUREcsas62O8LY', + ], + ], + 'parameters' => [ + [ + 'name' => 'ConnectorId', + 'in' => 'formData', + 'schema' => [ + 'description' => 'ConnectorID。', + 'type' => 'string', + 'required' => true, + 'example' => 'connector-94db94e06b98****'."\n", + ], + ], + [ + 'name' => 'ApplicationIds', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'pa-application-f4dd77bced90****', + ], + 'required' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '7E9D7ACD-53D5-56EF-A913-79D148D06299', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7E9D7ACD-53D5-56EF-A913-79D148D06299\\"\\n}","type":"json"}]', + ], + 'DetachApplication2Connector' => [ + 'summary' => '卸载connector的应用', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => true, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '165052', + 'abilityTreeNodes' => [ + 'FEATUREcsas642DA7', + ], + ], + 'parameters' => [ + [ + 'name' => 'ConnectorId', + 'in' => 'formData', + 'schema' => [ + 'description' => 'ConnectorID。', + 'type' => 'string', + 'required' => true, + 'example' => 'connector-94db94e06b98****', + ], + ], + [ + 'name' => 'ApplicationIds', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'pa-application-b927baf3e592****', + ], + 'required' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '4D169859-A4F2-5EC8-853B-8447787C0D8A', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'substitutions' => [ + 'csas::2023-01-20::ModifyForwardStrategy', + ], + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4D169859-A4F2-5EC8-853B-8447787C0D8A\\"\\n}","type":"json"}]', + ], + 'ListPrivateAccessTags' => [ + 'summary' => 'Queries the information about all internal access tags within the current Alibaba Cloud account.', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREcsas642DA7', + ], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'CurrentPage', + 'in' => 'query', + 'schema' => [ + 'description' => 'The page number. Valid values: 1 to 10000.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => 'The number of entries per page. Valid values: 1 to 1000.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '10', + ], + ], + [ + 'name' => 'Name', + 'in' => 'query', + 'schema' => [ + 'description' => 'The name of the internal access tag. The name must be 1 to 128 characters in length and can contain letters, digits, periods (.), underscores (\\_), and hyphens (-).'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'tag_name', + ], + ], + [ + 'name' => 'TagIds', + 'in' => 'query', + 'style' => 'flat', + 'schema' => [ + 'description' => 'The IDs of internal access tags. You can specify up to 100 tag IDs.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The ID of the internal access tag. You can obtain the tag ID by calling the following operations:'."\n" + ."\n" + .'* [ListPrivateAccessTags](~~ListPrivateAccessTags~~): queries all internal access tags.'."\n" + .'* [CreatePrivateAccessTag](~~CreatePrivateAccessTag~~): creates an internal access tag.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'tag-d3f64e8bdd4a****', + ], + 'required' => false, + ], + ], + [ + 'name' => 'ApplicationId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the internal access application. You can obtain the application ID by calling the following operations:'."\n" + ."\n" + .'* [ListPrivateAccessApplications](~~ListPrivateAccessApplications~~): queries all internal access applications.'."\n" + .'* [CreatePrivateAccessApplication](~~CreatePrivateAccessApplication~~): creates an internal access application.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'pa-application-e12860ef6c48****', + ], + ], + [ + 'name' => 'PolicyId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the internal access policy. You can obtain the policy ID by calling the following operations:'."\n" + ."\n" + .'* [ListPrivateAccessPolices](~~ListPrivateAccessPolices~~): queries all internal access policies.'."\n" + .'* [CreatePrivateAccessPolicy](~~CreatePrivateAccessPolicy~~): creates an internal access policy.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'pa-policy-54a7838a48bf****', + ], + ], + [ + 'name' => 'SimpleMode', + 'in' => 'query', + 'schema' => [ + 'description' => 'Specifies whether to enable the simple query mode. A value of true specifies that policy IDs are not queried.'."\n", + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => '54C1D236-CDB9-586C-B44D-AFDCEA195545', + ], + 'TotalNum' => [ + 'description' => 'The total number of internal access tags.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'Tags' => [ + 'description' => 'The internal access tags.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'TagId' => [ + 'description' => 'The ID of the internal access tag.'."\n", + 'type' => 'string', + 'example' => 'tag-d3f64e8bdd4a****', + ], + 'Name' => [ + 'description' => 'The name of the internal access tag.'."\n", + 'type' => 'string', + 'example' => 'tag_name', + ], + 'Description' => [ + 'description' => 'The description of the internal access tag.'."\n", + 'type' => 'string', + 'example' => '', + ], + 'TagType' => [ + 'description' => 'The type of the internal access tag. Valid values:'."\n" + ."\n" + .'* **Default**'."\n" + .'* **Custom**'."\n", + 'type' => 'string', + 'enumValueTitles' => [ + 'Custom' => '', + 'Default' => '', + ], + 'example' => 'Default', + ], + 'CreateTime' => [ + 'description' => 'The time when the internal access tag was created.'."\n", + 'type' => 'string', + 'example' => '2022-10-10 11:39:34', + ], + 'ApplicationIds' => [ + 'description' => 'The IDs of the internal access applications.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The ID of the internal access application.'."\n", + 'type' => 'string', + 'example' => 'pa-application-e12860ef6c48****', + ], + ], + 'PolicyIds' => [ + 'description' => 'The IDs of the internal access policies.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The ID of the internal access policy.'."\n", + 'type' => 'string', + 'example' => 'pa-policy-54a7838a48bf****', + ], + ], + ], + ], + ], + ], + 'description' => '', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"54C1D236-CDB9-586C-B44D-AFDCEA195545\\",\\n \\"TotalNum\\": 1,\\n \\"Tags\\": [\\n {\\n \\"TagId\\": \\"tag-d3f64e8bdd4a****\\",\\n \\"Name\\": \\"tag_name\\",\\n \\"Description\\": \\"这是一条内网访问标签\\",\\n \\"TagType\\": \\"Default\\",\\n \\"CreateTime\\": \\"2022-10-10 11:39:34\\",\\n \\"ApplicationIds\\": [\\n \\"pa-application-e12860ef6c48****\\"\\n ],\\n \\"PolicyIds\\": [\\n \\"pa-policy-54a7838a48bf****\\"\\n ]\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'ListPrivateAccessTags', + ], + 'ListApplicationsForPrivateAccessTag' => [ + 'summary' => '批量查询内网访问标签的应用', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREcsas62O8LY', + ], + ], + 'parameters' => [ + [ + 'name' => 'TagIds', + 'in' => 'query', + 'style' => 'flat', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'tag-7ffc82853476****', + ], + 'required' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'B608C6AE-623D-55C4-9454-601B88AE937E', + ], + 'Tags' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'TagId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'tag-7ffc82853476****', + ], + 'Applications' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ApplicationId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'pa-application-7a9243dd02f4****', + ], + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'private_access_application_name'."\n", + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Addresses' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '192.168.0.0/16', + ], + ], + 'PortRanges' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Begin' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '80', + ], + 'End' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '81', + ], + ], + ], + ], + 'Protocol' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'All' => 'All', + 'TCP' => 'TCP', + 'UDP' => 'UDP', + ], + 'example' => 'All', + ], + 'Status' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Enabled' => '', + 'Disabled' => '', + ], + 'example' => 'Enabled', + ], + 'CreateTime' => [ + 'description' => '内网访问应用创建时间。', + 'type' => 'string', + 'example' => '2022-09-27 18:10:25', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B608C6AE-623D-55C4-9454-601B88AE937E\\",\\n \\"Tags\\": [\\n {\\n \\"TagId\\": \\"tag-7ffc82853476****\\",\\n \\"Applications\\": [\\n {\\n \\"ApplicationId\\": \\"pa-application-7a9243dd02f4****\\",\\n \\"Name\\": \\"private_access_application_name\\\\n\\",\\n \\"Description\\": \\"这是一条内网访问应用\\\\n\\",\\n \\"Addresses\\": [\\n \\"192.168.0.0/16\\"\\n ],\\n \\"PortRanges\\": [\\n {\\n \\"Begin\\": 80,\\n \\"End\\": 81\\n }\\n ],\\n \\"Protocol\\": \\"All\\",\\n \\"Status\\": \\"Enabled\\",\\n \\"CreateTime\\": \\"2022-09-27 18:10:25\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', + ], + 'ListPolicesForPrivateAccessTag' => [ + 'summary' => '批量查询内网访问标签的策略', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREcsas7ZB8UX', + ], + ], + 'parameters' => [ + [ + 'name' => 'TagIds', + 'in' => 'query', + 'style' => 'flat', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'tag-b927baf3e592****', + ], + 'required' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '4D169859-A4F2-5EC8-853B-8447787C0D8A', + ], + 'Tags' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'TagId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'tag-b927baf3e592****'."\n", + ], + 'Polices' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'PolicyId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'pa-policy-867ef4007c8a****', + ], + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'private_access_policy_name'."\n", + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'PolicyAction' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Block' => '', + 'Allow' => '', + ], + 'example' => 'Allow', + ], + 'Priority' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'Status' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Enabled' => '', + 'Disabled' => '', + ], + 'example' => 'Enabled', + ], + 'ApplicationType' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Tag' => '', + 'Application' => '', + ], + 'example' => 'Application', + ], + 'UserGroupType' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Custom' => '', + 'Normal' => '', + ], + 'example' => 'Normal', + ], + 'CustomUserAttributes' => [ + 'description' => '自定义用户组属性集合。多个自定义用户组属性之间是或的关系,按照合集生效。', + 'type' => 'array', + 'items' => [ + 'description' => '自定义用户组属性。', + 'type' => 'object', + 'properties' => [ + 'UserGroupType' => [ + 'description' => '用户组的类型。取值:'."\n" + .'- **username**:用户名。'."\n" + .'- **department**:部门。'."\n" + .'- **email**:邮箱。'."\n" + .'- **telephone**:手机。', + 'type' => 'string', + 'enumValueTitles' => [ + 'telephone' => '手机', + 'department' => '部门', + 'email' => '邮箱', + 'username' => '用户名', + ], + 'example' => 'department'."\n", + ], + 'Relation' => [ + 'description' => '用户组的关系。取值:'."\n" + .'- **Equal**:等于。'."\n" + .'- **Unequal**:不等于。', + 'type' => 'string', + 'enumValueTitles' => [ + 'Unequal' => '不等于', + 'Equal' => '等于', + ], + 'example' => 'Equal', + ], + 'Value' => [ + 'description' => '用户组属性的值。'."\n" + .'- 当用户组类型为**username**时,表示用户名的值。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)。'."\n" + .'- 当用户组类型为**department**时,表示部门的值。如:OU=部门1,OU=SASE钉钉。'."\n" + .'- 当用户组类型为**email**时,表示邮箱的值。如:[email protected]。'."\n" + .'- 当用户组类型为**telephone**时,表示手机的值。如:13900001234。', + 'type' => 'string', + 'example' => 'OU=部门1,OU=SASE钉钉', + ], + 'IdpId' => [ + 'description' => '用户组的身份源ID。当自定义用户组类型为**department**时,存在该值。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '12', + ], + ], + ], + ], + 'CreateTime' => [ + 'description' => '内网访问策略创建时间。', + 'type' => 'string', + 'example' => '2023-02-21 14:10:16', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4D169859-A4F2-5EC8-853B-8447787C0D8A\\",\\n \\"Tags\\": [\\n {\\n \\"TagId\\": \\"tag-b927baf3e592****\\\\n\\",\\n \\"Polices\\": [\\n {\\n \\"PolicyId\\": \\"pa-policy-867ef4007c8a****\\",\\n \\"Name\\": \\"private_access_policy_name\\\\n\\",\\n \\"Description\\": \\"这是一条内网访问策略\\",\\n \\"PolicyAction\\": \\"Allow\\",\\n \\"Priority\\": 1,\\n \\"Status\\": \\"Enabled\\",\\n \\"ApplicationType\\": \\"Application\\",\\n \\"UserGroupType\\": \\"Normal\\",\\n \\"CustomUserAttributes\\": [\\n {\\n \\"UserGroupType\\": \\"department\\\\n\\",\\n \\"Relation\\": \\"Equal\\",\\n \\"Value\\": \\"OU=部门1,OU=SASE钉钉\\",\\n \\"IdpId\\": 12\\n }\\n ],\\n \\"CreateTime\\": \\"2023-02-21 14:10:16\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', + ], + 'CreatePrivateAccessTag' => [ + 'summary' => '创建内网访问标签', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '163592', + 'abilityTreeNodes' => [ + 'FEATUREcsas642DA7', + ], + ], + 'parameters' => [ + [ + 'name' => 'Name', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'tag_name', + ], + ], + [ + 'name' => 'Description', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '102350E7-1A20-58F5-9D63-ABEA820AE6E1', + ], + 'TagId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'tag-d3f64e8bdd4a****', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 500 => [ + [ + 'errorCode' => 'Tag.NameExisted', + 'errorMessage' => 'The tag name is existed.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"102350E7-1A20-58F5-9D63-ABEA820AE6E1\\",\\n \\"TagId\\": \\"tag-d3f64e8bdd4a****\\"\\n}","type":"json"}]', + ], + 'DeletePrivateAccessTag' => [ + 'summary' => '删除内网访问标签', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '163589', + 'abilityTreeNodes' => [ + 'FEATUREcsas642DA7', + ], + ], + 'parameters' => [ + [ + 'name' => 'TagId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'tag-d3f64e8bdd4a****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'FD724DBC-CD76-5235-BF76-59C51B73296D', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 404 => [ + [ + 'errorCode' => 'Tag.NotFound', + 'errorMessage' => 'The tag is not found.', + ], + ], + 500 => [ + [ + 'errorCode' => 'Tag.UsedByApplication', + 'errorMessage' => 'The tag is used by application.', + ], + [ + 'errorCode' => 'Tag.UsedByPolicy', + 'errorMessage' => 'The tag is used by policy.', + ], + [ + 'errorCode' => 'Tag.UsedByWorkshop', + 'errorMessage' => 'The tag is used by workshop.', + ], + [ + 'errorCode' => 'Tag.DefaultCannotDelete', + 'errorMessage' => 'The default tag cannot be deleted.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"FD724DBC-CD76-5235-BF76-59C51B73296D\\"\\n}","type":"json"}]', + ], + 'ListPrivateAccessPolices' => [ + 'summary' => 'Queries the private access policies within the current Alibaba Cloud account.', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '163588', + 'abilityTreeNodes' => [ + 'FEATUREcsas7ZB8UX', + ], + ], + 'parameters' => [ + [ + 'name' => 'CurrentPage', + 'in' => 'query', + 'schema' => [ + 'description' => 'The page number. Valid values: 1 to 10000.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => 'The number of entries per page. Valid values: 1 to 1000.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '10', + ], + ], + [ + 'name' => 'Name', + 'in' => 'query', + 'schema' => [ + 'description' => 'The name of the private access policy. The value must be 1 to 128 characters in length and can contain letters, digits, hyphens (-), underscores (\\_), and periods (.).'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'private_access_policy_name'."\n", + ], + ], + [ + 'name' => 'Status', + 'in' => 'query', + 'schema' => [ + 'description' => 'The status of the private access policy. Valid values:'."\n" + ."\n" + .'* **Enabled**'."\n" + .'* **Disabled**'."\n", + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'Enabled' => '开启', + 'Disabled' => '关闭', + ], + 'example' => 'Enabled', + ], + ], + [ + 'name' => 'PolicyAction', + 'in' => 'query', + 'schema' => [ + 'description' => 'The action in the private access policy. Valid values:'."\n" + ."\n" + .'* **Block**'."\n" + .'* **Allow**'."\n", + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'Block' => '阻断', + 'Allow' => '允许', + ], + 'example' => 'Allow', + ], + ], + [ + 'name' => 'PolicyIds', + 'in' => 'query', + 'style' => 'flat', + 'schema' => [ + 'description' => 'The IDs of the private access policies. You can enter up to 100 IDs.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The ID of the private access policy. You can obtain the value by calling the following operations:'."\n" + ."\n" + .'* [ListPrivateAccessPolices](~~ListPrivateAccessPolices~~): queries private access policies.'."\n" + .'* [CreatePrivateAccessPolicy](~~CreatePrivateAccessPolicy~~): creates a private access policy.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'pa-policy-63b2f1844b86****', + ], + 'required' => false, + ], + ], + [ + 'name' => 'UserGroupId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the user group. You can obtain the value by calling the following operations:'."\n" + ."\n" + .'* [ListUserGroups](~~ListUserGroups~~): queries user groups.'."\n" + .'* [CreateUserGroup](~~CreateUserGroup~~): creates a user group.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'usergroup-6f1ef2fc56b6****', + ], + ], + [ + 'name' => 'ApplicationId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the office application. Either the ID or tag of the office application is used for queries. You can obtain the value by calling the following operations:'."\n" + ."\n" + .'* [ListPrivateAccessApplications](~~ListPrivateAccessApplications~~): queries office applications.'."\n" + .'* [CreatePrivateAccessApplication](~~CreatePrivateAccessApplication~~): creates an office application.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'pa-application-e12860ef6c48****', + ], + ], + [ + 'name' => 'TagId', + 'in' => 'query', + 'schema' => [ + 'description' => 'The ID of the tag for the office application. Either the ID or tag of the office application is used for queries. You can obtain the value by calling the following operations:'."\n" + ."\n" + .'* [ListPrivateAccessTags](~~ListPrivateAccessTags~~): queries tags for office applications.'."\n" + .'* [CreatePrivateAccessTag](~~CreatePrivateAccessTag~~): creates a tag for office applications.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'tag-c0cb77857a99****', + ], + ], + [ + 'name' => 'ApplicationName', + 'in' => 'query', + 'schema' => [ + 'description' => 'The name of the office application.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'Office'."\n", + ], + ], + [ + 'name' => 'TagName', + 'in' => 'query', + 'schema' => [ + 'description' => 'The name of the tag.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'Cloud service'."\n", + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The request ID.'."\n", + 'type' => 'string', + 'example' => '748CFDC7-1EB6-5B8B-9405-DA76ED5BB60D', + ], + 'TotalNum' => [ + 'description' => 'The total number of private access policies.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'Polices' => [ + 'description' => 'The private access policies.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The private access policy.'."\n", + 'type' => 'object', + 'properties' => [ + 'PolicyId' => [ + 'description' => 'The ID of the private access policy.'."\n", + 'type' => 'string', + 'example' => 'pa-policy-63b2f1844b86****', + ], + 'Name' => [ + 'description' => 'The name of the private access policy.'."\n", + 'type' => 'string', + 'example' => 'private_access_policy_name', + ], + 'Description' => [ + 'description' => 'The description of the private access policy.'."\n", + 'type' => 'string', + 'example' => 'a private access policy', + ], + 'PolicyAction' => [ + 'description' => 'The action in the private access policy. Valid values:'."\n" + ."\n" + .'* **Block**'."\n" + .'* **Allow**'."\n", + 'type' => 'string', + 'enumValueTitles' => [ + 'Block' => '', + 'Allow' => '', + ], + 'example' => 'Allow', + ], + 'Priority' => [ + 'description' => 'The priority of the private access policy. The value 1 indicates the highest priority.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'Status' => [ + 'description' => 'The status of the private access policy. Valid values:'."\n" + ."\n" + .'* **Enabled**'."\n" + .'* **Disabled**'."\n", + 'type' => 'string', + 'enumValueTitles' => [ + 'Enabled' => '', + 'Disabled' => '', + ], + 'example' => 'Enabled', + ], + 'CreateTime' => [ + 'description' => 'The creation time of the private access policy.'."\n", + 'type' => 'string', + 'example' => '2022-07-10 15:50:23', + ], + 'UserGroupMode' => [ + 'description' => 'The type of the user group in the private access policy. Valid values:'."\n" + ."\n" + .'* **Normal**: regular user group.'."\n" + .'* **Custom**: custom user group.'."\n", + 'type' => 'string', + 'enumValueTitles' => [ + 'Custom' => '', + 'Normal' => '', + ], + 'example' => 'Normal', + ], + 'UserGroupIds' => [ + 'description' => 'The IDs of user groups in the private access policy. If the value of UserGroupMode is **Normal**, this parameter is returned.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The ID of the user group in the private access policy. This parameter is returned for a user group whose UserGroupMode is set to **Normal**.'."\n", + 'type' => 'string', + 'example' => 'usergroup-6f1ef2fc56b6****', + ], + ], + 'CustomUserAttributes' => [ + 'description' => 'The attributes of the custom user group. The attributes of the custom user group are evaluated by using a logical OR. If an attribute is matched, the policy takes effect.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The attribute of the custom user group.'."\n", + 'type' => 'object', + 'properties' => [ + 'UserGroupType' => [ + 'description' => 'The type of the user group, which is the key of the attribute. Valid values:'."\n" + ."\n" + .'* **username**'."\n" + .'* **department**'."\n" + .'* **email**'."\n" + .'* **telephone**'."\n", + 'type' => 'string', + 'enumValueTitles' => [ + 'telephone' => '', + 'department' => '', + 'email' => '', + 'username' => '', + ], + 'example' => 'department', + ], + 'Relation' => [ + 'description' => 'The logical operator for the user group. Valid values:'."\n" + ."\n" + .'* **Equal**'."\n" + .'* **Unequal**'."\n", + 'type' => 'string', + 'enumValueTitles' => [ + 'Unequal' => '', + 'Equal' => '', + ], + 'example' => 'Equal', + ], + 'Value' => [ + 'description' => 'The value of the attribute.'."\n" + ."\n" + .'* If the value of UserGroupType is **username**, the value of this parameter is a username. The value must be 1 to 128 characters in length and can contain letters, digits, hyphens (-), underscores (\\_), and periods (.).'."\n" + .'* If the value of UserGroupType is **department**, the value of this parameter is a department. Examples: OU=Department 1, OU=SASE DingTalk.'."\n" + .'* If the value of UserGroupType is **email**, the value of this parameter is an email address. Example: [email protected].'."\n" + .'* If the value of UserGroupType is **telephone**, the value of this parameter is a mobile phone number. Example: 13900001234.'."\n", + 'type' => 'string', + 'example' => 'OU=Department 1, OU=SASE DingTalk', + ], + 'IdpId' => [ + 'description' => 'The ID of the identity provider (IdP) for the user group. If the value of UserGroupType is **department**, this parameter is returned.'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'example' => '12', + ], + ], + ], + ], + 'ApplicationType' => [ + 'description' => 'The application type of the private access policy. Valid values:'."\n" + ."\n" + .'* **Application**'."\n" + .'* **Tag**'."\n", + 'type' => 'string', + 'enumValueTitles' => [ + 'Tag' => '', + 'Application' => '', + ], + 'example' => 'Application', + ], + 'ApplicationIds' => [ + 'description' => 'The IDs of the applications that are specified in the private access policy. If the value of ApplicationType is **Application**, this parameter is returned.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The ID of the application that is specified in the private access policy.'."\n", + 'type' => 'string', + 'example' => 'pa-application-e12860ef6c48****', + ], + ], + 'TagIds' => [ + 'description' => 'The IDs of the tags that are specified in the private access policy. If the value of ApplicationType is **Tag**, this parameter is returned.'."\n", + 'type' => 'array', + 'items' => [ + 'description' => 'The ID of the tag that is specified in the private access policy.'."\n", + 'type' => 'string', + 'example' => 'tag-d3f64e8bdd4a****', + ], + ], + 'DeviceAttributeId' => [ + 'description' => 'The ID of the security baseline.'."\n", + 'type' => 'string', + 'example' => 'dag-d3f64e8bdd4a****', + ], + 'DeviceAttributeAction' => [ + 'description' => 'The action that is performed when the security baseline is not met. Valid values:'."\n" + ."\n" + .'* **Block**'."\n" + .'* **Observe**'."\n", + 'type' => 'string', + 'enumValueTitles' => [ + 'Observe' => 'Observe', + 'Block' => 'Block', + ], + 'example' => 'Block', + ], + 'TriggerTemplateId' => [ + 'description' => 'The ID of the trigger template.', + 'type' => 'string', + 'example' => 'dag-d3f64e8bdd4a****', + ], + 'TrustedProcessStatus' => [ + 'description' => 'Trusted process switch status. Values: '."\n" + .'- **Enabled**: On.'."\n" + .'- **Disabled**: Off.', + 'type' => 'string', + 'example' => 'Enabled', + ], + 'TrustedProcessGroupIds' => [ + 'description' => 'List of trusted process group IDs.', + 'type' => 'array', + 'items' => [ + 'description' => 'Trusted process group ID.', + 'type' => 'string', + 'example' => 'pg-xxxxxxx', + ], + ], + 'TrustedSoftwareIds' => [ + 'description' => 'List of trusted software IDs.', + 'type' => 'array', + 'items' => [ + 'description' => 'Trusted Software ID.', + 'type' => 'string', + 'example' => 'swb-xxxxxxxx', + ], + ], + 'ValidFrom' => [ + 'description' => 'The start time when the zero trust policy takes effect, represented as a timestamp in seconds.', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'ValidUntil' => [ + 'description' => 'The expiration time of the zero trust policy, in seconds timestamp.', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1764727544', + ], + 'ValidTimeStatus' => [ + 'description' => 'Switch status for effective time. Values: - **Enabled**: On. - **Disabled**: Off.', + 'type' => 'string', + 'example' => 'Enabled', + ], + ], + ], + ], + ], + 'description' => '', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"748CFDC7-1EB6-5B8B-9405-DA76ED5BB60D\\",\\n \\"TotalNum\\": 1,\\n \\"Polices\\": [\\n {\\n \\"PolicyId\\": \\"pa-policy-63b2f1844b86****\\",\\n \\"Name\\": \\"private_access_policy_name\\",\\n \\"Description\\": \\"这是一条内网访问策略\\",\\n \\"PolicyAction\\": \\"Allow\\",\\n \\"Priority\\": 1,\\n \\"Status\\": \\"Enabled\\",\\n \\"CreateTime\\": \\"2022-07-10 15:50:23\\",\\n \\"UserGroupMode\\": \\"Normal\\",\\n \\"UserGroupIds\\": [\\n \\"usergroup-6f1ef2fc56b6****\\"\\n ],\\n \\"CustomUserAttributes\\": [\\n {\\n \\"UserGroupType\\": \\"department\\",\\n \\"Relation\\": \\"Equal\\",\\n \\"Value\\": \\"OU=部门1,OU=SASE钉钉\\",\\n \\"IdpId\\": 12\\n }\\n ],\\n \\"ApplicationType\\": \\"Application\\",\\n \\"ApplicationIds\\": [\\n \\"pa-application-e12860ef6c48****\\"\\n ],\\n \\"TagIds\\": [\\n \\"tag-d3f64e8bdd4a****\\"\\n ],\\n \\"DeviceAttributeId\\": \\"dag-d3f64e8bdd4a****\\",\\n \\"DeviceAttributeAction\\": \\"Block\\",\\n \\"TriggerTemplateId\\": \\"dag-d3f64e8bdd4a****\\",\\n \\"TrustedProcessStatus\\": \\"Enabled\\",\\n \\"TrustedProcessGroupIds\\": [\\n \\"pg-xxxxxxx\\"\\n ],\\n \\"TrustedSoftwareIds\\": [\\n \\"swb-xxxxxxxx\\"\\n ],\\n \\"ValidFrom\\": 0,\\n \\"ValidUntil\\": 1764727544,\\n \\"ValidTimeStatus\\": \\"Enabled\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'ListPrivateAccessPolices', + 'translator' => 'machine', + ], + 'ListUserGroupsForPrivateAccessPolicy' => [ + 'summary' => '批量查询内网访问策略的用户组', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREcsas3KYQ7V', + ], + ], + 'parameters' => [ + [ + 'name' => 'PolicyIds', + 'in' => 'query', + 'style' => 'flat', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'pa-policy-1b0d0e8b4bcf****', + ], + 'required' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '58D6B23E-E5DA-5418-8F61-51A3B5A30049', + ], + 'Polices' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'PolicyId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'pa-policy-1b0d0e8b4bcf****', + ], + 'UserGroups' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'UserGroupId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'usergroup-6f1ef2fc56b6****', + ], + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'user_group_name', + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Attributes' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'UserGroupType' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'telephone' => '', + 'department' => '', + 'email' => '', + 'username' => '', + ], + 'example' => 'department', + ], + 'Relation' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Unequal' => '', + 'Equal' => '', + ], + 'example' => 'Equal', + ], + 'Value' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'IdpId' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '12', + ], + ], + ], + ], + 'CreateTime' => [ + 'description' => '用户组创建时间。', + 'type' => 'string', + 'example' => '2022-09-27 18:10:25'."\n", + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"58D6B23E-E5DA-5418-8F61-51A3B5A30049\\",\\n \\"Polices\\": [\\n {\\n \\"PolicyId\\": \\"pa-policy-1b0d0e8b4bcf****\\",\\n \\"UserGroups\\": [\\n {\\n \\"UserGroupId\\": \\"usergroup-6f1ef2fc56b6****\\",\\n \\"Name\\": \\"user_group_name\\",\\n \\"Description\\": \\"这是一条被内网访问策略引用的用户组\\",\\n \\"Attributes\\": [\\n {\\n \\"UserGroupType\\": \\"department\\",\\n \\"Relation\\": \\"Equal\\",\\n \\"Value\\": \\"OU=部门1,OU=SASE钉钉\\",\\n \\"IdpId\\": 12\\n }\\n ],\\n \\"CreateTime\\": \\"2022-09-27 18:10:25\\\\n\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', + ], + 'ListApplicationsForPrivateAccessPolicy' => [ + 'summary' => '批量查询内网访问策略的应用', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREcsas62O8LY', + ], + ], + 'parameters' => [ + [ + 'name' => 'PolicyIds', + 'in' => 'query', + 'style' => 'flat', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'pa-policy-1b0d0e8b4bcf****', + ], + 'required' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '4D169859-A4F2-5EC8-853B-8447787C0D8A', + ], + 'Polices' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'PolicyId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'pa-policy-1b0d0e8b4bcf****', + ], + 'Applications' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ApplicationId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'pa-application-7a9243dd02f4****', + ], + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'application_name', + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Addresses' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '192.168.0.0/16', + ], + ], + 'PortRanges' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Begin' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '80', + ], + 'End' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '81', + ], + ], + ], + ], + 'Protocol' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'All' => 'All', + 'TCP' => 'TCP', + 'UDP' => 'UDP', + ], + 'example' => 'TCP', + ], + 'Status' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Enabled' => '', + 'Disabled' => '', + ], + 'example' => 'Enabled', + ], + 'CreateTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2022-09-27 18:10:25', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4D169859-A4F2-5EC8-853B-8447787C0D8A\\",\\n \\"Polices\\": [\\n {\\n \\"PolicyId\\": \\"pa-policy-1b0d0e8b4bcf****\\",\\n \\"Applications\\": [\\n {\\n \\"ApplicationId\\": \\"pa-application-7a9243dd02f4****\\",\\n \\"Name\\": \\"application_name\\",\\n \\"Description\\": \\"这是一条被内网访问策略引用的内网访问应用\\",\\n \\"Addresses\\": [\\n \\"192.168.0.0/16\\"\\n ],\\n \\"PortRanges\\": [\\n {\\n \\"Begin\\": 80,\\n \\"End\\": 81\\n }\\n ],\\n \\"Protocol\\": \\"TCP\\",\\n \\"Status\\": \\"Enabled\\",\\n \\"CreateTime\\": \\"2022-09-27 18:10:25\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', + ], + 'ListTagsForPrivateAccessPolicy' => [ + 'summary' => '批量查询内网访问策略的标签', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREcsas642DA7', + ], + ], + 'parameters' => [ + [ + 'name' => 'PolicyIds', + 'in' => 'query', + 'style' => 'flat', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'pa-policy-1b0d0e8b4bcf****', + ], + 'required' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '9EE61139-A6A8-5E13-80AF-83435C21B26B', + ], + 'Polices' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'PolicyId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'pa-policy-1b0d0e8b4bcf****', + ], + 'Tags' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'TagId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'tag-d3f64e8bdd4a****', + ], + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'tag_name', + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'TagType' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Custom' => '', + 'Default' => '', + ], + 'example' => 'Default', + ], + 'CreateTime' => [ + 'description' => '内网访问标签创建时间。', + 'type' => 'string', + 'example' => '2023-02-21 14:10:16', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9EE61139-A6A8-5E13-80AF-83435C21B26B\\",\\n \\"Polices\\": [\\n {\\n \\"PolicyId\\": \\"pa-policy-1b0d0e8b4bcf****\\",\\n \\"Tags\\": [\\n {\\n \\"TagId\\": \\"tag-d3f64e8bdd4a****\\",\\n \\"Name\\": \\"tag_name\\",\\n \\"Description\\": \\"这是一条被内网访问策略引用的标签\\",\\n \\"TagType\\": \\"Default\\",\\n \\"CreateTime\\": \\"2023-02-21 14:10:16\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', + ], + 'GetPrivateAccessPolicy' => [ + 'summary' => 'Query Intranet Access Policy Details', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '163586', + 'abilityTreeNodes' => [ + 'FEATUREcsas7ZB8UX', + ], + ], + 'parameters' => [ + [ + 'name' => 'PolicyId', + 'in' => 'query', + 'schema' => [ + 'description' => 'Intranet access policy ID. The value can be obtained from:'."\n" + .'- [ListPrivateAccessPolices](~~ListPrivateAccessPolices~~): Query multiple intranet access policies in bulk.'."\n" + .'- [CreatePrivateAccessPolicy](~~CreatePrivateAccessPolicy~~): Create an intranet access policy.', + 'type' => 'string', + 'required' => true, + 'example' => 'pa-policy-63b2f1844b86****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the current request.', + 'type' => 'string', + 'example' => '7E9D7ACD-53D5-56EF-A913-79D148D06299', + ], + 'Policy' => [ + 'description' => 'Intranet access policy.', + 'type' => 'object', + 'properties' => [ + 'PolicyId' => [ + 'description' => 'Intranet access policy ID.', + 'type' => 'string', + 'example' => 'pa-policy-63b2f1844b86****', + ], + 'Name' => [ + 'description' => 'Intranet access policy name.', + 'type' => 'string', + 'example' => 'private_access_policy_name', + ], + 'Description' => [ + 'description' => 'Intranet access policy description.', + 'type' => 'string', + 'example' => 'test', + ], + 'PolicyAction' => [ + 'description' => 'Intranet access policy action. Values:'."\n" + .'- **Block**: Block.'."\n" + .'- **Allow**: Allow.', + 'type' => 'string', + 'enumValueTitles' => [ + 'Block' => '阻断', + 'Allow' => '允许', + ], + 'example' => 'Allow', + ], + 'Priority' => [ + 'description' => 'Intranet access policy priority. A value of 1 indicates the highest priority.', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'Status' => [ + 'description' => 'Intranet access policy status. Values:'."\n" + .'- **Enabled**: Enabled.'."\n" + .'- **Disabled**: Disabled.', + 'type' => 'string', + 'enumValueTitles' => [ + 'Enabled' => '开启', + 'Disabled' => '关闭', + ], + 'example' => 'Enabled', + ], + 'CreateTime' => [ + 'description' => 'Intranet access policy creation time.', + 'type' => 'string', + 'example' => '2021-07-29 11:26:02', + ], + 'UserGroupMode' => [ + 'description' => 'User group type for the intranet access policy. Values:'."\n" + .'- **Normal**: Normal user group.'."\n" + .'- **Custom**: Custom user group.', + 'type' => 'string', + 'enumValueTitles' => [ + 'Custom' => '自定义用户组', + 'Normal' => '普通用户组', + ], + 'example' => 'Normal', + ], + 'UserGroupIds' => [ + 'description' => 'Collection of user group IDs for the intranet access policy. This field is populated when the user group type is Normal.', + 'type' => 'array', + 'items' => [ + 'description' => 'User group ID for the intranet access policy, where the user group type is Normal.', + 'type' => 'string', + 'example' => 'usergroup-6f1ef2fc56b6****', + ], + ], + 'CustomUserAttributes' => [ + 'description' => 'Collection of custom user group attributes. Multiple custom user group attributes are combined with an OR relationship and take effect as a set.', + 'type' => 'array', + 'items' => [ + 'description' => 'Custom user group attribute.', + 'type' => 'object', + 'properties' => [ + 'UserGroupType' => [ + 'description' => 'Type of the custom user group. Values:'."\n" + .'- **username**: Username.'."\n" + .'- **department**: Department.'."\n" + .'- **email**: Email.'."\n" + .'- **telephone**: Telephone.', + 'type' => 'string', + 'enumValueTitles' => [ + 'telephone' => '手机', + 'department' => '部门', + 'email' => '邮箱', + 'username' => '用户名', + ], + 'example' => 'department', + ], + 'Relation' => [ + 'description' => 'Custom user group relationship. Values: - **Equal**: Equal to. - **Unequal**: Not equal to.', + 'type' => 'string', + 'enumValueTitles' => [ + 'Unequal' => '不等于', + 'Equal' => '等于', + ], + 'example' => 'Equal', + ], + 'Value' => [ + 'description' => 'The value of the custom user group attribute.'."\n" + .'- When the user group type is **username**, it represents the value of the username. The length should be 1 to 128 characters, supporting Chinese and case-sensitive English letters, and can include numbers, periods (.), underscores (_), and hyphens (-).'."\n" + .'- When the user group type is **department**, it represents the value of the department. For example: OU=Department1,OU=SASE DingTalk.'."\n" + .'- When the user group type is **email**, it represents the value of the email. For example: [email protected].'."\n" + .'- When the user group type is **telephone**, it represents the value of the phone number. For example: 13900001234.', + 'type' => 'string', + 'example' => 'OU=部门1,OU=SASE钉钉', + ], + 'IdpId' => [ + 'description' => 'The identity provider ID for the custom user group. This field is required when the custom user group type is **department**.', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '12', + ], + ], + ], + ], + 'ApplicationType' => [ + 'description' => 'The application type of the private access policy. Possible values:'."\n" + .'- **Application**: Application.'."\n" + .'- **Tag**: Tag.', + 'type' => 'string', + 'enumValueTitles' => [ + 'Tag' => '标签', + 'Application' => '应用', + ], + 'example' => 'Application', + ], + 'ApplicationIds' => [ + 'description' => 'A collection of application IDs for the private access policy. This field has a value when the application type is Application.', + 'type' => 'array', + 'items' => [ + 'description' => 'The application ID for the private access policy.', + 'type' => 'string', + 'example' => 'pa-application-e12860ef6c48****'."\n", + ], + ], + 'TagIds' => [ + 'description' => 'A collection of tag IDs for the private access policy. This field has a value when the application type is Tag.', + 'type' => 'array', + 'items' => [ + 'description' => 'The tag ID for the private access policy.', + 'type' => 'string', + 'example' => 'tag-d3f64e8bdd4a****'."\n", + ], + ], + 'DeviceAttributeId' => [ + 'description' => 'The ID of the security baseline policy.', + 'type' => 'string', + 'example' => 'dag-d3f64e8bdd4a****', + ], + 'DeviceAttributeAction' => [ + 'description' => 'The action to take if the security baseline is not met. Possible values:'."\n" + ."\n" + .'- **Block**: Block.'."\n" + .'- **Observe**: Observe.', + 'type' => 'string', + 'enumValueTitles' => [ + 'Observe' => 'Observe', + 'Block' => 'Block', + ], + 'example' => 'Block', + ], + 'TriggerTemplateId' => [ + 'description' => 'The trigger template ID.', + 'type' => 'string', + 'example' => 'dag-d3f64e8bdd4a****', + ], + 'TrustedProcessStatus' => [ + 'description' => 'The status of the trusted process switch. Possible values:'."\n" + .'- **Enabled**: Enabled.'."\n" + .'- **Disabled**: Disabled.', + 'type' => 'string', + 'example' => 'Enabled', + ], + 'TrustedProcessGroupIds' => [ + 'description' => 'A list of trusted process group IDs.', + 'type' => 'array', + 'items' => [ + 'description' => 'The trusted process group ID.', + 'type' => 'string', + 'example' => 'pg-xxxxxxxx', + ], + ], + 'TrustedSoftwareIds' => [ + 'description' => 'A list of trusted software IDs.', + 'type' => 'array', + 'items' => [ + 'description' => 'The trusted software ID.', + 'type' => 'string', + 'example' => 'swb-xxxxxxxxx', + ], + ], + 'ValidFrom' => [ + 'description' => 'The start time when the zero trust policy takes effect, represented as a timestamp in seconds.', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'ValidUntil' => [ + 'description' => 'The expiration time of the zero trust policy, in seconds timestamp.', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1764727544', + ], + 'ValidTimeStatus' => [ + 'description' => 'Switch status for effective time. Values: - **Enabled**: On. - **Disabled**: Off.', + 'type' => 'string', + 'example' => 'Enabled', + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7E9D7ACD-53D5-56EF-A913-79D148D06299\\",\\n \\"Policy\\": {\\n \\"PolicyId\\": \\"pa-policy-63b2f1844b86****\\",\\n \\"Name\\": \\"private_access_policy_name\\",\\n \\"Description\\": \\"这是一条内网访问策略\\",\\n \\"PolicyAction\\": \\"Allow\\",\\n \\"Priority\\": 1,\\n \\"Status\\": \\"Enabled\\",\\n \\"CreateTime\\": \\"2021-07-29 11:26:02\\",\\n \\"UserGroupMode\\": \\"Normal\\",\\n \\"UserGroupIds\\": [\\n \\"usergroup-6f1ef2fc56b6****\\"\\n ],\\n \\"CustomUserAttributes\\": [\\n {\\n \\"UserGroupType\\": \\"department\\",\\n \\"Relation\\": \\"Equal\\",\\n \\"Value\\": \\"OU=部门1,OU=SASE钉钉\\",\\n \\"IdpId\\": 12\\n }\\n ],\\n \\"ApplicationType\\": \\"Application\\",\\n \\"ApplicationIds\\": [\\n \\"pa-application-e12860ef6c48****\\\\n\\"\\n ],\\n \\"TagIds\\": [\\n \\"tag-d3f64e8bdd4a****\\\\n\\"\\n ],\\n \\"DeviceAttributeId\\": \\"dag-d3f64e8bdd4a****\\",\\n \\"DeviceAttributeAction\\": \\"Block\\",\\n \\"TriggerTemplateId\\": \\"dag-d3f64e8bdd4a****\\",\\n \\"TrustedProcessStatus\\": \\"Enabled\\",\\n \\"TrustedProcessGroupIds\\": [\\n \\"pg-xxxxxxxx\\"\\n ],\\n \\"TrustedSoftwareIds\\": [\\n \\"swb-xxxxxxxxx\\"\\n ],\\n \\"ValidFrom\\": 0,\\n \\"ValidUntil\\": 1764727544,\\n \\"ValidTimeStatus\\": \\"Enabled\\"\\n }\\n}","type":"json"}]', + 'title' => 'Query Intranet Access Policy Details', + 'translator' => 'machine', + ], + 'CreatePrivateAccessPolicy' => [ + 'summary' => 'Create Private Access Policy', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '163595', + 'abilityTreeNodes' => [ + 'FEATUREcsas7ZB8UX', + ], + ], + 'parameters' => [ + [ + 'name' => 'Name', + 'in' => 'formData', + 'schema' => [ + 'description' => 'Name of the private access policy. The length is 1 to 128 characters, supporting Chinese and uppercase and lowercase English letters, and can include numbers, periods (.), underscores (_), and hyphens (-).', + 'type' => 'string', + 'required' => true, + 'example' => 'private_access_policy_name', + ], + ], + [ + 'name' => 'Description', + 'in' => 'formData', + 'schema' => [ + 'description' => 'Description of the private access policy. The length is 1 to 128 characters, supporting Chinese and uppercase and lowercase English letters, and can include numbers, periods (.), underscores (_), hyphens (-), and spaces.', + 'type' => 'string', + 'required' => false, + 'example' => 'test', + ], + ], + [ + 'name' => 'PolicyAction', + 'in' => 'formData', + 'schema' => [ + 'description' => 'Action of the private access policy. Values:'."\n" + .'- **Block**: Block.'."\n" + .'- **Allow**: Allow.', + 'type' => 'string', + 'required' => true, + 'enumValueTitles' => [ + 'Block' => '阻断', + 'Allow' => '允许', + ], + 'example' => 'Allow', + ], + ], + [ + 'name' => 'ApplicationType', + 'in' => 'formData', + 'schema' => [ + 'description' => 'Application type of the private access policy. Values:'."\n" + .'- **Application**: Application.'."\n" + .'- **Tag**: Tag.', + 'type' => 'string', + 'required' => true, + 'enumValueTitles' => [ + 'Tag' => '标签', + 'Application' => '应用', + ], + 'example' => 'Application', + ], + ], + [ + 'name' => 'ApplicationIds', + 'in' => 'formData', + 'style' => 'flat', + 'schema' => [ + 'description' => 'Set of application IDs for the private access policy. Up to 100 application IDs can be entered. Required when **ApplicationType** is **Application**. Mutually exclusive with **TagIds**.', + 'type' => 'array', + 'items' => [ + 'description' => 'Application ID for the private access policy. Value sources:'."\n" + .'- [ListPrivateAccessApplications](~~ListPrivateAccessApplications~~): Batch query private access applications.'."\n" + .'- [CreatePrivateAccessApplication](~~CreatePrivateAccessApplication~~): Create a private access application.', + 'type' => 'string', + 'required' => false, + 'example' => 'pa-application-f4dd77bced90****', + ], + 'required' => false, + ], + ], + [ + 'name' => 'TagIds', + 'in' => 'formData', + 'style' => 'flat', + 'schema' => [ + 'description' => 'Set of tag IDs for the private access policy. Up to 100 tag IDs can be entered. Required when **ApplicationType** is **Tag**. Mutually exclusive with **ApplicationIds**.', + 'type' => 'array', + 'items' => [ + 'description' => 'Tag ID for the private access policy. Value sources:'."\n" + .'- [ListPrivateAccessTags](~~ListPrivateAccessTags~~): Batch query private access tags.'."\n" + .'- [CreatePrivateAccessTag](~~CreatePrivateAccessTag~~): Create a private access tag.', + 'type' => 'string', + 'required' => false, + 'example' => 'tag-d3f64e8bdd4a****', + ], + 'required' => false, + ], + ], + [ + 'name' => 'UserGroupMode', + 'in' => 'formData', + 'schema' => [ + 'description' => 'User group type of the private access policy. Values:'."\n" + .'- **Normal**: Normal user group.'."\n" + .'- **Custom**: Custom user group.', + 'type' => 'string', + 'required' => true, + 'enumValueTitles' => [ + 'Custom' => '自定义用户组', + 'Normal' => '普通用户组', + ], + 'example' => 'Normal', + ], + ], + [ + 'name' => 'UserGroupIds', + 'in' => 'formData', + 'style' => 'flat', + 'schema' => [ + 'description' => 'Set of user group IDs for the private access policy. Required when the user group type is **Normal**. Mutually exclusive with the custom user group set. Up to 2000 user group IDs can be entered.', + 'type' => 'array', + 'items' => [ + 'description' => 'User group ID for the private access policy when the user group type is **Normal**. Value sources:'."\n" + .'- [ListUserGroups](~~ListUserGroups~~): Batch query user groups.'."\n" + .'- [CreateUserGroup](~~CreateUserGroup~~): Create a user group.', + 'type' => 'string', + 'required' => false, + 'example' => 'usergroup-927a4c7fee94****', + ], + 'required' => false, + ], + ], + [ + 'name' => 'CustomUserAttributes', + 'in' => 'formData', + 'style' => 'flat', + 'schema' => [ + 'description' => 'Set of custom user groups for the private access policy. Required when the user group type is **Custom**. Mutually exclusive with the user group ID set. Up to 10 custom user groups can be entered.', + 'type' => 'array', + 'items' => [ + 'description' => 'Custom user group for the private access policy.', + 'type' => 'object', + 'properties' => [ + 'UserGroupType' => [ + 'description' => 'Type of the custom user group. Values:'."\n" + .'- **username**: Username.'."\n" + .'- **department**: Department.'."\n" + .'- **email**: Email.'."\n" + .'- **telephone**: Telephone.', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'telephone' => '手机', + 'department' => '部门', + 'email' => '邮箱', + 'username' => '用户名', + ], + 'example' => 'department', + ], + 'Relation' => [ + 'description' => 'Relation of the custom user group. Values:'."\n" + .'- **Equal**: Equal.'."\n" + .'- **Unequal**: Not equal.', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'Unequal' => '不等于', + 'Equal' => '等于', + ], + 'example' => 'Equal', + ], + 'Value' => [ + 'description' => 'Value of the custom user group attribute.'."\n" + .'- When the user group type is **username**, it represents the value of the username. The length is 1 to 128 characters, supporting Chinese and uppercase and lowercase English letters, and can include numbers, periods (.), underscores (_), hyphens (-), asterisks (*), at (@) symbols, and spaces.'."\n" + .'- When the user group type is **department**, it represents the value of the department. For example: OU=Department1,OU=SASE DingTalk.'."\n" + .'- When the user group type is **email**, it represents the value of the email. For example: [email protected].'."\n" + .'- When the user group type is **telephone**, it represents the value of the telephone. For example: 13900001234.', + 'type' => 'string', + 'required' => false, + 'example' => 'OU=部门1,OU=SASE钉钉', + ], + 'IdpId' => [ + 'description' => 'The ID of the identity source for the custom user group. Required when the custom user group type is **department**.', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '12', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + ], + [ + 'name' => 'Status', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The status of the private access policy. Values:'."\n" + .'- **Enabled**: Enabled.'."\n" + .'- **Disabled**: Disabled.', + 'type' => 'string', + 'required' => true, + 'enumValueTitles' => [ + 'Enabled' => '开启', + 'Disabled' => '关闭', + ], + 'example' => 'Enabled', + ], + ], + [ + 'name' => 'Priority', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The priority of the private access policy. The number 1 indicates the highest priority. Range: 1~1000, with the maximum value being the total number of private access policies.', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '1', + ], + ], + [ + 'name' => 'DeviceAttributeId', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The ID of the security baseline policy.', + 'type' => 'string', + 'required' => false, + 'example' => 'dag-d3f64e8bdd4a****', + ], + ], + [ + 'name' => 'DeviceAttributeAction', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The execution policy for not meeting the security baseline. Values:'."\n" + ."\n" + .'- **Block**: Block.'."\n" + .'- **Observe**: Observe.', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'Observe' => 'Observe', + 'Block' => 'Block', + ], + 'example' => 'Block', + ], + ], + [ + 'name' => 'TriggerTemplateId', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The trigger template ID.', + 'type' => 'string', + 'required' => false, + 'example' => 'dag-d3f64e8bdd4a****', + ], + ], + [ + 'name' => 'TrustedProcessStatus', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The switch status of the trusted process. Values:'."\n" + .'- **Enabled**: Enabled.'."\n" + .'- **Disabled**: Disabled.', + 'type' => 'string', + 'required' => false, + 'example' => 'Enabled', + ], + ], + [ + 'name' => 'TrustedProcessGroupIds', + 'in' => 'formData', + 'style' => 'flat', + 'schema' => [ + 'description' => 'The ID of the trusted process group.', + 'type' => 'array', + 'items' => [ + 'description' => 'The ID of the trusted process group.', + 'type' => 'string', + 'required' => false, + 'example' => 'pg-xxxxxxxxx', + ], + 'required' => false, + ], + ], + [ + 'name' => 'TrustedSoftwareIds', + 'in' => 'formData', + 'style' => 'flat', + 'schema' => [ + 'description' => 'The ID of the trusted software.', + 'type' => 'array', + 'items' => [ + 'description' => 'The ID of the trusted software.', + 'type' => 'string', + 'required' => false, + 'example' => 'swb-xxxxxxx', + ], + 'required' => false, + ], + ], + [ + 'name' => 'ValidFrom', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The start time when the zero trust policy takes effect, represented as a timestamp in seconds.', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '0', + ], + ], + [ + 'name' => 'ValidUntil', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The expiration time of the zero trust policy, in seconds timestamp.', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '1764727544', + ], + ], + [ + 'name' => 'ValidTimeStatus', + 'in' => 'formData', + 'schema' => [ + 'description' => 'Switch status for effective time. Values: - **Enabled**: On. - **Disabled**: Off.', + 'type' => 'string', + 'required' => false, + 'example' => 'Disabled', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of the current request.', + 'type' => 'string', + 'example' => 'EFE7EBB2-449D-5BBB-B381-CA7839BC1649', + ], + 'PolicyId' => [ + 'description' => 'The ID of the private access policy.', + 'type' => 'string', + 'example' => 'pa-policy-867ef4007c8a****', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"EFE7EBB2-449D-5BBB-B381-CA7839BC1649\\",\\n \\"PolicyId\\": \\"pa-policy-867ef4007c8a****\\"\\n}","type":"json"}]', + 'title' => 'Create Private Access Policy', + 'description' => 'By default, up to 500 private access policies can be created.', + 'translator' => 'machine', + ], + 'DeletePrivateAccessPolicy' => [ + 'summary' => '删除内网访问策略', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '163593', + 'abilityTreeNodes' => [ + 'FEATUREcsas7ZB8UX', + ], + ], + 'parameters' => [ + [ + 'name' => 'PolicyId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'pa-policy-867ef4007c8a****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '4D169859-A4F2-5EC8-853B-8447787C0D8A', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4D169859-A4F2-5EC8-853B-8447787C0D8A\\"\\n}","type":"json"}]', + ], + 'UpdatePrivateAccessPolicy' => [ + 'summary' => 'Modify Private Access Policy', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '163583', + 'abilityTreeNodes' => [ + 'FEATUREcsas7ZB8UX', + ], + ], + 'parameters' => [ + [ + 'name' => 'PolicyId', + 'in' => 'formData', + 'schema' => [ + 'description' => 'ID of the private access policy. Value sources:'."\n" + .'- [ListPrivateAccessPolicies](~~ListPrivateAccessPolicies~~): Batch query for private access policies.'."\n" + .'- [CreatePrivateAccessPolicy](~~CreatePrivateAccessPolicy~~): Create a private access policy.', + 'type' => 'string', + 'required' => true, + 'example' => 'pa-policy-63b2f1844b86****', + ], + ], + [ + 'name' => 'Description', + 'in' => 'formData', + 'schema' => [ + 'description' => 'Description of the private access policy. Length should be 1 to 128 characters, supporting Chinese and English letters (both uppercase and lowercase), and can include numbers, periods (.), underscores (_), hyphens (-), and spaces.', + 'type' => 'string', + 'required' => false, + 'example' => 'test', + ], + ], + [ + 'name' => 'PolicyAction', + 'in' => 'formData', + 'schema' => [ + 'description' => 'Action of the private access policy. Values:'."\n" + .'- **Block**: Block.'."\n" + .'- **Allow**: Allow.', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'Block' => '阻断', + 'Allow' => '允许', + ], + 'example' => 'Allow', + ], + ], + [ + 'name' => 'ApplicationType', + 'in' => 'formData', + 'schema' => [ + 'description' => 'Application type of the private access policy. Values:'."\n" + .'- **Application**: Application.'."\n" + .'- **Tag**: Tag.', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'Tag' => '标签', + 'Application' => '应用', + ], + 'example' => 'Application', + ], + ], + [ + 'name' => 'ApplicationIds', + 'in' => 'formData', + 'style' => 'flat', + 'schema' => [ + 'description' => 'Set of application IDs for the private access policy. A single policy supports up to 100 private access application IDs.', + 'type' => 'array', + 'items' => [ + 'description' => 'Application ID for the private access policy. Value sources:'."\n" + .'- [ListPrivateAccessApplications](~~ListPrivateAccessApplications~~): Batch query for private access applications.'."\n" + .'- [CreatePrivateAccessApplication](~~CreatePrivateAccessApplication~~): Create a private access application.', + 'type' => 'string', + 'required' => false, + 'example' => 'pa-application-f4dd77bced90****', + ], + 'required' => false, + ], + ], + [ + 'name' => 'TagIds', + 'in' => 'formData', + 'style' => 'flat', + 'schema' => [ + 'description' => 'Set of tag IDs for the private access policy. A single policy supports up to 100 private access tag IDs.', + 'type' => 'array', + 'items' => [ + 'description' => 'Tag ID for the private access policy. Value sources:'."\n" + .'- [ListPrivateAccessTags](~~ListPrivateAccessTags~~): Batch query for private access tags.'."\n" + .'- [CreatePrivateAccessTag](~~CreatePrivateAccessTag~~): Create a private access tag.', + 'type' => 'string', + 'required' => false, + 'example' => 'tag-57c8238455b9****', + ], + 'required' => false, + ], + ], + [ + 'name' => 'UserGroupMode', + 'in' => 'formData', + 'schema' => [ + 'description' => 'User group type of the private access policy. Values:'."\n" + .'- **Normal**: Normal user group.'."\n" + .'- **Custom**: Custom user group.', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'Custom' => '自定义用户组', + 'Normal' => '普通用户组', + ], + 'example' => 'Normal', + ], + ], + [ + 'name' => 'UserGroupIds', + 'in' => 'formData', + 'style' => 'flat', + 'schema' => [ + 'description' => 'Set of user group IDs for the private access policy, required when the user group type is **Normal**. Mutually exclusive with the custom user group set. A single policy supports up to 10,000 user groups, and a maximum of 2,000 user group IDs can be modified at once.', + 'type' => 'array', + 'items' => [ + 'description' => 'User group ID for the private access policy when the user group type is Normal. Value sources:'."\n" + .'- [ListUserGroups](~~ListUserGroups~~): Batch query for user groups.'."\n" + .'- [CreateUserGroup](~~CreateUserGroup~~): Create a user group.', + 'type' => 'string', + 'required' => false, + 'example' => 'usergroup-927a4c7fee94****', + ], + 'required' => false, + ], + ], + [ + 'name' => 'CustomUserAttributes', + 'in' => 'formData', + 'style' => 'flat', + 'schema' => [ + 'description' => 'Set of custom user attributes for the private access policy, required when the user group type is **Custom**. Mutually exclusive with the user group ID set. The total number of custom user groups is limited to 10.', + 'type' => 'array', + 'items' => [ + 'description' => 'Custom user group for the private access policy.', + 'type' => 'object', + 'properties' => [ + 'UserGroupType' => [ + 'description' => 'Type of the custom user group. Values:'."\n" + .'- **username**: Username.'."\n" + .'- **department**: Department.'."\n" + .'- **email**: Email.'."\n" + .'- **telephone**: Telephone.', + 'type' => 'string', + 'required' => true, + 'enumValueTitles' => [ + 'telephone' => '手机', + 'department' => '部门', + 'email' => '邮箱', + 'username' => '用户名', + ], + 'example' => 'department'."\n", + ], + 'Relation' => [ + 'description' => 'Relation of the custom user group. Values:'."\n" + .'- **Equal**: Equal.'."\n" + .'- **Unequal**: Not equal.', + 'type' => 'string', + 'required' => true, + 'enumValueTitles' => [ + 'Unequal' => '不等于', + 'Equal' => '等于', + ], + 'example' => 'Equal', + ], + 'Value' => [ + 'description' => 'Custom user group attribute values. - When the user group type is **username**, it represents the value of the username. The length should be 1 to 128 characters, supporting Chinese and case-sensitive English letters, and can include numbers, half-width periods (.), underscores (_), hyphens (-), asterisks (*), at symbols (@), and spaces. - When the user group type is **department**, it represents the value of the department. For example: OU=Department1,OU=SASE DingTalk. - When the user group type is **email**, it represents the value of the email. For example: [email protected]. - When the user group type is **telephone**, it represents the value of the mobile phone. For example: 13900001234.', + 'type' => 'string', + 'required' => true, + 'example' => 'OU=部门1,OU=SASE钉钉', + ], + 'IdpId' => [ + 'description' => 'The identity source ID of the custom user group. Required when the custom user group type is **department**.', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '12', + ], + ], + 'required' => true, + ], + 'required' => false, + ], + ], + [ + 'name' => 'Status', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The status of the private access policy. Values:'."\n" + .'- **Enabled**: Enabled.'."\n" + .'- **Disabled**: Disabled.', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'Enabled' => '开启', + 'Disabled' => '关闭', + ], + 'example' => 'Enabled', + ], + ], + [ + 'name' => 'Priority', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The priority of the private access policy. The number 1 indicates the highest priority. Range: 1~1000, with the maximum value being the total number of private access policies minus one.', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'ModifyType', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The modification type of the private access policy. Values:'."\n" + .'- **Cover** (default): Use the values of **ApplicationIds**, **UserGroupIds**, and **CustomUserAttributes** to overwrite the original application ID set, user group ID set, and custom user attribute set, respectively.'."\n" + .'- **Append**: Add the values provided in **ApplicationIds**, **UserGroupIds**, and **CustomUserAttributes** to the original application ID set, user group ID set, and custom user attribute set, respectively.', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'Cover' => '覆盖', + 'Append' => '附加', + ], + 'example' => 'Cover', + ], + ], + [ + 'name' => 'DeviceAttributeId', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The ID of the security baseline policy.', + 'type' => 'string', + 'required' => false, + 'example' => 'dag-d3f64e8bdd4a****', + ], + ], + [ + 'name' => 'DeviceAttributeAction', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The execution strategy for not meeting the security baseline. Values:'."\n" + ."\n" + .'- **Block**: Block.'."\n" + .'- **Observe**: Observe.', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'Observe' => 'Observe', + 'Block' => 'Block', + ], + 'example' => 'Block', + ], + ], + [ + 'name' => 'TriggerTemplateId', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The trigger template ID.', + 'type' => 'string', + 'required' => false, + 'example' => 'dag-d3f64e8bdd4a****', + ], + ], + [ + 'name' => 'TrustedSoftwareIds', + 'in' => 'formData', + 'style' => 'flat', + 'schema' => [ + 'description' => 'Trusted Software ID.', + 'type' => 'array', + 'items' => [ + 'description' => 'Trusted Software ID.', + 'type' => 'string', + 'required' => false, + 'example' => 'swb-xxxxxxxx', + ], + 'required' => false, + ], + ], + [ + 'name' => 'TrustedProcessGroupIds', + 'in' => 'formData', + 'style' => 'flat', + 'schema' => [ + 'description' => 'Trusted process group ID.', + 'type' => 'array', + 'items' => [ + 'description' => 'Trusted process group ID.', + 'type' => 'string', + 'required' => false, + 'example' => 'pg-xxxxxxxx', + ], + 'required' => false, + ], + ], + [ + 'name' => 'TrustedProcessStatus', + 'in' => 'formData', + 'schema' => [ + 'description' => 'Trusted process switch status. Values: '."\n" + ."\n" + .'- **Enabled**: On. '."\n" + ."\n" + .'- **Disabled**: Off.', + 'type' => 'string', + 'required' => false, + 'example' => 'Disabled', + ], + ], + [ + 'name' => 'ValidFrom', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The start time when the zero trust policy takes effect, represented as a timestamp in seconds.', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '0', + ], + ], + [ + 'name' => 'ValidUntil', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The expiration time of the zero trust policy, in seconds timestamp.', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '1764727544', + ], + ], + [ + 'name' => 'ValidTimeStatus', + 'in' => 'formData', + 'schema' => [ + 'description' => 'Switch status for effective time. Values: - **Enabled**: On. - **Disabled**: Off.', + 'type' => 'string', + 'required' => false, + 'example' => 'Enabled', + ], + ], + [ + 'name' => 'Name', + 'in' => 'formData', + 'schema' => [ + 'title' => '策略名称。', + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => 'The ID of this request.', + 'type' => 'string', + 'example' => '5FEF5CFA-14CC-5DE5-BD1F-AFFE0996E71D', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5FEF5CFA-14CC-5DE5-BD1F-AFFE0996E71D\\"\\n}","type":"json"}]', + 'title' => 'Modify Private Access Policy', + 'translator' => 'machine', + ], + 'ListDynamicRoutes' => [ + 'summary' => '批量查询动态路由', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREcsas62O8LY', + ], + ], + 'parameters' => [ + [ + 'name' => 'CurrentPage', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '10', + ], + ], + [ + 'name' => 'Name', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'dynamic_route_name', + ], + ], + [ + 'name' => 'Status', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'Enabled' => '', + 'Disabled' => '', + ], + 'example' => 'Enabled', + ], + ], + [ + 'name' => 'DynamicRouteIds', + 'in' => 'query', + 'style' => 'flat', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'dr-30108b6c9d31****', + ], + 'required' => false, + ], + ], + [ + 'name' => 'RegionIds', + 'in' => 'query', + 'style' => 'flat', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'cn-shenzhen' => '', + 'cn-beijing' => '', + 'cn-shanghai' => '', + 'ap-southeast-1' => '', + 'us-east-1' => '', + 'us-west-1' => '', + 'cn-hangzhou' => '', + 'cn-chengdu' => '', + ], + 'example' => 'ap-southeast-1', + ], + 'required' => false, + ], + ], + [ + 'name' => 'ApplicationId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'pa-application-e12860ef6c48****', + ], + ], + [ + 'name' => 'TagId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'tag-d3f64e8bdd4a****', + ], + ], + [ + 'name' => 'NextHop', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'connector-8ccb13b6f52c****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '58D6B23E-E5DA-5418-8F61-51A3B5A30049', + ], + 'TotalNum' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'DynamicRoutes' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'DynamicRouteId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'dr-a0ca843f53cf****', + ], + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'dynamic_route_name', + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Status' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Enabled' => '', + 'Disabled' => '', + ], + 'example' => 'Enabled', + ], + 'Priority' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'RegionIds' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'cn-shenzhen' => '', + 'cn-beijing' => '', + 'cn-shanghai' => '', + 'ap-southeast-1' => '', + 'us-east-1' => '', + 'us-west-1' => '', + 'cn-hangzhou' => '', + 'cn-chengdu' => '', + ], + 'example' => 'ap-southeast-1', + ], + ], + 'ApplicationType' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'All' => '', + 'Tag' => '', + 'Application' => '', + ], + 'example' => 'Application', + ], + 'ApplicationIds' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'pa-application-e12860ef6c48****', + ], + ], + 'TagIds' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'tag-d3f64e8bdd4a****', + ], + ], + 'DynamicRouteType' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'connector' => '', + ], + 'example' => 'connector', + ], + 'NextHop' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'connector-8ccb13b6f52c****', + ], + 'CreateTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2023-03-21 11:50:03', + ], + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"58D6B23E-E5DA-5418-8F61-51A3B5A30049\\",\\n \\"TotalNum\\": 1,\\n \\"DynamicRoutes\\": [\\n {\\n \\"DynamicRouteId\\": \\"dr-a0ca843f53cf****\\",\\n \\"Name\\": \\"dynamic_route_name\\",\\n \\"Description\\": \\"这是一条动态路由\\",\\n \\"Status\\": \\"Enabled\\",\\n \\"Priority\\": 1,\\n \\"RegionIds\\": [\\n \\"ap-southeast-1\\"\\n ],\\n \\"ApplicationType\\": \\"Application\\",\\n \\"ApplicationIds\\": [\\n \\"pa-application-e12860ef6c48****\\"\\n ],\\n \\"TagIds\\": [\\n \\"tag-d3f64e8bdd4a****\\"\\n ],\\n \\"DynamicRouteType\\": \\"connector\\",\\n \\"NextHop\\": \\"connector-8ccb13b6f52c****\\",\\n \\"CreateTime\\": \\"2023-03-21 11:50:03\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'ListPrivateAccessApplicationsForDynamicRoute' => [ + 'summary' => '批量查询动态路由的内网访问应用', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREcsas7ZB8UX', + ], + ], + 'parameters' => [ + [ + 'name' => 'DynamicRouteIds', + 'in' => 'query', + 'style' => 'flat', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'dr-ca9fddfac7c6****', + ], + 'required' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'BE4FB974-11BC-5453-9BE1-1606A73EACA6', + ], + 'DynamicRoutes' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'DynamicRouteId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'dr-ca9fddfac7c6****'."\n", + ], + 'Applications' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ApplicationId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'pa-application-7a9243dd02f4****', + ], + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'application_name', + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Addresses' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '192.168.0.0/16', + ], + ], + 'PortRanges' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Begin' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '80', + ], + 'End' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '81', + ], + ], + ], + ], + 'Protocol' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'All' => 'All', + 'TCP' => 'TCP', + 'UDP' => 'UDP', + ], + 'example' => 'All', + ], + 'Status' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Enabled' => '', + 'Disabled' => '', + ], + 'example' => 'Enabled', + ], + 'CreateTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2022-04-13 13:33:24', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BE4FB974-11BC-5453-9BE1-1606A73EACA6\\",\\n \\"DynamicRoutes\\": [\\n {\\n \\"DynamicRouteId\\": \\"dr-ca9fddfac7c6****\\\\n\\",\\n \\"Applications\\": [\\n {\\n \\"ApplicationId\\": \\"pa-application-7a9243dd02f4****\\",\\n \\"Name\\": \\"application_name\\",\\n \\"Description\\": \\"这是一条被动态路由引用的内网访问应用\\",\\n \\"Addresses\\": [\\n \\"192.168.0.0/16\\"\\n ],\\n \\"PortRanges\\": [\\n {\\n \\"Begin\\": 80,\\n \\"End\\": 81\\n }\\n ],\\n \\"Protocol\\": \\"All\\",\\n \\"Status\\": \\"Enabled\\",\\n \\"CreateTime\\": \\"2022-04-13 13:33:24\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', + ], + 'ListPrivateAccessTagsForDynamicRoute' => [ + 'summary' => '批量查询动态路由的内网访问标签', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREcsas642DA7', + ], + ], + 'parameters' => [ + [ + 'name' => 'DynamicRouteIds', + 'in' => 'query', + 'style' => 'flat', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'dr-ca9fddfac7c6****', + ], + 'required' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'B608C6AE-623D-55C4-9454-601B88AE937E', + ], + 'DynamicRoutes' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'DynamicRouteId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'dr-ca9fddfac7c6****', + ], + 'Tags' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'TagId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'tag-d3f64e8bdd4a****', + ], + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'tag_name', + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'TagType' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Custom' => '', + 'Default' => '', + ], + 'example' => 'Custom', + ], + 'CreateTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2022-10-23 14:02:56', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B608C6AE-623D-55C4-9454-601B88AE937E\\",\\n \\"DynamicRoutes\\": [\\n {\\n \\"DynamicRouteId\\": \\"dr-ca9fddfac7c6****\\",\\n \\"Tags\\": [\\n {\\n \\"TagId\\": \\"tag-d3f64e8bdd4a****\\",\\n \\"Name\\": \\"tag_name\\",\\n \\"Description\\": \\"这是一条被动态路由引用的内网访问标签\\",\\n \\"TagType\\": \\"Custom\\",\\n \\"CreateTime\\": \\"2022-10-23 14:02:56\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', + ], + 'GetDynamicRoute' => [ + 'summary' => '查询动态路由详情', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREcsas62O8LY', + ], + ], + 'parameters' => [ + [ + 'name' => 'DynamicRouteId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'dr-16ff07c8207d****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '58D6B23E-E5DA-5418-8F61-51A3B5A30049', + ], + 'DynamicRoute' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'DynamicRouteId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'dr-16ff07c8207d****'."\n", + ], + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'dynamic_route_name', + ], + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Status' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Enabled' => '', + 'Disabled' => '', + ], + 'example' => 'Enabled', + ], + 'Priority' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'RegionIds' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ap-southeast-1', + ], + ], + 'ApplicationType' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'All' => '', + 'Tag' => '', + 'Application' => '', + ], + 'example' => 'Application', + ], + 'ApplicationIds' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'pa-application-e12860ef6c48****'."\n", + ], + ], + 'TagIds' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'tag-fc0e2395e6f2****', + ], + ], + 'DynamicRouteType' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'connector' => '', + ], + 'example' => 'connector', + ], + 'NextHop' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'connector-8ccb13b6f52c****', + ], + 'CreateTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2023-02-09 10:31:47', + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 404 => [ + [ + 'errorCode' => 'DynamicRoute.NotFound', + 'errorMessage' => 'The dynamicRoute is not found.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"58D6B23E-E5DA-5418-8F61-51A3B5A30049\\",\\n \\"DynamicRoute\\": {\\n \\"DynamicRouteId\\": \\"dr-16ff07c8207d****\\\\n\\",\\n \\"Name\\": \\"dynamic_route_name\\",\\n \\"Description\\": \\"这是一条动态路由\\\\n\\",\\n \\"Status\\": \\"Enabled\\",\\n \\"Priority\\": 1,\\n \\"RegionIds\\": [\\n \\"ap-southeast-1\\"\\n ],\\n \\"ApplicationType\\": \\"Application\\",\\n \\"ApplicationIds\\": [\\n \\"pa-application-e12860ef6c48****\\\\n\\"\\n ],\\n \\"TagIds\\": [\\n \\"tag-fc0e2395e6f2****\\"\\n ],\\n \\"DynamicRouteType\\": \\"connector\\",\\n \\"NextHop\\": \\"connector-8ccb13b6f52c****\\",\\n \\"CreateTime\\": \\"2023-02-09 10:31:47\\"\\n }\\n}","type":"json"}]', + ], + 'ListDynamicRouteRegions' => [ + 'summary' => '批量查询动态路由的地域', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREcsas62O8LY', + ], + ], + 'parameters' => [], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '58D6B23E-E5DA-5418-8F61-51A3B5A30049', + ], + 'TotalNum' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'Regions' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'ap-southeast-1' => '', + 'us-east-1' => '', + 'us-west-1' => '', + ], + 'example' => 'ap-southeast-1', + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"58D6B23E-E5DA-5418-8F61-51A3B5A30049\\",\\n \\"TotalNum\\": 1,\\n \\"Regions\\": [\\n \\"ap-southeast-1\\"\\n ]\\n}","type":"json"}]', + ], + 'CreateDynamicRoute' => [ + 'summary' => '创建动态路由', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '173138', + 'abilityTreeNodes' => [ + 'FEATUREcsas62O8LY', + ], + ], + 'parameters' => [ + [ + 'name' => 'Name', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'dynamic_route_name', + ], + ], + [ + 'name' => 'Description', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'Status', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'Disabled', + ], + ], + [ + 'name' => 'Priority', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '99', + ], + ], + [ + 'name' => 'RegionIds', + 'in' => 'formData', + 'style' => 'flat', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'enumValueTitles' => [ + 'cn-shenzhen' => '', + 'cn-beijing' => '', + 'cn-shanghai' => '', + 'ap-southeast-1' => '', + 'us-east-1' => '', + 'us-west-1' => '', + 'cn-hangzhou' => '', + 'cn-chengdu' => '', + ], + 'example' => 'ap-southeast-1', + ], + 'required' => true, + ], + ], + [ + 'name' => 'ApplicationType', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'enumValueTitles' => [ + 'All' => '', + 'Tag' => '', + 'Application' => '', + ], + 'example' => 'Application', + ], + ], + [ + 'name' => 'ApplicationIds', + 'in' => 'formData', + 'style' => 'flat', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'pa-application-7a4445897856****', + ], + 'required' => false, + ], + ], + [ + 'name' => 'TagIds', + 'in' => 'formData', + 'style' => 'flat', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'tag-d3f64e8bdd4a****', + ], + 'required' => false, + ], + ], + [ + 'name' => 'DynamicRouteType', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'enumValueTitles' => [ + 'connector' => '', + ], + 'example' => 'connector', + ], + ], + [ + 'name' => 'NextHop', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'connector-8ccb13b6f52c****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '102350E7-1A20-58F5-9D63-ABEA820AE6E1', + ], + 'DynamicRouteId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'dr-ca9fddfac7c6****', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"102350E7-1A20-58F5-9D63-ABEA820AE6E1\\",\\n \\"DynamicRouteId\\": \\"dr-ca9fddfac7c6****\\"\\n}","type":"json"}]', + ], + 'UpdateDynamicRoute' => [ + 'summary' => '修改动态路由', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '173166', + 'abilityTreeNodes' => [ + 'FEATUREcsas62O8LY', + ], + ], + 'parameters' => [ + [ + 'name' => 'DynamicRouteId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'dr-ca9fddfac7c6****', + ], + ], + [ + 'name' => 'Name', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'dynamic_route_name', + ], + ], + [ + 'name' => 'Description', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'Status', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'Enabled' => '', + 'Disabled' => '', + ], + 'example' => 'Disabled', + ], + ], + [ + 'name' => 'Priority', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '99', + ], + ], + [ + 'name' => 'RegionIds', + 'in' => 'formData', + 'style' => 'flat', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'cn-shenzhen' => '', + 'cn-beijing' => '', + 'cn-shanghai' => '', + 'ap-southeast-1' => '', + 'us-east-1' => '', + 'us-west-1' => '', + 'cn-hangzhou' => '', + 'cn-chengdu' => '', + ], + 'example' => 'ap-southeast-1', + ], + 'required' => false, + ], + ], + [ + 'name' => 'ApplicationType', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'All' => '', + 'Tag' => '', + 'Application' => '', + ], + 'example' => 'Application', + ], + ], + [ + 'name' => 'ApplicationIds', + 'in' => 'formData', + 'style' => 'flat', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'pa-application-f4dd77bced90****', + ], + 'required' => false, + ], + ], + [ + 'name' => 'TagIds', + 'in' => 'formData', + 'style' => 'flat', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'tag-d3f64e8bdd4a****', + ], + 'required' => false, + ], + ], + [ + 'name' => 'DynamicRouteType', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'connector' => '', + ], + 'example' => 'connector', + ], + ], + [ + 'name' => 'NextHop', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'connector-8ccb13b6f52c****', + ], + ], + [ + 'name' => 'ModifyType', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'Cover' => '', + 'Append' => '', + ], + 'example' => 'Cover', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => 'BE4FB974-11BC-5453-9BE1-1606A73EACA6', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 404 => [ + [ + 'errorCode' => 'DynamicRoute.NotFound', + 'errorMessage' => 'The dynamicRoute is not found.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BE4FB974-11BC-5453-9BE1-1606A73EACA6\\"\\n}","type":"json"}]', + ], + 'DeleteDynamicRoute' => [ + 'summary' => '删除动态路由', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '173167', + 'abilityTreeNodes' => [ + 'FEATUREcsas62O8LY', + ], + ], + 'parameters' => [ + [ + 'name' => 'DynamicRouteId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'dr-ca9fddfac7c6****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '748CFDC7-1EB6-5B8B-9405-DA76ED5BB60D', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 404 => [ + [ + 'errorCode' => 'DynamicRoute.NotFound', + 'errorMessage' => 'The dynamicRoute is not found.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"748CFDC7-1EB6-5B8B-9405-DA76ED5BB60D\\"\\n}","type":"json"}]', + ], + 'LookupWmInfoMapping' => [ + 'summary' => '根据数字水印信息查询字符串水印信息', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '226773', + 'abilityTreeNodes' => [ + 'FEATUREcsas3KYQ7V', + ], + ], + 'parameters' => [ + [ + 'name' => 'WmType', + 'in' => 'query', + 'schema' => [ + 'title' => '水印类型,枚举值:'."\n" + .'PureDocument: 常规文档水印'."\n" + .'PureWebappInvisible: 常规网页水印'."\n" + .'PureAppInvisible: 常规APP水印'."\n" + .'PureScreenInvisible: 常规屏幕水印'."\n" + .'PureImage: 常规图片水印'."\n" + .'PureAudio: 常规音频水印'."\n" + .'PureVideo: 常规视频水印'."\n" + .'AigcDocument: AIGC文档水印'."\n" + .'AigcWebappInvisible: AIGC网页水印'."\n" + .'AigcAppInvisible: AIGCAPP水印'."\n" + .'AigcScreenInvisible: AIGC屏幕水印'."\n" + .'AigcImage: AIGC图片水印'."\n" + .'AigcAudio: AIGC音频水印'."\n" + .'AigcVideo: AIGC视频水印', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'enumValueTitles' => [ + 'PureImage' => '', + 'AigcAppInvisible' => '', + 'PureWebappInvisible' => '', + 'AigcAudio' => '', + 'PureDocument' => '', + 'PureAudio' => '', + 'AigcScreenInvisible' => '', + 'AigcVideo' => '', + 'AigcImage' => '', + 'AigcWebappInvisible' => '', + 'PureAppInvisible' => '', + 'PureScreenInvisible' => '', + 'PureVideo' => '', + ], + 'example' => 'PureDocument', + 'enum' => [ + 'PureWebappInvisible', + 'PureAppInvisible', + 'PureScreenInvisible', + 'PureImage', + 'PureAudio', + 'PureVideo', + 'AigcWebappInvisible', + 'AigcAppInvisible', + 'AigcScreenInvisible', + 'AigcImage', + 'AigcAudio', + 'AigcVideo', + 'PureDocument', + ], + ], + ], + [ + 'name' => 'WmInfoSize', + 'in' => 'query', + 'schema' => [ + 'title' => '水印信息的容量位宽,可用值为 32, 40, 64,不传时默认为32。非32时需显式指定。比如嵌入式使用的是 40 位的sdk,那么提取时也需要将该值设为 40。', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'maximum' => '64', + 'minimum' => '32', + 'example' => '32', + ], + ], + [ + 'name' => 'WmInfoUint', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '123***', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '7E9D7ACD-53D5-56EF-A913-79D148D06299', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'WmInfoBytesB64' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'aGVsbG8gc2F*****'."\n", + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7E9D7ACD-53D5-56EF-A913-79D148D06299\\",\\n \\"Data\\": {\\n \\"WmInfoBytesB64\\": \\"aGVsbG8gc2F*****\\\\n\\"\\n }\\n}","type":"json"}]', + ], + 'CreateWmInfoMapping' => [ + 'summary' => '创建一条字符串水印信息到数字水印信息的映射记录', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '226693', + 'abilityTreeNodes' => [ + 'FEATUREcsas3KYQ7V', + ], + ], + 'parameters' => [ + [ + 'name' => 'WmType', + 'in' => 'formData', + 'schema' => [ + 'title' => '水印类型,枚举值:'."\n" + .'PureDocument: 常规文档水印'."\n" + .'PureWebappInvisible: 常规网页水印'."\n" + .'PureAppInvisible: 常规APP水印'."\n" + .'PureScreenInvisible: 常规屏幕水印'."\n" + .'PureImage: 常规图片水印'."\n" + .'PureAudio: 常规音频水印'."\n" + .'PureVideo: 常规视频水印'."\n" + .'AigcDocument: AIGC文档水印'."\n" + .'AigcWebappInvisible: AIGC网页水印'."\n" + .'AigcAppInvisible: AIGCAPP水印'."\n" + .'AigcScreenInvisible: AIGC屏幕水印'."\n" + .'AigcImage: AIGC图片水印'."\n" + .'AigcAudio: AIGC音频水印'."\n" + .'AigcVideo: AIGC视频水印', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'enumValueTitles' => [ + 'PureImage' => '', + 'AigcAppInvisible' => '', + 'PureWebappInvisible' => '', + 'AigcAudio' => '', + 'PureDocument' => '', + 'PureAudio' => '', + 'AigcScreenInvisible' => '', + 'AigcVideo' => '', + 'AigcImage' => '', + 'AigcWebappInvisible' => '', + 'PureAppInvisible' => '', + 'PureScreenInvisible' => '', + 'PureVideo' => '', + ], + 'example' => 'PureDocument', + 'enum' => [ + 'PureWebappInvisible', + 'PureAppInvisible', + 'PureScreenInvisible', + 'PureImage', + 'PureAudio', + 'PureVideo', + 'AigcWebappInvisible', + 'AigcAppInvisible', + 'AigcScreenInvisible', + 'AigcImage', + 'AigcAudio', + 'AigcVideo', + 'PureDocument', + ], + ], + ], + [ + 'name' => 'WmInfoSize', + 'in' => 'formData', + 'schema' => [ + 'title' => '水印信息的容量位宽,可用值为 32, 40, 64,不传时默认为32。非32时需显式指定。比如嵌入式使用的是 40 位的sdk,那么提取时也需要将该值设为 40。', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'maximum' => '64', + 'minimum' => '32', + 'example' => '32', + ], + ], + [ + 'name' => 'WmInfoBytesB64', + 'in' => 'formData', + 'schema' => [ + 'title' => 'base64 编码后的字符串格式水印信息 。若设置该值,则 wmInfoUint 不能设置。', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'aGVsbG8gc2F*****'."\n", + 'maxLength' => 400, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '7E9D7ACD-53D5-56EF-A913-79D148D06299', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'WmInfoUint' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '123***', + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7E9D7ACD-53D5-56EF-A913-79D148D06299\\",\\n \\"Data\\": {\\n \\"WmInfoUint\\": 0\\n }\\n}","type":"json"}]', + ], + 'CreateWmBaseImage' => [ + 'summary' => '创建数字水印暗水印透明底图', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '226309', + 'abilityTreeNodes' => [ + 'FEATUREcsas3KYQ7V', + ], + ], + 'parameters' => [ + [ + 'name' => 'WmType', + 'in' => 'formData', + 'schema' => [ + 'title' => '水印类型'."\n" + .'PureWebappInvisible: 常规网页水印'."\n" + .'PureAppInvisible: 常规APP水印'."\n" + .'PureScreenInvisible: 常规屏幕水印'."\n" + .'AigcWebappInvisible: AIGC网页水印'."\n" + .'AigcAppInvisible: AIGCAPP水印'."\n" + .'AigcScreenInvisible: AIGC屏幕水印', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'enumValueTitles' => [ + 'AigcAppInvisible' => '', + 'PureWebappInvisible' => '', + 'AigcWebappInvisible' => '', + 'PureAppInvisible' => '', + 'PureScreenInvisible' => '', + 'AigcScreenInvisible' => '', + ], + 'example' => 'PureWebappInvisible', + 'enum' => [ + 'PureWebappInvisible', + 'PureAppInvisible', + 'PureScreenInvisible', + 'AigcWebappInvisible', + 'AigcAppInvisible', + 'AigcScreenInvisible', + ], + ], + ], + [ + 'name' => 'WmInfoSize', + 'in' => 'formData', + 'schema' => [ + 'title' => '水印信息的容量位宽,可用值为 32, 40, 64,不传时默认为32。非32时需显式指定。比如嵌入式使用的是 40 位的sdk,那么提取时也需要将该值设为 40。', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'enumValueTitles' => [ + 32 => '32', + 40 => '40', + 64 => '64', + ], + 'example' => '32', + ], + ], + [ + 'name' => 'WmInfoUint', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '12*****', + ], + ], + [ + 'name' => 'WmInfoBytesB64', + 'in' => 'formData', + 'schema' => [ + 'title' => 'base64 编码后的字符串格式水印信息 。若设置该值,则 wmInfoUint 参数不能设置。', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'aGVsbG8gc2F*****', + 'maxLength' => 400, + ], + ], + [ + 'name' => 'Scale', + 'in' => 'formData', + 'schema' => [ + 'title' => '水印图片的缩放比例。', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'maximum' => '3', + 'minimum' => '1', + 'example' => '1', + ], + ], + [ + 'name' => 'Width', + 'in' => 'formData', + 'schema' => [ + 'title' => '水印图片的宽度,单位为像素。取值范围为 [100, 5000]', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'maximum' => '10000', + 'minimum' => '100', + 'example' => '1920', + ], + ], + [ + 'name' => 'Height', + 'in' => 'formData', + 'schema' => [ + 'title' => '水印图片的高度,单位为像素。取值范围为 [100, 5000]', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'maximum' => '10000', + 'minimum' => '100', + 'example' => '1080', + ], + ], + [ + 'name' => 'Opacity', + 'in' => 'formData', + 'schema' => [ + 'title' => '水印图片的透明度。取值范围为 [1, 255]', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'maximum' => '255', + 'minimum' => '1', + 'example' => '255', + ], + ], + [ + 'name' => 'ImageControl', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'TextVisibleControl' => [ + 'type' => 'object', + 'properties' => [ + 'VisibleText' => [ + 'type' => 'string', + ], + 'Mode' => [ + 'type' => 'string', + ], + 'Opacity' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'FontSize' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'FontColor' => [ + 'type' => 'string', + ], + 'Angle' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'PosX' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'PosY' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'SpaceX' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'SpaceY' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'PosAx' => [ + 'type' => 'number', + 'format' => 'float', + ], + 'PosAy' => [ + 'type' => 'number', + 'format' => 'float', + ], + 'Visible' => [ + 'type' => 'boolean', + ], + 'Margin' => [ + 'type' => 'object', + 'properties' => [ + 'Top' => [ + 'type' => 'number', + 'format' => 'float', + ], + 'Right' => [ + 'type' => 'number', + 'format' => 'float', + ], + 'Bottom' => [ + 'type' => 'number', + 'format' => 'float', + ], + 'Left' => [ + 'type' => 'number', + 'format' => 'float', + ], + ], + ], + ], + ], + 'LogoVisibleControl' => [ + 'type' => 'object', + 'properties' => [ + 'Enhance' => [ + 'type' => 'boolean', + ], + 'LogoBase64' => [ + 'type' => 'string', + ], + 'Mode' => [ + 'type' => 'string', + ], + 'Opacity' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'Angle' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'PosX' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'PosY' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'SpaceX' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'SpaceY' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'PosAx' => [ + 'type' => 'number', + 'format' => 'float', + ], + 'PosAy' => [ + 'type' => 'number', + 'format' => 'float', + ], + 'Visible' => [ + 'type' => 'boolean', + ], + 'Margin' => [ + 'type' => 'object', + 'properties' => [ + 'Top' => [ + 'type' => 'number', + 'format' => 'float', + ], + 'Right' => [ + 'type' => 'number', + 'format' => 'float', + ], + 'Bottom' => [ + 'type' => 'number', + 'format' => 'float', + ], + 'Left' => [ + 'type' => 'number', + 'format' => 'float', + ], + ], + ], + ], + ], + ], + ], + ], + [ + 'name' => 'comment', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '58D6B23E-E5DA-5418-8F61-51A3B5A30049', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ImageId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'fafb432cdede9b20640e12105845386e-496883833-8242409229217337*****', + ], + 'ImageUrl' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'https://example.com/test-*****.png', + ], + 'ImageUrlExp' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '17185*****', + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"58D6B23E-E5DA-5418-8F61-51A3B5A30049\\",\\n \\"Data\\": {\\n \\"ImageId\\": \\"fafb432cdede9b20640e12105845386e-496883833-8242409229217337*****\\",\\n \\"ImageUrl\\": \\"https://example.com/test-*****.png\\",\\n \\"ImageUrlExp\\": 0\\n }\\n}","type":"json"}]', + ], + 'GetWmExtractTask' => [ + 'summary' => '查询文件水印提取任务详情', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '216135', + 'abilityTreeNodes' => [ + 'FEATUREcsas3KYQ7V', + ], + ], + 'parameters' => [ + [ + 'name' => 'TaskId', + 'in' => 'query', + 'schema' => [ + 'title' => '创建提取任务返回的 task id', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'wmt-9648c22d2eb2cb57bb855dcae7898464********', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '102350E7-1A20-58F5-9D63-ABEA820AE6E1', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'CreateTime' => [ + 'title' => '任务创建时间', + 'description' => '', + 'type' => 'string', + 'example' => '2024-01-01 11:22:33', + ], + 'TaskId' => [ + 'title' => '任务id', + 'description' => '', + 'type' => 'string', + 'example' => 'wmt-9648c22d2eb2cb57bb855dcae7898464********', + ], + 'Status' => [ + 'title' => '任务状态'."\n" + .'Running: 运行中'."\n" + .'Success: 任务执行成功'."\n" + .'Failed: 任务执行失败', + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Failed' => '', + 'Running' => '', + 'Success' => '', + ], + 'example' => 'Success', + 'enum' => [ + 'Running', + 'Success', + 'Failed', + ], + ], + 'Filename' => [ + 'title' => '创建提取任务时传入的文件名', + 'description' => '', + 'type' => 'string', + 'example' => 'test-****.pdf', + ], + 'WmType' => [ + 'title' => '创建提取任务时传入的水印类型', + 'description' => '', + 'type' => 'string', + 'example' => 'PureDocument', + ], + 'WmInfoSize' => [ + 'title' => '创建提取任务时传入的参数', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '32', + ], + 'WmInfoUint' => [ + 'title' => '提取得到的结果', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '123**', + ], + 'WmInfoBytesB64' => [ + 'title' => '提取得到的结果', + 'description' => '', + 'type' => 'string', + 'example' => 'aGVsbG8gc2Fz****', + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"102350E7-1A20-58F5-9D63-ABEA820AE6E1\\",\\n \\"Data\\": {\\n \\"CreateTime\\": \\"2024-01-01 11:22:33\\",\\n \\"TaskId\\": \\"wmt-9648c22d2eb2cb57bb855dcae7898464********\\",\\n \\"Status\\": \\"Success\\",\\n \\"Filename\\": \\"test-****.pdf\\",\\n \\"WmType\\": \\"PureDocument\\",\\n \\"WmInfoSize\\": 32,\\n \\"WmInfoUint\\": 0,\\n \\"WmInfoBytesB64\\": \\"aGVsbG8gc2Fz****\\"\\n }\\n}","type":"json"}]', + ], + 'GetWmEmbedTask' => [ + 'summary' => '查询嵌入水印任务', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '216126', + 'abilityTreeNodes' => [ + 'FEATUREcsas3KYQ7V', + ], + ], + 'parameters' => [ + [ + 'name' => 'TaskId', + 'in' => 'query', + 'schema' => [ + 'title' => '创建嵌入任务时得到的任务ID', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'job:5GfrJYsoaffmCE7Z5bZtjU********', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => 'D6707286-A50E-57B1-B2CF-EFAC59E850D8', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'TaskId' => [ + 'title' => '嵌入任务ID', + 'description' => '', + 'type' => 'string', + 'example' => 'job:5GfrJYsoaffmCE7Z5bZtjUxxxxxxxxxx', + ], + 'TaskStatus' => [ + 'title' => '任务状态'."\n" + .'Running: 运行中'."\n" + .'Success: 任务执行成功'."\n" + .'Failed: 任务执行失败'."\n", + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Failed' => '', + 'Running' => '', + 'Success' => '', + ], + 'example' => 'Success', + 'enum' => [ + 'Running', + 'Success', + 'Failed', + ], + ], + 'FileUrl' => [ + 'title' => '输入文件的下载 url', + 'description' => '', + 'type' => 'string', + 'example' => 'https://example.com/embed-****.pdf', + ], + 'FileUrlExp' => [ + 'title' => 'fileUrl 的过期时间,格式为 unix 时间戳,单位为秒', + 'description' => '', + 'type' => 'string', + 'example' => '171859****', + ], + 'Filename' => [ + 'title' => '输出文件的文件名', + 'description' => '', + 'type' => 'string', + 'example' => 'embed-****.pdf'."\n", + ], + 'OutFileHashMd5' => [ + 'title' => '输出文件的md5哈希,用于校验', + 'description' => '', + 'type' => 'string', + 'example' => 'd41d8cd98f00b204e9800998ecf8****', + ], + 'OutFileSize' => [ + 'title' => '输入文件的大小(单位为字节),用于校验', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '123**', + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D6707286-A50E-57B1-B2CF-EFAC59E850D8\\",\\n \\"Data\\": {\\n \\"TaskId\\": \\"job:5GfrJYsoaffmCE7Z5bZtjUxxxxxxxxxx\\",\\n \\"TaskStatus\\": \\"Success\\",\\n \\"FileUrl\\": \\"https://example.com/embed-****.pdf\\",\\n \\"FileUrlExp\\": \\"171859****\\",\\n \\"Filename\\": \\"embed-****.pdf\\\\n\\",\\n \\"OutFileHashMd5\\": \\"d41d8cd98f00b204e9800998ecf8****\\",\\n \\"OutFileSize\\": 0\\n }\\n}","type":"json"}]', + ], + 'CreateWmExtractTask' => [ + 'summary' => 'Creates a digital watermark extraction task.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '216136', + 'abilityTreeNodes' => [ + 'FEATUREcsas3KYQ7V', + ], + ], + 'parameters' => [ + [ + 'name' => 'WmType', + 'in' => 'formData', + 'schema' => [ + 'title' => '水印类型,枚举值:'."\n" + .'PureDocument: 常规文档水印'."\n" + .'PureWebappInvisible: 常规网页水印'."\n" + .'PureAppInvisible: 常规APP水印'."\n" + .'PureScreenInvisible: 常规屏幕水印'."\n" + .'PureImage: 常规图片水印'."\n" + .'PureAudio: 常规音频水印'."\n" + .'PureVideo: 常规视频水印'."\n" + .'AigcDocument: AIGC文档水印'."\n" + .'AigcWebappInvisible: AIGC网页水印'."\n" + .'AigcAppInvisible: AIGCAPP水印'."\n" + .'AigcScreenInvisible: AIGC屏幕水印'."\n" + .'AigcImage: AIGC图片水印'."\n" + .'AigcAudio: AIGC音频水印'."\n" + .'AigcVideo: AIGC视频水印', + 'description' => 'The watermark type. Valid values:'."\n" + ."\n" + .'* **PureWebappInvisible**: web page watermark'."\n" + .'* **PureAppInvisible**: app watermark'."\n" + .'* **PureScreenInvisible**: screen watermark'."\n" + .'* **PureDocument**: document watermark'."\n" + .'* **PureImage**: image watermark'."\n" + .'* **PureAudio**: audio watermark'."\n" + .'* **PureVideo**: video watermark'."\n" + .'* **AigcWebappInvisible**: artificial intelligence generated content (AIGC)-based webpage watermark'."\n" + .'* **AigcAppInvisible**: AIGC-based app watermark'."\n" + .'* **AigcScreenInvisible**: AIGC-based screen watermark'."\n" + .'* **AigcDocument**: AIGC-based document watermark'."\n" + .'* **AigcImage**: AIGC-based image watermark'."\n" + .'* **AigcAudio**: AIGC-based audio watermark'."\n" + .'* **AigcVideo**: AIGC-based video watermark'."\n", + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'enumValueTitles' => [ + 'PureImage' => '', + 'AigcAppInvisible' => '', + 'PureWebappInvisible' => '', + 'AigcAudio' => '', + 'PureDocument' => '', + 'PureAudio' => '', + 'AigcScreenInvisible' => '', + 'AigcVideo' => '', + 'AigcImage' => '', + 'AigcWebappInvisible' => '', + 'PureAppInvisible' => '', + 'PureScreenInvisible' => '', + 'PureVideo' => '', + ], + 'example' => 'PureDocument', + 'enum' => [ + 'PureWebappInvisible', + 'PureAppInvisible', + 'PureScreenInvisible', + 'PureImage', + 'PureAudio', + 'PureVideo', + 'AigcWebappInvisible', + 'AigcAppInvisible', + 'AigcScreenInvisible', + 'AigcImage', + 'AigcAudio', + 'AigcVideo', + 'PureDocument', + ], + ], + ], + [ + 'name' => 'IsClientEmbed', + 'in' => 'query', + 'schema' => [ + 'type' => 'boolean', + ], + ], + [ + 'name' => 'FileUrl', + 'in' => 'formData', + 'schema' => [ + 'title' => '可用于下载文件的 URL'."\n" + .'控制台调用时传递文件的 oss 路径', + 'description' => 'The URL used to download the file to be extracted. The URL must be accessible over the Internet.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'https://example.com/test-****.pdf', + ], + ], + [ + 'name' => 'Filename', + 'in' => 'formData', + 'schema' => [ + 'title' => '文件名,后端需要根据文件名的后缀判断校验文件类型', + 'description' => 'The name of the file to be extracted. The system needs to check the file type based on the file name extension.'."\n", + 'type' => 'string', + 'required' => true, + 'example' => 'test-****.pdf', + ], + ], + [ + 'name' => 'WmInfoSize', + 'in' => 'formData', + 'schema' => [ + 'title' => '水印信息的容量位宽,可用值为 32, 40, 64,不传时默认为32。非32时需显式指定。比如嵌入式使用的是 40 位的sdk,那么提取时也需要将该值设为 40。', + 'description' => 'The watermark information size. Default value: 32. You must keep the value of this parameter consistent for watermark embedding and watermark extraction. For example, if a 40-bit watermark is used for watermark embedding, you must set this parameter to 40 for watermark extraction.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'maximum' => '64', + 'minimum' => '32', + 'example' => '32', + ], + ], + [ + 'name' => 'VideoSpeed', + 'in' => 'formData', + 'schema' => [ + 'title' => '长视频水印参数:含义为视频倍速,浮点数字符串。默认1,代表添加水印时的采用倍速,或者添加水印之后,视频时间轴拉伸的倍速', + 'description' => 'The watermark parameter for long videos that specifies the video speed factor. The value can be a floating-point number or a string. Default value: 1. This parameter indicates the speed at which a watermark is added or the time-stretching rate for videos after a watermark is added.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'VideoIsLong', + 'in' => 'formData', + 'schema' => [ + 'title' => '视频水印参数:在嵌入视频水印时,通过该值控制使用使用长视频的SDK。默认为 false,此时会使用短视频的 SDK', + 'description' => 'The watermark parameter for videos that specifies whether to use the long video watermark SDK. Default value: false. Valid values:'."\n" + ."\n" + .'* **true**'."\n" + .'* **false**'."\n", + 'type' => 'boolean', + 'required' => false, + 'enumValueTitles' => [ + 'true' => '', + 'false' => '', + ], + 'example' => 'false', + ], + ], + [ + 'name' => 'DocumentIsCapture', + 'in' => 'formData', + 'schema' => [ + 'title' => '文档水印参数:当提取文档截图中的背景暗水印信息时将该参数设为true。默认为 false', + 'description' => 'The document watermark parameter that specifies whether the file to be extracted is a screenshot of a document with a background watermark added. The system determines whether to use the extraction logic for document background watermarks based on whether the file to be extracted is an image file. By default, you do not need to configure this parameter. Valid values:'."\n" + ."\n" + .'* **true**'."\n" + .'* **false**'."\n", + 'type' => 'boolean', + 'required' => false, + 'enumValueTitles' => [ + 'true' => '', + 'false' => '', + ], + 'example' => 'false', + ], + ], + [ + 'name' => 'CsvControl', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'description' => 'The CSV watermark control parameter. You must keep the value of this parameter consistent for watermark embedding and watermark extraction. Otherwise, the extraction fails.'."\n", + 'type' => 'object', + 'properties' => [ + 'Method' => [ + 'description' => 'The CSV watermark embedding method. You must keep the value of this parameter consistent for watermark embedding and watermark extraction. Otherwise, the extraction fails.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'lossless_row_shift_embed', + 'enum' => [ + 'lossless_row_shift_embed', + 'lossy_number_embed', + 'lossy_time_stamp_embed', + 'lossy_zero_width_embed', + ], + ], + 'EmbedColumn' => [ + 'description' => 'The lossy embedding control parameter that specifies columns to be modified You must keep the value of this parameter consistent for watermark embedding and watermark extraction. Otherwise, the extraction fails.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '1', + ], + 'EmbedPrecision' => [ + 'description' => 'The lossy embedding control parameter that specifies the modification precision. You must keep the value of this parameter consistent for watermark embedding and watermark extraction. Otherwise, the extraction fails.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '0', + ], + 'EmbedTimePosition' => [ + 'title' => '嵌入位置,枚举值。需要和嵌入时的参数保持一致'."\n", + 'description' => 'The timestamp watermark parameter that specifies the embedding position of the timestamp watermarks. You must keep the value of this parameter consistent for watermark embedding and watermark extraction. Otherwise, the extraction fails.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'Min', + 'enum' => [ + 'Min', + 'Sec', + 'MilSec', + ], + ], + 'EmbedBitsNumberInEachTime' => [ + 'title' => '时间戳信息位宽,需要和嵌入时保持一致。', + 'description' => 'The timestamp watermark parameter that specifies how much information a single timestamp holds. You must keep the value of this parameter consistent for watermark embedding and watermark extraction. Otherwise, the extraction fails.'."\n", + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'maximum' => '4', + 'minimum' => '1', + 'example' => '1', + ], + 'TimeFormat' => [ + 'title' => '时间戳的格式,需要和嵌入时保持一致。', + 'description' => 'The timestamp watermark parameter that specifies the timestamp format. You must keep the value of this parameter consistent for watermark embedding and watermark extraction. Otherwise, the extraction fails.'."\n", + 'type' => 'string', + 'required' => false, + 'example' => 'Year-Mon-Day Hour:Min:Sec.MilSec', + ], + ], + 'required' => false, + ], + ], + [ + 'name' => 'ImageExtractParamsOpenApi', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'SrcLogoBase64' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'The ID of the request.'."\n", + 'type' => 'string', + 'example' => 'D6707286-A50E-57B1-B2CF-EFAC59E850D8', + ], + 'Data' => [ + 'description' => 'The information about the watermark extraction task.'."\n", + 'type' => 'object', + 'properties' => [ + 'TaskId' => [ + 'title' => 'task id, 用于查询任务结果', + 'description' => 'The task ID. You can use task IDs to query task results.'."\n", + 'type' => 'string', + 'example' => 'wmt-9648c22d2eb2cb57bb855dcae7898464********', + ], + ], + ], + ], + 'description' => '', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D6707286-A50E-57B1-B2CF-EFAC59E850D8\\",\\n \\"Data\\": {\\n \\"TaskId\\": \\"wmt-9648c22d2eb2cb57bb855dcae7898464********\\"\\n }\\n}","type":"json"}]', + 'title' => 'CreateWmExtractTask', + ], + 'CreateWmEmbedTask' => [ + 'summary' => '创建嵌入水印任务', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '216120', + 'abilityTreeNodes' => [ + 'FEATUREcsas3KYQ7V', + ], + ], + 'parameters' => [ + [ + 'name' => 'WmType', + 'in' => 'formData', + 'schema' => [ + 'title' => '水印类型'."\n" + .'PureDocument: 常规文档水印'."\n" + .'PureImage: 常规图片水印'."\n" + .'PureAudio: 常规音频水印'."\n" + .'PureVideo: 常规视频水印'."\n" + .'AigcDocument: AIGC文档水印'."\n" + .'AigcImage: AIGC图片水印'."\n" + .'AigcAudio: AIGC音频水印'."\n" + .'AigcVideo: AIGC视频水印', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'enumValueTitles' => [ + 'PureImage' => '', + 'AigcImage' => '', + 'AigcAudio' => '', + 'PureDocument' => '', + 'PureAudio' => '', + 'PureVideo' => '', + 'AigcDocument' => '', + 'AigcVideo' => '', + ], + 'example' => 'PureDocument', + 'enum' => [ + 'PureDocument', + 'PureImage', + 'PureAudio', + 'PureVideo', + 'AigcDocument', + 'AigcImage', + 'AigcAudio', + 'AigcVideo', + ], + ], + ], + [ + 'name' => 'Filename', + 'in' => 'formData', + 'schema' => [ + 'title' => '文件名,后端需要根据文件名的后缀判断校验文件类型', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'abc****.pdf', + ], + ], + [ + 'name' => 'FileUrl', + 'in' => 'formData', + 'schema' => [ + 'title' => '可用于下载文件的 URL'."\n" + .'控制台调用时传递文件的 oss 路径', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'https://example.com/abc****.pdf', + ], + ], + [ + 'name' => 'WmInfoSize', + 'in' => 'formData', + 'schema' => [ + 'title' => '水印信息的容量位宽,可用值为 32, 40, 64,不传时默认为32。非32时需显式指定。比如嵌入式使用的是 40 位的sdk,那么提取时也需要将该值设为 40。', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'maximum' => '64', + 'minimum' => '32', + 'enumValueTitles' => [ + 32 => '32', + 40 => '40', + 64 => '64', + ], + 'example' => '32', + ], + ], + [ + 'name' => 'WmInfoUint', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '123***', + ], + ], + [ + 'name' => 'WmInfoBytesB64', + 'in' => 'formData', + 'schema' => [ + 'title' => 'base64 编码后的字符串格式水印信息 。若设置该值,则 wmInfoUint 不能设置。', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'aGVsbG8gc2F*****', + 'maxLength' => 400, + ], + ], + [ + 'name' => 'VideoIsLong', + 'in' => 'formData', + 'schema' => [ + 'title' => '视频水印参数:默认为 false,此时会使用短视频的 SDK,设为true时会使用使用长视频的SDK', + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'enumValueTitles' => [ + 'true' => '', + 'false' => '', + ], + 'example' => 'false', + ], + ], + [ + 'name' => 'VideoBitrate', + 'in' => 'formData', + 'schema' => [ + 'title' => '短视频水印参数,含义为视频的比特率(bitrate),短视频时必须设置该参数。', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '3000k', + ], + ], + [ + 'name' => 'ImageEmbedLevel', + 'in' => 'formData', + 'schema' => [ + 'title' => '图像水印参数:取值范围为 [0, 4],默认值为 2。更大的值意味着更高的鲁棒性,但是视觉质量会下降。', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '2', + ], + ], + [ + 'name' => 'ImageEmbedJpegQuality', + 'in' => 'formData', + 'schema' => [ + 'title' => '图像水印参数:期望的输出图像jpeg压缩质量因子,取值范围 [1, 100],默认值 95', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '95', + ], + ], + [ + 'name' => 'InvisibleEnable', + 'in' => 'formData', + 'allowEmptyValue' => false, + 'schema' => [ + 'type' => 'boolean', + 'default' => 'true', + ], + ], + [ + 'name' => 'DocumentControl', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'InvisibleAntiTextCopy' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'enumValueTitles' => [ + 'true' => '', + 'false' => '', + ], + 'example' => 'true', + ], + 'InvisibleAntiAllCopy' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'enumValueTitles' => [ + 'true' => '', + 'false' => '', + ], + 'example' => 'true', + ], + 'BackgroundControl' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'BgAddVisible' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + 'BgVisibleControl' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'VisibleText' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'hello ****', + 'maxLength' => 1000, + ], + 'Mode' => [ + 'title' => '', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'pos', + 'enum' => [ + 'repeat', + 'pos', + ], + ], + 'FontSize' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'maximum' => '200', + 'example' => '30', + ], + 'FontColor' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '0x000000', + 'pattern' => '^0[xX][0-9a-fA-F]{6}$', + ], + 'Angle' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'maximum' => '360', + 'minimum' => '0', + 'example' => '30', + ], + 'PosX' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '0.5', + 'pattern' => '^[\\d.]+$', + ], + 'PosY' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '0.5', + 'pattern' => '^[\\d.]+$', + ], + 'HorizontalNumber' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'maximum' => '200', + 'example' => '3', + ], + 'VerticalNumber' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'maximum' => '200', + 'example' => '3', + ], + 'Opacity' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'maximum' => '255', + 'minimum' => '1', + 'example' => '100', + ], + ], + 'required' => false, + ], + 'BgAddInvisible' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'enumValueTitles' => [ + 'true' => '', + 'false' => '', + ], + 'example' => 'true', + ], + 'BgInvisibleControl' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Opacity' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'maximum' => '255', + 'minimum' => '1', + 'example' => '10', + ], + ], + 'required' => false, + ], + ], + 'required' => false, + ], + ], + 'required' => false, + ], + ], + [ + 'name' => 'CsvControl', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Method' => [ + 'type' => 'string', + 'enum' => [ + 'lossless_row_shift_embed', + 'lossy_number_embed', + 'lossy_time_stamp_embed', + 'lossy_zero_width_embed', + ], + ], + 'EmbedColumn' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'EmbedPrecision' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'EmbedTimePosition' => [ + 'title' => '时间戳水印参数。水印嵌入位置。可以为Min(分)、Sec(秒)、MilSec(毫秒),三者选一个填入,选择哪个,则算法修改哪个位置的数据。', + 'type' => 'string', + 'enum' => [ + 'Min', + 'Sec', + 'MilSec', + ], + ], + 'TimeFormat' => [ + 'title' => '时间戳水印参数。解析csv文件中时间戳的格式字符串。若csv文件中的时间戳类似“2023-10-15 13:20:59:342”,则对应的格式字符串为“Year-Mon-Day Hour:Min:Sec.MilSec”,则这里要填“Year-Mon-Day Hour:Min:Sec.MilSec”,水印嵌入后依然按照此格式输出,一旦填错则该方法无法使用。格式字符串中的年、月、日、时、分、秒、毫秒必须按照上述写法填写,连接符为英文非字符的单连接符,一般可以是“:”“/”“-”“ ”(空格),额外支持“T”“Z”为连接符。其他形式的时间格式目前不支持解析。 ', + 'type' => 'string', + ], + 'EmbedBitsNumberInEachTime' => [ + 'title' => '时间戳水印信息位宽。指定单个时间戳容纳多少信息,这个数越大,提取信息需要的行数理论上越少,但是修改的时间幅度变大,幅度范围是2的n次方,n为此参数值。', + 'type' => 'integer', + 'format' => 'int64', + 'maximum' => '4', + 'minimum' => '1', + ], + 'EmbedDensity' => [ + 'title' => '零宽字符水印参数。嵌入密度,取值在0~1之间的浮点数,0为仅嵌入第一行内容,1为所有行均嵌入。', + 'type' => 'string', + ], + ], + ], + ], + [ + 'name' => 'ImageControl', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'TextVisibleControl' => [ + 'type' => 'object', + 'properties' => [ + 'VisibleText' => [ + 'type' => 'string', + ], + 'Mode' => [ + 'type' => 'string', + ], + 'Opacity' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'FontSize' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'FontColor' => [ + 'type' => 'string', + ], + 'Angle' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'PosX' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'PosY' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'SpaceX' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'SpaceY' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'PosAx' => [ + 'type' => 'number', + 'format' => 'float', + ], + 'PosAy' => [ + 'type' => 'number', + 'format' => 'float', + ], + 'Visible' => [ + 'type' => 'boolean', + ], + 'Margin' => [ + 'type' => 'object', + 'properties' => [ + 'Top' => [ + 'type' => 'number', + 'format' => 'float', + ], + 'Right' => [ + 'type' => 'number', + 'format' => 'float', + ], + 'Bottom' => [ + 'type' => 'number', + 'format' => 'float', + ], + 'Left' => [ + 'type' => 'number', + 'format' => 'float', + ], + ], + ], + ], + ], + 'LogoVisibleControl' => [ + 'type' => 'object', + 'properties' => [ + 'Enhance' => [ + 'type' => 'boolean', + ], + 'LogoBase64' => [ + 'type' => 'string', + ], + 'Mode' => [ + 'type' => 'string', + ], + 'Opacity' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'Angle' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'PosX' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'PosY' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'SpaceX' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'SpaceY' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'PosAx' => [ + 'type' => 'number', + 'format' => 'float', + ], + 'PosAy' => [ + 'type' => 'number', + 'format' => 'float', + ], + 'Visible' => [ + 'type' => 'boolean', + ], + 'Margin' => [ + 'type' => 'object', + 'properties' => [ + 'Top' => [ + 'type' => 'number', + 'format' => 'float', + ], + 'Right' => [ + 'type' => 'number', + 'format' => 'float', + ], + 'Bottom' => [ + 'type' => 'number', + 'format' => 'float', + ], + 'Left' => [ + 'type' => 'number', + 'format' => 'float', + ], + ], + ], + ], + ], + 'MetadataControl' => [ + 'type' => 'object', + 'properties' => [ + 'XmpKvBase64' => [ + 'type' => 'string', + ], + 'Enable' => [ + 'type' => 'boolean', + ], + ], + ], + ], + ], + ], + [ + 'name' => 'VideoControl', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'TextVisibleControl' => [ + 'type' => 'object', + 'properties' => [ + 'VisibleText' => [ + 'type' => 'string', + ], + 'Mode' => [ + 'type' => 'string', + 'enum' => [ + 'pos', + 'bottom-right', + ], + ], + 'Opacity' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'FontSize' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'FontColor' => [ + 'type' => 'string', + ], + 'PosX' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'PosY' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'Visible' => [ + 'type' => 'boolean', + ], + 'Margin' => [ + 'type' => 'object', + 'properties' => [ + 'Bottom' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'Right' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + ], + ], + ], + ], + 'MetadataControl' => [ + 'type' => 'object', + 'properties' => [ + 'XmpKvBase64' => [ + 'type' => 'string', + ], + 'Enable' => [ + 'type' => 'boolean', + ], + ], + ], + ], + ], + ], + [ + 'name' => 'AudioControl', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'MetadataControl' => [ + 'type' => 'object', + 'properties' => [ + 'XmpKvBase64' => [ + 'type' => 'string', + ], + 'Enable' => [ + 'type' => 'boolean', + ], + ], + ], + ], + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => 'BE4FB974-11BC-5453-9BE1-1606A73EACA6', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'TaskId' => [ + 'title' => '嵌入任务ID', + 'description' => '', + 'type' => 'string', + 'example' => 'job:5GfrJYsoaffmCE7Z5bZtjUefzxfd****', + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BE4FB974-11BC-5453-9BE1-1606A73EACA6\\",\\n \\"Data\\": {\\n \\"TaskId\\": \\"job:5GfrJYsoaffmCE7Z5bZtjUefzxfd****\\"\\n }\\n}","type":"json"}]', + ], + 'RevokeUserSession' => [ + 'summary' => '吊销用户登录会话', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => true, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '224559', + 'abilityTreeNodes' => [ + 'FEATUREcsas62O8LY', + ], + ], + 'parameters' => [ + [ + 'name' => 'IdpId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'idp-cfg9vcrqylo39c39uxnw', + ], + ], + [ + 'name' => 'ExternalIds', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '12345678', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => 'D6707286-A50E-57B1-B2CF-EFAC59E850D8', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'noSubstitutionReason' => '暂无替代API,请关注后续API最新发布。', + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D6707286-A50E-57B1-B2CF-EFAC59E850D8\\"\\n}","type":"json"}]', + ], + 'ListPopTrafficStatistics' => [ + 'summary' => 'pop节点流量统计', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREcsas62O8LY', + ], + ], + 'parameters' => [ + [ + 'name' => 'Region', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '1681035708', + ], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '1681293719', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request', + 'type' => 'string', + 'example' => 'EFE7EBB2-449D-5BBB-B381-CA7839BC1649', + ], + 'TrafficData' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'MetricName' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'InternetTx' => 'InternetTx', + 'InternetRx' => 'InternetRx', + ], + 'example' => 'InternetTx', + ], + 'Datapoints' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'DateTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2023-12-06 15:29:00', + ], + 'Average' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'double', + 'example' => '15325', + ], + ], + ], + ], + ], + ], + ], + ], + 'enumValueTitles' => [], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"EFE7EBB2-449D-5BBB-B381-CA7839BC1649\\",\\n \\"TrafficData\\": [\\n {\\n \\"MetricName\\": \\"InternetTx\\",\\n \\"Datapoints\\": [\\n {\\n \\"DateTime\\": \\"2023-12-06 15:29:00\\",\\n \\"Average\\": 15325\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', + ], + 'DeleteOtpConfig' => [ + 'summary' => 'DeleteOtpConfig', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREcsas62O8LY', + ], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'Username', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '54A4055A-343D-583E-9EAC-D12231148A68', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"54A4055A-343D-583E-9EAC-D12231148A68\\"\\n}","type":"json"}]', + ], + ], + 'endpoints' => [ + [ + 'regionId' => 'public', + 'endpoint' => 'csas.aliyuncs.com', + ], + [ + 'regionId' => 'cn-hangzhou', + 'endpoint' => 'csas.aliyuncs.com', + ], + ], +]; |
