summaryrefslogtreecommitdiff
path: root/data/zh_cn/xtee/2021-09-10
diff options
context:
space:
mode:
authorZhineng Li <im@zhineng.li>2026-07-12 17:11:17 +0800
committerZhineng Li <im@zhineng.li>2026-07-12 17:11:17 +0800
commit1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634 (patch)
tree5f0857666365b7e40cdaa3733ebe1f3ba9e13c67 /data/zh_cn/xtee/2021-09-10
parent7347bac4ab7e136157fc94777e6cf87ef9e08599 (diff)
downloadafterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.tar.gz
afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.zip
update APIs 20260712
Diffstat (limited to 'data/zh_cn/xtee/2021-09-10')
-rw-r--r--data/zh_cn/xtee/2021-09-10/api-docs.php52171
1 files changed, 22593 insertions, 29578 deletions
diff --git a/data/zh_cn/xtee/2021-09-10/api-docs.php b/data/zh_cn/xtee/2021-09-10/api-docs.php
index a94904f..97304f2 100644
--- a/data/zh_cn/xtee/2021-09-10/api-docs.php
+++ b/data/zh_cn/xtee/2021-09-10/api-docs.php
@@ -1,10 +1,6 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'RPC',
- 'product' => 'xtee',
- 'version' => '2021-09-10',
- ],
+ 'info' => ['style' => 'RPC', 'product' => 'xtee', 'version' => '2021-09-10'],
'directories' => [
'RecallRuleAudit',
'DescribeAuditDetails',
@@ -45,7 +41,6 @@
'DeleteAnalysisConditionFavorite',
'DescribeAdvanceSearchPageList',
'DescribeAnalysisColumnFieldList',
- 'DescribeAnalysisColumnFieldList',
'DescribeAnalysisColumnList',
'DescribeAnalysisConditionFavoriteList',
'DescribeAnalysisExportTaskDownloadUrl',
@@ -62,7 +57,6 @@
'DescribeAuthScenePageList',
'QueryAuthRuleDetailByRuleId',
'UpdateAuthRule',
- 'UpdateAuthRule',
'DescribeHitRuleTrend',
'DescribeDecisionResultTrend',
'DescribeHighRiskPieChart',
@@ -107,7 +101,6 @@
'DescribeOssToken',
'DescribeApiVariable',
'DescribeSampleInfo',
- 'DescribeSampleInfo',
'DescribeSampleTagList',
'DescribeMarkPage',
'DescribeGroupTrend',
@@ -170,7 +163,6 @@
'DescribeAuthEventNameList',
'CreateAppKey',
'DescribeRequestHit',
- 'DescribeRequestHit',
'DescribeAllEventNameAndCode',
'CreateEvent',
'DescribeSafDeOrder',
@@ -236,645 +228,334 @@
'DescribeNameListPageList',
'DescribeNameListTypeList',
'DescribeNameListDownloadUrl',
- 'DescribeNameListDownloadUrl',
'DescribePrivateStack',
'DescribeSceneEventPageList',
'DescribeSceneAllEventNameCodeList',
'DescribeSceneRulePageList',
[
- 'id' => 244866,
- 'title' => '其他',
- 'type' => 'directory',
'children' => [
- 'CreateSampleApi',
- 'DescribeOperatorListByScene',
- 'DescribeEventVariableTemplateList',
- 'DescribeInputFeildCountByEventCode',
+ 'CreateSampleApi', 'DescribeOperatorListByScene', 'DescribeEventVariableTemplateList', 'DescribeInputFeildCountByEventCode', 'AddSampleDataByCsv', 'AddSampleDataByText', 'BatchDeleteSampleData', 'CancelSubTask', 'CheckCopyRuleVariable', 'CheckSampleName', 'CheckTaskGroupName', 'CompareCopyRuleVariable', 'CompareRule', 'CreateForeignPocSample', 'CreateModel', 'CreatePocSample', 'CreateSampleBatch', 'CreateTaskGroup', 'DeepCopyRule', 'DeleteEventField',
+ 'DeleteSample', 'DeleteSampleBatchMeta', 'DeleteSelfBindVariable', 'DescribeExpressionVariableVersionDetail', 'DescribeInitDig', 'DescribeListModel', 'DescribeModelDetailsById', 'DescribeModelOssPolicy', 'DescribeOperationLogMonitoring', 'DescribePocOssToken', 'DescribeRiskTagsLineChart', 'DescribeSampleBatchOssPolicy', 'DescribeSampleDataByBatchUUidPage', 'DescribeSampleDataPage', 'DescribeSamplebatchPage', 'DescribeScoreList', 'DescribeServiceCodeName', 'DescribeTagsList', 'DescribeTaskList', 'DescribeTemplateCount',
+ 'DescribeVariableVersionDetail', 'DescribeVersionPageList', 'DownloadSampleFile', 'DownloadSmapleBatch', 'DownloadSubTaskResult', 'GetSampleDetail', 'GetSubTaskResult', 'ImportField', 'ListSample', 'ListTaskGroup', 'ListVariableDefine', 'MergeDownload', 'ModelDelete', 'ModelFileUpload', 'ModelIsUsing', 'ModelNameIsDuplication', 'ModelSampleDownload', 'PocCreateTask', 'PocGetDownloadUrl', 'PocGetToken',
+ 'PocSendData', 'SearchSample', 'UploadFileCheck', 'UploadForeignSampleFile', 'UploadSampleFile',
],
- ],
- [
- 'id' => 0,
- 'title' => '其它',
'type' => 'directory',
- 'children' => [
- 'DescribeTaskList',
- 'DescribePocOssToken',
- 'DescribeTagsList',
- 'DescribeTagsList',
- 'DescribeTemplateCount',
- 'DescribeScoreList',
- 'DescribeServiceCodeName',
- 'PocCreateTask',
- 'PocGetToken',
- 'PocSendData',
- 'DescribeModelDetailsById',
- 'CreateModel',
- 'ModelNameIsDuplication',
- 'ModelNameIsDuplication',
- 'ModelIsUsing',
- 'ModelFileUpload',
- 'ModelFileUpload',
- 'ModelDelete',
- 'DescribeListModel',
- 'ModelSampleDownload',
- 'DescribeModelOssPolicy',
- 'DescribeModelOssPolicy',
- 'PocGetDownloadUrl',
- 'DescribeRiskTagsLineChart',
- 'ImportField',
- 'DescribeInitDig',
- 'CompareCopyRuleVariable',
- 'DeepCopyRule',
- 'CheckCopyRuleVariable',
- 'AddSampleDataByCsv',
- 'DeleteSampleBatchMeta',
- 'DescribeSampleDataByBatchUUidPage',
- 'DownloadSmapleBatch',
- 'DescribeSampleDataPage',
- 'DescribeSamplebatchPage',
- 'BatchDeleteSampleData',
- 'UploadFileCheck',
- 'AddSampleDataByText',
- 'DescribeSampleBatchOssPolicy',
- 'CreateSampleBatch',
- 'DeleteSelfBindVariable',
- 'ListVariableDefine',
- 'DeleteEventField',
- 'DescribeOperationLogMonitoring',
- 'DescribeVersionPageList',
- 'CompareRule',
- 'DescribeExpressionVariableVersionDetail',
- 'DescribeVariableVersionDetail',
- ],
+ 'title' => '其他',
+ 'id' => 164083,
],
],
'components' => [
'schemas' => [],
],
'apis' => [
- 'RecallRuleAudit' => [
- 'summary' => '撤回审核。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'AddSampleDataByCsv' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
+ 'name' => 'Lang',
+ 'in' => 'query',
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'],
+ ],
+ [
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [],
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'id',
+ 'name' => 'sampleBatchUuid',
'in' => 'query',
- 'schema' => [
- 'description' => '主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '样本UUID。', 'type' => 'string', 'required' => false, 'example' => '1806507582222226_saf_sample_split_coupon_abuse_saf_sample_split_mobile_saf_sample_split_pass'],
+ ],
+ [
+ 'name' => 'ossFileName',
+ 'in' => 'query',
+ 'schema' => ['description' => '上传的oss地址。', 'type' => 'string', 'required' => false, 'example' => 'saf/path/test.csv'],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'resultObject' => [
- 'description' => '返回对象。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'requestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '4C7DC1C8-557F-5483-9E96-74D77A15EEB5',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"requestId\\": \\"4C7DC1C8-557F-5483-9E96-74D77A15EEB5\\"\\n}","type":"json"}]',
- 'title' => '撤回审核',
- ],
- 'DescribeAuditDetails' => [
- 'summary' => '审批详情。',
- 'methods' => [
- 'post',
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '样本批通过csv增加数据',
+ 'summary' => '样本批通过csv增加数据',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '2000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddSampleDataByCsv'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:AddSampleDataByCsv',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => 'SampleBatch', 'arn' => 'acs:yundun-saf::{#accountId}:samplebatch/{#SampleBatchId}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'AddSampleDataByText' => [
+ 'summary' => '样本通过文本框新增名单数据',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'id',
+ 'name' => 'sampleBatchUuid',
'in' => 'query',
- 'schema' => [
- 'description' => '主键id。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '2557',
- ],
+ 'schema' => ['description' => '样本UUID。', 'type' => 'string', 'required' => false, 'example' => '1806507582222226'."\n"
+ .'_saf_sample_split_coupon_abuse_saf_sample_split_mobile_saf_sample_split_pass'],
+ ],
+ [
+ 'name' => 'dataValue',
+ 'in' => 'query',
+ 'schema' => ['description' => '名单数据。', 'type' => 'string', 'required' => false, 'example' => 'testA \\n testB'],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'success' => [
- 'description' => '调用是否成功。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'code' => [
- 'description' => '状态码。',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'message' => [
- 'description' => '错误信息。',
- 'type' => 'string',
- 'example' => 'The input parameter data is not valid. order_storage_company_num component not found',
- ],
- 'httpStatusCode' => [
- 'description' => 'HTTP状态码。',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'resultObject' => [
- 'description' => '返回对象。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"success\\": true,\\n \\"code\\": \\"200\\",\\n \\"message\\": \\"The input parameter data is not valid. order_storage_company_num component not found\\",\\n \\"httpStatusCode\\": \\"200\\",\\n \\"resultObject\\": true\\n}","type":"json"}]',
- 'title' => '审核详情',
- ],
- 'ModifyRulePriority' => [
- 'summary' => '策略修改优先级。',
- 'methods' => [
- 'post',
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '样本批通过TEXT增加数据',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '2000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddSampleDataByText'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:AddSampleDataByText',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => 'SampleBatch', 'arn' => 'acs:yundun-saf::{#accountId}:samplebatch/{#SampleBatchId}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'BatchDeleteSampleData' => [
+ 'summary' => '批量删除样本名单数据。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '接口返回错误信息语言。取值:zh:中文; en:英文。 默认为en。', 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'ruleId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '策略ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '101796',
- ],
- ],
- [
- 'name' => 'consoleRuleId',
+ 'name' => 'uuids',
'in' => 'query',
- 'schema' => [
- 'description' => '策略主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '3581',
- ],
- ],
- [
- 'name' => 'priority',
- 'in' => 'query',
- 'schema' => [
- 'description' => '策略优先级,数字越大优先级越高。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => 'uuid。', 'type' => 'string', 'required' => false, 'example' => '89cd3e44cd2f4a529fb020f3bab3ee1c'],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'resultObject' => [
- 'description' => '返回对象。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'requestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\"\\n}","type":"json"}]',
- 'title' => '修改策略优先级',
- ],
- 'UpdateRule' => [
- 'summary' => '更新策略。',
- 'methods' => [
- 'post',
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '批量删除样本名单数据',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '2000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'BatchDeleteSampleData'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:BatchDeleteSampleData',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'BindVariable' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
- 'systemTags' => [
- 'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREsafBCGX2Z',
- ],
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n"
+ .'。', 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'ruleName',
+ 'name' => 'defineId',
'in' => 'query',
- 'schema' => [
- 'description' => '策略名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '分析中心事件测试_策略01',
- ],
+ 'schema' => ['description' => '关联变量定义主键id。', 'type' => 'string', 'required' => false, 'example' => '2438'],
],
[
- 'name' => 'ruleStatus',
+ 'name' => 'id',
'in' => 'query',
- 'schema' => [
- 'description' => '策略状态。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'RUNNING',
- ],
+ 'schema' => ['description' => '变量主键id。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '106875'],
],
[
- 'name' => 'memo',
+ 'name' => 'eventCode',
'in' => 'query',
- 'schema' => [
- 'description' => '描述。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '备注',
- ],
+ 'schema' => ['description' => '事件编码。', 'type' => 'string', 'required' => true, 'example' => 'de_agbzfi5134'],
],
[
- 'name' => 'eventCode',
+ 'name' => 'title',
'in' => 'query',
- 'schema' => [
- 'description' => '事件编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'de_agdxgz0246',
- ],
+ 'schema' => ['description' => '标题。', 'type' => 'string', 'required' => true, 'example' => '变量title'],
],
[
- 'name' => 'ruleExpressions',
+ 'name' => 'params',
'in' => 'query',
- 'schema' => [
- 'description' => '策略表达式。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[{\\"expressionName\\":\\"手机号MD5命中人脸测试名单\\",\\"itemId\\":1,\\"left\\":{\\"name\\":\\"mobileMd5\\"},\\"operatorCode\\":\\"deInNameList\\",\\"operatorName\\":\\"在名单中\\",\\"right\\":{\\"fieldValue\\":\\"nl_5tolf69W138c\\"}}]',
- ],
+ 'schema' => ['description' => '绑定入参参数信息。', 'type' => 'string', 'required' => false, 'example' => '{"accountId":"accountId","mobile":""}'],
],
[
- 'name' => 'logicExpression',
+ 'name' => 'description',
'in' => 'query',
- 'schema' => [
- 'description' => '执行逻辑。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1&2',
- ],
+ 'schema' => ['description' => '描述信息。', 'type' => 'string', 'required' => false, 'example' => '变量描述'],
],
[
- 'name' => 'ruleActions',
+ 'name' => 'apiType',
'in' => 'query',
- 'schema' => [
- 'description' => '输出动作。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[{\\"inputs\\":[\\"rn0301\\"],\\"name\\":\\"__addDeTags__\\",\\"actionType\\":\\"TAG\\",\\"outputType\\":\\"const\\"}]',
- ],
+ 'schema' => ['description' => 'api类型。', 'type' => 'string', 'required' => false, 'example' => 'SELF'],
],
[
- 'name' => 'regId',
+ 'name' => 'sourceType',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '变量来源。', 'type' => 'string', 'required' => false, 'example' => 'SAF'],
],
[
- 'name' => 'consoleRuleId',
+ 'name' => 'apiRegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '策略主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '6843',
- ],
+ 'schema' => ['description' => 'api地域id。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'ruleId',
+ 'name' => 'outputField',
+ 'in' => 'query',
+ 'schema' => ['description' => '输出字段路径。', 'type' => 'string', 'required' => false, 'example' => 'BOOLEAN'],
+ ],
+ [
+ 'name' => 'outputType',
'in' => 'query',
'schema' => [
- 'description' => '策略ID。',
+ 'description' => '输出类型。',
'type' => 'string',
'required' => false,
- 'example' => '102224',
+ 'enumValueTitles' => ['DATE' => 'DATE', 'ENUM' => 'ENUM', 'STRING' => 'STRING', 'DOUBLE' => 'DOUBLE', 'INT' => 'INT', 'BOOLEAN' => 'BOOLEAN', 'LONG' => 'LONG'],
+ 'example' => 'STRING',
],
],
[
- 'name' => 'ruleVersionId',
+ 'name' => 'exceptionValue',
'in' => 'query',
- 'schema' => [
- 'description' => '策略版本号主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '11519',
- ],
+ 'schema' => ['description' => '异常值。', 'type' => 'string', 'required' => false, 'example' => 'SYS_ERROR'],
],
[
- 'name' => 'ruleBody',
+ 'name' => 'paramsList',
'in' => 'query',
- 'schema' => [
- 'description' => 'DSL策略表达式。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{'."\n"
- .' "elseIfStatement": ['."\n"
- .' {'."\n"
- .' "condition": {'."\n"
- .' "currentId": 0,'."\n"
- .' "deepCount": 1,'."\n"
- .' "list": ['."\n"
- .' {'."\n"
- .' "currentId": 0,'."\n"
- .' "deepCount": 1,'."\n"
- .' "left": {'."\n"
- .' "code": "getLbsRegion(longitude, latitude)?.prov",'."\n"
- .' "description": "根据经纬度得到省份信息,比如经度:111.878062,纬度:22.585409,则经过运算,输出”广东省“",'."\n"
- .' "displayType": "SELF_BIND",'."\n"
- .' "fieldType": "STRING",'."\n"
- .' "functionCode": "",'."\n"
- .' "functionName": "",'."\n"
- .' "hasRightVariable": true,'."\n"
- .' "name": "sl_S02sHLFT7818",'."\n"
- .' "outputThreshold": {'."\n"
- ."\n"
- .' },'."\n"
- .' "sourceType": "SAF",'."\n"
- .' "title": "经纬度自定义系统变量",'."\n"
- .' "type": "SELF_BIND"'."\n"
- .' },'."\n"
- .' "operatorCode": "equals",'."\n"
- .' "operatorName": "等于",'."\n"
- .' "parentId": 0,'."\n"
- .' "right": {'."\n"
- .' "name": "v",'."\n"
- .' "rightVariableType": "constant"'."\n"
- .' },'."\n"
- .' "sequence": 2'."\n"
- .' },'."\n"
- .' {'."\n"
- .' "currentId": 0,'."\n"
- .' "deepCount": 1,'."\n"
- .' "list": ['."\n"
- .' {'."\n"
- .' "currentId": 0,'."\n"
- .' "deepCount": 1,'."\n"
- .' "left": {'."\n"
- .' "code": "deReadVelocity(userId,"hK1DMAp1d97",1,"H",0,true,"COUNT")",'."\n"
- .' "description": "测试系统变量累计",'."\n"
- .' "displayType": "SELF_BIND",'."\n"
- .' "fieldType": "DOUBLE",'."\n"
- .' "functionCode": "",'."\n"
- .' "functionName": "",'."\n"
- .' "hasRightVariable": true,'."\n"
- .' "name": "hK1DMAp1d97",'."\n"
- .' "outputThreshold": {'."\n"
- ."\n"
- .' },'."\n"
- .' "sourceType": "SAF_SELF",'."\n"
- .' "title": "测试系统变量累计",'."\n"
- .' "type": "SELF_BIND"'."\n"
- .' },'."\n"
- .' "operatorCode": "equals",'."\n"
- .' "operatorName": "等于",'."\n"
- .' "parentId": 0,'."\n"
- .' "right": {'."\n"
- .' "name": "a",'."\n"
- .' "rightVariableType": "constant"'."\n"
- .' },'."\n"
- .' "sequence": 3'."\n"
- .' }'."\n"
- .' ],'."\n"
- .' "parentId": 0,'."\n"
- .' "relationship": "and"'."\n"
- .' }'."\n"
- .' ],'."\n"
- .' "parentId": 0,'."\n"
- .' "relationship": "and"'."\n"
- .' },'."\n"
- .' "then": ['."\n"
- .' {'."\n"
- .' "inputs": ['."\n"
- .' "123"'."\n"
- .' ],'."\n"
- .' "name": "__addDeScore__",'."\n"
- .' "actionType": "SCORE",'."\n"
- .' "outputType": "const",'."\n"
- .' "inputTitle": "123"'."\n"
- .' }'."\n"
- .' ]'."\n"
- .' }'."\n"
- .' ],'."\n"
- .' "elseStatement": {'."\n"
- ."\n"
- .' },'."\n"
- .' "ifStatement": {'."\n"
- .' "condition": {'."\n"
- .' "currentId": 0,'."\n"
- .' "deepCount": 1,'."\n"
- .' "list": ['."\n"
- .' {'."\n"
- .' "currentId": 0,'."\n"
- .' "deepCount": 1,'."\n"
- .' "left": {'."\n"
- .' "code": "deFunctionProcess(ip,"isIp")",'."\n"
- .' "description": "判断是否符合IPv4标准",'."\n"
- .' "displayType": "SYSTEM_BIND",'."\n"
- .' "fieldType": "BOOLEAN",'."\n"
- .' "functionCode": "",'."\n"
- .' "functionName": "",'."\n"
- .' "hasRightVariable": true,'."\n"
- .' "name": "__isIpAddressV4__",'."\n"
- .' "outputThreshold": {'."\n"
- ."\n"
- .' },'."\n"
- .' "sourceType": "SAF",'."\n"
- .' "title": "IP是否符合IPV4格式",'."\n"
- .' "type": "SYSTEM_BIND"'."\n"
- .' },'."\n"
- .' "operatorCode": "equals",'."\n"
- .' "operatorName": "等于",'."\n"
- .' "parentId": 0,'."\n"
- .' "right": {'."\n"
- .' "name": "c'."\n"
- .'d'."\n"
- .'s",'."\n"
- .' "rightVariableType": "constant"'."\n"
- .' },'."\n"
- .' "sequence": 1'."\n"
- .' }'."\n"
- .' ],'."\n"
- .' "parentId": 0,'."\n"
- .' "relationship": "and"'."\n"
- .' },'."\n"
- .' "then": ['."\n"
- .' {'."\n"
- .' "inputs": ['."\n"
- .' "22"'."\n"
- .' ],'."\n"
- .' "name": "__addDeTags__",'."\n"
- .' "actionType": "TAG",'."\n"
- .' "outputType": "const"'."\n"
- .' }'."\n"
- .' ]'."\n"
- .' }'."\n"
- .' }',
- ],
+ 'schema' => ['description' => '事件参数映射2.0 params与paramsList必须有一个不为空 List json结构。', 'type' => 'string', 'required' => false, 'example' => '[{"eventFieldName":"accountId","required":false}]'],
],
[
- 'name' => 'ruleType',
+ 'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '策略类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'DEFAULT',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
+ ],
+ [
+ 'name' => 'createType',
+ 'in' => 'query',
+ 'schema' => ['description' => '创建类型。', 'type' => 'string', 'required' => false, 'example' => 'NORMAL'],
+ ],
+ [
+ 'name' => 'defineIds',
+ 'in' => 'query',
+ 'schema' => ['description' => '变量定义ids,可以是多个,如果是绑定多个id用逗号隔开。', 'type' => 'string', 'required' => false, 'example' => '1546, 1547'],
],
],
'responses' => [
@@ -882,33 +563,42 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'resultObject' => [
- 'description' => '返回对象。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'requestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2',
- ],
+ 'resultObject' => ['description' => '返回对象。', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => '请求id。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\"\\n}","type":"json"}]',
- 'title' => '修改策略',
- ],
- 'UpdateAudit' => [
- 'summary' => '审批。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '变量绑定',
+ 'summary' => '变量绑定操作。',
+ 'changeSet' => [
+ ['createdAt' => '2023-05-11T01:20:55.000Z', 'description' => '请求参数发生变更、响应参数发生变更'],
+ ['createdAt' => '2022-05-11T07:27:47.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'BindVariable'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'CancelSubTask' => [
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -917,70 +607,33 @@
'operationType' => 'readAndWrite',
'systemTags' => [
'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '138403',
+ 'abilityTreeNodes' => ['FEATUREsafT73ZWM'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
- ],
- [
- 'name' => 'regId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
- ],
- [
- 'name' => 'id',
- 'in' => 'query',
- 'schema' => [
- 'description' => '需要更新的审批ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '376773',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'auditStatus',
+ 'name' => 'Tab',
'in' => 'query',
- 'schema' => [
- 'description' => '状态。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'AGREE',
- ],
+ 'schema' => ['description' => '场景。', 'type' => 'string', 'required' => false, 'example' => 'FINANCE'],
],
[
- 'name' => 'auditMsg',
+ 'name' => 'RegId',
'in' => 'query',
- 'schema' => [
- 'description' => '审批意见。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '同意',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'auditRelationType',
+ 'name' => 'SubTaskId',
'in' => 'query',
- 'schema' => [
- 'description' => '关联类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'RULE',
- ],
+ 'schema' => ['description' => '子任务ID。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2'],
],
],
'responses' => [
@@ -988,301 +641,300 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'success' => [
- 'description' => '调用是否成功。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'code' => [
- 'description' => '状态码。',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'message' => [
- 'description' => '错误信息。',
- 'type' => 'string',
- 'example' => 'The input parameter data is not valid. order_storage_company_num component not found',
- ],
- 'httpStatusCode' => [
- 'description' => 'HTTP状态码。',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'resultObject' => [
- 'description' => '返回对象。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ 'ResultObject' => ['description' => '返回结果。', 'type' => 'boolean', 'example' => 'true'],
+ 'Code' => ['description' => '服务code。', 'type' => 'string', 'example' => '200'],
+ 'HttpStatusCode' => ['description' => 'http状态码。', 'type' => 'string', 'example' => '200'],
+ 'Message' => ['description' => '接口请求返回的信息。', 'type' => 'string', 'example' => 'success'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"success\\": true,\\n \\"code\\": \\"200\\",\\n \\"message\\": \\"The input parameter data is not valid. order_storage_company_num component not found\\",\\n \\"httpStatusCode\\": \\"200\\",\\n \\"resultObject\\": true\\n}","type":"json"}]',
- 'title' => '策略审批',
- ],
- 'DeleteRule' => [
- 'summary' => '删除策略版本。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '取消任务',
+ 'summary' => '创建任务组',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:CancelSubTask',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"ResultObject\\": true,\\n \\"Code\\": \\"200\\",\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"Message\\": \\"success\\"\\n}","type":"json"}]',
+ ],
+ 'CheckCopyRuleVariable' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'operationType' => 'read',
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'regId',
+ 'name' => 'SourceRuleId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '来源策略id', 'type' => 'string', 'required' => false, 'example' => '102125'],
],
[
- 'name' => 'consoleRuleId',
+ 'name' => 'SourceRuleIds',
'in' => 'query',
- 'schema' => [
- 'description' => '策略主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '7035',
- ],
+ 'schema' => ['description' => '来源策略ids', 'type' => 'string', 'required' => false, 'example' => '02125,102129'],
],
[
- 'name' => 'ruleId',
+ 'name' => 'TargetEventCode',
'in' => 'query',
- 'schema' => [
- 'description' => '策略ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '102059',
- ],
+ 'schema' => ['description' => '目标事件', 'type' => 'string', 'required' => false, 'example' => 'de_ajtshf1581'],
],
[
- 'name' => 'ruleVersionId',
+ 'name' => 'RegId',
'in' => 'query',
- 'schema' => [
- 'description' => '策略版本号主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '10203',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
+ ],
+ [
+ 'name' => 'CreateType',
+ 'in' => 'query',
+ 'schema' => ['description' => '创建类型', 'type' => 'string', 'required' => false, 'example' => 'NORMAL'],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'resultObject' => [
- 'description' => '返回对象。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'requestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2',
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ 'ResultObject' => [
+ 'description' => '返回的结果信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'Message' => [
+ 'description' => '信息。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '返回结果的提示信息。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => ['description' => '变量主键id', 'type' => 'integer', 'format' => 'int64', 'example' => '213'],
+ 'Name' => ['description' => '变量name', 'type' => 'string', 'example' => 'age'],
+ 'Title' => ['description' => '变量标题', 'type' => 'string', 'example' => '年龄'],
+ 'Type' => ['description' => '变量类型', 'type' => 'string', 'example' => 'NATIVE'],
+ ],
+ ],
+ ],
+ ],
],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\"\\n}","type":"json"}]',
- 'title' => '删除规则',
- ],
- 'CreateRule' => [
- 'summary' => '创建策略&版本。',
- 'methods' => [
- 'post',
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '检查是否复制过',
+ 'summary' => '策略复制血缘关系检查',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CheckCopyRuleVariable'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"ResultObject\\": {\\n \\"Message\\": [\\n {\\n \\"Id\\": 213,\\n \\"Name\\": \\"age\\",\\n \\"Title\\": \\"年龄\\",\\n \\"Type\\": \\"NATIVE\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'CheckCustVariableLimit' => [
+ 'summary' => '校验累计变量数目是否超过限定值。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
- 'systemTags' => [
- 'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREsafBCGX2Z',
- ],
- ],
+ 'operationType' => 'read',
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'ruleName',
+ 'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '策略名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '注册手机号是11位数字',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'ruleStatus',
+ 'name' => 'createType',
'in' => 'query',
- 'schema' => [
- 'description' => '策略状态。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'DRAFT',
- ],
+ 'schema' => ['description' => '创建类型。', 'type' => 'string', 'required' => false, 'example' => 'NORMAL'],
],
- [
- 'name' => 'memo',
- 'in' => 'query',
+ ],
+ 'responses' => [
+ 200 => [
+ 'headers' => [],
'schema' => [
- 'description' => '备注。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '描述信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'resultObject' => ['description' => '返回对象。', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => '请求id。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ ],
+ 'description' => '',
],
],
- [
- 'name' => 'eventName',
- 'in' => 'query',
- 'schema' => [
- 'description' => '事件名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '登录事件',
- ],
+ ],
+ 'title' => '校验累计变量数目是否操过限定值',
+ 'changeSet' => [
+ ['createdAt' => '2023-01-09T06:11:43.000Z', 'description' => '响应参数发生变更'],
+ ['createdAt' => '2022-05-11T07:27:47.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CheckCustVariableLimit'],
],
+ ],
+ 'ramActions' => [
[
- 'name' => 'eventCode',
- 'in' => 'query',
- 'schema' => [
- 'description' => '事件编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'de_acytyt7036',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'CheckExpressionVariableLimit' => [
+ 'summary' => '校验创建变量是否超过上限。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'ruleExpressions',
- 'in' => 'query',
- 'schema' => [
- 'description' => '策略表达式。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[{"expressionName":"cc","itemId":1,"left":{"name":"__ipLocationCityCode__"},"operatorCode":"equals","operatorName":"等于","right":{"fieldValue":"a"}}]',
- ],
+ 'AK' => [],
],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => ['operationType' => 'get'],
+ 'parameters' => [
[
- 'name' => 'logicExpression',
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '策略表达式执行逻辑。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1&2',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'ruleActions',
+ 'name' => 'regId',
'in' => 'query',
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'headers' => [],
'schema' => [
- 'description' => '策略执行输出动作。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[{"inputs":["123"],"name":"__addDeTags__","actionType":"TAG","outputType":"const"},{"inputs":["123"],"name":"__addDeScore__","actionType":"SCORE","outputType":"const","inputTitle":"123"},{"actionType":"MIDDLE_VARIABLE","fieldValue":"123","inputs":["mid1"]},{"actionType":"VARIABLE","inputs":["gg"],"name":"mid1"}]',
+ 'type' => 'object',
+ 'properties' => [
+ 'resultObject' => ['description' => '返回对象。', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => '请求id。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ ],
+ 'description' => '',
],
],
+ ],
+ 'title' => '校验创建自定义变量是否超过上限',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:27:46.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CheckExpressionVariableLimit'],
+ ],
+ ],
+ 'ramActions' => [
[
- 'name' => 'regId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'CheckFieldLimit' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'createType',
- 'in' => 'query',
- 'schema' => [
- 'description' => '创建类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'NORMAL',
- ],
+ 'AK' => [],
],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'get'],
+ 'parameters' => [
[
- 'name' => 'consoleRuleId',
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '规则id。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '5178',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'ruleBody',
+ 'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => 'DSL策略执行逻辑。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{"elseIfStatement":[],"elseStatement":{},"ifStatement":{"condition":{"currentId":0,"deepCount":1,"list":[{"currentId":0,"deepCount":1,"left":{"code":"deFunctionProcess(ip,\\"isIp\\")","description":"判断是否符合IPv4标准","displayType":"SYSTEM_BIND","fieldType":"BOOLEAN","functionCode":"","functionName":"","hasRightVariable":false,"name":"__isIpAddressV4__","outputThreshold":{},"sourceType":"SAF","title":"IP是否符合IPV4格式","type":"SYSTEM_BIND"},"operatorCode":"boolIsFalse","operatorName":"为false","parentId":0,"sequence":1}],"parentId":0,"relationship":"and"},"then":[{"inputs":["123"],"name":"__addDeTags__","actionType":"TAG","outputType":"const"}]}}',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'ruleType',
+ 'name' => 'source',
'in' => 'query',
'schema' => [
- 'description' => '策略类型。',
+ 'description' => '字段来源。',
'type' => 'string',
'required' => false,
- 'example' => 'DRAFT',
+ 'enumValueTitles' => ['DEFINE' => '自定义字段', 'DEFAULT' => '系统默认字段'],
+ 'example' => 'DEFINE',
],
],
],
@@ -1291,33 +943,41 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'resultObject' => [
- 'description' => '返回结果。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'requestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2',
- ],
+ 'resultObject' => ['description' => '返回对象。', 'type' => 'boolean', 'example' => 'true'],
+ 'requestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\"\\n}","type":"json"}]',
- 'title' => '创建规则',
- ],
- 'ModifyRuleStatus' => [
- 'summary' => '策略版本申请状态变更。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '校验字段数目是否操过限定值',
+ 'summary' => '校验字段数目是否操过限定值。',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:23:08.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CheckFieldLimit'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\"\\n}","type":"json"}]',
+ ],
+ 'CheckSampleName' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -1326,247 +986,346 @@
'operationType' => 'readAndWrite',
'systemTags' => [
'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '138403',
+ 'abilityTreeNodes' => ['FEATUREsafT73ZWM'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '接口返回错误信息语言。取值:zh:中文。 en:英文。 默认为en。', 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'regId',
+ 'name' => 'SampleName',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '样本名称。', 'type' => 'string', 'required' => false, 'example' => 'SampleTest'],
],
[
- 'name' => 'applyUserId',
+ 'name' => 'RegId',
'in' => 'query',
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '审核发起人uid。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1519714049632764',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ 'ResultObject' => ['description' => '请求结果。', 'type' => 'boolean', 'example' => 'true'],
+ 'Code' => ['description' => '返回码。', 'type' => 'string', 'example' => '200'],
+ 'HttpStatusCode' => ['description' => 'http状态码。', 'type' => 'string', 'example' => '200'],
+ 'Message' => ['description' => '返回信息。', 'type' => 'string', 'example' => 'success'],
+ ],
+ 'description' => '',
],
],
+ ],
+ 'title' => '样本名称唯一性校验',
+ 'summary' => '样本名称唯一性校验',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
[
- 'name' => 'applyUserName',
- 'in' => 'query',
- 'schema' => [
- 'description' => '审核发起人name。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'root',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:CheckSampleName',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"ResultObject\\": true,\\n \\"Code\\": \\"200\\",\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"Message\\": \\"success\\"\\n}","type":"json"}]',
+ ],
+ 'CheckTaskGroupName' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
+ 'security' => [
[
- 'name' => 'auditUserId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '审核人uid。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1519714049632764',
- ],
+ 'AK' => [],
],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '138403',
+ 'abilityTreeNodes' => ['FEATUREsafT73ZWM'],
+ ],
+ 'parameters' => [
[
- 'name' => 'auditUserName',
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '审核人name。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'root',
- ],
+ 'schema' => ['description' => '接口返回错误信息语言。取值:zh:中文。en:英文。默认为en。', 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'ruleAuditType',
+ 'name' => 'RegId',
'in' => 'query',
- 'schema' => [
- 'description' => '审核状态。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'DRAFT_TO_RUNNING',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'auditRemark',
+ 'name' => 'TaskGroupName',
'in' => 'query',
+ 'schema' => ['description' => '任务组名称。', 'type' => 'string', 'required' => false, 'example' => 'GroupNameTest'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '申请审批备注。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '申请发布上线',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ 'ResultObject' => ['description' => '返回结果。', 'type' => 'boolean', 'example' => 'true'],
+ 'Code' => ['description' => '响应码。', 'type' => 'string', 'example' => '200'],
+ 'HttpStatusCode' => ['description' => 'http状态码。', 'type' => 'string', 'example' => '200'],
+ 'Message' => ['description' => '返回信息。', 'type' => 'string', 'example' => 'success'],
+ ],
+ 'description' => '',
],
],
+ ],
+ 'title' => '任务组名称唯一性校验',
+ 'summary' => '任务组名称唯一性校验',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
[
- 'name' => 'ruleId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '策略ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '101544',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:CheckTaskGroupName',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"ResultObject\\": true,\\n \\"Code\\": \\"200\\",\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"Message\\": \\"success\\"\\n}","type":"json"}]',
+ ],
+ 'CheckUsageVariable' => [
+ 'summary' => '校验变量引用。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'ruleVersionId',
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => ['operationType' => 'get'],
+ 'parameters' => [
+ [
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '策略版本号主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '11519',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'consoleRuleId',
+ 'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '策略主键id。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '6843',
- ],
+ 'schema' => ['description' => '区域Id。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'eventType',
+ 'name' => 'id',
'in' => 'query',
- 'schema' => [
- 'description' => '事件类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'MAIN',
- ],
+ 'schema' => ['description' => '主键ID。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1'],
],
],
'responses' => [
200 => [
+ 'headers' => [],
'schema' => [
'type' => 'object',
'properties' => [
- 'resultObject' => [
- 'description' => '返回对象。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'requestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2',
- ],
+ 'resultObject' => ['description' => '是否成功。', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => '请求id。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\"\\n}","type":"json"}]',
- 'title' => '修改策略状态',
- ],
- 'DescribeUserInfo' => [
- 'summary' => '获取当前登录用户信息。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '校验变量引用',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:27:46.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CheckUsageVariable'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'CompareCopyRuleVariable' => [
+ 'summary' => '策略对比。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'regId',
+ 'name' => 'SourceRuleId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '原策略ruleId。', 'type' => 'string', 'required' => false, 'example' => '102125'],
+ ],
+ [
+ 'name' => 'SourceRuleIds',
+ 'in' => 'query',
+ 'schema' => ['description' => '原策略ruleIds。', 'type' => 'string', 'required' => false, 'example' => '102125,102129'],
+ ],
+ [
+ 'name' => 'TargetEventCode',
+ 'in' => 'query',
+ 'schema' => ['description' => '目标事件eventCode。', 'type' => 'string', 'required' => false, 'example' => 'de_ajtshf1581'],
+ ],
+ [
+ 'name' => 'RegId',
+ 'in' => 'query',
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
+ ],
+ [
+ 'name' => 'CreateType',
+ 'in' => 'query',
+ 'schema' => ['description' => '创建类型', 'type' => 'string', 'required' => false, 'example' => 'NORMAL'],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'success' => [
- 'description' => '请求是否成功。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'code' => [
- 'description' => '状态码。',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'message' => [
- 'description' => '错误信息。',
- 'type' => 'string',
- 'example' => 'The input parameter data is not valid. order_storage_company_num component not found',
- ],
- 'httpStatusCode' => [
- 'description' => 'HTTP状态码。',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'resultObject' => [
- 'description' => '返回对象。',
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ 'ResultObject' => [
+ 'description' => '结果对象。',
'type' => 'object',
'properties' => [
- 'userId' => [
- 'description' => '用户uid。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '15633333331111',
+ 'EventVariableList' => [
+ 'description' => '事件字段变量',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '事件字段变量',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => ['description' => '变量id', 'type' => 'integer', 'format' => 'int64', 'example' => '375'],
+ 'Name' => ['description' => '变量name', 'type' => 'string', 'example' => 'age'],
+ 'Title' => ['description' => '标题', 'type' => 'string', 'example' => '年龄'],
+ 'Description' => ['description' => '描述', 'type' => 'string', 'example' => '描述'],
+ 'OutType' => ['description' => '变量类型', 'type' => 'string', 'example' => 'NATIVE'],
+ ],
+ ],
],
- 'subId' => [
- 'description' => '子账号ID。',
- 'type' => 'string',
- 'example' => '555666',
+ 'NameListVariableList' => [
+ 'description' => '名单变量列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '名单变量列表',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => ['description' => '变量id', 'type' => 'integer', 'format' => 'int64', 'example' => '1987'],
+ 'Name' => ['description' => '变量name', 'type' => 'string', 'example' => 'nl_UN8otElLb490'],
+ 'Title' => ['description' => '标题', 'type' => 'string', 'example' => '白名单'],
+ 'Description' => ['description' => '描述', 'type' => 'string', 'example' => '描述'],
+ 'OutType' => ['description' => '变量类型', 'type' => 'string', 'example' => 'NAME_LIST'],
+ ],
+ ],
],
- 'userName' => [
- 'description' => '用户名称。',
- 'type' => 'string',
- 'example' => 'root',
+ 'SystemVariableList' => [
+ 'description' => '系统变量列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '系统变量列表',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => ['description' => '变量id', 'type' => 'integer', 'format' => 'int64', 'example' => '1003'],
+ 'Name' => ['description' => '变量name', 'type' => 'string', 'example' => 'sl_S02sHLFT7818'],
+ 'Title' => ['description' => '标题', 'type' => 'string', 'example' => '根据ip地址得到评分'."\n"],
+ 'Description' => ['description' => '描述', 'type' => 'string', 'example' => '描述'],
+ 'OutType' => ['description' => '变量类型', 'type' => 'string', 'example' => 'SELF_BIND'],
+ ],
+ ],
],
- 'clientIp' => [
- 'description' => '客户端IP。',
- 'type' => 'string',
- 'example' => '192.168.0.1',
+ 'CustVariableList' => [
+ 'description' => '累计变量列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '累计变量列表',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => ['description' => '变量id', 'type' => 'integer', 'format' => 'int64', 'example' => '1483'],
+ 'Name' => ['description' => '变量name', 'type' => 'string', 'example' => 'dxkkLw8fe18'],
+ 'Title' => ['description' => '标题', 'type' => 'string', 'example' => '近1天账户登录设备数_bk4'."\n"],
+ 'Description' => ['description' => '描述', 'type' => 'string', 'example' => '描述'],
+ 'OutType' => ['description' => '变量类型', 'type' => 'string', 'example' => 'SELF_VELOCITY'],
+ ],
+ ],
+ ],
+ 'ExpressionVariableList' => [
+ 'description' => '自定义变量列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '自定义变量列表',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => ['description' => '变量id', 'type' => 'integer', 'format' => 'int64', 'example' => '2540'],
+ 'Name' => ['description' => '变量name', 'type' => 'string', 'example' => 'ex_XheC9A382fe7'],
+ 'Title' => ['description' => '标题', 'type' => 'string', 'example' => '手机号前7位'],
+ 'Description' => ['description' => '描述', 'type' => 'string', 'example' => '描述'],
+ 'OutType' => ['description' => '变量类型', 'type' => 'string', 'example' => 'EXPRESSION'],
+ ],
+ ],
+ ],
+ 'QueryExpressionVariableList' => [
+ 'description' => '自定义查询变量列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '自定义查询变量列表',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => ['description' => '变量id', 'type' => 'integer', 'format' => 'int64', 'example' => '217'],
+ 'Name' => ['description' => '变量name', 'type' => 'string', 'example' => 'ex_vcaoii1697'],
+ 'Title' => ['description' => '标题', 'type' => 'string', 'example' => '获取年龄'],
+ 'Description' => ['description' => '描述', 'type' => 'string', 'example' => '描述'],
+ 'OutType' => ['description' => '变量类型', 'type' => 'string', 'example' => 'QUERY_EXPRESSION'],
+ ],
+ ],
],
],
],
@@ -1574,376 +1333,340 @@
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"success\\": true,\\n \\"code\\": \\"200\\",\\n \\"message\\": \\"The input parameter data is not valid. order_storage_company_num component not found\\",\\n \\"httpStatusCode\\": \\"200\\",\\n \\"resultObject\\": {\\n \\"userId\\": 15633333331111,\\n \\"subId\\": \\"555666\\",\\n \\"userName\\": \\"root\\",\\n \\"clientIp\\": \\"192.168.0.1\\"\\n }\\n}","type":"json"}]',
- 'title' => '获取当前登录用户信息',
- ],
- 'DescribeRulePageList' => [
- 'summary' => '查询策略列表。',
- 'methods' => [
- 'post',
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '策略复制对比',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CompareCopyRuleVariable'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"ResultObject\\": {\\n \\"EventVariableList\\": [\\n {\\n \\"Id\\": 375,\\n \\"Name\\": \\"age\\",\\n \\"Title\\": \\"年龄\\",\\n \\"Description\\": \\"描述\\",\\n \\"OutType\\": \\"NATIVE\\"\\n }\\n ],\\n \\"NameListVariableList\\": [\\n {\\n \\"Id\\": 1987,\\n \\"Name\\": \\"nl_UN8otElLb490\\",\\n \\"Title\\": \\"白名单\\",\\n \\"Description\\": \\"描述\\",\\n \\"OutType\\": \\"NAME_LIST\\"\\n }\\n ],\\n \\"SystemVariableList\\": [\\n {\\n \\"Id\\": 1003,\\n \\"Name\\": \\"sl_S02sHLFT7818\\",\\n \\"Title\\": \\"根据ip地址得到评分\\\\n\\",\\n \\"Description\\": \\"描述\\",\\n \\"OutType\\": \\"SELF_BIND\\"\\n }\\n ],\\n \\"CustVariableList\\": [\\n {\\n \\"Id\\": 1483,\\n \\"Name\\": \\"dxkkLw8fe18\\",\\n \\"Title\\": \\"近1天账户登录设备数_bk4\\\\n\\",\\n \\"Description\\": \\"描述\\",\\n \\"OutType\\": \\"SELF_VELOCITY\\"\\n }\\n ],\\n \\"ExpressionVariableList\\": [\\n {\\n \\"Id\\": 2540,\\n \\"Name\\": \\"ex_XheC9A382fe7\\",\\n \\"Title\\": \\"手机号前7位\\",\\n \\"Description\\": \\"描述\\",\\n \\"OutType\\": \\"EXPRESSION\\"\\n }\\n ],\\n \\"QueryExpressionVariableList\\": [\\n {\\n \\"Id\\": 217,\\n \\"Name\\": \\"ex_vcaoii1697\\",\\n \\"Title\\": \\"获取年龄\\",\\n \\"Description\\": \\"描述\\",\\n \\"OutType\\": \\"QUERY_EXPRESSION\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'CompareRule' => [
+ 'summary' => '策略版本内容对比。',
+ 'path' => '',
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
+ 'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREsafBCGX2Z',
- ],
+ 'abilityTreeNodes' => ['FEATUREsafBCGX2Z'],
+ 'tenantRelevance' => 'tenant',
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'currentPage',
- 'in' => 'query',
- 'schema' => [
- 'description' => '当前页码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1',
- ],
- ],
- [
- 'name' => 'pageSize',
- 'in' => 'query',
- 'schema' => [
- 'description' => '每页大小,默认值为10。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '10',
- ],
- ],
- [
- 'name' => 'eventCode',
- 'in' => 'query',
- 'schema' => [
- 'description' => '事件编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'de_asssce8122',
- ],
- ],
- [
- 'name' => 'ruleStatus',
+ 'name' => 'ruleVersionId',
'in' => 'query',
- 'schema' => [
- 'description' => '策略状态。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'RUNNING',
- ],
+ 'schema' => ['description' => '策略版本号主键ID。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '11519'],
],
[
- 'name' => 'ruleName',
+ 'name' => 'previousRuleVersionId',
'in' => 'query',
- 'schema' => [
- 'description' => '策略名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '营销风险识别评分',
- ],
+ 'schema' => ['description' => '策略上一个版本号主键ID。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '11518'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
- ],
- [
- 'name' => 'createType',
- 'in' => 'query',
- 'schema' => [
- 'description' => '创建类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'NORMAL',
- ],
- ],
- [
- 'name' => 'ruleAuthType',
- 'in' => 'query',
- 'schema' => [
- 'description' => '策略类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'NOMAL',
- ],
- ],
- [
- 'name' => 'sort',
- 'in' => 'query',
- 'schema' => [
- 'description' => '排序方式,默认值为desc'."\n"
- .'- desc:降序'."\n"
- .'- asc:升序',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'asc',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'totalItem' => [
- 'description' => '总条数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '28',
- ],
- 'pageSize' => [
- 'description' => '每页大小,默认值为10。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'requestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2',
- ],
- 'currentPage' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'totalPage' => [
- 'description' => '总页数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '3',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
'resultObject' => [
'description' => '返回对象。',
- 'type' => 'array',
- 'items' => [
- 'description' => '返回对象。',
- 'type' => 'object',
- 'properties' => [
- 'eventCode' => [
- 'description' => '事件编码。',
- 'type' => 'string',
- 'example' => 'de_arcehq4370',
- ],
- 'ruleId' => [
- 'description' => '策略ID。',
- 'type' => 'string',
- 'example' => '102059',
- ],
- 'ruleStatus' => [
- 'description' => '策略状态。',
- 'type' => 'string',
- 'example' => 'RUNNING',
- ],
- 'gmtModified' => [
- 'description' => '修改时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1565701886000',
- ],
- 'gmtCreate' => [
- 'description' => '创建时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1621578648000',
- ],
- 'templateId' => [
- 'description' => '模版ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => 'register',
- ],
- 'priority' => [
- 'description' => '策略优先级,数字越大优先级越高。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'ruleName' => [
- 'description' => '策略名称。',
- 'type' => 'string',
- 'example' => '营销风险识别',
- ],
- 'ruleMemo' => [
- 'description' => '策略描述。',
- 'type' => 'string',
- 'example' => '描述信息',
- ],
- 'eventName' => [
- 'description' => '事件名称。',
- 'type' => 'string',
- 'example' => '注册风险',
- ],
- 'id' => [
- 'description' => '策略主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2793',
- ],
- 'version' => [
- 'description' => '版本号。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'ruleVersionId' => [
- 'description' => '策略版本号主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '11300',
- ],
- 'eventType' => [
- 'description' => '事件类型。',
- 'type' => 'string',
- 'example' => 'MAIN',
- ],
- 'mainRuleId' => [
- 'description' => '主策略ID。',
- 'type' => 'string',
- 'example' => '4399',
- ],
- 'consoleAudit' => [
- 'description' => '审核对象。',
- 'type' => 'object',
- 'properties' => [
- 'id' => [
- 'description' => '主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1728',
- ],
- 'applyUserId' => [
- 'description' => '审核通过用户uid。',
- 'type' => 'string',
- 'example' => '用户uid',
- ],
- 'applyUserName' => [
- 'description' => '审核通过用户名称。',
- 'type' => 'string',
- 'example' => 'root',
- ],
- 'auditUserId' => [
- 'description' => '审核用户uid。',
- 'type' => 'string',
- 'example' => '1234xxxx',
- ],
- 'auditUserName' => [
- 'description' => '审核用户name。',
- 'type' => 'string',
- 'example' => 'root',
- ],
- 'auditRealUserId' => [
- 'description' => '最终审核用户uid。',
- 'type' => 'string',
- 'example' => '1728',
- ],
- 'auditRealUserName' => [
- 'description' => '最终审核用户name。',
- 'type' => 'string',
- 'example' => 'root',
- ],
- 'auditStatus' => [
- 'description' => '进件审核状态。',
- 'type' => 'string',
- 'example' => 'AGREE',
- ],
- 'auditTime' => [
- 'description' => '审批时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1545726028000',
- ],
- 'gmtCreate' => [
- 'description' => '创建时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1545726028000',
- ],
- 'relationId' => [
- 'description' => '审批关联的事务ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '123',
- ],
- 'relationType' => [
- 'description' => '审批的类型(如rule代表策略的审批)。',
- 'type' => 'string',
- 'example' => 'RULE',
- ],
- 'relationName' => [
- 'description' => '审批关联的事务名称(可空)。',
- 'type' => 'string',
- 'example' => '策略1'."\n",
- ],
- 'relationExt' => [
- 'description' => '关联的其他人信息(json结构)。',
- 'type' => 'string',
- 'example' => '{}',
- ],
- 'auditMsg' => [
- 'description' => '审批意见。',
- 'type' => 'string',
- 'example' => '同意',
- ],
- 'auditRemark' => [
- 'description' => '审批人备注。',
- 'type' => 'string',
- 'example' => '备注',
- ],
- ],
- ],
- 'externalRuleName' => [
- 'description' => '策略对客名称。',
- 'type' => 'string',
- 'example' => '策略1',
- ],
- 'ruleAuthType' => [
- 'description' => '策略类型。',
- 'type' => 'string',
- 'example' => 'NORMAL',
- ],
- 'authType' => [
- 'description' => '服务授权类型。',
- 'type' => 'string',
- 'example' => 'all',
- ],
- 'hasNewVersion' => [
- 'description' => '是否有新版本。',
- 'type' => 'boolean',
- 'example' => 'true',
+ 'type' => 'object',
+ 'properties' => [
+ 'oldRule' => [
+ 'description' => '旧策略对象。',
+ 'type' => 'object',
+ 'properties' => [
+ 'memo' => ['description' => '描述。', 'type' => 'string', 'example' => '鸿蒙元服务_交费业务'],
+ 'ruleActionMap' => ['description' => '返回的规则动作结构体。策略类型为DEFAULT时返回。', 'type' => 'object', 'example' => '{'."\n"
+ .' "TAG": "[{\\"code\\":\\"addDeTags\\",\\"inputs\\":[\\"test\\"],\\"description\\":\\"打标签\\",\\"type\\":\\"ACTION\\",\\"title\\":\\"打标签\\",\\"actionType\\":\\"TAG\\",\\"displayType\\":\\"ACTION\\",\\"sourceType\\":\\"SAF\\",\\"name\\":\\"__addDeTags__\\",\\"fieldType\\":\\"STRING\\"}]"'."\n"
+ .'}'],
+ 'version' => ['description' => '版本号。', 'type' => 'integer', 'format' => 'int64', 'example' => '2'],
+ 'gmtCreate' => ['description' => '创建时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1760670462000'],
+ 'ruleStatus' => ['description' => '策略状态。', 'type' => 'string', 'example' => 'RUNNING'],
+ 'ruleExpressions' => ['description' => '策略表达式。策略类型为DEFAULT时返回。', 'type' => 'string', 'example' => '[{\\"expressionName\\":\\"设备token不为空\\",\\"itemId\\":1,\\"left\\":{\\"name\\":\\"deviceToken\\"},\\"operatorCode\\":\\"isNotEmptyWrapper\\",\\"operatorName\\":\\"不为空\\"}]'],
+ 'gmtModified' => ['description' => '修改时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1760670462000'],
+ 'eventName' => ['description' => '事件名称。', 'type' => 'string', 'example' => '注册_事件'],
+ 'ruleName' => ['description' => '策略名称。', 'type' => 'string', 'example' => '返回设备信息'],
+ 'logicExpression' => ['description' => '策略表达式执行逻辑。', 'type' => 'string', 'example' => '1&2'],
+ 'consoleRuleId' => ['description' => '策略主键ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '6760'],
+ 'ruleId' => ['description' => '策略ID。', 'type' => 'string', 'example' => '101793'],
+ 'ruleVersionId' => ['description' => '策略版本号主键ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '11518'],
+ 'mainEventCode' => ['description' => '主事件code。', 'type' => 'string', 'example' => 'de_asssce8122'],
+ 'eventCode' => ['description' => '事件编码。', 'type' => 'string', 'example' => 'de_asssce8122'],
+ 'ruleActions' => ['description' => '策略执行输出动作。策略类型为DEFAULT时返回。', 'type' => 'string', 'example' => '['."\n"
+ .' {'."\n"
+ .' "actionType": "TAG",'."\n"
+ .' "code": "addDeTags",'."\n"
+ .' "description": "打标签",'."\n"
+ .' "displayType": "ACTION",'."\n"
+ .' "fieldType": "STRING",'."\n"
+ .' "inputs": ['."\n"
+ .' "test"'."\n"
+ .' ],'."\n"
+ .' "name": "__addDeTags__",'."\n"
+ .' "sourceType": "SAF",'."\n"
+ .' "title": "打标签",'."\n"
+ .' "type": "ACTION"'."\n"
+ .' }'."\n"
+ .']'],
+ 'ruleBody' => ['description' => 'DSL策略执行逻辑。 策略类型为DSL时返回。', 'type' => 'string', 'example' => '{'."\n"
+ .' "elseStatement": {'."\n"
+ ."\n"
+ .' },'."\n"
+ .' "ifStatement": {'."\n"
+ .' "condition": {'."\n"
+ .' "currentId": 0,'."\n"
+ .' "deepCount": 1,'."\n"
+ .' "list": ['."\n"
+ .' {'."\n"
+ .' "sequence": 1,'."\n"
+ .' "left": {'."\n"
+ .' "displayType": "NATIVE",'."\n"
+ .' "code": "ip",'."\n"
+ .' "functionCode": "",'."\n"
+ .' "functionName": "",'."\n"
+ .' "name": "ip",'."\n"
+ .' "description": "IP地址",'."\n"
+ .' "hasRightVariable": true,'."\n"
+ .' "title": "IP地址",'."\n"
+ .' "type": "NATIVE",'."\n"
+ .' "fieldType": "STRING"'."\n"
+ .' },'."\n"
+ .' "currentId": 0,'."\n"
+ .' "deepCount": 1,'."\n"
+ .' "right": {'."\n"
+ .' "name": "192.168.1.1",'."\n"
+ .' "rightVariableType": "constant"'."\n"
+ .' },'."\n"
+ .' "operatorCode": "equals",'."\n"
+ .' "operatorName": "等于",'."\n"
+ .' "parentId": 0'."\n"
+ .' }'."\n"
+ .' ],'."\n"
+ .' "relationship": "and",'."\n"
+ .' "parentId": 0'."\n"
+ .' },'."\n"
+ .' "then": ['."\n"
+ .' {'."\n"
+ .' "actionType": "TAG",'."\n"
+ .' "displayType": "ACTION",'."\n"
+ .' "code": "addDeTags",'."\n"
+ .' "sourceType": "SAF",'."\n"
+ .' "inputs": ['."\n"
+ .' "10"'."\n"
+ .' ],'."\n"
+ .' "name": "__addDeTags__",'."\n"
+ .' "description": "打标签",'."\n"
+ .' "outputType": "const",'."\n"
+ .' "title": "打标签",'."\n"
+ .' "type": "ACTION",'."\n"
+ .' "fieldType": "STRING"'."\n"
+ .' }'."\n"
+ .' ],'."\n"
+ .' "expressions": ['."\n"
+ .' {'."\n"
+ .' "itemId": 1,'."\n"
+ .' "left": {'."\n"
+ .' "displayType": "NATIVE",'."\n"
+ .' "code": "ip",'."\n"
+ .' "functionCode": "",'."\n"
+ .' "functionName": "",'."\n"
+ .' "name": "ip",'."\n"
+ .' "description": "IP地址",'."\n"
+ .' "hasRightVariable": true,'."\n"
+ .' "title": "IP地址",'."\n"
+ .' "type": "NATIVE",'."\n"
+ .' "fieldType": "STRING"'."\n"
+ .' },'."\n"
+ .' "expressionName": "IP地址 等于 192.168.1.1",'."\n"
+ .' "rightValue": "192.168.1.1",'."\n"
+ .' "right": {'."\n"
+ .' "name": "192.168.1.1",'."\n"
+ .' "fieldValue": "192.168.1.1"'."\n"
+ .' },'."\n"
+ .' "operatorCode": "equals",'."\n"
+ .' "operatorName": "等于"'."\n"
+ .' }'."\n"
+ .' ]'."\n"
+ .' },'."\n"
+ .' "elseIfStatement": ['."\n"
+ ."\n"
+ .' ]'."\n"
+ .'}'],
+ 'ruleType' => ['description' => '策略类型。', 'type' => 'string', 'example' => 'DSL'],
+ 'ruleAuthType' => ['description' => '策略授权类型。', 'type' => 'string', 'example' => 'NORMAL'],
+ 'createType' => ['description' => '创建类型。', 'type' => 'string', 'example' => 'NORMAL'],
+ 'authType' => ['description' => '授权类型。', 'type' => 'string', 'example' => 'all'],
+ 'auditId' => ['description' => '审批ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '257'],
+ 'userId' => ['description' => '用户uid。', 'type' => 'integer', 'format' => 'int64', 'example' => '151222xxxxxxxxx'],
],
- 'ruleType' => [
- 'description' => '策略类型。',
- 'type' => 'string',
- 'example' => 'NORMAL',
+ ],
+ 'newRule' => [
+ 'description' => '新策略对象。',
+ 'type' => 'object',
+ 'properties' => [
+ 'memo' => ['description' => '备注。', 'type' => 'string', 'example' => '鸿蒙元服务_交费业务'],
+ 'ruleActionMap' => ['description' => '返回的规则动作结构体。策略类型为DEFAULT时返回。', 'type' => 'object', 'example' => '{'."\n"
+ .' "TAG": "[{\\"code\\":\\"addDeTags\\",\\"inputs\\":[\\"test\\"],\\"description\\":\\"打标签\\",\\"type\\":\\"ACTION\\",\\"title\\":\\"打标签\\",\\"actionType\\":\\"TAG\\",\\"displayType\\":\\"ACTION\\",\\"sourceType\\":\\"SAF\\",\\"name\\":\\"__addDeTags__\\",\\"fieldType\\":\\"STRING\\"}]"'."\n"
+ .'}'],
+ 'version' => ['description' => '版本号。', 'type' => 'integer', 'format' => 'int64', 'example' => '3'],
+ 'gmtCreate' => ['description' => '创建时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1760670462000'],
+ 'ruleStatus' => ['description' => '策略状态。', 'type' => 'string', 'example' => 'DRAFT'],
+ 'ruleExpressions' => ['description' => '策略表达式。策略类型为DEFAULT时返回。', 'type' => 'string', 'example' => '[{\\"expressionName\\":\\"设备token不为空\\",\\"itemId\\":1,\\"left\\":{\\"name\\":\\"deviceToken\\"},\\"operatorCode\\":\\"isNotEmptyWrapper\\",\\"operatorName\\":\\"不为空\\"}]'],
+ 'gmtModified' => ['description' => '修改时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1761196952000'],
+ 'eventName' => ['description' => '事件名称。', 'type' => 'string', 'example' => '注册_事件'."\n"],
+ 'ruleName' => ['description' => '策略名称。', 'type' => 'string', 'example' => '返回设备信息'."\n"],
+ 'logicExpression' => ['description' => '策略表达式执行逻辑。', 'type' => 'string', 'example' => '1&2&3'],
+ 'consoleRuleId' => ['description' => '策略主键ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '6760'],
+ 'ruleId' => ['description' => '策略ID。', 'type' => 'string', 'example' => '101793'."\n"],
+ 'ruleVersionId' => ['description' => '策略版本号主键ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '11519'],
+ 'mainEventCode' => ['description' => '主事件code。', 'type' => 'string', 'example' => 'de_asssce8122'],
+ 'eventCode' => ['description' => '事件编码。', 'type' => 'string', 'example' => 'de_asssce8122'],
+ 'ruleActions' => ['description' => '策略执行输出动作。策略类型为DEFAULT时返回。', 'type' => 'string', 'example' => '['."\n"
+ .' {'."\n"
+ .' "actionType": "TAG",'."\n"
+ .' "code": "addDeTags",'."\n"
+ .' "description": "打标签",'."\n"
+ .' "displayType": "ACTION",'."\n"
+ .' "fieldType": "STRING",'."\n"
+ .' "inputs": ['."\n"
+ .' "test"'."\n"
+ .' ],'."\n"
+ .' "name": "__addDeTags__",'."\n"
+ .' "sourceType": "SAF",'."\n"
+ .' "title": "打标签",'."\n"
+ .' "type": "ACTION"'."\n"
+ .' }'."\n"
+ .']'],
+ 'ruleBody' => ['description' => 'DSL策略执行逻辑。 策略类型为DSL时返回。', 'type' => 'string', 'example' => '{'."\n"
+ .' "elseStatement": {'."\n"
+ ."\n"
+ .' },'."\n"
+ .' "ifStatement": {'."\n"
+ .' "condition": {'."\n"
+ .' "currentId": 0,'."\n"
+ .' "deepCount": 1,'."\n"
+ .' "list": ['."\n"
+ .' {'."\n"
+ .' "sequence": 1,'."\n"
+ .' "left": {'."\n"
+ .' "displayType": "NATIVE",'."\n"
+ .' "code": "ip",'."\n"
+ .' "functionCode": "",'."\n"
+ .' "functionName": "",'."\n"
+ .' "name": "ip",'."\n"
+ .' "description": "IP地址",'."\n"
+ .' "hasRightVariable": true,'."\n"
+ .' "title": "IP地址",'."\n"
+ .' "type": "NATIVE",'."\n"
+ .' "fieldType": "STRING"'."\n"
+ .' },'."\n"
+ .' "currentId": 0,'."\n"
+ .' "deepCount": 1,'."\n"
+ .' "right": {'."\n"
+ .' "name": "192.168.1.1",'."\n"
+ .' "rightVariableType": "constant"'."\n"
+ .' },'."\n"
+ .' "operatorCode": "equals",'."\n"
+ .' "operatorName": "等于",'."\n"
+ .' "parentId": 0'."\n"
+ .' }'."\n"
+ .' ],'."\n"
+ .' "relationship": "and",'."\n"
+ .' "parentId": 0'."\n"
+ .' },'."\n"
+ .' "then": ['."\n"
+ .' {'."\n"
+ .' "actionType": "TAG",'."\n"
+ .' "displayType": "ACTION",'."\n"
+ .' "code": "addDeTags",'."\n"
+ .' "sourceType": "SAF",'."\n"
+ .' "inputs": ['."\n"
+ .' "10"'."\n"
+ .' ],'."\n"
+ .' "name": "__addDeTags__",'."\n"
+ .' "description": "打标签",'."\n"
+ .' "outputType": "const",'."\n"
+ .' "title": "打标签",'."\n"
+ .' "type": "ACTION",'."\n"
+ .' "fieldType": "STRING"'."\n"
+ .' }'."\n"
+ .' ],'."\n"
+ .' "expressions": ['."\n"
+ .' {'."\n"
+ .' "itemId": 1,'."\n"
+ .' "left": {'."\n"
+ .' "displayType": "NATIVE",'."\n"
+ .' "code": "ip",'."\n"
+ .' "functionCode": "",'."\n"
+ .' "functionName": "",'."\n"
+ .' "name": "ip",'."\n"
+ .' "description": "IP地址",'."\n"
+ .' "hasRightVariable": true,'."\n"
+ .' "title": "IP地址",'."\n"
+ .' "type": "NATIVE",'."\n"
+ .' "fieldType": "STRING"'."\n"
+ .' },'."\n"
+ .' "expressionName": "IP地址 等于 192.168.1.1",'."\n"
+ .' "rightValue": "192.168.1.1",'."\n"
+ .' "right": {'."\n"
+ .' "name": "192.168.1.1",'."\n"
+ .' "fieldValue": "192.168.1.1"'."\n"
+ .' },'."\n"
+ .' "operatorCode": "equals",'."\n"
+ .' "operatorName": "等于"'."\n"
+ .' }'."\n"
+ .' ]'."\n"
+ .' },'."\n"
+ .' "elseIfStatement": ['."\n"
+ ."\n"
+ .' ]'."\n"
+ .'}'],
+ 'ruleType' => ['description' => '策略类型。', 'type' => 'string', 'example' => 'DSL'],
+ 'ruleAuthType' => ['description' => '策略授权类型。', 'type' => 'string', 'example' => 'NORMAL'],
+ 'createType' => ['description' => '创建类型。', 'type' => 'string', 'example' => 'NORMAL'],
+ 'authType' => ['description' => '授权类型。', 'type' => 'string', 'example' => 'all'],
+ 'auditId' => ['description' => '审批ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '258'],
+ 'userId' => ['description' => '用户uid。', 'type' => 'integer', 'format' => 'int64', 'example' => '151222xxxxxxxxx'."\n"],
],
],
],
@@ -1952,106 +1675,90 @@
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"totalItem\\": 28,\\n \\"pageSize\\": 10,\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\",\\n \\"currentPage\\": 1,\\n \\"totalPage\\": 3,\\n \\"resultObject\\": [\\n {\\n \\"eventCode\\": \\"de_arcehq4370\\",\\n \\"ruleId\\": \\"102059\\",\\n \\"ruleStatus\\": \\"RUNNING\\",\\n \\"gmtModified\\": 1565701886000,\\n \\"gmtCreate\\": 1621578648000,\\n \\"templateId\\": 0,\\n \\"priority\\": 10,\\n \\"ruleName\\": \\"营销风险识别\\",\\n \\"ruleMemo\\": \\"描述信息\\",\\n \\"eventName\\": \\"注册风险\\",\\n \\"id\\": 2793,\\n \\"version\\": 1,\\n \\"ruleVersionId\\": 11300,\\n \\"eventType\\": \\"MAIN\\",\\n \\"mainRuleId\\": \\"4399\\",\\n \\"consoleAudit\\": {\\n \\"id\\": 1728,\\n \\"applyUserId\\": \\"用户uid\\",\\n \\"applyUserName\\": \\"root\\",\\n \\"auditUserId\\": \\"1234xxxx\\",\\n \\"auditUserName\\": \\"root\\",\\n \\"auditRealUserId\\": \\"1728\\",\\n \\"auditRealUserName\\": \\"root\\",\\n \\"auditStatus\\": \\"AGREE\\",\\n \\"auditTime\\": 1545726028000,\\n \\"gmtCreate\\": 1545726028000,\\n \\"relationId\\": 123,\\n \\"relationType\\": \\"RULE\\",\\n \\"relationName\\": \\"策略1\\\\n\\",\\n \\"relationExt\\": \\"{}\\",\\n \\"auditMsg\\": \\"同意\\",\\n \\"auditRemark\\": \\"备注\\"\\n },\\n \\"externalRuleName\\": \\"策略1\\",\\n \\"ruleAuthType\\": \\"NORMAL\\",\\n \\"authType\\": \\"all\\",\\n \\"hasNewVersion\\": true,\\n \\"ruleType\\": \\"NORMAL\\"\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '策略分页列表',
- ],
- 'DescribeAuditPageList' => [
- 'summary' => '审核列表展示、查询。',
- 'methods' => [
- 'post',
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '策略版本对比',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:CompareRule',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"resultObject\\": {\\n \\"oldRule\\": {\\n \\"memo\\": \\"鸿蒙元服务_交费业务\\",\\n \\"ruleActionMap\\": {\\n \\"TAG\\": \\"[{\\\\\\"code\\\\\\":\\\\\\"addDeTags\\\\\\",\\\\\\"inputs\\\\\\":[\\\\\\"test\\\\\\"],\\\\\\"description\\\\\\":\\\\\\"打标签\\\\\\",\\\\\\"type\\\\\\":\\\\\\"ACTION\\\\\\",\\\\\\"title\\\\\\":\\\\\\"打标签\\\\\\",\\\\\\"actionType\\\\\\":\\\\\\"TAG\\\\\\",\\\\\\"displayType\\\\\\":\\\\\\"ACTION\\\\\\",\\\\\\"sourceType\\\\\\":\\\\\\"SAF\\\\\\",\\\\\\"name\\\\\\":\\\\\\"__addDeTags__\\\\\\",\\\\\\"fieldType\\\\\\":\\\\\\"STRING\\\\\\"}]\\"\\n },\\n \\"version\\": 2,\\n \\"gmtCreate\\": 1760670462000,\\n \\"ruleStatus\\": \\"RUNNING\\",\\n \\"ruleExpressions\\": \\"[{\\\\\\\\\\\\\\"expressionName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"设备token不为空\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"itemId\\\\\\\\\\\\\\":1,\\\\\\\\\\\\\\"left\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"deviceToken\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"operatorCode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"isNotEmptyWrapper\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"operatorName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"不为空\\\\\\\\\\\\\\"}]\\",\\n \\"gmtModified\\": 1760670462000,\\n \\"eventName\\": \\"注册_事件\\",\\n \\"ruleName\\": \\"返回设备信息\\",\\n \\"logicExpression\\": \\"1&2\\",\\n \\"consoleRuleId\\": 6760,\\n \\"ruleId\\": \\"101793\\",\\n \\"ruleVersionId\\": 11518,\\n \\"mainEventCode\\": \\"de_asssce8122\\",\\n \\"eventCode\\": \\"de_asssce8122\\",\\n \\"ruleActions\\": \\"[\\\\n {\\\\n \\\\\\"actionType\\\\\\": \\\\\\"TAG\\\\\\",\\\\n \\\\\\"code\\\\\\": \\\\\\"addDeTags\\\\\\",\\\\n \\\\\\"description\\\\\\": \\\\\\"打标签\\\\\\",\\\\n \\\\\\"displayType\\\\\\": \\\\\\"ACTION\\\\\\",\\\\n \\\\\\"fieldType\\\\\\": \\\\\\"STRING\\\\\\",\\\\n \\\\\\"inputs\\\\\\": [\\\\n \\\\\\"test\\\\\\"\\\\n ],\\\\n \\\\\\"name\\\\\\": \\\\\\"__addDeTags__\\\\\\",\\\\n \\\\\\"sourceType\\\\\\": \\\\\\"SAF\\\\\\",\\\\n \\\\\\"title\\\\\\": \\\\\\"打标签\\\\\\",\\\\n \\\\\\"type\\\\\\": \\\\\\"ACTION\\\\\\"\\\\n }\\\\n]\\",\\n \\"ruleBody\\": \\"{\\\\n \\\\\\"elseStatement\\\\\\": {\\\\n\\\\n },\\\\n \\\\\\"ifStatement\\\\\\": {\\\\n \\\\\\"condition\\\\\\": {\\\\n \\\\\\"currentId\\\\\\": 0,\\\\n \\\\\\"deepCount\\\\\\": 1,\\\\n \\\\\\"list\\\\\\": [\\\\n {\\\\n \\\\\\"sequence\\\\\\": 1,\\\\n \\\\\\"left\\\\\\": {\\\\n \\\\\\"displayType\\\\\\": \\\\\\"NATIVE\\\\\\",\\\\n \\\\\\"code\\\\\\": \\\\\\"ip\\\\\\",\\\\n \\\\\\"functionCode\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"functionName\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"name\\\\\\": \\\\\\"ip\\\\\\",\\\\n \\\\\\"description\\\\\\": \\\\\\"IP地址\\\\\\",\\\\n \\\\\\"hasRightVariable\\\\\\": true,\\\\n \\\\\\"title\\\\\\": \\\\\\"IP地址\\\\\\",\\\\n \\\\\\"type\\\\\\": \\\\\\"NATIVE\\\\\\",\\\\n \\\\\\"fieldType\\\\\\": \\\\\\"STRING\\\\\\"\\\\n },\\\\n \\\\\\"currentId\\\\\\": 0,\\\\n \\\\\\"deepCount\\\\\\": 1,\\\\n \\\\\\"right\\\\\\": {\\\\n \\\\\\"name\\\\\\": \\\\\\"192.168.1.1\\\\\\",\\\\n \\\\\\"rightVariableType\\\\\\": \\\\\\"constant\\\\\\"\\\\n },\\\\n \\\\\\"operatorCode\\\\\\": \\\\\\"equals\\\\\\",\\\\n \\\\\\"operatorName\\\\\\": \\\\\\"等于\\\\\\",\\\\n \\\\\\"parentId\\\\\\": 0\\\\n }\\\\n ],\\\\n \\\\\\"relationship\\\\\\": \\\\\\"and\\\\\\",\\\\n \\\\\\"parentId\\\\\\": 0\\\\n },\\\\n \\\\\\"then\\\\\\": [\\\\n {\\\\n \\\\\\"actionType\\\\\\": \\\\\\"TAG\\\\\\",\\\\n \\\\\\"displayType\\\\\\": \\\\\\"ACTION\\\\\\",\\\\n \\\\\\"code\\\\\\": \\\\\\"addDeTags\\\\\\",\\\\n \\\\\\"sourceType\\\\\\": \\\\\\"SAF\\\\\\",\\\\n \\\\\\"inputs\\\\\\": [\\\\n \\\\\\"10\\\\\\"\\\\n ],\\\\n \\\\\\"name\\\\\\": \\\\\\"__addDeTags__\\\\\\",\\\\n \\\\\\"description\\\\\\": \\\\\\"打标签\\\\\\",\\\\n \\\\\\"outputType\\\\\\": \\\\\\"const\\\\\\",\\\\n \\\\\\"title\\\\\\": \\\\\\"打标签\\\\\\",\\\\n \\\\\\"type\\\\\\": \\\\\\"ACTION\\\\\\",\\\\n \\\\\\"fieldType\\\\\\": \\\\\\"STRING\\\\\\"\\\\n }\\\\n ],\\\\n \\\\\\"expressions\\\\\\": [\\\\n {\\\\n \\\\\\"itemId\\\\\\": 1,\\\\n \\\\\\"left\\\\\\": {\\\\n \\\\\\"displayType\\\\\\": \\\\\\"NATIVE\\\\\\",\\\\n \\\\\\"code\\\\\\": \\\\\\"ip\\\\\\",\\\\n \\\\\\"functionCode\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"functionName\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"name\\\\\\": \\\\\\"ip\\\\\\",\\\\n \\\\\\"description\\\\\\": \\\\\\"IP地址\\\\\\",\\\\n \\\\\\"hasRightVariable\\\\\\": true,\\\\n \\\\\\"title\\\\\\": \\\\\\"IP地址\\\\\\",\\\\n \\\\\\"type\\\\\\": \\\\\\"NATIVE\\\\\\",\\\\n \\\\\\"fieldType\\\\\\": \\\\\\"STRING\\\\\\"\\\\n },\\\\n \\\\\\"expressionName\\\\\\": \\\\\\"IP地址 等于 192.168.1.1\\\\\\",\\\\n \\\\\\"rightValue\\\\\\": \\\\\\"192.168.1.1\\\\\\",\\\\n \\\\\\"right\\\\\\": {\\\\n \\\\\\"name\\\\\\": \\\\\\"192.168.1.1\\\\\\",\\\\n \\\\\\"fieldValue\\\\\\": \\\\\\"192.168.1.1\\\\\\"\\\\n },\\\\n \\\\\\"operatorCode\\\\\\": \\\\\\"equals\\\\\\",\\\\n \\\\\\"operatorName\\\\\\": \\\\\\"等于\\\\\\"\\\\n }\\\\n ]\\\\n },\\\\n \\\\\\"elseIfStatement\\\\\\": [\\\\n\\\\n ]\\\\n}\\",\\n \\"ruleType\\": \\"DSL\\",\\n \\"ruleAuthType\\": \\"NORMAL\\",\\n \\"createType\\": \\"NORMAL\\",\\n \\"authType\\": \\"all\\",\\n \\"auditId\\": 257,\\n \\"userId\\": 0\\n },\\n \\"newRule\\": {\\n \\"memo\\": \\"鸿蒙元服务_交费业务\\",\\n \\"ruleActionMap\\": {\\n \\"TAG\\": \\"[{\\\\\\"code\\\\\\":\\\\\\"addDeTags\\\\\\",\\\\\\"inputs\\\\\\":[\\\\\\"test\\\\\\"],\\\\\\"description\\\\\\":\\\\\\"打标签\\\\\\",\\\\\\"type\\\\\\":\\\\\\"ACTION\\\\\\",\\\\\\"title\\\\\\":\\\\\\"打标签\\\\\\",\\\\\\"actionType\\\\\\":\\\\\\"TAG\\\\\\",\\\\\\"displayType\\\\\\":\\\\\\"ACTION\\\\\\",\\\\\\"sourceType\\\\\\":\\\\\\"SAF\\\\\\",\\\\\\"name\\\\\\":\\\\\\"__addDeTags__\\\\\\",\\\\\\"fieldType\\\\\\":\\\\\\"STRING\\\\\\"}]\\"\\n },\\n \\"version\\": 3,\\n \\"gmtCreate\\": 1760670462000,\\n \\"ruleStatus\\": \\"DRAFT\\",\\n \\"ruleExpressions\\": \\"[{\\\\\\\\\\\\\\"expressionName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"设备token不为空\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"itemId\\\\\\\\\\\\\\":1,\\\\\\\\\\\\\\"left\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"deviceToken\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"operatorCode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"isNotEmptyWrapper\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"operatorName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"不为空\\\\\\\\\\\\\\"}]\\",\\n \\"gmtModified\\": 1761196952000,\\n \\"eventName\\": \\"注册_事件\\\\n\\",\\n \\"ruleName\\": \\"返回设备信息\\\\n\\",\\n \\"logicExpression\\": \\"1&2&3\\",\\n \\"consoleRuleId\\": 6760,\\n \\"ruleId\\": \\"101793\\\\n\\",\\n \\"ruleVersionId\\": 11519,\\n \\"mainEventCode\\": \\"de_asssce8122\\",\\n \\"eventCode\\": \\"de_asssce8122\\",\\n \\"ruleActions\\": \\"[\\\\n {\\\\n \\\\\\"actionType\\\\\\": \\\\\\"TAG\\\\\\",\\\\n \\\\\\"code\\\\\\": \\\\\\"addDeTags\\\\\\",\\\\n \\\\\\"description\\\\\\": \\\\\\"打标签\\\\\\",\\\\n \\\\\\"displayType\\\\\\": \\\\\\"ACTION\\\\\\",\\\\n \\\\\\"fieldType\\\\\\": \\\\\\"STRING\\\\\\",\\\\n \\\\\\"inputs\\\\\\": [\\\\n \\\\\\"test\\\\\\"\\\\n ],\\\\n \\\\\\"name\\\\\\": \\\\\\"__addDeTags__\\\\\\",\\\\n \\\\\\"sourceType\\\\\\": \\\\\\"SAF\\\\\\",\\\\n \\\\\\"title\\\\\\": \\\\\\"打标签\\\\\\",\\\\n \\\\\\"type\\\\\\": \\\\\\"ACTION\\\\\\"\\\\n }\\\\n]\\",\\n \\"ruleBody\\": \\"{\\\\n \\\\\\"elseStatement\\\\\\": {\\\\n\\\\n },\\\\n \\\\\\"ifStatement\\\\\\": {\\\\n \\\\\\"condition\\\\\\": {\\\\n \\\\\\"currentId\\\\\\": 0,\\\\n \\\\\\"deepCount\\\\\\": 1,\\\\n \\\\\\"list\\\\\\": [\\\\n {\\\\n \\\\\\"sequence\\\\\\": 1,\\\\n \\\\\\"left\\\\\\": {\\\\n \\\\\\"displayType\\\\\\": \\\\\\"NATIVE\\\\\\",\\\\n \\\\\\"code\\\\\\": \\\\\\"ip\\\\\\",\\\\n \\\\\\"functionCode\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"functionName\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"name\\\\\\": \\\\\\"ip\\\\\\",\\\\n \\\\\\"description\\\\\\": \\\\\\"IP地址\\\\\\",\\\\n \\\\\\"hasRightVariable\\\\\\": true,\\\\n \\\\\\"title\\\\\\": \\\\\\"IP地址\\\\\\",\\\\n \\\\\\"type\\\\\\": \\\\\\"NATIVE\\\\\\",\\\\n \\\\\\"fieldType\\\\\\": \\\\\\"STRING\\\\\\"\\\\n },\\\\n \\\\\\"currentId\\\\\\": 0,\\\\n \\\\\\"deepCount\\\\\\": 1,\\\\n \\\\\\"right\\\\\\": {\\\\n \\\\\\"name\\\\\\": \\\\\\"192.168.1.1\\\\\\",\\\\n \\\\\\"rightVariableType\\\\\\": \\\\\\"constant\\\\\\"\\\\n },\\\\n \\\\\\"operatorCode\\\\\\": \\\\\\"equals\\\\\\",\\\\n \\\\\\"operatorName\\\\\\": \\\\\\"等于\\\\\\",\\\\n \\\\\\"parentId\\\\\\": 0\\\\n }\\\\n ],\\\\n \\\\\\"relationship\\\\\\": \\\\\\"and\\\\\\",\\\\n \\\\\\"parentId\\\\\\": 0\\\\n },\\\\n \\\\\\"then\\\\\\": [\\\\n {\\\\n \\\\\\"actionType\\\\\\": \\\\\\"TAG\\\\\\",\\\\n \\\\\\"displayType\\\\\\": \\\\\\"ACTION\\\\\\",\\\\n \\\\\\"code\\\\\\": \\\\\\"addDeTags\\\\\\",\\\\n \\\\\\"sourceType\\\\\\": \\\\\\"SAF\\\\\\",\\\\n \\\\\\"inputs\\\\\\": [\\\\n \\\\\\"10\\\\\\"\\\\n ],\\\\n \\\\\\"name\\\\\\": \\\\\\"__addDeTags__\\\\\\",\\\\n \\\\\\"description\\\\\\": \\\\\\"打标签\\\\\\",\\\\n \\\\\\"outputType\\\\\\": \\\\\\"const\\\\\\",\\\\n \\\\\\"title\\\\\\": \\\\\\"打标签\\\\\\",\\\\n \\\\\\"type\\\\\\": \\\\\\"ACTION\\\\\\",\\\\n \\\\\\"fieldType\\\\\\": \\\\\\"STRING\\\\\\"\\\\n }\\\\n ],\\\\n \\\\\\"expressions\\\\\\": [\\\\n {\\\\n \\\\\\"itemId\\\\\\": 1,\\\\n \\\\\\"left\\\\\\": {\\\\n \\\\\\"displayType\\\\\\": \\\\\\"NATIVE\\\\\\",\\\\n \\\\\\"code\\\\\\": \\\\\\"ip\\\\\\",\\\\n \\\\\\"functionCode\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"functionName\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"name\\\\\\": \\\\\\"ip\\\\\\",\\\\n \\\\\\"description\\\\\\": \\\\\\"IP地址\\\\\\",\\\\n \\\\\\"hasRightVariable\\\\\\": true,\\\\n \\\\\\"title\\\\\\": \\\\\\"IP地址\\\\\\",\\\\n \\\\\\"type\\\\\\": \\\\\\"NATIVE\\\\\\",\\\\n \\\\\\"fieldType\\\\\\": \\\\\\"STRING\\\\\\"\\\\n },\\\\n \\\\\\"expressionName\\\\\\": \\\\\\"IP地址 等于 192.168.1.1\\\\\\",\\\\n \\\\\\"rightValue\\\\\\": \\\\\\"192.168.1.1\\\\\\",\\\\n \\\\\\"right\\\\\\": {\\\\n \\\\\\"name\\\\\\": \\\\\\"192.168.1.1\\\\\\",\\\\n \\\\\\"fieldValue\\\\\\": \\\\\\"192.168.1.1\\\\\\"\\\\n },\\\\n \\\\\\"operatorCode\\\\\\": \\\\\\"equals\\\\\\",\\\\n \\\\\\"operatorName\\\\\\": \\\\\\"等于\\\\\\"\\\\n }\\\\n ]\\\\n },\\\\n \\\\\\"elseIfStatement\\\\\\": [\\\\n\\\\n ]\\\\n}\\",\\n \\"ruleType\\": \\"DSL\\",\\n \\"ruleAuthType\\": \\"NORMAL\\",\\n \\"createType\\": \\"NORMAL\\",\\n \\"authType\\": \\"all\\",\\n \\"auditId\\": 258,\\n \\"userId\\": 0\\n }\\n }\\n}","type":"json"}]',
+ ],
+ 'CreateAnalysisConditionFavorite' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'currentPage',
+ 'name' => 'name',
'in' => 'query',
- 'schema' => [
- 'description' => '当前页码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '条件收藏名称。', 'type' => 'string', 'required' => true, 'example' => '条件一'],
],
[
- 'name' => 'pageSize',
+ 'name' => 'eventCodes',
'in' => 'query',
- 'schema' => [
- 'description' => '每页大小,默认值为10。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '事件编码,多个用逗号隔开。', 'type' => 'string', 'required' => true, 'example' => '["de_ahqhsw7665","de_agbzfi5134"]'],
],
[
- 'name' => 'ruleName',
+ 'name' => 'eventBeginTime',
'in' => 'query',
- 'schema' => [
- 'description' => '策略名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '手机号MD5命中人脸测试名单',
- ],
+ 'schema' => ['description' => '开始时间,精确到毫秒(ms)。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1751299200000'],
],
[
- 'name' => 'eventCode',
+ 'name' => 'eventEndTime',
'in' => 'query',
- 'schema' => [
- 'description' => '事件编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'de_awukck7117',
- ],
+ 'schema' => ['description' => '终止日期,精确到毫秒(ms)。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1753372799000'],
],
[
- 'name' => 'auditStatus',
+ 'name' => 'condition',
'in' => 'query',
- 'schema' => [
- 'description' => '审核状态。',
- 'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [
- 'WITHDRAW' => '撤回',
- 'REJECT' => '拒绝',
- 'AUDITING' => '审核中',
- 'AGREE' => '同意',
- ],
- 'example' => 'SUCCESS',
- ],
+ 'schema' => ['description' => '条件值。', 'type' => 'string', 'required' => true, 'example' => '{"relationship":"and","list":[{"deepCount":1,"left":{"hasRightVariable":true,"fieldType":"INT","functionName":"","leftVariableType":"NATIVE","name":"DEtest222","operatorCode":"equals"},"right":{"rightVariableType":"constant","name":"11","functionName":""},"operatorCode":"equals"}]}'],
+ ],
+ [
+ 'name' => 'type',
+ 'in' => 'query',
+ 'schema' => ['description' => '查询类型。', 'type' => 'string', 'required' => true, 'example' => 'BASIC'],
+ ],
+ [
+ 'name' => 'fieldName',
+ 'in' => 'query',
+ 'schema' => ['description' => '字段名称。', 'type' => 'string', 'required' => false, 'example' => 'age'],
+ ],
+ [
+ 'name' => 'fieldValue',
+ 'in' => 'query',
+ 'schema' => ['description' => '字段值。', 'type' => 'string', 'required' => false, 'example' => '10'],
],
],
'responses' => [
@@ -2059,136 +1766,151 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'resultObject' => [
- 'description' => '返回对象。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'requestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2',
- ],
- 'totalItem' => [
- 'description' => '总条数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '6',
- ],
- 'pageSize' => [
- 'description' => '每页记录数,默认值:10。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'currentPage' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'totalPage' => [
- 'description' => '总页数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '4',
- ],
+ 'resultObject' => ['description' => '返回对象。', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\",\\n \\"totalItem\\": 6,\\n \\"pageSize\\": 10,\\n \\"currentPage\\": 1,\\n \\"totalPage\\": 4\\n}","type":"json"}]',
- 'title' => '审核列表',
- ],
- 'DescribeRuleVersionList' => [
- 'summary' => '查询策略版本列表。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '保存查询条件',
+ 'summary' => '新增查询条件。',
+ 'changeSet' => [
+ ['createdAt' => '2021-12-22T09:23:29.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateAnalysisConditionFavorite'],
+ ],
],
- 'security' => [
+ 'ramActions' => [
[
- 'AK' => [],
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
],
- 'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREsafBCGX2Z',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'CreateAnalysisExportTask' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
],
],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'consoleRuleId',
+ 'name' => 'eventCodes',
'in' => 'query',
- 'schema' => [
- 'description' => '策略主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '6851',
- ],
+ 'schema' => ['description' => '事件code。', 'type' => 'string', 'required' => true, 'example' => 'de_afghcf6411'],
],
[
- 'name' => 'ruleId',
+ 'name' => 'scope',
'in' => 'query',
- 'schema' => [
- 'description' => '策略ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '101804',
- ],
+ 'schema' => ['description' => '导出范围:ALL:全部,SELECT:选中行。', 'type' => 'string', 'required' => true, 'example' => 'ALL'],
],
[
- 'name' => 'currentPage',
+ 'name' => 'fileFormat',
'in' => 'query',
- 'schema' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '文件格式,Excel、CSV。', 'type' => 'string', 'required' => true, 'example' => 'CSV'],
],
[
- 'name' => 'pageSize',
+ 'name' => 'columns',
'in' => 'query',
- 'schema' => [
- 'description' => '每页大小,默认值为10。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '自定义列。', 'type' => 'string', 'required' => false, 'example' => '['."\n"
+ .' {'."\n"
+ .' "fieldName": "requestId",'."\n"
+ .' "fieldTitle": "RequestId"'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "fieldName": "eventTime",'."\n"
+ .' "fieldTitle": "事件时间"'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "fieldName": "accountId",'."\n"
+ .' "fieldTitle": "账号"'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "fieldName": "deviceId",'."\n"
+ .' "fieldTitle": "设备ID"'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "fieldName": "eventCode",'."\n"
+ .' "fieldTitle": "事件编码"'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "fieldName": "ip",'."\n"
+ .' "fieldTitle": "IP"'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "fieldName": "score",'."\n"
+ .' "fieldTitle": "分值"'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "fieldName": "tags",'."\n"
+ .' "fieldTitle": "标签"'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "fieldName": "DEtest222",'."\n"
+ .' "fieldTitle": "测试222"'."\n"
+ .' }'."\n"
+ .' ]'],
+ ],
+ [
+ 'name' => 'eventBeginTime',
+ 'in' => 'query',
+ 'schema' => ['description' => '开始时间,精确到毫秒(ms)。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1752076800000'],
+ ],
+ [
+ 'name' => 'eventEndTime',
+ 'in' => 'query',
+ 'schema' => ['description' => '结束时间,精确到毫秒(ms)。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1753891199000'],
+ ],
+ [
+ 'name' => 'type',
+ 'in' => 'query',
+ 'schema' => ['description' => '类型,BASIC:基础查询,ADVANCE:高级查询,BATCH:批量查询。', 'type' => 'string', 'required' => true, 'example' => 'BASIC'],
+ ],
+ [
+ 'name' => 'conditions',
+ 'in' => 'query',
+ 'schema' => ['description' => '查询表达式。', 'type' => 'string', 'required' => false, 'example' => '{'."\n"
+ .' "fieldName": null, '."\n"
+ .' "fieldValue": null '."\n"
+ .' }'],
+ ],
+ [
+ 'name' => 'fieldName',
+ 'in' => 'query',
+ 'schema' => ['description' => '字段名称。', 'type' => 'string', 'required' => false, 'example' => 'age'],
+ ],
+ [
+ 'name' => 'fieldValue',
+ 'in' => 'query',
+ 'schema' => ['description' => '字段值。', 'type' => 'string', 'required' => false, 'example' => '20'],
],
],
'responses' => [
@@ -2196,268 +1918,120 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'totalItem' => [
- 'description' => '总条数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '3',
- ],
- 'pageSize' => [
- 'description' => '每页大小,默认值为10。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'requestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2',
- ],
- 'currentPage' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'totalPage' => [
- 'description' => '总页数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '7',
- ],
'resultObject' => [
'description' => '返回对象。',
- 'type' => 'array',
- 'items' => [
- 'description' => '返回对象。',
- 'type' => 'object',
- 'properties' => [
- 'consoleAudit' => [
- 'description' => '审核对象。',
- 'type' => 'object',
- 'properties' => [
- 'applyUserId' => [
- 'description' => '发起人uid。',
- 'type' => 'string',
- 'example' => '1519714049632764',
- ],
- 'applyUserName' => [
- 'description' => '发起人name。',
- 'type' => 'string',
- 'example' => 'root',
- ],
- 'auditMsg' => [
- 'description' => '审批意见。',
- 'type' => 'string',
- 'example' => '同意',
- ],
- 'auditRealUserId' => [
- 'description' => '最终审核人uid。',
- 'type' => 'string',
- 'example' => '1519714049632764',
- ],
- 'auditRealUserName' => [
- 'description' => '最终审核人name。',
- 'type' => 'string',
- 'example' => 'root',
- ],
- 'auditRemark' => [
- 'description' => '审批人备注。',
- 'type' => 'string',
- 'example' => '备注',
- ],
- 'auditStatus' => [
- 'description' => '审核状态。',
- 'type' => 'string',
- 'example' => 'AGREE',
- ],
- 'auditTime' => [
- 'description' => '审批时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1545726028000',
- ],
- 'auditUserId' => [
- 'description' => '指定审核uid。',
- 'type' => 'string',
- 'example' => '1519714049632764',
- ],
- 'auditUserName' => [
- 'description' => '指定审核name。',
- 'type' => 'string',
- 'example' => 'root',
- ],
- 'gmtCreate' => [
- 'description' => '创建时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1545726028000',
- ],
- 'id' => [
- 'description' => '主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1728',
- ],
- 'relationExt' => [
- 'description' => '关联的其他人信息(json结构)。',
- 'type' => 'string',
- 'example' => '{}',
- ],
- 'relationId' => [
- 'description' => '审批关联的事务ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '123',
- ],
- 'relationName' => [
- 'description' => '审批关联名称。',
- 'type' => 'string',
- 'example' => '营销风险识别',
- ],
- 'relationType' => [
- 'description' => '审批的类型(如rule代表策略的审批)。',
- 'type' => 'string',
- 'example' => 'RULE',
- ],
- ],
- ],
- 'consoleRuleId' => [
- 'description' => '控制台规则ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '6715',
- ],
- 'ruleId' => [
- 'description' => '策略ID。',
- 'type' => 'string',
- 'example' => '102224',
- ],
- 'consoleRuleName' => [
- 'description' => '关联的策略名称。',
- 'type' => 'string',
- 'example' => '营销风险识别'."\n",
- ],
- 'consoleRuleMemo' => [
- 'description' => '关联的策略备注。',
- 'type' => 'string',
- 'example' => '备注',
- ],
- 'eventCode' => [
- 'description' => '事件编码。',
- 'type' => 'string',
- 'example' => 'de_aszbjb7236',
- ],
- 'gmtCreate' => [
- 'description' => '创建时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1621578648000',
- ],
- 'gmtModified' => [
- 'description' => '修改时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1565701886000',
- ],
- 'id' => [
- 'description' => '策略主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '376773',
- ],
- 'priority' => [
- 'description' => '策略优先级,数字越大优先级越高。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'ruleStatus' => [
- 'description' => '策略状态。',
- 'type' => 'string',
- 'example' => 'RUNNING',
- ],
- 'version' => [
- 'description' => '版本号。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2',
- ],
- 'lastOperator' => [
- 'description' => '上一次操作的用户。',
- 'type' => 'string',
- 'example' => '1519714049632764',
- ],
- 'eventType' => [
- 'description' => '事件类型。',
- 'type' => 'string',
- 'example' => 'MAIN',
- ],
- 'ruleType' => [
- 'description' => '策略类型。',
- 'type' => 'string',
- 'example' => 'DEFAULT',
- ],
- ],
+ 'type' => 'object',
+ 'properties' => [
+ 'eventCodes' => ['description' => '事件code。', 'type' => 'string', 'example' => 'de_ahespg8137'],
+ 'eventBeginTime' => ['description' => '事件开始时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1752076800000'],
+ 'eventEndTime' => ['description' => '结束时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1753891199000'],
+ 'type' => ['description' => '导出任务类型。', 'type' => 'string', 'example' => 'BASIC'],
+ 'scope' => ['description' => '导出任务的范围。', 'type' => 'string', 'example' => 'ALL'],
+ 'fileFormat' => ['description' => '文件格式。', 'type' => 'string', 'example' => 'CSV'],
+ 'conditions' => ['description' => '导出任务的条件。', 'type' => 'string', 'example' => '{'."\n"
+ .' "fieldName": null, '."\n"
+ .' "fieldValue": null '."\n"
+ .' }'],
+ 'columns' => ['description' => '导出列表。', 'type' => 'string', 'example' => '['."\n"
+ .' {'."\n"
+ .' "fieldName": "requestId",'."\n"
+ .' "fieldTitle": "RequestId"'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "fieldName": "eventTime",'."\n"
+ .' "fieldTitle": "事件时间"'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "fieldName": "accountId",'."\n"
+ .' "fieldTitle": "账号"'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "fieldName": "deviceId",'."\n"
+ .' "fieldTitle": "设备ID"'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "fieldName": "eventCode",'."\n"
+ .' "fieldTitle": "事件编码"'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "fieldName": "ip",'."\n"
+ .' "fieldTitle": "IP"'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "fieldName": "score",'."\n"
+ .' "fieldTitle": "分值"'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "fieldName": "tags",'."\n"
+ .' "fieldTitle": "标签"'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "fieldName": "DEtest222",'."\n"
+ .' "fieldTitle": "测试222"'."\n"
+ .' }'."\n"
+ .' ]'],
+ 'status' => ['description' => '任务状态。', 'type' => 'string', 'example' => 'RUNNING'],
+ 'ossKey' => ['description' => 'oss随机生成的密钥。', 'type' => 'string', 'example' => 'xxxxx'],
+ 'userId' => ['description' => '用户uid。', 'type' => 'integer', 'format' => 'int64', 'example' => '1519714049632764'],
],
],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"totalItem\\": 3,\\n \\"pageSize\\": 10,\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\",\\n \\"currentPage\\": 1,\\n \\"totalPage\\": 7,\\n \\"resultObject\\": [\\n {\\n \\"consoleAudit\\": {\\n \\"applyUserId\\": \\"1519714049632764\\",\\n \\"applyUserName\\": \\"root\\",\\n \\"auditMsg\\": \\"同意\\",\\n \\"auditRealUserId\\": \\"1519714049632764\\",\\n \\"auditRealUserName\\": \\"root\\",\\n \\"auditRemark\\": \\"备注\\",\\n \\"auditStatus\\": \\"AGREE\\",\\n \\"auditTime\\": 1545726028000,\\n \\"auditUserId\\": \\"1519714049632764\\",\\n \\"auditUserName\\": \\"root\\",\\n \\"gmtCreate\\": 1545726028000,\\n \\"id\\": 1728,\\n \\"relationExt\\": \\"{}\\",\\n \\"relationId\\": 123,\\n \\"relationName\\": \\"营销风险识别\\",\\n \\"relationType\\": \\"RULE\\"\\n },\\n \\"consoleRuleId\\": 6715,\\n \\"ruleId\\": \\"102224\\",\\n \\"consoleRuleName\\": \\"营销风险识别\\\\n\\",\\n \\"consoleRuleMemo\\": \\"备注\\",\\n \\"eventCode\\": \\"de_aszbjb7236\\",\\n \\"gmtCreate\\": 1621578648000,\\n \\"gmtModified\\": 1565701886000,\\n \\"id\\": 376773,\\n \\"priority\\": 10,\\n \\"ruleStatus\\": \\"RUNNING\\",\\n \\"version\\": 2,\\n \\"lastOperator\\": \\"1519714049632764\\",\\n \\"eventType\\": \\"MAIN\\",\\n \\"ruleType\\": \\"DEFAULT\\"\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '策略版本列表',
- ],
- 'DescribeAuditConfig' => [
- 'summary' => '审批开关。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '新建导出任务',
+ 'summary' => '新建导出任务。',
+ 'changeSet' => [
+ ['createdAt' => '2021-12-22T09:23:29.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateAnalysisExportTask'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": {\\n \\"eventCodes\\": \\"de_ahespg8137\\",\\n \\"eventBeginTime\\": 1752076800000,\\n \\"eventEndTime\\": 1753891199000,\\n \\"type\\": \\"BASIC\\",\\n \\"scope\\": \\"ALL\\",\\n \\"fileFormat\\": \\"CSV\\",\\n \\"conditions\\": \\"{\\\\n \\\\\\"fieldName\\\\\\": null, \\\\n \\\\\\"fieldValue\\\\\\": null \\\\n }\\",\\n \\"columns\\": \\"[\\\\n {\\\\n \\\\\\"fieldName\\\\\\": \\\\\\"requestId\\\\\\",\\\\n \\\\\\"fieldTitle\\\\\\": \\\\\\"RequestId\\\\\\"\\\\n },\\\\n {\\\\n \\\\\\"fieldName\\\\\\": \\\\\\"eventTime\\\\\\",\\\\n \\\\\\"fieldTitle\\\\\\": \\\\\\"事件时间\\\\\\"\\\\n },\\\\n {\\\\n \\\\\\"fieldName\\\\\\": \\\\\\"accountId\\\\\\",\\\\n \\\\\\"fieldTitle\\\\\\": \\\\\\"账号\\\\\\"\\\\n },\\\\n {\\\\n \\\\\\"fieldName\\\\\\": \\\\\\"deviceId\\\\\\",\\\\n \\\\\\"fieldTitle\\\\\\": \\\\\\"设备ID\\\\\\"\\\\n },\\\\n {\\\\n \\\\\\"fieldName\\\\\\": \\\\\\"eventCode\\\\\\",\\\\n \\\\\\"fieldTitle\\\\\\": \\\\\\"事件编码\\\\\\"\\\\n },\\\\n {\\\\n \\\\\\"fieldName\\\\\\": \\\\\\"ip\\\\\\",\\\\n \\\\\\"fieldTitle\\\\\\": \\\\\\"IP\\\\\\"\\\\n },\\\\n {\\\\n \\\\\\"fieldName\\\\\\": \\\\\\"score\\\\\\",\\\\n \\\\\\"fieldTitle\\\\\\": \\\\\\"分值\\\\\\"\\\\n },\\\\n {\\\\n \\\\\\"fieldName\\\\\\": \\\\\\"tags\\\\\\",\\\\n \\\\\\"fieldTitle\\\\\\": \\\\\\"标签\\\\\\"\\\\n },\\\\n {\\\\n \\\\\\"fieldName\\\\\\": \\\\\\"DEtest222\\\\\\",\\\\n \\\\\\"fieldTitle\\\\\\": \\\\\\"测试222\\\\\\"\\\\n }\\\\n ]\\",\\n \\"status\\": \\"RUNNING\\",\\n \\"ossKey\\": \\"xxxxx\\",\\n \\"userId\\": 1519714049632764\\n },\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'CreateAppKey' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'readAndWrite',
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'create',
+ 'abilityTreeCode' => '135917',
+ 'abilityTreeNodes' => ['FEATUREsaf64YRTV', 'FEATUREsaf6E3SDJ', 'FEATUREsafL5D4RG'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
- ],
- [
- 'name' => 'auditRelationType',
- 'in' => 'query',
- 'schema' => [
- 'description' => '审核类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'RULE',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
@@ -2465,48 +2039,42 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'success' => [
- 'description' => '请求是否成功。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'code' => [
- 'description' => '状态码。',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'message' => [
- 'description' => '错误信息。',
- 'type' => 'string',
- 'example' => 'The input parameter data is not valid. order_storage_company_num component not found',
- ],
- 'httpStatusCode' => [
- 'description' => 'HTTP状态码。',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'resultObject' => [
- 'description' => '返回对象。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'data' => ['description' => '数据对象', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"success\\": true,\\n \\"code\\": \\"200\\",\\n \\"message\\": \\"The input parameter data is not valid. order_storage_company_num component not found\\",\\n \\"httpStatusCode\\": \\"200\\",\\n \\"resultObject\\": true\\n}","type":"json"}]',
- 'title' => '审核配置',
- ],
- 'UpdateRuleBase' => [
- 'summary' => '更新策略基础信息。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '创建appKey',
+ 'summary' => '创建appKey。',
+ 'changeSet' => [
+ ['createdAt' => '2024-12-20T06:03:02.000Z', 'description' => '响应参数发生变更'],
+ ['createdAt' => '2022-05-11T07:23:07.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateAppKey'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'CreateCustVariable' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2515,816 +2083,393 @@
'operationType' => 'readAndWrite',
'systemTags' => [
'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREsafXYIHRP'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'consoleRuleId',
+ 'name' => 'eventCodes',
'in' => 'query',
- 'schema' => [
- 'description' => '策略主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '6843',
- ],
+ 'schema' => ['description' => '事件编码。', 'type' => 'string', 'required' => true, 'example' => 'de_ahqhsw7665,de_agbzfi5134'],
],
[
- 'name' => 'ruleId',
+ 'name' => 'velocityFC',
'in' => 'query',
'schema' => [
- 'description' => '策略ID。',
+ 'description' => '变量类型。',
'type' => 'string',
- 'required' => false,
- 'example' => '102224',
+ 'required' => true,
+ 'enumValueTitles' => ['AVG' => '平均值', 'MIN' => '最小', 'MAX' => '最大', 'DISTINCT' => '按客体去重函数', 'COUNT' => '主体在客体的累计次数', 'SUM' => '主体在客体下的操作总和', 'HISTORY' => '历史值'],
+ 'example' => 'DISTINCT',
],
],
[
- 'name' => 'ruleName',
+ 'name' => 'historyValueType',
'in' => 'query',
'schema' => [
- 'description' => '策略名称。',
+ 'description' => '取值类型。',
'type' => 'string',
'required' => false,
- 'example' => '营销风险识别',
+ 'enumValueTitles' => ['LAST' => '最近', 'EARLIEST' => '最早'],
+ 'example' => 'EARLIEST',
],
],
[
- 'name' => 'memo',
+ 'name' => 'outputs',
'in' => 'query',
- 'schema' => [
- 'description' => '描述。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '备注',
- ],
+ 'schema' => ['description' => '变量返回类型。', 'type' => 'string', 'required' => false, 'example' => 'STRING'],
],
[
- 'name' => 'eventCode',
+ 'name' => 'title',
'in' => 'query',
- 'schema' => [
- 'description' => '事件编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'de_arcehq4370',
- ],
+ 'schema' => ['description' => '标题。', 'type' => 'string', 'required' => true, 'example' => 'ip调用次数累计'],
],
- ],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'resultObject' => [
- 'description' => '返回对象。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'requestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2',
- ],
- ],
- ],
+ [
+ 'name' => 'description',
+ 'in' => 'query',
+ 'schema' => ['description' => '描述信息。', 'type' => 'string', 'required' => false, 'example' => 'ip调用次数累计描述'],
],
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\"\\n}","type":"json"}]',
- 'title' => '修改策略基础信息',
- ],
- 'DescribeRuleDetailByRuleId' => [
- 'summary' => '查询策略/版本详情。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'timeType',
+ 'in' => 'query',
+ 'schema' => ['description' => '时间切片类型。', 'type' => 'string', 'required' => true, 'example' => 'CURRENT'],
],
- ],
- 'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREsafBCGX2Z',
+ [
+ 'name' => 'twCount',
+ 'in' => 'query',
+ 'schema' => ['description' => '时间数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
- ],
- 'parameters' => [
[
- 'name' => 'Lang',
+ 'name' => 'velocityTW',
'in' => 'query',
'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
+ 'description' => '时间切片单位。',
'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
+ 'required' => true,
+ 'enumValueTitles' => ['DAY_1' => '1天', 'MONTH_1' => '1月', 'WEEK_1' => '1周', 'MINITE_30' => '30分钟', 'HOUR_12' => '12小时', 'HOUR_1' => '1小时', 'MINITE_5' => '5分钟', 'MINITE_1' => '1分钟'],
+ 'example' => 'DAY_1',
],
],
[
- 'name' => 'ruleId',
+ 'name' => 'subject',
'in' => 'query',
- 'schema' => [
- 'description' => '策略ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '102059',
- ],
+ 'schema' => ['description' => '主对象。', 'type' => 'string', 'required' => true, 'example' => 'name'],
],
[
- 'name' => 'consoleRuleId',
+ 'name' => 'object',
'in' => 'query',
- 'schema' => [
- 'description' => '策略主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '7110',
- ],
+ 'schema' => ['description' => '累计对象。', 'type' => 'string', 'required' => false, 'example' => 'age'],
],
[
- 'name' => 'ruleVersionId',
+ 'name' => 'createType',
'in' => 'query',
- 'schema' => [
- 'description' => '策略版本号主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '10203',
- ],
+ 'schema' => ['description' => '创建类型。', 'type' => 'string', 'required' => false, 'example' => 'NORMAL'],
],
[
- 'name' => 'regId',
+ 'name' => 'condition',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '条件值。', 'type' => 'string', 'required' => false, 'example' => '{"relationship":"and","list":[{"deepCount":1,"left":{"hasRightVariable":true,"fieldType":"INT","functionName":"","leftVariableType":"NATIVE","name":"DEtest222","operatorCode":"equals"},"right":{"rightVariableType":"constant","name":"11","functionName":""},"operatorCode":"equals"}]}'],
],
],
'responses' => [
200 => [
+ 'headers' => [],
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
- 'resultObject' => [
- 'description' => '返回对象。',
- 'type' => 'object',
- 'properties' => [
- 'memo' => [
- 'description' => '备注。',
- 'type' => 'string',
- 'example' => '备注',
- ],
- 'ruleActionMap' => [
- 'description' => '规则动作结构。',
- 'type' => 'object',
- 'example' => '{'."\n"
- .' "SCORE": ['."\n"
- .' {'."\n"
- .' "actionType": "SCORE",'."\n"
- .' "displayType": "ACTION",'."\n"
- .' "code": "deAddScore",'."\n"
- .' "sourceType": "SAF",'."\n"
- .' "inputs": ['."\n"
- .' "123"'."\n"
- .' ],'."\n"
- .' "name": "__addDeScore__",'."\n"
- .' "description": "打分",'."\n"
- .' "inputTitle": "123",'."\n"
- .' "outputType": "const",'."\n"
- .' "type": "ACTION",'."\n"
- .' "title": "打分",'."\n"
- .' "fieldType": "DOUBLE"'."\n"
- .' }'."\n"
- .' ],'."\n"
- .' "VARIABLE": ['."\n"
- .' {'."\n"
- .' "actionType": "VARIABLE",'."\n"
- .' "displayType": "MIDDLE",'."\n"
- .' "code": "mid1",'."\n"
- .' "inputs": ['."\n"
- .' "gg"'."\n"
- .' ],'."\n"
- .' "name": "mid1",'."\n"
- .' "description": "中间变量,mid1",'."\n"
- .' "type": "MIDDLE",'."\n"
- .' "title": "mid1",'."\n"
- .' "fieldType": "STRING"'."\n"
- .' }'."\n"
- .' ],'."\n"
- .' "TAG": ['."\n"
- .' {'."\n"
- .' "actionType": "TAG",'."\n"
- .' "displayType": "ACTION",'."\n"
- .' "code": "addDeTags",'."\n"
- .' "sourceType": "SAF",'."\n"
- .' "inputs": ['."\n"
- .' "123"'."\n"
- .' ],'."\n"
- .' "name": "__addDeTags__",'."\n"
- .' "description": "打标签",'."\n"
- .' "outputType": "const",'."\n"
- .' "type": "ACTION",'."\n"
- .' "title": "打标签",'."\n"
- .' "fieldType": "STRING"'."\n"
- .' }'."\n"
- .' ],'."\n"
- .' "MIDDLE_VARIABLE": ['."\n"
- .' {'."\n"
- .' "actionType": "MIDDLE_VARIABLE",'."\n"
- .' "inputs": ['."\n"
- .' "mid1"'."\n"
- .' ],'."\n"
- .' "fieldValue": "123",'."\n"
- .' "fieldType": "STRING"'."\n"
- .' }'."\n"
- .' ]'."\n"
- .' }',
- ],
- 'bizVersion' => [
- 'description' => '版本。',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'gmtCreate' => [
- 'description' => '创建时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1621578648000',
- ],
- 'ruleStatus' => [
- 'description' => '策略状态。',
- 'type' => 'string',
- 'example' => 'RUNNING',
- ],
- 'ruleExpressions' => [
- 'description' => '规则表达式。',
- 'type' => 'string',
- 'example' => '[{\\"expressionName\\":\\"营销风险识别评分\\",\\"itemId\\":1,\\"left\\":{\\"name\\":\\"sl_rjtsDXK124a5\\"},\\"operatorCode\\":\\"between\\",\\"operatorName\\":\\"数字在[a,b]之间\\",\\"right\\":{\\"fieldValue\\":\\"[65,100]\\"}}]',
- ],
- 'gmtModified' => [
- 'description' => '修改时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1565701886000',
- ],
- 'eventName' => [
- 'description' => '事件名称。',
- 'type' => 'string',
- 'example' => '注册风险',
- ],
- 'ruleName' => [
- 'description' => '策略名称。',
- 'type' => 'string',
- 'example' => '营销风险识别',
- ],
- 'logicExpression' => [
- 'description' => '日志表达式。',
- 'type' => 'string',
- 'example' => '1&2',
- ],
- 'consoleRuleId' => [
- 'description' => '策略主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '6633',
- ],
- 'ruleId' => [
- 'description' => '策略ID。',
- 'type' => 'string',
- 'example' => '101544',
- ],
- 'ruleVersionId' => [
- 'description' => '策略版本号主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '3823',
- ],
- 'mainEventCode' => [
- 'description' => '主事件code。',
- 'type' => 'string',
- 'example' => 'de_asssce8122',
- ],
- 'eventCode' => [
- 'description' => '事件编码。',
- 'type' => 'string',
- 'example' => 'de_asssce8122',
- ],
- 'ruleActions' => [
- 'description' => '规则动作。',
- 'type' => 'string',
- 'example' => '[{\\"actionType\\":\\"TAG\\",\\"code\\":\\"addDeTags\\",\\"description\\":\\"打标签\\",\\"displayType\\":\\"ACTION\\",\\"fieldType\\":\\"STRING\\",\\"inputs\\":[\\"123\\"],\\"name\\":\\"__addDeTags__\\",\\"outputType\\":\\"const\\",\\"sourceType\\":\\"SAF\\",\\"title\\":\\"打标签\\",\\"type\\":\\"ACTION\\"},{\\"actionType\\":\\"SCORE\\",\\"code\\":\\"deAddScore\\",\\"description\\":\\"打分\\",\\"displayType\\":\\"ACTION\\",\\"fieldType\\":\\"DOUBLE\\",\\"inputTitle\\":\\"123\\",\\"inputs\\":[\\"123\\"],\\"name\\":\\"__addDeScore__\\",\\"outputType\\":\\"const\\",\\"sourceType\\":\\"SAF\\",\\"title\\":\\"打分\\",\\"type\\":\\"ACTION\\"},{\\"actionType\\":\\"MIDDLE_VARIABLE\\",\\"fieldType\\":\\"STRING\\",\\"fieldValue\\":\\"123\\",\\"inputs\\":[\\"mid1\\"]},{\\"actionType\\":\\"VARIABLE\\",\\"code\\":\\"mid1\\",\\"description\\":\\"中间变量,mid1\\",\\"displayType\\":\\"MIDDLE\\",\\"fieldType\\":\\"STRING\\",\\"inputs\\":[\\"gg\\"],\\"name\\":\\"mid1\\",\\"title\\":\\"mid1\\",\\"type\\":\\"MIDDLE\\"}]',
- ],
- 'ruleBody' => [
- 'description' => 'DSL策略表达式。',
- 'type' => 'string',
- 'example' => '{\\"elseIfStatement\\":[{\\"condition\\":{\\"currentId\\":0,\\"deepCount\\":1,\\"list\\":[{\\"currentId\\":0,\\"deepCount\\":1,\\"left\\":{\\"code\\":\\"getLbsRegion(longitude, latitude)?.prov\\",\\"description\\":\\"根据经纬度得到省份信息,比如经度:111.878062,纬度:22.585409,则经过运算,输出”广东省“\\",\\"displayType\\":\\"SELF_BIND\\",\\"fieldType\\":\\"STRING\\",\\"functionCode\\":\\"\\",\\"functionName\\":\\"\\",\\"hasRightVariable\\":true,\\"name\\":\\"sl_S02sHLFT7818\\",\\"outputThreshold\\":{},\\"sourceType\\":\\"SAF\\",\\"title\\":\\"经纬度自定义系统变量\\",\\"type\\":\\"SELF_BIND\\"},\\"operatorCode\\":\\"equals\\",\\"operatorName\\":\\"等于\\",\\"parentId\\":0,\\"right\\":{\\"name\\":\\"cc\\",\\"rightVariableType\\":\\"constant\\"},\\"sequence\\":5}],\\"parentId\\":0,\\"relationship\\":\\"and\\"},\\"then\\":[{\\"actionType\\":\\"TAG\\",\\"code\\":\\"addDeTags\\",\\"description\\":\\"打标签\\",\\"displayType\\":\\"ACTION\\",\\"fieldType\\":\\"STRING\\",\\"inputs\\":[\\"332\\"],\\"name\\":\\"__addDeTags__\\",\\"outputType\\":\\"const\\",\\"sourceType\\":\\"SAF\\",\\"title\\":\\"打标签\\",\\"type\\":\\"ACTION\\"}]}],\\"elseStatement\\":{\\"then\\":[{\\"actionType\\":\\"TAG\\",\\"code\\":\\"addDeTags\\",\\"description\\":\\"打标签\\",\\"displayType\\":\\"ACTION\\",\\"fieldType\\":\\"STRING\\",\\"inputs\\":[\\"321\\"],\\"name\\":\\"__addDeTags__\\",\\"outputType\\":\\"const\\",\\"sourceType\\":\\"SAF\\",\\"title\\":\\"打标签\\",\\"type\\":\\"ACTION\\"}]},\\"ifStatement\\":{\\"condition\\":{\\"currentId\\":0,\\"deepCount\\":1,\\"list\\":[{\\"currentId\\":0,\\"deepCount\\":1,\\"left\\":{\\"code\\":\\"queryPhoneSimulatorInfo(deviceToken)?.brand\\",\\"description\\":\\"设备信息-终端品牌\\",\\"displayType\\":\\"DEVICE\\",\\"fieldType\\":\\"STRING\\",\\"functionCode\\":\\"\\",\\"functionName\\":\\"\\",\\"hasRightVariable\\":true,\\"name\\":\\"__device_brand__\\",\\"sourceType\\":\\"SAF\\",\\"title\\":\\"设备信息-终端品牌-brand\\",\\"type\\":\\"DEVICE\\"},\\"operatorCode\\":\\"deInNameList\\",\\"operatorName\\":\\"在名单中\\",\\"parentId\\":0,\\"right\\":{\\"code\\":\\"nl_UN8otElLb490\\",\\"description\\":\\"描述11\\",\\"displayType\\":\\"NAME_LIST\\",\\"name\\":\\"nl_UN8otElLb490\\",\\"rightVariableType\\":\\"constant\\",\\"sourceType\\":\\"SAF\\",\\"title\\":\\"wtz_名单新建测试02\\",\\"type\\":\\"NAME_LIST\\"},\\"sequence\\":1},{\\"currentId\\":0,\\"deepCount\\":1,\\"left\\":{\\"code\\":\\"deFunctionProcess(ip,\\\\\\"isIp\\\\\\")\\",\\"description\\":\\"判断是否符合IPv4标准\\",\\"displayType\\":\\"SYSTEM_BIND\\",\\"fieldType\\":\\"BOOLEAN\\",\\"functionCode\\":\\"\\",\\"functionName\\":\\"\\",\\"hasRightVariable\\":false,\\"name\\":\\"__isIpAddressV4__\\",\\"outputThreshold\\":{},\\"sourceType\\":\\"SAF\\",\\"title\\":\\"IP是否符合IPV4格式\\",\\"type\\":\\"SYSTEM_BIND\\"},\\"operatorCode\\":\\"boolIsTrue\\",\\"operatorName\\":\\"为true\\",\\"parentId\\":0,\\"right\\":{\\"name\\":\\"\\",\\"rightVariableType\\":\\"constant\\"},\\"sequence\\":2},{\\"currentId\\":0,\\"deepCount\\":1,\\"list\\":[{\\"currentId\\":0,\\"deepCount\\":1,\\"left\\":{\\"code\\":\\"parseIpV2(ip)?.cityId\\",\\"description\\":\\"通过IP地址库解析IP所在的城市Code,例如,输入“42.120.74.211”,经过该变量运算,输出“330100”。\\",\\"displayType\\":\\"SYSTEM_BIND\\",\\"fieldType\\":\\"STRING\\",\\"functionCode\\":\\"\\",\\"functionName\\":\\"\\",\\"hasRightVariable\\":true,\\"name\\":\\"__ipLocationCityCode__\\",\\"outputThreshold\\":{},\\"sourceType\\":\\"SAF\\",\\"title\\":\\"IP所在地_城市Code\\",\\"type\\":\\"SYSTEM_BIND\\"},\\"operatorCode\\":\\"equals\\",\\"operatorName\\":\\"等于\\",\\"parentId\\":0,\\"right\\":{\\"code\\":\\"deFunctionProcess(ip,\\\\\\"getCountry\\\\\\")\\",\\"description\\":\\"通过IP地址库解析IP所在的城市名称,例如,输入“42.120.74.211”,经过该变量运算,输出“CN”。\\",\\"displayType\\":\\"SYSTEM_BIND\\",\\"fieldType\\":\\"STRING\\",\\"functionCode\\":\\"\\",\\"functionName\\":\\"\\",\\"name\\":\\"__ipLocationCountryId__\\",\\"outputThreshold\\":{},\\"rightVariableType\\":\\"variable\\",\\"sourceType\\":\\"SAF\\",\\"title\\":\\"IP所在地_国家Code\\",\\"type\\":\\"SYSTEM_BIND\\"},\\"sequence\\":3},{\\"currentId\\":0,\\"deepCount\\":1,\\"list\\":[{\\"currentId\\":0,\\"deepCount\\":1,\\"left\\":{\\"code\\":\\"parseIpV2(ip)?.cityId\\",\\"description\\":\\"通过IP地址库解析IP所在的城市Code,例如,输入“42.120.74.211”,经过该变量运算,输出“330100”。\\",\\"displayType\\":\\"SYSTEM_BIND\\",\\"fieldType\\":\\"STRING\\",\\"functionCode\\":\\"\\",\\"functionName\\":\\"\\",\\"hasRightVariable\\":true,\\"name\\":\\"__ipLocationCityCode__\\",\\"outputThreshold\\":{\\"$ref\\":\\"$.ifStatement.condition.list[2].list[0].left.outputThreshold\\"},\\"sourceType\\":\\"SAF\\",\\"title\\":\\"IP所在地_城市Code\\",\\"type\\":\\"SYSTEM_BIND\\"},\\"operatorCode\\":\\"deInNameList\\",\\"operatorName\\":\\"在名单中\\",\\"parentId\\":0,\\"right\\":{\\"code\\":\\"nl_NsVwBD2s11e0\\",\\"displayType\\":\\"NAME_LIST\\",\\"name\\":\\"nl_NsVwBD2s11e0\\",\\"rightVariableType\\":\\"constant\\",\\"sourceType\\":\\"SAF\\",\\"title\\":\\"device_block_list\\",\\"type\\":\\"NAME_LIST\\"},\\"sequence\\":4}],\\"parentId\\":0,\\"relationship\\":\\"and\\"}],\\"parentId\\":0,\\"relationship\\":\\"and\\"}],\\"parentId\\":0,\\"relationship\\":\\"and\\"},\\"then\\":[{\\"actionType\\":\\"TAG\\",\\"code\\":\\"addDeTags\\",\\"description\\":\\"打标签\\",\\"displayType\\":\\"ACTION\\",\\"fieldType\\":\\"STRING\\",\\"inputs\\":[\\"123\\"],\\"name\\":\\"__addDeTags__\\",\\"outputType\\":\\"const\\",\\"sourceType\\":\\"SAF\\",\\"title\\":\\"打标签\\",\\"type\\":\\"ACTION\\"}]}}',
- ],
- 'ruleType' => [
- 'description' => '策略类型。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'DSL' => 'DSL策略',
- 'DEFAULT' => '默认策略',
- ],
- 'example' => 'DSL',
- ],
- 'ruleAuthType' => [
- 'description' => '策略类型。',
- 'type' => 'string',
- 'example' => 'NOMAL',
- ],
- 'createType' => [
- 'description' => '创建类型。',
- 'type' => 'string',
- 'example' => 'MORMAL',
- ],
- 'authType' => [
- 'description' => '服务授权类型。',
- 'type' => 'string',
- 'example' => 'all',
- ],
- ],
- ],
+ 'resultObject' => ['description' => '返回对象。', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => '请求id。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"resultObject\\": {\\n \\"memo\\": \\"备注\\",\\n \\"ruleActionMap\\": {\\n \\"SCORE\\": [\\n {\\n \\"actionType\\": \\"SCORE\\",\\n \\"displayType\\": \\"ACTION\\",\\n \\"code\\": \\"deAddScore\\",\\n \\"sourceType\\": \\"SAF\\",\\n \\"inputs\\": [\\n \\"123\\"\\n ],\\n \\"name\\": \\"__addDeScore__\\",\\n \\"description\\": \\"打分\\",\\n \\"inputTitle\\": \\"123\\",\\n \\"outputType\\": \\"const\\",\\n \\"type\\": \\"ACTION\\",\\n \\"title\\": \\"打分\\",\\n \\"fieldType\\": \\"DOUBLE\\"\\n }\\n ],\\n \\"VARIABLE\\": [\\n {\\n \\"actionType\\": \\"VARIABLE\\",\\n \\"displayType\\": \\"MIDDLE\\",\\n \\"code\\": \\"mid1\\",\\n \\"inputs\\": [\\n \\"gg\\"\\n ],\\n \\"name\\": \\"mid1\\",\\n \\"description\\": \\"中间变量,mid1\\",\\n \\"type\\": \\"MIDDLE\\",\\n \\"title\\": \\"mid1\\",\\n \\"fieldType\\": \\"STRING\\"\\n }\\n ],\\n \\"TAG\\": [\\n {\\n \\"actionType\\": \\"TAG\\",\\n \\"displayType\\": \\"ACTION\\",\\n \\"code\\": \\"addDeTags\\",\\n \\"sourceType\\": \\"SAF\\",\\n \\"inputs\\": [\\n \\"123\\"\\n ],\\n \\"name\\": \\"__addDeTags__\\",\\n \\"description\\": \\"打标签\\",\\n \\"outputType\\": \\"const\\",\\n \\"type\\": \\"ACTION\\",\\n \\"title\\": \\"打标签\\",\\n \\"fieldType\\": \\"STRING\\"\\n }\\n ],\\n \\"MIDDLE_VARIABLE\\": [\\n {\\n \\"actionType\\": \\"MIDDLE_VARIABLE\\",\\n \\"inputs\\": [\\n \\"mid1\\"\\n ],\\n \\"fieldValue\\": \\"123\\",\\n \\"fieldType\\": \\"STRING\\"\\n }\\n ]\\n },\\n \\"bizVersion\\": \\"1\\",\\n \\"gmtCreate\\": 1621578648000,\\n \\"ruleStatus\\": \\"RUNNING\\",\\n \\"ruleExpressions\\": \\"[{\\\\\\\\\\\\\\"expressionName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"营销风险识别评分\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"itemId\\\\\\\\\\\\\\":1,\\\\\\\\\\\\\\"left\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"sl_rjtsDXK124a5\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"operatorCode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"between\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"operatorName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"数字在[a,b]之间\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"right\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"fieldValue\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"[65,100]\\\\\\\\\\\\\\"}}]\\",\\n \\"gmtModified\\": 1565701886000,\\n \\"eventName\\": \\"注册风险\\",\\n \\"ruleName\\": \\"营销风险识别\\",\\n \\"logicExpression\\": \\"1&2\\",\\n \\"consoleRuleId\\": 6633,\\n \\"ruleId\\": \\"101544\\",\\n \\"ruleVersionId\\": 3823,\\n \\"mainEventCode\\": \\"de_asssce8122\\",\\n \\"eventCode\\": \\"de_asssce8122\\",\\n \\"ruleActions\\": \\"[{\\\\\\\\\\\\\\"actionType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"TAG\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"code\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"addDeTags\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"description\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"打标签\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"displayType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ACTION\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"fieldType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"STRING\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"inputs\\\\\\\\\\\\\\":[\\\\\\\\\\\\\\"123\\\\\\\\\\\\\\"],\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"__addDeTags__\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"outputType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"const\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"sourceType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SAF\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"title\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"打标签\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ACTION\\\\\\\\\\\\\\"},{\\\\\\\\\\\\\\"actionType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SCORE\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"code\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"deAddScore\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"description\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"打分\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"displayType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ACTION\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"fieldType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"DOUBLE\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"inputTitle\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"123\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"inputs\\\\\\\\\\\\\\":[\\\\\\\\\\\\\\"123\\\\\\\\\\\\\\"],\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"__addDeScore__\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"outputType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"const\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"sourceType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SAF\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"title\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"打分\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ACTION\\\\\\\\\\\\\\"},{\\\\\\\\\\\\\\"actionType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"MIDDLE_VARIABLE\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"fieldType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"STRING\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"fieldValue\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"123\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"inputs\\\\\\\\\\\\\\":[\\\\\\\\\\\\\\"mid1\\\\\\\\\\\\\\"]},{\\\\\\\\\\\\\\"actionType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"VARIABLE\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"code\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"mid1\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"description\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"中间变量,mid1\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"displayType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"MIDDLE\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"fieldType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"STRING\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"inputs\\\\\\\\\\\\\\":[\\\\\\\\\\\\\\"gg\\\\\\\\\\\\\\"],\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"mid1\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"title\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"mid1\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"MIDDLE\\\\\\\\\\\\\\"}]\\",\\n \\"ruleBody\\": \\"{\\\\\\\\\\\\\\"elseIfStatement\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"condition\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"currentId\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"deepCount\\\\\\\\\\\\\\":1,\\\\\\\\\\\\\\"list\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"currentId\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"deepCount\\\\\\\\\\\\\\":1,\\\\\\\\\\\\\\"left\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"code\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"getLbsRegion(longitude, latitude)?.prov\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"description\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"根据经纬度得到省份信息,比如经度:111.878062,纬度:22.585409,则经过运算,输出”广东省“\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"displayType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SELF_BIND\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"fieldType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"STRING\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"functionCode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"functionName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"hasRightVariable\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"sl_S02sHLFT7818\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"outputThreshold\\\\\\\\\\\\\\":{},\\\\\\\\\\\\\\"sourceType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SAF\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"title\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"经纬度自定义系统变量\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SELF_BIND\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"operatorCode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"equals\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"operatorName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"等于\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"parentId\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"right\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"cc\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"rightVariableType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"constant\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"sequence\\\\\\\\\\\\\\":5}],\\\\\\\\\\\\\\"parentId\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"relationship\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"and\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"then\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"actionType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"TAG\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"code\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"addDeTags\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"description\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"打标签\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"displayType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ACTION\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"fieldType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"STRING\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"inputs\\\\\\\\\\\\\\":[\\\\\\\\\\\\\\"332\\\\\\\\\\\\\\"],\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"__addDeTags__\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"outputType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"const\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"sourceType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SAF\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"title\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"打标签\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ACTION\\\\\\\\\\\\\\"}]}],\\\\\\\\\\\\\\"elseStatement\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"then\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"actionType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"TAG\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"code\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"addDeTags\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"description\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"打标签\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"displayType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ACTION\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"fieldType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"STRING\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"inputs\\\\\\\\\\\\\\":[\\\\\\\\\\\\\\"321\\\\\\\\\\\\\\"],\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"__addDeTags__\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"outputType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"const\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"sourceType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SAF\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"title\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"打标签\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ACTION\\\\\\\\\\\\\\"}]},\\\\\\\\\\\\\\"ifStatement\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"condition\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"currentId\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"deepCount\\\\\\\\\\\\\\":1,\\\\\\\\\\\\\\"list\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"currentId\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"deepCount\\\\\\\\\\\\\\":1,\\\\\\\\\\\\\\"left\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"code\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"queryPhoneSimulatorInfo(deviceToken)?.brand\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"description\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"设备信息-终端品牌\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"displayType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"DEVICE\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"fieldType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"STRING\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"functionCode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"functionName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"hasRightVariable\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"__device_brand__\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"sourceType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SAF\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"title\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"设备信息-终端品牌-brand\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"DEVICE\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"operatorCode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"deInNameList\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"operatorName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"在名单中\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"parentId\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"right\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"code\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"nl_UN8otElLb490\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"description\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"描述11\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"displayType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"NAME_LIST\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"nl_UN8otElLb490\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"rightVariableType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"constant\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"sourceType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SAF\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"title\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"wtz_名单新建测试02\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"NAME_LIST\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"sequence\\\\\\\\\\\\\\":1},{\\\\\\\\\\\\\\"currentId\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"deepCount\\\\\\\\\\\\\\":1,\\\\\\\\\\\\\\"left\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"code\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"deFunctionProcess(ip,\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"isIp\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\")\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"description\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"判断是否符合IPv4标准\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"displayType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SYSTEM_BIND\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"fieldType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"BOOLEAN\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"functionCode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"functionName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"hasRightVariable\\\\\\\\\\\\\\":false,\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"__isIpAddressV4__\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"outputThreshold\\\\\\\\\\\\\\":{},\\\\\\\\\\\\\\"sourceType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SAF\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"title\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"IP是否符合IPV4格式\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SYSTEM_BIND\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"operatorCode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"boolIsTrue\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"operatorName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"为true\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"parentId\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"right\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"rightVariableType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"constant\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"sequence\\\\\\\\\\\\\\":2},{\\\\\\\\\\\\\\"currentId\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"deepCount\\\\\\\\\\\\\\":1,\\\\\\\\\\\\\\"list\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"currentId\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"deepCount\\\\\\\\\\\\\\":1,\\\\\\\\\\\\\\"left\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"code\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"parseIpV2(ip)?.cityId\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"description\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"通过IP地址库解析IP所在的城市Code,例如,输入“42.120.74.211”,经过该变量运算,输出“330100”。\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"displayType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SYSTEM_BIND\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"fieldType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"STRING\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"functionCode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"functionName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"hasRightVariable\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"__ipLocationCityCode__\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"outputThreshold\\\\\\\\\\\\\\":{},\\\\\\\\\\\\\\"sourceType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SAF\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"title\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"IP所在地_城市Code\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SYSTEM_BIND\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"operatorCode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"equals\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"operatorName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"等于\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"parentId\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"right\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"code\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"deFunctionProcess(ip,\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"getCountry\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\")\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"description\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"通过IP地址库解析IP所在的城市名称,例如,输入“42.120.74.211”,经过该变量运算,输出“CN”。\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"displayType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SYSTEM_BIND\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"fieldType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"STRING\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"functionCode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"functionName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"__ipLocationCountryId__\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"outputThreshold\\\\\\\\\\\\\\":{},\\\\\\\\\\\\\\"rightVariableType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"variable\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"sourceType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SAF\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"title\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"IP所在地_国家Code\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SYSTEM_BIND\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"sequence\\\\\\\\\\\\\\":3},{\\\\\\\\\\\\\\"currentId\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"deepCount\\\\\\\\\\\\\\":1,\\\\\\\\\\\\\\"list\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"currentId\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"deepCount\\\\\\\\\\\\\\":1,\\\\\\\\\\\\\\"left\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"code\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"parseIpV2(ip)?.cityId\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"description\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"通过IP地址库解析IP所在的城市Code,例如,输入“42.120.74.211”,经过该变量运算,输出“330100”。\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"displayType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SYSTEM_BIND\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"fieldType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"STRING\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"functionCode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"functionName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"hasRightVariable\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"__ipLocationCityCode__\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"outputThreshold\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"$ref\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"$.ifStatement.condition.list[2].list[0].left.outputThreshold\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"sourceType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SAF\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"title\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"IP所在地_城市Code\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SYSTEM_BIND\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"operatorCode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"deInNameList\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"operatorName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"在名单中\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"parentId\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"right\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"code\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"nl_NsVwBD2s11e0\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"displayType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"NAME_LIST\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"nl_NsVwBD2s11e0\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"rightVariableType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"constant\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"sourceType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SAF\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"title\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"device_block_list\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"NAME_LIST\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"sequence\\\\\\\\\\\\\\":4}],\\\\\\\\\\\\\\"parentId\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"relationship\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"and\\\\\\\\\\\\\\"}],\\\\\\\\\\\\\\"parentId\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"relationship\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"and\\\\\\\\\\\\\\"}],\\\\\\\\\\\\\\"parentId\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"relationship\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"and\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"then\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"actionType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"TAG\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"code\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"addDeTags\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"description\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"打标签\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"displayType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ACTION\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"fieldType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"STRING\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"inputs\\\\\\\\\\\\\\":[\\\\\\\\\\\\\\"123\\\\\\\\\\\\\\"],\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"__addDeTags__\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"outputType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"const\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"sourceType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SAF\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"title\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"打标签\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ACTION\\\\\\\\\\\\\\"}]}}\\",\\n \\"ruleType\\": \\"DSL\\",\\n \\"ruleAuthType\\": \\"NOMAL\\",\\n \\"createType\\": \\"MORMAL\\",\\n \\"authType\\": \\"all\\"\\n }\\n}","type":"json"}]',
- 'title' => '查询策略详情',
- ],
- 'ExpressionTest' => [
- 'summary' => '自定义变量测试。',
- 'methods' => [
- 'post',
- 'get',
+ 'errorCodes' => [
+ 200 => [
+ ['errorCode' => '1202', 'errorMessage' => 'Data duplication.', 'description' => '数据:(%s:%s) 重复'],
+ ],
+ ],
+ 'title' => '创建累计变量',
+ 'summary' => '创建累计变量。',
+ 'changeSet' => [
+ ['createdAt' => '2025-09-19T02:00:13.000Z', 'description' => '错误码发生变更'],
+ ['createdAt' => '2023-01-09T06:11:43.000Z', 'description' => '响应参数发生变更'],
+ ['createdAt' => '2022-05-11T07:27:47.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateCustVariable'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'CreateDataSource' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'id',
+ 'name' => 'name',
'in' => 'query',
- 'schema' => [
- 'description' => '变量ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '3144',
- ],
+ 'schema' => ['description' => '数据源名称。', 'type' => 'string', 'required' => true, 'example' => 'testDispatch'],
],
[
- 'name' => 'expressionVariableIds',
+ 'name' => 'type',
'in' => 'query',
- 'schema' => [
- 'description' => '关联变量ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[44659]',
- ],
+ 'schema' => ['description' => '数据源类型。', 'type' => 'string', 'required' => true, 'example' => 'FILE'],
],
[
- 'name' => 'scene',
- 'in' => 'query',
- 'schema' => [
- 'description' => '场景。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'EXPRESSION',
- ],
- ],
- [
- 'name' => 'expression',
+ 'name' => 'description',
'in' => 'query',
- 'schema' => [
- 'description' => '测试表达式。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '@ex_GX9rrlTq4b67 + 1001',
- ],
+ 'schema' => ['description' => '数据源描述。', 'type' => 'string', 'required' => false, 'example' => '数据源描述'],
],
[
- 'name' => 'expressionVariable',
+ 'name' => 'ossKey',
'in' => 'query',
- 'schema' => [
- 'description' => '计算表达式变量。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '[{\\"name\\":\\"age\\",\\"code\\":\\"age\\",\\"fieldType\\":\\"INT\\",\\"id\\":44809,\\"value\\":\\"1\\"}]',
- ],
+ 'schema' => ['description' => 'oss文件key。', 'type' => 'string', 'required' => true, 'example' => 'oss上传key'],
],
],
'responses' => [
200 => [
+ 'headers' => [],
'schema' => [
'type' => 'object',
'properties' => [
- 'resultObject' => [
- 'description' => '返回对象。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
+ 'resultObject' => ['description' => '返回对象。', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '自定义变量测试',
- ],
- 'DescribeAllRootVariable' => [
- 'summary' => '自定义表达式测试时,展示所有的根变量。',
- 'methods' => [
- 'get',
- 'post',
+ 'title' => '创建查询变量数据源',
+ 'summary' => '新增数据源。',
+ 'changeSet' => [
+ ['createdAt' => '2021-11-23T12:31:20.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateDataSource'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'CreateEvent' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
- 'name' => 'SourceIp',
- 'in' => 'query',
- 'schema' => [
- 'description' => '请求源IP。无需填写,系统自动获取。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '61.169.104.202',
- ],
- ],
- [
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'id',
+ 'name' => 'eventName',
'in' => 'query',
- 'schema' => [
- 'description' => '变量ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '2557',
- ],
+ 'schema' => ['description' => '事件名称。', 'type' => 'string', 'required' => false, 'example' => '登录事件'."\n"],
],
[
- 'name' => 'regId',
+ 'name' => 'memo',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '备注信息。', 'type' => 'string', 'required' => false, 'example' => '登录事件描述'],
],
[
- 'name' => 'eventCode',
+ 'name' => 'templateCode',
'in' => 'query',
- 'schema' => [
- 'description' => '事件编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'de_arqbuy7206',
- ],
+ 'schema' => ['description' => '入参字段模板类型。', 'type' => 'string', 'required' => false, 'example' => 'register'],
],
[
- 'name' => 'nativeVariableIds',
+ 'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '事件字段列表。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[106780]',
- 'maxItems' => 201,
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'deviceVariableIds',
+ 'name' => 'templateType',
'in' => 'query',
- 'schema' => [
- 'description' => '设备变量列表。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[180]',
- 'maxItems' => 201,
- ],
+ 'schema' => ['description' => '模板类型。', 'type' => 'string', 'required' => false, 'example' => 'TASK'],
],
[
- 'name' => 'expressionVariableIds',
+ 'name' => 'createType',
'in' => 'query',
- 'schema' => [
- 'description' => '自定义变量列表。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[6780]',
- 'maxItems' => 201,
- ],
+ 'schema' => ['description' => '创建类型。', 'type' => 'string', 'required' => false, 'example' => 'NORMAL'],
],
[
- 'name' => 'velocityVariableIds',
+ 'name' => 'templateName',
'in' => 'query',
- 'schema' => [
- 'description' => '自定义累计变量。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[780]',
- 'maxItems' => 201,
- ],
+ 'schema' => ['description' => '发布模板名称。', 'type' => 'string', 'required' => false, 'example' => '注册事件模版'],
],
[
- 'name' => 'queryVariableIds',
+ 'name' => 'inputFieldsStr',
'in' => 'query',
- 'schema' => [
- 'description' => '自定义查询变量。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[2678]',
- ],
+ 'schema' => ['description' => '输入参数,json字符串。', 'type' => 'string', 'required' => false, 'example' => '[{"fieldCode":"accountId","description":"用户的账户ID,唯一标识一个账户的id","fieldRank":1,"title":"账户ID","fieldType":"STRING","fieldSource":"DEFAULT"},{"fieldCode":"hitRules","fieldRank":2,"title":"命中策略","fieldType":"STRING","fieldSource":"DEFAULT"},{"fieldCode":"age","description":"","fieldRank":3,"title":"年龄","fieldType":"INT","fieldSource":"DEFAULT"},{"fieldCode":"ip","description":"IP地址","fieldRank":4,"title":"IP地址","fieldType":"STRING","fieldSource":"DEFAULT"},{"fieldCode":"tags","fieldRank":5,"title":"风险标签","fieldType":"STRING","fieldSource":"DEFAULT"},{"fieldCode":"score","fieldRank":6,"title":"风险分值","fieldType":"DOUBLE","fieldSource":"DEFAULT"},{"fieldCode":"hitList","fieldRank":7}]'],
],
],
'responses' => [
200 => [
- 'headers' => [],
'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'Schema of Response。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
- 'resultObject' => [
- 'description' => '返回对象。',
- 'type' => 'array',
- 'items' => [
- 'description' => '返回对象。',
- 'type' => 'object',
- 'properties' => [
- 'id' => [
- 'description' => '变量ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '497',
- ],
- 'title' => [
- 'description' => '标题。',
- 'type' => 'string',
- 'example' => '年龄',
- ],
- 'name' => [
- 'description' => '变量名称。',
- 'type' => 'string',
- 'example' => 'age',
- ],
- 'description' => [
- 'description' => '变量描述。',
- 'type' => 'string',
- 'example' => '年龄',
- ],
- 'type' => [
- 'description' => '变量类型。',
- 'type' => 'string',
- 'example' => 'NATIVE',
- ],
- 'inputs' => [
- 'description' => '变量的输入。',
- 'type' => 'string',
- 'example' => 'age',
- ],
- 'fieldType' => [
- 'description' => '字段类型。',
- 'type' => 'string',
- 'example' => 'STRING',
- ],
- 'code' => [
- 'description' => '变量code。',
- 'type' => 'string',
- 'example' => 'age',
- ],
- 'displayType' => [
- 'description' => '展示类型以及分组标签。',
- 'type' => 'string',
- 'example' => 'NATIVE',
- ],
- 'favoriteFlag' => [
- 'description' => '收藏标识。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'fieldRank' => [
- 'description' => '字段排序。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'inputFieldType' => [
- 'description' => '参数的输入类型。',
- 'type' => 'string',
- 'example' => 'STRING',
- ],
- 'outputThreshold' => [
- 'description' => '检查框的最大截面积。',
- 'type' => 'object',
- 'properties' => [
- 'minValue' => [
- 'description' => '最小值。',
- 'type' => 'number',
- 'format' => 'double',
- 'example' => '10',
- ],
- 'maxValue' => [
- 'description' => '最大值。',
- 'type' => 'number',
- 'format' => 'double',
- 'example' => '1000',
- ],
- ],
- ],
- 'sourceType' => [
- 'description' => '数据来源。',
- 'type' => 'string',
- 'example' => 'SAF',
- ],
- ],
- ],
- ],
+ 'data' => ['description' => '返回结果。', 'type' => 'boolean', 'example' => 'true'],
+ 'requestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"resultObject\\": [\\n {\\n \\"id\\": 497,\\n \\"title\\": \\"年龄\\",\\n \\"name\\": \\"age\\",\\n \\"description\\": \\"年龄\\",\\n \\"type\\": \\"NATIVE\\",\\n \\"inputs\\": \\"age\\",\\n \\"fieldType\\": \\"STRING\\",\\n \\"code\\": \\"age\\",\\n \\"displayType\\": \\"NATIVE\\",\\n \\"favoriteFlag\\": true,\\n \\"fieldRank\\": 1,\\n \\"inputFieldType\\": \\"STRING\\",\\n \\"outputThreshold\\": {\\n \\"minValue\\": 10,\\n \\"maxValue\\": 1000\\n },\\n \\"sourceType\\": \\"SAF\\"\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '自定义表达式测试时,展示所有的根变量',
- ],
- 'DescribeDetailStart' => [
- 'summary' => '详细统计。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '创建事件',
+ 'summary' => '创建事件。',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:23:08.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateEvent'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": true,\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\"\\n}","type":"json"}]',
+ ],
+ 'CreateExpressionVariable' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
- 'name' => 'appKey',
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '应用appkey。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '***',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'service',
+ 'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '调用服务。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'service_tender_cee',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'startDs',
+ 'name' => 'eventCode',
'in' => 'query',
- 'schema' => [
- 'description' => '开始时间'."\n"
- .' '."\n"
- .' 格式 yyyymmdd。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '20250310',
- ],
+ 'schema' => ['description' => '事件编码。', 'type' => 'string', 'required' => true, 'example' => 'de_ahpayh4121'],
],
[
- 'name' => 'endDs',
+ 'name' => 'title',
'in' => 'query',
- 'schema' => [
- 'description' => '结束时间'."\n"
- .' '."\n"
- .'格式 yyyymmdd。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '20250320',
- ],
+ 'schema' => ['description' => '标题。', 'type' => 'string', 'required' => true, 'example' => '获取手机号前7位'],
],
[
- 'name' => 'regId',
+ 'name' => 'description',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '描述信息。', 'type' => 'string', 'required' => false, 'example' => '获取入参的手机号前7位'],
+ ],
+ [
+ 'name' => 'outputs',
+ 'in' => 'query',
+ 'schema' => ['description' => '变量返回类型。', 'type' => 'string', 'required' => true, 'example' => 'STRING'],
+ ],
+ [
+ 'name' => 'outlier',
+ 'in' => 'query',
+ 'schema' => ['description' => '异常值。', 'type' => 'string', 'required' => true, 'example' => '-1'],
+ ],
+ [
+ 'name' => 'expression',
+ 'in' => 'query',
+ 'schema' => ['description' => '计算表达式。', 'type' => 'string', 'required' => true, 'example' => '@ex_GX9rrlTq4b67 + 1001'],
+ ],
+ [
+ 'name' => 'expressionTitle',
+ 'in' => 'query',
+ 'schema' => ['description' => '计算表达式展示值。', 'type' => 'string', 'required' => true, 'example' => '@selfvariable_02 + 1001'],
+ ],
+ [
+ 'name' => 'expressionVariable',
+ 'in' => 'query',
+ 'schema' => ['description' => '计算表达式变量。', 'type' => 'string', 'required' => false, 'example' => '[{"name":"ex_GX9rrlTq4b67","code":"deInvokeSelfVariable(44659)","fieldType":"INT"}]'],
],
],
'responses' => [
@@ -3333,586 +2478,291 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'success' => [
- 'description' => '本次操作是否成功,true表示成功。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'code' => [
- 'description' => '状态码。',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'message' => [
- 'description' => '错误详情'."\n"
- .'。',
- 'type' => 'string',
- 'example' => 'The input parameter data is not valid. order_storage_company_num component not found',
- ],
- 'httpStatusCode' => [
- 'description' => 'HTTP状态码。',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'resultObject' => [
- 'description' => '返回对象。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'requestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2',
- ],
+ 'resultObject' => ['description' => '返回对象。', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"success\\": true,\\n \\"code\\": \\"200\\",\\n \\"message\\": \\"The input parameter data is not valid. order_storage_company_num component not found\\",\\n \\"httpStatusCode\\": \\"200\\",\\n \\"resultObject\\": true,\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\"\\n}","type":"json"}]',
- 'title' => '详细统计',
- ],
- 'DescribeServiceAppKey' => [
- 'summary' => 'ServiceAppkey下拉。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'title' => '创建自定义变量',
+ 'summary' => '创建自定义变量。',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:27:46.000Z', 'description' => 'OpenAPI 下线'],
],
- 'security' => [
- [
- 'AK' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateExpressionVariable'],
],
],
- 'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
- 'parameters' => [
+ 'ramActions' => [
[
- 'name' => 'regId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
- ],
- ],
- 'responses' => [
- 200 => [
- 'headers' => [],
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'uccess' => [
- 'description' => '请求是否成功。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'code' => [
- 'description' => '状态码。',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'message' => [
- 'description' => '错误信息。',
- 'type' => 'string',
- 'example' => 'The input parameter data is not valid. order_storage_company_num component not found',
- ],
- 'httpStatusCode' => [
- 'description' => 'HTTP状态码。',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'resultObject' => [
- 'description' => '返回对象。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'requestId' => [
- 'description' => '请求ID 。',
- 'type' => 'string',
- 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2',
- ],
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"uccess\\": true,\\n \\"code\\": \\"200\\",\\n \\"message\\": \\"The input parameter data is not valid. order_storage_company_num component not found\\",\\n \\"httpStatusCode\\": \\"200\\",\\n \\"resultObject\\": true,\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\"\\n}","type":"json"}]',
- 'title' => 'service、AppKey下拉值',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
],
- 'DescribeBasicStart' => [
- 'summary' => '基础统计。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'CreateField' => [
+ 'summary' => '新增字段。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
- 'name' => 'appKey',
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '应用appkey。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '***',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'service',
+ 'name' => 'name',
'in' => 'query',
- 'schema' => [
- 'description' => '调用服务。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'service_tender_cee',
- ],
+ 'schema' => ['description' => '字段name。', 'type' => 'string', 'required' => false, 'example' => 'age'],
],
[
- 'name' => 'startDs',
+ 'name' => 'title',
+ 'in' => 'query',
+ 'schema' => ['description' => '标题。', 'type' => 'string', 'required' => false, 'example' => '年龄'],
+ ],
+ [
+ 'name' => 'type',
+ 'in' => 'query',
+ 'schema' => ['description' => '字段类型。', 'type' => 'string', 'required' => false, 'example' => 'STRING'],
+ ],
+ [
+ 'name' => 'enumData',
+ 'in' => 'query',
+ 'schema' => ['description' => '枚举数据。', 'type' => 'string', 'required' => false, 'example' => 'enum'],
+ ],
+ [
+ 'name' => 'classify',
'in' => 'query',
'schema' => [
- 'description' => '开始时间,精确到毫秒(ms)。',
+ 'description' => '字段分类。',
'type' => 'string',
'required' => false,
- 'example' => '20250310',
+ 'enumValueTitles' => ['REQUEST_PARAM' => '业务字段', 'DEVICE_INFO' => '设备字段'],
+ 'example' => 'REQUEST_PARAM',
],
],
[
- 'name' => 'endDs',
+ 'name' => 'description',
+ 'in' => 'query',
+ 'schema' => ['description' => '描述信息。', 'type' => 'string', 'required' => false, 'example' => '字段描述信息'],
+ ],
+ [
+ 'name' => 'source',
'in' => 'query',
'schema' => [
- 'description' => '结束时间,精确到毫秒(ms)。',
+ 'description' => '业务来源。',
'type' => 'string',
'required' => false,
- 'example' => '20250320',
+ 'enumValueTitles' => ['DEFINE' => '自定义字段', 'DEFAULT' => '系统默认字段'],
+ 'example' => 'DEFINE',
],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
200 => [
- 'headers' => [],
'schema' => [
'type' => 'object',
'properties' => [
- 'success' => [
- 'description' => '请求是否成功。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'code' => [
- 'description' => '状态码。',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'message' => [
- 'description' => '返回消息。',
- 'type' => 'string',
- 'example' => 'The input parameter data is not valid. order_storage_company_num component not found',
- ],
- 'httpStatusCode' => [
- 'description' => 'HTTP状态码。',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'resultObject' => [
- 'description' => '返回对象。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'requestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2',
- ],
+ 'resultObject' => ['description' => '返回对象。', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"success\\": true,\\n \\"code\\": \\"200\\",\\n \\"message\\": \\"The input parameter data is not valid. order_storage_company_num component not found\\",\\n \\"httpStatusCode\\": \\"200\\",\\n \\"resultObject\\": true,\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\"\\n}","type":"json"}]',
- 'title' => '基础统计',
- ],
- 'DeleteQueryVariable' => [
- 'summary' => '查询变量删除。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '新建字段',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:27:23.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateField'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'CreateForeignPocSample' => [
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
- 'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '138403',
+ 'abilityTreeNodes' => ['FEATUREsafT73ZWM'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'regId',
+ 'name' => 'Tab',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '场景。', 'type' => 'string', 'required' => false, 'example' => 'FINANCE'],
],
[
- 'name' => 'id',
+ 'name' => 'SampleName',
'in' => 'query',
- 'schema' => [
- 'description' => '变量ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '3144',
- ],
- ],
- ],
- 'responses' => [
- 200 => [
- 'headers' => [],
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'resultObject' => [
- 'description' => '返回对象。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
- ],
- ],
+ 'schema' => ['description' => '样本名称。', 'type' => 'string', 'required' => false, 'example' => 'SampleNameTest'],
],
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '删除自定义查询变量',
- ],
- 'DescribeQueryVariableDetail' => [
- 'summary' => '查询变量详情查询。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
- ],
- ],
- 'operationType' => 'read',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
- 'parameters' => [
[
- 'name' => 'Lang',
+ 'name' => 'File',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '文件OSS路径。', 'type' => 'string', 'required' => false, 'example' => 'saf/cpoc/953c883cde33b2e21d722eb661d26375/1779172027996_自动回溯测试 2605191.csv', 'isFileTransferUrl' => true],
],
[
- 'name' => 'regId',
+ 'name' => 'RegId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'id',
+ 'name' => 'Remark',
'in' => 'query',
- 'schema' => [
- 'description' => '变量ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '355',
- ],
+ 'schema' => ['description' => '备注。', 'type' => 'string', 'required' => false, 'example' => 'nemo-test'],
],
],
'responses' => [
200 => [
- 'headers' => [],
'schema' => [
'type' => 'object',
'properties' => [
- 'resultObject' => [
- 'description' => '返回对象。',
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ 'ResultObject' => [
+ 'description' => '返回结果。',
'type' => 'object',
'properties' => [
- 'id' => [
- 'description' => '变量ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '355',
- ],
- 'dataSourceCode' => [
- 'description' => '数据源编码。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => 'ds_vcaoii1697',
- ],
- 'dataSourceName' => [
- 'description' => '数据源名称。',
- 'type' => 'string',
- 'example' => '名称数据源',
- ],
- 'eventCode' => [
- 'description' => '事件编码。',
- 'type' => 'string',
- 'example' => 'de_aszbjb7236',
- ],
- 'title' => [
- 'description' => '标题。',
- 'type' => 'string',
- 'example' => '自定义查询变量标题',
- ],
- 'description' => [
- 'description' => '描述。',
- 'type' => 'string',
- 'example' => '变量描述',
- ],
- 'outputs' => [
- 'description' => '输出结果。',
- 'type' => 'string',
- 'example' => 'DOUBLE',
- ],
- 'outlier' => [
- 'description' => '异常值。',
- 'type' => 'string',
- 'example' => '-1',
- ],
- 'expressionTitle' => [
- 'description' => '表达式名称。',
- 'type' => 'string',
- 'example' => 'SELECT AVG( $source )\\nFROM testCase\\nWHERE $age > 0',
- ],
- 'expression' => [
- 'description' => '表达式。',
- 'type' => 'string',
- 'example' => 'SELECT AVG( $source )\\nFROM ds_vcaoii1697 \\nWHERE $age > 0',
- ],
- 'expressionVariable' => [
- 'description' => '表达式变量。',
- 'type' => 'string',
- 'example' => '[96426]',
- ],
+ 'Tab' => ['description' => '场景。', 'type' => 'string', 'example' => 'FINANCE'],
+ 'SampleId' => ['description' => '样本ID。', 'type' => 'integer', 'format' => 'int32', 'example' => '174'],
+ 'SampleName' => ['description' => '样本名称。', 'type' => 'string', 'example' => 'SampleNameTest'],
+ 'HasWarnings' => ['description' => '是否存在校验警告。', 'type' => 'boolean', 'example' => 'true'],
+ 'WarningMessage' => ['description' => '警告摘要。', 'type' => 'string', 'example' => 'test'],
],
],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
+ 'Code' => ['description' => '状态码。', 'type' => 'string', 'example' => '200'],
+ 'HttpStatusCode' => ['description' => 'http状态码。', 'type' => 'string', 'example' => '200'],
+ 'Message' => ['description' => '返回信息。', 'type' => 'string', 'example' => 'success'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": {\\n \\"id\\": 355,\\n \\"dataSourceCode\\": 0,\\n \\"dataSourceName\\": \\"名称数据源\\",\\n \\"eventCode\\": \\"de_aszbjb7236\\",\\n \\"title\\": \\"自定义查询变量标题\\",\\n \\"description\\": \\"变量描述\\",\\n \\"outputs\\": \\"DOUBLE\\",\\n \\"outlier\\": \\"-1\\",\\n \\"expressionTitle\\": \\"SELECT AVG( $source )\\\\\\\\nFROM testCase\\\\\\\\nWHERE $age > 0\\",\\n \\"expression\\": \\"SELECT AVG( $source )\\\\\\\\nFROM ds_vcaoii1697 \\\\\\\\nWHERE $age > 0\\",\\n \\"expressionVariable\\": \\"[96426]\\"\\n },\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '自定义查询变量详情查询',
- ],
- 'DescribeAllDataSource' => [
- 'summary' => '数据源列表。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'title' => '样本库创建',
+ 'summary' => '创建样本记录对客',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"ResultObject\\": {\\n \\"Tab\\": \\"FINANCE\\",\\n \\"SampleId\\": 174,\\n \\"SampleName\\": \\"SampleNameTest\\",\\n \\"HasWarnings\\": true,\\n \\"WarningMessage\\": \\"test\\"\\n },\\n \\"Code\\": \\"200\\",\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"Message\\": \\"success\\"\\n}","type":"json"}]',
+ ],
+ 'CreateModel' => [
+ 'summary' => '创建模型。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
- 'deprecated' => false,
+ 'operationType' => 'readAndWrite',
'systemTags' => [
'operationType' => 'get',
+ 'abilityTreeCode' => '155724',
+ 'abilityTreeNodes' => ['FEATUREsafT73ZWM'],
],
'parameters' => [
[
- 'name' => 'Lang',
+ 'name' => 'RegId',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'regId',
+ 'name' => 'ModelName',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '模型名称。', 'type' => 'string', 'required' => true, 'example' => 'qwen-max'],
],
- ],
- 'responses' => [
- 200 => [
- 'headers' => [],
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'resultObject' => [
- 'description' => '返回对象。',
- 'type' => 'array',
- 'items' => [
- 'description' => '返回对象。',
- 'type' => 'object',
- 'properties' => [
- 'id' => [
- 'description' => '策略主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '497',
- ],
- 'eventCode' => [
- 'description' => '事件编码。',
- 'type' => 'string',
- 'example' => 'de_aszbjb7236',
- ],
- 'eventName' => [
- 'description' => '事件名称。',
- 'type' => 'string',
- 'example' => '注册风险',
- ],
- ],
- ],
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
- ],
- ],
+ [
+ 'name' => 'ModelScene',
+ 'in' => 'query',
+ 'schema' => ['description' => '模型场景。', 'type' => 'string', 'required' => true, 'example' => 'saf_ai_account_abuse'],
],
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": [\\n {\\n \\"id\\": 497,\\n \\"eventCode\\": \\"de_aszbjb7236\\",\\n \\"eventName\\": \\"注册风险\\"\\n }\\n ],\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '数据源列表查询',
- ],
- 'DescribeDataSourceFields' => [
- 'summary' => '获取数据源所有字段。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'FilePath',
+ 'in' => 'query',
+ 'schema' => ['description' => '文件路径。', 'type' => 'string', 'required' => true, 'example' => 'tempCache/ef2387dfb357ffe87925fd51d2b5305b/1665717035328/mockData.csv'],
],
- ],
- 'operationType' => 'read',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
- 'parameters' => [
[
- 'name' => 'Lang',
+ 'name' => 'Counts',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '文件行数。', 'type' => 'string', 'required' => true, 'example' => '1000'],
],
[
- 'name' => 'regId',
+ 'name' => 'ParameterNum',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '文件列数。', 'type' => 'string', 'required' => true, 'example' => '10'],
],
[
- 'name' => 'dataSourceCode',
+ 'name' => 'FileMD5',
'in' => 'query',
- 'schema' => [
- 'description' => '数据源code。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'date_source',
- ],
+ 'schema' => ['description' => '文件md5值。', 'type' => 'string', 'required' => true, 'example' => 'VC6Sj3u138yfWHLxLl7dtA=='],
+ ],
+ [
+ 'name' => 'BucId',
+ 'in' => 'query',
+ 'schema' => ['description' => '提交人ID。', 'type' => 'string', 'required' => true, 'example' => 'WB01160353'],
+ ],
+ [
+ 'name' => 'UserLocalFileName',
+ 'in' => 'query',
+ 'schema' => ['description' => '上传文件名。', 'type' => 'string', 'required' => true, 'example' => 'fileTest'],
],
],
'responses' => [
@@ -3921,335 +2771,256 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'resultObject' => [
- 'description' => '返回对象。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
+ 'RequestId' => ['description' => '请求id。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ 'ResultObject' => ['description' => '结果对象。', 'type' => 'boolean', 'example' => 'True'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '根据数据源编码获取数据源字段',
- ],
- 'SwitchQueryVariable' => [
- 'summary' => '查询变量启用/禁用。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '创建模型',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateModel'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"ResultObject\\": true\\n}","type":"json"}]',
+ ],
+ 'CreatePocEv' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
- 'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
+ 'abilityTreeCode' => '138403',
+ 'abilityTreeNodes' => ['FEATUREsafT73ZWM'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'regId',
+ 'name' => 'Tab',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '场景。', 'type' => 'string', 'required' => false, 'example' => 'INTERNET'],
],
[
- 'name' => 'id',
+ 'name' => 'Type',
'in' => 'query',
- 'schema' => [
- 'description' => '主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '3144',
- ],
+ 'schema' => ['description' => '访问类型。', 'type' => 'string', 'required' => false, 'example' => 'SAF_CONSOLE'],
],
[
- 'name' => 'status',
+ 'name' => 'TaskName',
'in' => 'query',
- 'schema' => [
- 'description' => '状态。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ENABLE',
- ],
+ 'schema' => ['description' => '任务名称。', 'type' => 'string', 'required' => false, 'example' => 'er-log-s3'],
+ ],
+ [
+ 'name' => 'FileName',
+ 'in' => 'query',
+ 'schema' => ['description' => '文件名称。'."\n"
+ .'> 文件名称需要以txt、sql结尾。例如test.txt、test.sql。', 'type' => 'string', 'required' => false, 'example' => 'test.csv'],
+ ],
+ [
+ 'name' => 'FileUrl',
+ 'in' => 'query',
+ 'schema' => ['description' => '文件URL。', 'type' => 'string', 'required' => false, 'example' => 'saf/cpoc/953c883cde33b2e21d722eb661d26375/测试文件模板-通用.csv'],
+ ],
+ [
+ 'name' => 'FileType',
+ 'in' => 'query',
+ 'schema' => ['description' => '文件类型', 'type' => 'string', 'required' => false, 'example' => 'CSV'],
+ ],
+ [
+ 'name' => 'ServiceCode',
+ 'in' => 'query',
+ 'schema' => ['description' => '服务code。', 'type' => 'string', 'required' => false, 'example' => 'anti_fraud_v2'],
+ ],
+ [
+ 'name' => 'ServiceName',
+ 'in' => 'query',
+ 'schema' => ['description' => '服务名称。', 'type' => 'string', 'required' => false, 'example' => '注册风险'],
+ ],
+ [
+ 'name' => 'RegId',
+ 'in' => 'query',
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
+ ],
+ [
+ 'name' => 'DateFormat',
+ 'in' => 'query',
+ 'schema' => ['description' => '日期格式类型', 'type' => 'string', 'required' => false, 'example' => 'yyyyMMdd'],
],
],
'responses' => [
200 => [
- 'headers' => [],
'schema' => [
'type' => 'object',
'properties' => [
- 'resultObject' => [
- 'description' => '返回对象。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ 'ResultObject' => ['description' => '返回结果', 'type' => 'string', 'example' => 'True'],
+ 'Code' => ['description' => '响应码。', 'type' => 'string', 'example' => '200'],
+ 'HttpStatusCode' => ['description' => 'http状态码', 'type' => 'string', 'example' => '200'],
+ 'Message' => ['description' => '返回消息。', 'type' => 'string', 'example' => 'successful'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '查询变量启用/禁用',
- ],
- 'DescribeQueryVariablePageList' => [
- 'summary' => '查询变量列表查询。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '创建POC',
+ 'summary' => '创建poc。',
+ 'changeSet' => [
+ ['createdAt' => '2024-06-19T12:22:11.000Z', 'description' => '请求参数发生变更'],
+ ['createdAt' => '2022-06-10T02:15:44.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreatePocEv'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"ResultObject\\": \\"True\\",\\n \\"Code\\": \\"200\\",\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"Message\\": \\"successful\\"\\n}","type":"json"}]',
+ ],
+ 'CreatePocSample' => [
+ 'summary' => '创建样本记录',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
- 'deprecated' => false,
+ 'operationType' => 'readAndWrite',
'systemTags' => [
- 'operationType' => 'list',
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '138403',
+ 'abilityTreeNodes' => ['FEATUREsafT73ZWM'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '接口返回错误信息语言。取值:zh:中文。 en:英文。 默认为en。', 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'regId',
+ 'name' => 'Type',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '访问类型。', 'type' => 'string', 'required' => false, 'example' => 'SAF_CONSOLE'],
],
[
- 'name' => 'dataSourceCode',
+ 'name' => 'Tab',
'in' => 'query',
- 'schema' => [
- 'description' => '数据源code。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ds_vcaoii1697',
- ],
+ 'schema' => ['description' => '场景。', 'type' => 'string', 'required' => false, 'example' => 'INTERNET'],
],
[
- 'name' => 'name',
+ 'name' => 'SampleName',
'in' => 'query',
- 'schema' => [
- 'description' => '查询变量名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '名称',
- ],
+ 'schema' => ['description' => '样本名称。', 'type' => 'string', 'required' => false, 'example' => 'SampleNameTest'],
],
[
- 'name' => 'eventCode',
+ 'name' => 'FileName',
'in' => 'query',
- 'schema' => [
- 'description' => '事件编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'de_ahpayh4121',
- ],
+ 'schema' => ['description' => '文件名称。', 'type' => 'string', 'required' => false, 'example' => 'P4911_2707.csv'],
],
[
- 'name' => 'currentPage',
+ 'name' => 'FileUrl',
'in' => 'query',
- 'schema' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '文件URL。', 'type' => 'string', 'required' => false, 'example' => 'saf/cpoc/953c883cde33b2e21d722eb661d26375/测试文件模板-通用.csv'],
],
[
- 'name' => 'pageSize',
+ 'name' => 'RegId',
'in' => 'query',
- 'schema' => [
- 'description' => '每页大小,默认值为10。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
+ ],
+ [
+ 'name' => 'Remark',
+ 'in' => 'query',
+ 'schema' => ['description' => 'Topic的备注。只能包含字母、数字、下划线(_)、短划线(-)。长度为3~64字符。', 'type' => 'string', 'required' => false, 'example' => 'cs-pub'],
],
],
'responses' => [
200 => [
- 'headers' => [],
'schema' => [
'type' => 'object',
'properties' => [
- 'resultObject' => [
- 'description' => '返回对象。',
- 'type' => 'array',
- 'items' => [
- 'description' => '返回对象。',
- 'type' => 'object',
- 'properties' => [
- 'id' => [
- 'description' => '查询变量主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '497',
- ],
- 'version' => [
- 'description' => '版本号。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'name' => [
- 'description' => '查询变量名称。',
- 'type' => 'string',
- 'example' => '查询变量名称',
- ],
- 'description' => [
- 'description' => '描述信息。',
- 'type' => 'string',
- 'example' => '变量描述',
- ],
- 'gmtCreate' => [
- 'description' => '创建时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1621578648000',
- ],
- 'gmtModified' => [
- 'description' => '修改时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1565701886000',
- ],
- 'fieldType' => [
- 'description' => '返回值类型。',
- 'type' => 'string',
- 'example' => 'STRING',
- ],
- 'dataSourceName' => [
- 'description' => '数据源名称。',
- 'type' => 'string',
- 'example' => '姓名数据源',
- ],
- 'dataSourceCode' => [
- 'description' => '数据源编码。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => 'ds_vcaoii1697',
- ],
- 'eventName' => [
- 'description' => '事件名称。',
- 'type' => 'string',
- 'example' => '注册风险',
- ],
- 'total' => [
- 'description' => '总数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '24',
- ],
- 'status' => [
- 'description' => '状态。',
- 'type' => 'string',
- 'example' => 'ENABLE',
- ],
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ 'ResultObject' => [
+ 'description' => '返回结果。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Tab' => ['description' => '场景。', 'type' => 'string', 'example' => 'FINANCE'],
+ 'SampleId' => ['description' => '样本ID。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'SampleName' => ['description' => '样本名称。', 'type' => 'string', 'example' => 'SampleNameTest'],
+ 'HasWarnings' => ['description' => '是否存在校验警告。', 'type' => 'boolean', 'example' => 'true'],
+ 'WarningMessage' => ['description' => '警告摘要。', 'type' => 'string', 'example' => 'test'],
],
],
- 'totalItem' => [
- 'description' => '总条数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '6',
- ],
- 'totalPage' => [
- 'description' => '总页数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'currentPage' => [
- 'description' => '分页参数,当前页。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'pageSize' => [
- 'description' => '每页大小,默认值为10。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
+ 'Code' => ['description' => '状态码。', 'type' => 'string', 'example' => '200'],
+ 'HttpStatusCode' => ['description' => 'http状态码。', 'type' => 'string', 'example' => '200'],
+ 'Message' => ['description' => '返回消息。', 'type' => 'string', 'example' => 'success'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": [\\n {\\n \\"id\\": 497,\\n \\"version\\": 1,\\n \\"name\\": \\"查询变量名称\\",\\n \\"description\\": \\"变量描述\\",\\n \\"gmtCreate\\": 1621578648000,\\n \\"gmtModified\\": 1565701886000,\\n \\"fieldType\\": \\"STRING\\",\\n \\"dataSourceName\\": \\"姓名数据源\\",\\n \\"dataSourceCode\\": 0,\\n \\"eventName\\": \\"注册风险\\",\\n \\"total\\": 24,\\n \\"status\\": \\"ENABLE\\"\\n }\\n ],\\n \\"totalItem\\": 6,\\n \\"totalPage\\": 1,\\n \\"currentPage\\": 1,\\n \\"pageSize\\": 10,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '自定义查询变量分页列表查询',
- ],
- 'UpdateQueryVariable' => [
- 'summary' => '自定义查询变量修改。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '创建样本',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:CreatePocSample',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"ResultObject\\": {\\n \\"Tab\\": \\"FINANCE\\",\\n \\"SampleId\\": 1,\\n \\"SampleName\\": \\"SampleNameTest\\",\\n \\"HasWarnings\\": true,\\n \\"WarningMessage\\": \\"test\\"\\n },\\n \\"Code\\": \\"200\\",\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"Message\\": \\"success\\"\\n}","type":"json"}]',
+ ],
+ 'CreateQueryVariable' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -4257,132 +3028,68 @@
],
'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-hangzhou',
- ],
- ],
- [
- 'name' => 'id',
- 'in' => 'query',
- 'schema' => [
- 'description' => '主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '3144',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'],
],
[
'name' => 'dataSourceCode',
'in' => 'query',
- 'schema' => [
- 'description' => '数据源code。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ds_vcaoii1697',
- ],
+ 'schema' => ['description' => '数据源ID。', 'type' => 'string', 'required' => true, 'example' => '3527'],
],
[
'name' => 'eventCode',
'in' => 'query',
- 'schema' => [
- 'description' => '事件编码。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'de_ajnoqe2016',
- ],
+ 'schema' => ['description' => '事件编码。', 'type' => 'string', 'required' => true, 'example' => 'de_arqbuy7206'],
],
[
'name' => 'title',
'in' => 'query',
- 'schema' => [
- 'description' => '标题。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '获取年龄大于30的数据',
- ],
+ 'schema' => ['description' => '标题。', 'type' => 'string', 'required' => true, 'example' => '获取手机号前7位'],
],
[
'name' => 'description',
'in' => 'query',
- 'schema' => [
- 'description' => '描述信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '描述',
- ],
+ 'schema' => ['description' => '描述信息。', 'type' => 'string', 'required' => false, 'example' => '查询变量描述信息'],
],
[
'name' => 'outputs',
'in' => 'query',
- 'schema' => [
- 'description' => '变量返回类型。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'STRING',
- ],
+ 'schema' => ['description' => '变量返回类型。', 'type' => 'string', 'required' => true, 'example' => 'STRING'],
],
[
'name' => 'outlier',
'in' => 'query',
- 'schema' => [
- 'description' => '异常值。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '-1',
- ],
+ 'schema' => ['description' => '异常值。', 'type' => 'string', 'required' => true, 'example' => '-1'],
],
[
'name' => 'expression',
'in' => 'query',
- 'schema' => [
- 'description' => '表达式。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'SELECT AVG( $source )\\nFROM ds_vcaoii1697 \\nWHERE $age > 0',
- ],
+ 'schema' => ['description' => '计算表达式。', 'type' => 'string', 'required' => true, 'example' => 'SELECT AVG( $source )'."\n"
+ .'FROM testCase'."\n"
+ .'WHERE $age > 0'],
],
[
'name' => 'expressionTitle',
'in' => 'query',
- 'schema' => [
- 'description' => '展示表达式。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'SELECT AVG( $source )\\nFROM testCase\\nWHERE $age > 0',
- ],
+ 'schema' => ['description' => '计算表达式展示值。', 'type' => 'string', 'required' => true, 'example' => 'SELECT AVG( $source )'."\n"
+ .'FROM testCase'."\n"
+ .'WHERE $age > 0'],
],
[
'name' => 'expressionVariable',
'in' => 'query',
- 'schema' => [
- 'description' => '表达式关联变量。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'age',
- ],
+ 'schema' => ['description' => '计算表达式变量。', 'type' => 'string', 'required' => true, 'example' => 'age'],
],
],
'responses' => [
@@ -4391,993 +3098,903 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'resultObject' => [
- 'description' => '返回对象。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
+ 'resultObject' => ['description' => '返回对象。', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '编辑自定义查询变量',
- ],
- 'DescribeDataSourcePageList' => [
- 'summary' => '数据源列表接口。',
- 'methods' => [
- 'get',
- 'post',
+ 'title' => '创建自定义查询变量',
+ 'summary' => '自定义查询变量新增。',
+ 'changeSet' => [
+ ['createdAt' => '2023-01-05T03:46:33.000Z', 'description' => '响应参数发生变更'],
+ ['createdAt' => '2021-11-23T12:31:20.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateQueryVariable'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'CreateRecommendEventRule' => [
+ 'summary' => '创建推荐事件策略。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
- 'name' => 'SourceIp',
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '请求源ip。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '220.250.21.83',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'Lang',
+ 'name' => 'taskId',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '任务id。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '6770764'],
+ ],
+ [
+ 'name' => 'eventCode',
+ 'in' => 'query',
+ 'schema' => ['description' => '事件编码', 'type' => 'string', 'required' => false, 'example' => 'de_ahqido8038'],
+ ],
+ [
+ 'name' => 'eventName',
+ 'in' => 'query',
+ 'schema' => ['description' => '事件名称。', 'type' => 'string', 'required' => false, 'example' => '用户昵称文本审核检测结果'],
],
[
'name' => 'regId',
'in' => 'query',
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
+ ],
+ [
+ 'name' => 'recommendRuleIdsStr',
+ 'in' => 'query',
+ 'schema' => ['description' => '策略id', 'type' => 'string', 'required' => false, 'example' => '[\\"100234\\",\\"100235\\"]'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
+ 'type' => 'object',
+ 'properties' => [
+ 'resultObject' => ['description' => '返回对象', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ ],
+ 'description' => '',
],
],
+ ],
+ 'title' => '创建推荐事件策略',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:19:05.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateRecommendEventRule'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'CreateRecommendTask' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'systemTags' => ['operationType' => 'get'],
+ 'parameters' => [
+ [
+ 'name' => 'Lang',
+ 'in' => 'query',
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'],
+ ],
[
'name' => 'name',
'in' => 'query',
- 'schema' => [
- 'description' => '变量name。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'data_source',
- ],
+ 'schema' => ['description' => '名称', 'type' => 'string', 'required' => true, 'example' => '注册样本'],
],
[
- 'name' => 'type',
+ 'name' => 'sampleId',
'in' => 'query',
- 'schema' => [
- 'description' => '类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'FILE',
- ],
+ 'schema' => ['description' => '任务id。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '5467'],
],
[
- 'name' => 'pageSize',
+ 'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '每页大小,默认值为10。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'currentPage',
+ 'name' => 'variablesStr',
'in' => 'query',
- 'schema' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '所需计算的变量,variables', 'type' => 'string', 'required' => true, 'example' => '[\\"1112\\",\\"1113\\"]'],
+ ],
+ [
+ 'name' => 'velocitiesStr',
+ 'in' => 'query',
+ 'schema' => ['description' => '指标效果', 'type' => 'string', 'required' => true, 'example' => '[\\"dxkkLw8fe18\\",\\"dxUxSCM26d7\\"]'],
],
],
'responses' => [
200 => [
- 'headers' => [],
'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'Schema of Response。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
- 'totalItem' => [
- 'description' => '总条数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '3',
- ],
- 'totalPage' => [
- 'description' => '总页数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '9',
- ],
- 'currentPage' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'pageSize' => [
- 'description' => '每页大小,默认值为10。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'resultObject' => [
- 'description' => '返回对象。',
- 'type' => 'array',
- 'items' => [
- 'description' => '返回对象。',
- 'type' => 'object',
- 'properties' => [
- 'id' => [
- 'description' => '数据源ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '497',
- ],
- 'name' => [
- 'description' => '数据源名称。',
- 'type' => 'string',
- 'example' => 'data_source',
- ],
- 'type' => [
- 'description' => '数据源类型。',
- 'type' => 'string',
- 'example' => 'FILE',
- ],
- 'total' => [
- 'description' => '总页数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '4',
- ],
- 'description' => [
- 'description' => '数据源描述信息。',
- 'type' => 'string',
- 'example' => '描述',
- ],
- 'gmtCreate' => [
- 'description' => '创建数据源的时间。',
- 'type' => 'string',
- 'example' => '1621578648000',
- ],
- 'gmtModified' => [
- 'description' => '最后修改数据源的时间。',
- 'type' => 'string',
- 'example' => '1565701886000',
- ],
- 'creator' => [
- 'description' => '数据源的创建者。',
- 'type' => 'string',
- 'example' => 'xxxx',
- ],
- 'modifier' => [
- 'description' => '最后修改人。',
- 'type' => 'string',
- 'example' => 'xxxxx',
- ],
- ],
- ],
- ],
+ 'resultObject' => ['description' => '返回对象', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"totalItem\\": 3,\\n \\"totalPage\\": 9,\\n \\"currentPage\\": 1,\\n \\"pageSize\\": 10,\\n \\"resultObject\\": [\\n {\\n \\"id\\": 497,\\n \\"name\\": \\"data_source\\",\\n \\"type\\": \\"FILE\\",\\n \\"total\\": 4,\\n \\"description\\": \\"描述\\",\\n \\"gmtCreate\\": \\"1621578648000\\",\\n \\"gmtModified\\": \\"1565701886000\\",\\n \\"creator\\": \\"xxxx\\",\\n \\"modifier\\": \\"xxxxx\\"\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '外部数据源列表查询',
- ],
- 'CreateQueryVariable' => [
- 'summary' => '自定义查询变量新增。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '创建推荐任务',
+ 'summary' => '创建推荐任务。',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:19:05.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateRecommendTask'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'CreateRule' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
- 'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREsafBCGX2Z'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'regId',
+ 'name' => 'ruleName',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '策略名称。', 'type' => 'string', 'required' => false, 'example' => '注册手机号是11位数字'],
],
[
- 'name' => 'dataSourceCode',
+ 'name' => 'ruleStatus',
'in' => 'query',
- 'schema' => [
- 'description' => '数据源ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '3527',
- ],
+ 'schema' => ['description' => '策略状态。', 'type' => 'string', 'required' => false, 'example' => 'DRAFT'],
+ ],
+ [
+ 'name' => 'memo',
+ 'in' => 'query',
+ 'schema' => ['description' => '备注。', 'type' => 'string', 'required' => false, 'example' => '描述信息'],
+ ],
+ [
+ 'name' => 'eventName',
+ 'in' => 'query',
+ 'schema' => ['description' => '事件名称。', 'type' => 'string', 'required' => false, 'example' => '登录事件'],
],
[
'name' => 'eventCode',
'in' => 'query',
- 'schema' => [
- 'description' => '事件编码。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'de_arqbuy7206',
- ],
+ 'schema' => ['description' => '事件编码。', 'type' => 'string', 'required' => false, 'example' => 'de_acytyt7036'],
],
[
- 'name' => 'title',
+ 'name' => 'ruleExpressions',
'in' => 'query',
- 'schema' => [
- 'description' => '标题。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '获取手机号前7位',
- ],
+ 'schema' => ['description' => '策略表达式。', 'type' => 'string', 'required' => false, 'example' => '[{"expressionName":"cc","itemId":1,"left":{"name":"__ipLocationCityCode__"},"operatorCode":"equals","operatorName":"等于","right":{"fieldValue":"a"}}]'],
],
[
- 'name' => 'description',
+ 'name' => 'logicExpression',
'in' => 'query',
- 'schema' => [
- 'description' => '描述信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '查询变量描述信息',
- ],
+ 'schema' => ['description' => '策略表达式执行逻辑。', 'type' => 'string', 'required' => false, 'example' => '1&2'],
],
[
- 'name' => 'outputs',
+ 'name' => 'ruleActions',
'in' => 'query',
- 'schema' => [
- 'description' => '变量返回类型。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'STRING',
- ],
+ 'schema' => ['description' => '策略执行输出动作。', 'type' => 'string', 'required' => false, 'example' => '[{"inputs":["123"],"name":"__addDeTags__","actionType":"TAG","outputType":"const"},{"inputs":["123"],"name":"__addDeScore__","actionType":"SCORE","outputType":"const","inputTitle":"123"},{"actionType":"MIDDLE_VARIABLE","fieldValue":"123","inputs":["mid1"]},{"actionType":"VARIABLE","inputs":["gg"],"name":"mid1"}]'],
],
[
- 'name' => 'outlier',
+ 'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '异常值。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '-1',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'expression',
+ 'name' => 'createType',
'in' => 'query',
- 'schema' => [
- 'description' => '计算表达式。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'SELECT AVG( $source )'."\n"
- .'FROM testCase'."\n"
- .'WHERE $age > 0',
- ],
+ 'schema' => ['description' => '创建类型。', 'type' => 'string', 'required' => false, 'example' => 'NORMAL'],
],
[
- 'name' => 'expressionTitle',
+ 'name' => 'consoleRuleId',
'in' => 'query',
- 'schema' => [
- 'description' => '计算表达式展示值。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'SELECT AVG( $source )'."\n"
- .'FROM testCase'."\n"
- .'WHERE $age > 0',
- ],
+ 'schema' => ['description' => '规则id。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '5178'],
],
[
- 'name' => 'expressionVariable',
+ 'name' => 'ruleBody',
'in' => 'query',
- 'schema' => [
- 'description' => '计算表达式变量。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'age',
- ],
+ 'schema' => ['description' => 'DSL策略执行逻辑。', 'type' => 'string', 'required' => false, 'example' => '{"elseIfStatement":[],"elseStatement":{},"ifStatement":{"condition":{"currentId":0,"deepCount":1,"list":[{"currentId":0,"deepCount":1,"left":{"code":"deFunctionProcess(ip,\\"isIp\\")","description":"判断是否符合IPv4标准","displayType":"SYSTEM_BIND","fieldType":"BOOLEAN","functionCode":"","functionName":"","hasRightVariable":false,"name":"__isIpAddressV4__","outputThreshold":{},"sourceType":"SAF","title":"IP是否符合IPV4格式","type":"SYSTEM_BIND"},"operatorCode":"boolIsFalse","operatorName":"为false","parentId":0,"sequence":1}],"parentId":0,"relationship":"and"},"then":[{"inputs":["123"],"name":"__addDeTags__","actionType":"TAG","outputType":"const"}]}}'],
+ ],
+ [
+ 'name' => 'ruleType',
+ 'in' => 'query',
+ 'schema' => ['description' => '策略类型。', 'type' => 'string', 'required' => false, 'example' => 'DRAFT'],
],
],
'responses' => [
200 => [
- 'headers' => [],
'schema' => [
'type' => 'object',
'properties' => [
- 'resultObject' => [
- 'description' => '返回对象。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
+ 'resultObject' => ['description' => '返回结果。', 'type' => 'boolean', 'example' => 'true'],
+ 'requestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '创建自定义查询变量',
- ],
- 'DescribeDataSourceDataDownloadUrl' => [
- 'summary' => '获取数据源数据下载链接。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '创建规则',
+ 'summary' => '创建策略&版本。',
+ 'changeSet' => [
+ ['createdAt' => '2025-07-22T08:12:51.000Z', 'description' => '请求参数发生变更'],
+ ['createdAt' => '2021-10-18T12:18:57.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateRule'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\"\\n}","type":"json"}]',
+ ],
+ 'CreateSample' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'regId',
+ 'name' => 'sampleType',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '样本类型', 'type' => 'string', 'required' => false, 'example' => 'PHONE'],
],
[
- 'name' => 'dataSourceId',
+ 'name' => 'sampleValues',
'in' => 'query',
- 'schema' => [
- 'description' => '数据源ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '69',
- ],
+ 'schema' => ['description' => '样本值', 'type' => 'string', 'required' => false, 'example' => '1777000000,1777000001'],
+ ],
+ [
+ 'name' => 'sampleTag',
+ 'in' => 'query',
+ 'schema' => ['description' => '样本标签', 'type' => 'string', 'required' => false, 'example' => 'rm0102'],
+ ],
+ [
+ 'name' => 'uploadType',
+ 'in' => 'query',
+ 'schema' => ['description' => '上传类型', 'type' => 'string', 'required' => false, 'example' => 'ANNEX'],
+ ],
+ [
+ 'name' => 'clientPath',
+ 'in' => 'query',
+ 'schema' => ['description' => 'oss客户地址', 'type' => 'string', 'required' => false, 'example' => 'sample/path'],
+ ],
+ [
+ 'name' => 'clientFileName',
+ 'in' => 'query',
+ 'schema' => ['description' => 'oss客户上传文件名', 'type' => 'string', 'required' => false, 'example' => '样本文件.csv'],
+ ],
+ [
+ 'name' => 'fileType',
+ 'in' => 'query',
+ 'schema' => ['description' => '文件类型', 'type' => 'string', 'required' => false, 'example' => 'CSV'],
+ ],
+ [
+ 'name' => 'regId',
+ 'in' => 'query',
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
200 => [
- 'headers' => [],
'schema' => [
'type' => 'object',
'properties' => [
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
'resultObject' => [
- 'description' => '返回对象。',
+ 'description' => '返回对象',
'type' => 'object',
'properties' => [
- 'downloadFileUrl' => [
- 'description' => '下载地址。',
- 'type' => 'string',
- 'example' => 'https:/xxxxx.oss-cn-xxxxxx.aliyuncs.com/xxxx/xxx/xxxxxx/xxx/xxxxxxxxxx?Expires=1753421064&OSSAccessKeyId=xxxxxxx&Signature=xxxxxxx%3D',
- ],
+ 'failCount' => ['description' => '失败样本数', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'riskDensity' => ['description' => '风险浓度', 'type' => 'string', 'example' => '1.5%'],
+ 'recallProbability' => ['description' => '召回概率', 'type' => 'string', 'example' => '2.5%'],
+ 'successCount' => ['description' => '成功样本数', 'type' => 'integer', 'format' => 'int32', 'example' => '99'],
+ 'communityCount' => ['description' => '染色群体数量', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'sampleCount' => ['description' => '样本数量', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
],
],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": {\\n \\"downloadFileUrl\\": \\"https:/xxxxx.oss-cn-xxxxxx.aliyuncs.com/xxxx/xxx/xxxxxx/xxx/xxxxxxxxxx?Expires=1753421064&OSSAccessKeyId=xxxxxxx&Signature=xxxxxxx%3D\\"\\n },\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '根据文件名下载文件',
- ],
- 'CreateDataSource' => [
- 'summary' => '新增数据源。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '添加样本',
+ 'summary' => '添加样本。',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:11:26.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateSample'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"resultObject\\": {\\n \\"failCount\\": 1,\\n \\"riskDensity\\": \\"1.5%\\",\\n \\"recallProbability\\": \\"2.5%\\",\\n \\"successCount\\": 99,\\n \\"communityCount\\": 10,\\n \\"sampleCount\\": 100\\n }\\n}","type":"json"}]',
+ ],
+ 'CreateSampleApi' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
- 'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'create',
+ 'abilityTreeCode' => '206993',
+ 'abilityTreeNodes' => ['FEATUREsaf6MRPQF'],
+ 'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'regId',
+ 'name' => 'RegId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => 'regionId', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'],
],
[
- 'name' => 'name',
+ 'name' => 'SampleBatchType',
'in' => 'query',
- 'schema' => [
- 'description' => '数据源名称。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'testDispatch',
- ],
+ 'schema' => ['description' => '样本批次类型', 'type' => 'string', 'required' => false, 'example' => '白名单/黑名单/混合'],
],
[
- 'name' => 'type',
+ 'name' => 'DataType',
'in' => 'query',
- 'schema' => [
- 'description' => '数据源类型。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'FILE',
- ],
+ 'schema' => ['description' => '与入参相同', 'type' => 'string', 'required' => false, 'example' => 'ip/accountID'],
],
[
- 'name' => 'description',
+ 'name' => 'ServiceList',
'in' => 'query',
- 'schema' => [
- 'description' => '数据源描述。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '数据源描述',
- ],
+ 'schema' => ['description' => '服务列表。', 'type' => 'string', 'required' => false, 'example' => '同参数'],
],
[
- 'name' => 'ossKey',
+ 'name' => 'DataValue',
'in' => 'query',
- 'schema' => [
- 'description' => 'oss文件key。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'oss上传key',
- ],
+ 'schema' => ['description' => '具体数据值', 'type' => 'string', 'required' => false, 'example' => '同参数'],
],
],
'responses' => [
200 => [
- 'headers' => [],
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'resultObject' => [
- 'description' => '返回对象。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ 'Code' => ['description' => '接口状态码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Message' => ['description' => '返回信息。', 'type' => 'string', 'example' => 'success'],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '创建查询变量数据源',
- ],
- 'UpdateDataSource' => [
- 'summary' => '修改数据源。',
- 'methods' => [
- 'post',
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'eventInfo' => [
+ 'enable' => false,
+ 'eventNames' => [],
+ ],
+ 'title' => '通过API上传样本的接口',
+ 'summary' => '用户级别单API创建样本批',
+ 'changeSet' => [
+ ['createdAt' => '2024-07-01T14:00:11.000Z', 'description' => '响应参数发生变更'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '2000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateSampleApi'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:CreateSampleBatch',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\"\\n}","type":"json"}]',
+ ],
+ 'CreateSampleBatch' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'create'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'id',
+ 'name' => 'batchName',
'in' => 'query',
- 'schema' => [
- 'description' => '主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '30',
- ],
+ 'schema' => ['description' => '样本批次名称', 'type' => 'string', 'required' => false, 'example' => '白样本'],
],
[
- 'name' => 'name',
+ 'name' => 'sampleBatchType',
'in' => 'query',
- 'schema' => [
- 'description' => '数据源名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '年龄数据源',
- ],
+ 'schema' => ['description' => '样本名单具体的类型', 'type' => 'string', 'required' => false, 'example' => '白名单'],
],
[
- 'name' => 'type',
+ 'name' => 'dataType',
'in' => 'query',
- 'schema' => [
- 'description' => '数据源类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'FILE',
- ],
+ 'schema' => ['description' => '数据类型', 'type' => 'string', 'required' => false, 'example' => 'mobile'],
],
[
- 'name' => 'description',
+ 'name' => 'serviceList',
'in' => 'query',
- 'schema' => [
- 'description' => '描述信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '描述',
- ],
+ 'schema' => ['description' => '服务列表', 'type' => 'string', 'required' => false, 'example' => 'account_takeover'],
],
[
- 'name' => 'ossKey',
+ 'name' => 'ossFileName',
'in' => 'query',
- 'schema' => [
- 'description' => 'oss文件key。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'saf/path/xxx',
- ],
+ 'schema' => ['description' => '上传的oss地址。', 'type' => 'string', 'required' => false, 'example' => 'sample/94b4193d321c44b44ee92b19984000a0/样本测试01/0d8dbc6809834d51b1d88a42295c803e/1753865835166.csv'],
+ ],
+ [
+ 'name' => 'dataValue',
+ 'in' => 'query',
+ 'schema' => ['description' => '文本框输入的名单内容', 'type' => 'string', 'required' => false, 'example' => '1770000000,1770000001'],
+ ],
+ [
+ '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' => [
- 'resultObject' => [
- 'description' => '返回对象。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '外部数据源修改',
- ],
- 'DescribeOssPolicy' => [
- 'summary' => '获取OSS Policy。',
- 'methods' => [
- 'post',
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '新建样本批',
+ 'summary' => '新建样本批。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '2000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateSampleBatch'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:CreateSampleBatch',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'CreateSampleData' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
- 'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
+ 'abilityTreeCode' => '136014',
+ 'abilityTreeNodes' => ['FEATUREsafT73ZWM'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'regId',
+ 'name' => 'name',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '名称', 'type' => 'string', 'required' => false, 'example' => '注册样本'],
],
[
'name' => 'scene',
'in' => 'query',
+ 'schema' => ['description' => '场景', 'type' => 'string', 'required' => false, 'example' => 'PHONE'],
+ ],
+ [
+ 'name' => 'description',
+ 'in' => 'query',
+ 'schema' => ['description' => '描述信息。', 'type' => 'string', 'required' => false, 'example' => '描述'],
+ ],
+ [
+ 'name' => 'riskValue',
+ 'in' => 'query',
+ 'schema' => ['description' => '风险指定值', 'type' => 'string', 'required' => false, 'example' => 'black'],
+ ],
+ [
+ 'name' => 'storePath',
+ 'in' => 'query',
+ 'schema' => ['description' => '存储路径', 'type' => 'string', 'required' => false, 'example' => 'saf/de/sample/3dc2spspHKq4G3YI9d08'."\n"],
+ ],
+ [
+ 'name' => 'storeType',
+ 'in' => 'query',
+ 'schema' => ['description' => '存储类型', 'type' => 'string', 'required' => false, 'example' => 'OSS'],
+ ],
+ [
+ 'name' => 'encryptType',
+ 'in' => 'query',
'schema' => [
- 'description' => '场景。',
+ 'description' => '加密类型',
'type' => 'string',
- 'required' => true,
- 'enumValueTitles' => [
- 'NAME_LIST' => '名单',
- 'IMPORT_VARIABLE' => '变量',
- ],
- 'example' => 'NAME_LIST',
+ 'required' => false,
+ 'enumValueTitles' => ['ALL' => '所有加密', 'LABEL' => '标签加密', 'NONE' => '无加密'],
+ 'example' => 'LABEL',
],
],
+ [
+ 'name' => 'regId',
+ 'in' => 'query',
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
+ ],
],
'responses' => [
200 => [
- 'headers' => [],
'schema' => [
'type' => 'object',
'properties' => [
- 'requestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2',
- ],
- 'Host' => [
- 'description' => 'oss的主机ID。',
- 'type' => 'string',
- 'example' => 'testvm.biubiubiuu.com',
- ],
- 'Key' => [
- 'description' => '文件上传所需的Key。',
- 'type' => 'string',
- 'example' => 'saf/a/uid/ccc',
- ],
- 'Signature' => [
- 'description' => '签名数据。',
- 'type' => 'string',
- 'example' => 'tzl1wL4q8rR/xxxxxx',
- ],
- 'Policy' => [
- 'description' => 'OSS安全策略。',
- 'type' => 'string',
- 'example' => 'eyJleHBpxxxxxx',
- ],
- 'AccessId' => [
- 'description' => 'accessId,OSS SDK上传时参数,对应OSSAccessKeyId。',
- 'type' => 'string',
- 'example' => 'LTAIpeYTKEbC0v10',
- ],
+ 'resultObject' => ['description' => '返回对象', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\",\\n \\"Host\\": \\"testvm.biubiubiuu.com\\",\\n \\"Key\\": \\"saf/a/uid/ccc\\",\\n \\"Signature\\": \\"tzl1wL4q8rR/xxxxxx\\",\\n \\"Policy\\": \\"eyJleHBpxxxxxx\\",\\n \\"AccessId\\": \\"LTAIpeYTKEbC0v10\\"\\n}","type":"json"}]',
- 'title' => '查询oss上传凭证',
- ],
- 'DeleteDataSource' => [
- 'summary' => '删除数据源。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '创建样本数据',
+ 'summary' => '创建样本数据。',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:19:05.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateSampleData'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'CreateSimulationTask' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
- 'deprecated' => false,
+ 'operationType' => 'write',
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREsafT73ZWM'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'],
+ ],
+ [
+ 'name' => 'taskName',
+ 'in' => 'query',
+ 'schema' => ['description' => '任务名称', 'type' => 'string', 'required' => true, 'example' => '仿真任务'],
+ ],
+ [
+ 'name' => 'eventCode',
+ 'in' => 'query',
+ 'schema' => ['description' => '事件编码', 'type' => 'string', 'required' => true, 'example' => 'de_anbwns2231'],
+ ],
+ [
+ 'name' => 'startTime',
+ 'in' => 'query',
+ 'schema' => ['description' => '开始时间,精确到毫秒(ms)。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1730448000000'],
+ ],
+ [
+ 'name' => 'endTime',
+ 'in' => 'query',
+ 'schema' => ['description' => '结束时间,精确到毫秒(ms)。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1735541040000'],
+ ],
+ [
+ 'name' => 'runTask',
+ 'in' => 'query',
+ 'schema' => ['description' => '是否直接运行任务', 'type' => 'boolean', 'required' => true, 'example' => 'false'],
+ ],
+ [
+ 'name' => 'dataSourceType',
+ 'in' => 'query',
+ 'schema' => ['description' => '数据源类型', 'type' => 'string', 'required' => false, 'example' => 'SLS'],
+ ],
+ [
+ 'name' => 'dataSourceConfig',
+ 'in' => 'query',
+ 'schema' => ['description' => '数据源配置', 'type' => 'string', 'required' => false, 'example' => '{}'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'id',
+ 'name' => 'filtersStr',
'in' => 'query',
- 'schema' => [
- 'description' => '主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '30',
- ],
+ 'schema' => ['description' => '过滤器', 'type' => 'string', 'required' => false, 'example' => '{"left":"score","operate":"bw","right":"222,333"}'],
+ ],
+ [
+ 'name' => 'rulesStr',
+ 'in' => 'query',
+ 'schema' => ['description' => '策略列表', 'type' => 'string', 'required' => true, 'example' => '[\\"100234\\"]'],
],
],
'responses' => [
200 => [
- 'headers' => [],
'schema' => [
'type' => 'object',
'properties' => [
- 'resultObject' => [
- 'description' => '返回对象。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
+ 'resultObject' => ['description' => '返回对象', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '删除数据源',
- ],
- 'CreateAnalysisConditionFavorite' => [
- 'summary' => '新增查询条件。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '创建任务',
+ 'summary' => '创建任务。',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:19:05.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateSimulationTask'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'CreateTaskGroup' => [
+ 'summary' => '取消子任务',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
- 'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '138403',
+ 'abilityTreeNodes' => ['FEATUREsafT73ZWM'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '接口返回错误信息语言。取值:zh:中文。 en:英文。 默认为en。', 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'regId',
+ 'name' => 'RegId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'name',
+ 'name' => 'Type',
'in' => 'query',
- 'schema' => [
- 'description' => '条件收藏名称。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '条件一',
- ],
+ 'schema' => ['description' => '访问类型。', 'type' => 'string', 'required' => false, 'example' => 'SAF_CONSOLE'],
],
[
- 'name' => 'eventCodes',
+ 'name' => 'TaskGroupName',
'in' => 'query',
- 'schema' => [
- 'description' => '事件编码,多个用逗号隔开。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '["de_ahqhsw7665","de_agbzfi5134"]',
- ],
+ 'schema' => ['description' => '任务组名称。', 'type' => 'string', 'required' => false, 'example' => 'TeskGroupTest'],
],
[
- 'name' => 'eventBeginTime',
+ 'name' => 'Tab',
'in' => 'query',
- 'schema' => [
- 'description' => '开始时间,精确到毫秒(ms)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1751299200000',
- ],
+ 'schema' => ['description' => '场景。', 'type' => 'string', 'required' => false, 'example' => 'INTERNET'],
],
[
- 'name' => 'eventEndTime',
+ 'name' => 'SampleIds',
'in' => 'query',
- 'schema' => [
- 'description' => '终止日期,精确到毫秒(ms)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1753372799000',
- ],
+ 'schema' => ['description' => '样本ID。', 'type' => 'string', 'required' => false, 'example' => '1,2'],
],
[
- 'name' => 'condition',
+ 'name' => 'ServiceCodes',
'in' => 'query',
- 'schema' => [
- 'description' => '条件值。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '{"relationship":"and","list":[{"deepCount":1,"left":{"hasRightVariable":true,"fieldType":"INT","functionName":"","leftVariableType":"NATIVE","name":"DEtest222","operatorCode":"equals"},"right":{"rightVariableType":"constant","name":"11","functionName":""},"operatorCode":"equals"}]}',
- ],
+ 'schema' => ['description' => 'service服务编码。', 'type' => 'string', 'required' => false, 'example' => 'oss'],
],
[
- 'name' => 'type',
+ 'name' => 'ServiceNames',
'in' => 'query',
- 'schema' => [
- 'description' => '查询类型。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'BASIC',
- ],
+ 'schema' => ['description' => '分应用统计服务名称列表。', 'type' => 'string', 'required' => false, 'example' => 'Test'],
],
[
- 'name' => 'fieldName',
+ 'name' => 'Scenes',
'in' => 'query',
- 'schema' => [
- 'description' => '字段名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'age',
- ],
+ 'schema' => ['description' => '服务对应场景。', 'type' => 'string', 'required' => false, 'example' => '[\\"porn\\",\\"terrorism\\",\\"ad\\"]'],
],
[
- 'name' => 'fieldValue',
+ 'name' => 'ServiceList',
'in' => 'query',
- 'schema' => [
- 'description' => '字段值。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '服务列表。', 'type' => 'string', 'required' => false, 'example' => '[{"serviceCode":"anti_fraud_v4_score"},{"serviceCode":"antif2_score"},{"serviceCode":"anti_fraud_customed","scenes":["TC_general_1","aliyun_cust_feat_all"]},{"serviceCode":"antif2_customed_plus","scenes":["antif2_customed_v1_feature"]}]'],
],
],
'responses' => [
@@ -5385,340 +4002,201 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'resultObject' => [
- 'description' => '返回对象。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ 'ResultObject' => [
+ 'description' => '返回结果。',
+ 'type' => 'object',
+ 'properties' => [
+ 'TaskGroupId' => ['description' => '任务组 ID。'."\n"
+ ."\n"
+ .'> 该参数正在邀测中,当使用该参数时,其它查询条件将失效。', 'type' => 'integer', 'format' => 'int32', 'example' => 'g-0jlcreertd0p471l6f72'],
+ 'TaskGroupName' => ['description' => '任务组名称。', 'type' => 'string', 'example' => 'GroupTest'],
+ 'SubTaskCount' => ['description' => '任务解析, 拆分出来子任务个数。', 'type' => 'integer', 'format' => 'int32', 'example' => '3'],
+ 'GroupStatus' => ['description' => '群组状态。', 'type' => 'string', 'example' => 'RUNNING'],
+ 'SampleNames' => [
+ 'description' => '任务组名称。',
+ 'type' => 'array',
+ 'items' => ['description' => '任务名称。', 'type' => 'string', 'example' => 'Test'],
+ ],
+ 'CreatorUserId' => ['description' => '创建人。', 'type' => 'integer', 'format' => 'int32', 'example' => '345298'],
+ 'CreateTime' => ['description' => '创建时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1750645267000'],
+ 'Tab' => ['description' => '场景。', 'type' => 'string', 'example' => 'FINANCE'],
+ 'SubTaskList' => [
+ 'description' => '子任务。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '子任务。',
+ 'type' => 'object',
+ 'properties' => [
+ 'SubTaskId' => ['description' => '子任务ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '3'],
+ 'TaskName' => ['description' => '任务名称。', 'type' => 'string', 'example' => '阿里多头_68629_20260115'],
+ 'TaskGroupId' => ['description' => '任务组 ID。', 'type' => 'string', 'example' => '4'],
+ 'SampleId' => ['description' => '样本ID。', 'type' => 'string', 'example' => '4'],
+ 'SampleName' => ['description' => '样本名称。', 'type' => 'string', 'example' => 'fs'],
+ 'ServiceCode' => ['description' => '服务code。', 'type' => 'string', 'example' => 'anti_fraud_customed'],
+ 'ServiceName' => ['description' => '服务名称。', 'type' => 'string', 'example' => '多头风险前筛'],
+ 'GroupName' => ['description' => '用户组名称。', 'type' => 'string', 'example' => 'pts-demo'],
+ 'ModelScene' => ['description' => '模型场景。', 'type' => 'string', 'example' => 'rfs'],
+ 'TaskStatus' => ['description' => '导入任务的执行状态:'."\n"
+ .'- DOING:运行中'."\n"
+ .'- FINISH:执行完成。', 'type' => 'string', 'example' => 'Finished'],
+ 'FinishTime' => ['description' => '任务结束时间。', 'type' => 'string', 'example' => '2026-01-12 15:47:23'],
+ 'Tab' => ['description' => '场景。', 'type' => 'string', 'example' => 'FINANCE'],
+ 'FileName' => ['description' => '文件名称。', 'type' => 'string', 'example' => 'model_test_enorl_202606040953+10.csv'],
+ 'Checker' => ['description' => '复核人。', 'type' => 'string', 'example' => '303872'],
+ 'FileRows' => ['description' => '文件行数。', 'type' => 'string', 'example' => '12'],
+ 'IsCharge' => ['description' => '是否收费。', 'type' => 'string', 'example' => 'true'],
+ ],
+ ],
+ ],
+ ],
],
+ 'Code' => ['description' => '响应码。', 'type' => 'string', 'example' => '200'],
+ 'HttpStatusCode' => ['description' => 'http状态码。', 'type' => 'string', 'example' => '200'],
+ 'Message' => ['description' => '返回信息。', 'type' => 'string', 'example' => 'success'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '保存查询条件',
- ],
- 'CreateAnalysisExportTask' => [
- 'summary' => '新建导出任务。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '创建任务组',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:CreateTaskGroup',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"ResultObject\\": {\\n \\"TaskGroupId\\": 0,\\n \\"TaskGroupName\\": \\"GroupTest\\",\\n \\"SubTaskCount\\": 3,\\n \\"GroupStatus\\": \\"RUNNING\\",\\n \\"SampleNames\\": [\\n \\"Test\\"\\n ],\\n \\"CreatorUserId\\": 345298,\\n \\"CreateTime\\": 1750645267000,\\n \\"Tab\\": \\"FINANCE\\",\\n \\"SubTaskList\\": [\\n {\\n \\"SubTaskId\\": 3,\\n \\"TaskName\\": \\"阿里多头_68629_20260115\\",\\n \\"TaskGroupId\\": \\"4\\",\\n \\"SampleId\\": \\"4\\",\\n \\"SampleName\\": \\"fs\\",\\n \\"ServiceCode\\": \\"anti_fraud_customed\\",\\n \\"ServiceName\\": \\"多头风险前筛\\",\\n \\"GroupName\\": \\"pts-demo\\",\\n \\"ModelScene\\": \\"rfs\\",\\n \\"TaskStatus\\": \\"Finished\\",\\n \\"FinishTime\\": \\"2026-01-12 15:47:23\\",\\n \\"Tab\\": \\"FINANCE\\",\\n \\"FileName\\": \\"model_test_enorl_202606040953+10.csv\\",\\n \\"Checker\\": \\"303872\\",\\n \\"FileRows\\": \\"12\\",\\n \\"IsCharge\\": \\"true\\"\\n }\\n ]\\n },\\n \\"Code\\": \\"200\\",\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"Message\\": \\"success\\"\\n}","type":"json"}]',
+ ],
+ 'DeepCopyRule' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'operationType' => 'read',
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'regId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-hangzhou',
- ],
- ],
- [
- 'name' => 'eventCodes',
+ 'name' => 'SourceRuleId',
'in' => 'query',
- 'schema' => [
- 'description' => '事件code。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'de_afghcf6411',
- ],
+ 'schema' => ['description' => '来源策略id', 'type' => 'string', 'required' => false, 'example' => '102125'],
],
[
- 'name' => 'scope',
+ 'name' => 'SourceRuleIds',
'in' => 'query',
- 'schema' => [
- 'description' => '导出范围:ALL:全部,SELECT:选中行。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ALL',
- ],
+ 'schema' => ['description' => '目标策略id', 'type' => 'string', 'required' => false, 'example' => '102125,102129'],
],
[
- 'name' => 'fileFormat',
+ 'name' => 'TargetEventCode',
'in' => 'query',
- 'schema' => [
- 'description' => '文件格式,Excel、CSV。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'CSV',
- ],
+ 'schema' => ['description' => '目标事件', 'type' => 'string', 'required' => false, 'example' => 'de_ajtshf1581'],
],
[
- 'name' => 'columns',
+ 'name' => 'TargetEventName',
'in' => 'query',
- 'schema' => [
- 'description' => '自定义列。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '['."\n"
- .' {'."\n"
- .' "fieldName": "requestId",'."\n"
- .' "fieldTitle": "RequestId"'."\n"
- .' },'."\n"
- .' {'."\n"
- .' "fieldName": "eventTime",'."\n"
- .' "fieldTitle": "事件时间"'."\n"
- .' },'."\n"
- .' {'."\n"
- .' "fieldName": "accountId",'."\n"
- .' "fieldTitle": "账号"'."\n"
- .' },'."\n"
- .' {'."\n"
- .' "fieldName": "deviceId",'."\n"
- .' "fieldTitle": "设备ID"'."\n"
- .' },'."\n"
- .' {'."\n"
- .' "fieldName": "eventCode",'."\n"
- .' "fieldTitle": "事件编码"'."\n"
- .' },'."\n"
- .' {'."\n"
- .' "fieldName": "ip",'."\n"
- .' "fieldTitle": "IP"'."\n"
- .' },'."\n"
- .' {'."\n"
- .' "fieldName": "score",'."\n"
- .' "fieldTitle": "分值"'."\n"
- .' },'."\n"
- .' {'."\n"
- .' "fieldName": "tags",'."\n"
- .' "fieldTitle": "标签"'."\n"
- .' },'."\n"
- .' {'."\n"
- .' "fieldName": "DEtest222",'."\n"
- .' "fieldTitle": "测试222"'."\n"
- .' }'."\n"
- .' ]',
- ],
+ 'schema' => ['description' => '目标事件名称', 'type' => 'string', 'required' => false, 'example' => '目标事件名称'],
],
[
- 'name' => 'eventBeginTime',
+ 'name' => 'ExpressionVariableInfo',
'in' => 'query',
- 'schema' => [
- 'description' => '开始时间,精确到毫秒(ms)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1752076800000',
- ],
+ 'schema' => ['description' => '需要新增的自定义变量', 'type' => 'string', 'required' => false, 'example' => '[{"id":"ex_2wxZPcxg3a03","title":"新标题"}]'],
],
[
- 'name' => 'eventEndTime',
+ 'name' => 'QueryExpressionVariableInfo',
'in' => 'query',
- 'schema' => [
- 'description' => '结束时间,精确到毫秒(ms)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1753891199000',
- ],
+ 'schema' => ['description' => '需要新增的自定义查询变量', 'type' => 'string', 'required' => false, 'example' => '[{"id":"ex_2wxZPcxg3a03","title":"新标题"}]'],
],
[
- 'name' => 'type',
+ 'name' => 'CustWriteInfo',
'in' => 'query',
- 'schema' => [
- 'description' => '类型,BASIC:基础查询,ADVANCE:高级查询,BATCH:批量查询。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'BASIC',
- ],
+ 'schema' => ['description' => '读累计变量', 'type' => 'string', 'required' => false, 'example' => '[1234,2345]'],
],
[
- 'name' => 'conditions',
+ 'name' => 'CustInsertInfo',
'in' => 'query',
- 'schema' => [
- 'description' => '查询表达式。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{'."\n"
- .' "fieldName": null, '."\n"
- .' "fieldValue": null '."\n"
- .' }',
- ],
+ 'schema' => ['description' => '新增的累计变量', 'type' => 'string', 'required' => false, 'example' => '[{"id":"1288","title":"新标题"}]'],
],
[
- 'name' => 'fieldName',
+ 'name' => 'CreateType',
'in' => 'query',
- 'schema' => [
- 'description' => '字段名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'age',
- ],
+ 'schema' => ['description' => '创建类型', 'type' => 'string', 'required' => false, 'example' => 'NORMAL'],
],
[
- 'name' => 'fieldValue',
+ 'name' => 'RegId',
'in' => 'query',
- 'schema' => [
- 'description' => '字段值。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '20',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'resultObject' => [
- 'description' => '返回对象。',
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ 'ResultObject' => [
+ 'description' => '返回的结果信息',
'type' => 'object',
'properties' => [
- 'eventCodes' => [
- 'description' => '事件code。',
- 'type' => 'string',
- 'example' => 'de_ahespg8137',
- ],
- 'eventBeginTime' => [
- 'description' => '事件开始时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1752076800000',
- ],
- 'eventEndTime' => [
- 'description' => '结束时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1753891199000',
- ],
- 'type' => [
- 'description' => '导出任务类型。',
- 'type' => 'string',
- 'example' => 'BASIC',
- ],
- 'scope' => [
- 'description' => '导出任务的范围。',
- 'type' => 'string',
- 'example' => 'ALL',
- ],
- 'fileFormat' => [
- 'description' => '文件格式。',
- 'type' => 'string',
- 'example' => 'CSV',
- ],
- 'conditions' => [
- 'description' => '导出任务的条件。',
- 'type' => 'string',
- 'example' => '{'."\n"
- .' "fieldName": null, '."\n"
- .' "fieldValue": null '."\n"
- .' }',
- ],
- 'columns' => [
- 'description' => '导出列表。',
- 'type' => 'string',
- 'example' => '['."\n"
- .' {'."\n"
- .' "fieldName": "requestId",'."\n"
- .' "fieldTitle": "RequestId"'."\n"
- .' },'."\n"
- .' {'."\n"
- .' "fieldName": "eventTime",'."\n"
- .' "fieldTitle": "事件时间"'."\n"
- .' },'."\n"
- .' {'."\n"
- .' "fieldName": "accountId",'."\n"
- .' "fieldTitle": "账号"'."\n"
- .' },'."\n"
- .' {'."\n"
- .' "fieldName": "deviceId",'."\n"
- .' "fieldTitle": "设备ID"'."\n"
- .' },'."\n"
- .' {'."\n"
- .' "fieldName": "eventCode",'."\n"
- .' "fieldTitle": "事件编码"'."\n"
- .' },'."\n"
- .' {'."\n"
- .' "fieldName": "ip",'."\n"
- .' "fieldTitle": "IP"'."\n"
- .' },'."\n"
- .' {'."\n"
- .' "fieldName": "score",'."\n"
- .' "fieldTitle": "分值"'."\n"
- .' },'."\n"
- .' {'."\n"
- .' "fieldName": "tags",'."\n"
- .' "fieldTitle": "标签"'."\n"
- .' },'."\n"
- .' {'."\n"
- .' "fieldName": "DEtest222",'."\n"
- .' "fieldTitle": "测试222"'."\n"
- .' }'."\n"
- .' ]',
- ],
- 'status' => [
- 'description' => '任务状态。',
- 'type' => 'string',
- 'example' => 'RUNNING',
- ],
- 'ossKey' => [
- 'description' => 'oss随机生成的密钥。',
- 'type' => 'string',
- 'example' => 'xxxxx',
- ],
- 'userId' => [
- 'description' => '用户uid。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1519714049632764',
- ],
+ 'RuleId' => ['description' => '策略id', 'type' => 'string', 'example' => '104556'],
+ 'ConsoleRuleId' => ['description' => '策略主键id', 'type' => 'integer', 'format' => 'int64', 'example' => '2346'],
+ 'RuleVersionId' => ['description' => '策略版本主键id', 'type' => 'integer', 'format' => 'int64', 'example' => '1135'],
+ 'BatchCopyFlag' => ['description' => '是否需要跳转到详情', 'type' => 'boolean', 'example' => 'true'],
],
],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": {\\n \\"eventCodes\\": \\"de_ahespg8137\\",\\n \\"eventBeginTime\\": 1752076800000,\\n \\"eventEndTime\\": 1753891199000,\\n \\"type\\": \\"BASIC\\",\\n \\"scope\\": \\"ALL\\",\\n \\"fileFormat\\": \\"CSV\\",\\n \\"conditions\\": \\"{\\\\n \\\\\\"fieldName\\\\\\": null, \\\\n \\\\\\"fieldValue\\\\\\": null \\\\n }\\",\\n \\"columns\\": \\"[\\\\n {\\\\n \\\\\\"fieldName\\\\\\": \\\\\\"requestId\\\\\\",\\\\n \\\\\\"fieldTitle\\\\\\": \\\\\\"RequestId\\\\\\"\\\\n },\\\\n {\\\\n \\\\\\"fieldName\\\\\\": \\\\\\"eventTime\\\\\\",\\\\n \\\\\\"fieldTitle\\\\\\": \\\\\\"事件时间\\\\\\"\\\\n },\\\\n {\\\\n \\\\\\"fieldName\\\\\\": \\\\\\"accountId\\\\\\",\\\\n \\\\\\"fieldTitle\\\\\\": \\\\\\"账号\\\\\\"\\\\n },\\\\n {\\\\n \\\\\\"fieldName\\\\\\": \\\\\\"deviceId\\\\\\",\\\\n \\\\\\"fieldTitle\\\\\\": \\\\\\"设备ID\\\\\\"\\\\n },\\\\n {\\\\n \\\\\\"fieldName\\\\\\": \\\\\\"eventCode\\\\\\",\\\\n \\\\\\"fieldTitle\\\\\\": \\\\\\"事件编码\\\\\\"\\\\n },\\\\n {\\\\n \\\\\\"fieldName\\\\\\": \\\\\\"ip\\\\\\",\\\\n \\\\\\"fieldTitle\\\\\\": \\\\\\"IP\\\\\\"\\\\n },\\\\n {\\\\n \\\\\\"fieldName\\\\\\": \\\\\\"score\\\\\\",\\\\n \\\\\\"fieldTitle\\\\\\": \\\\\\"分值\\\\\\"\\\\n },\\\\n {\\\\n \\\\\\"fieldName\\\\\\": \\\\\\"tags\\\\\\",\\\\n \\\\\\"fieldTitle\\\\\\": \\\\\\"标签\\\\\\"\\\\n },\\\\n {\\\\n \\\\\\"fieldName\\\\\\": \\\\\\"DEtest222\\\\\\",\\\\n \\\\\\"fieldTitle\\\\\\": \\\\\\"测试222\\\\\\"\\\\n }\\\\n ]\\",\\n \\"status\\": \\"RUNNING\\",\\n \\"ossKey\\": \\"xxxxx\\",\\n \\"userId\\": 1519714049632764\\n },\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '新建导出任务',
- ],
- 'DeleteAnalysisConditionFavorite' => [
- 'summary' => '删除查询条件。',
- 'methods' => [
- 'post',
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '策略复制',
+ 'summary' => '策略复制',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeepCopyRule'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"ResultObject\\": {\\n \\"RuleId\\": \\"104556\\",\\n \\"ConsoleRuleId\\": 2346,\\n \\"RuleVersionId\\": 1135,\\n \\"BatchCopyFlag\\": true\\n }\\n}","type":"json"}]',
+ ],
+ 'DeleteAnalysisConditionFavorite' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -5726,42 +4204,24 @@
],
'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'],
],
[
'name' => 'id',
'in' => 'query',
- 'schema' => [
- 'description' => '主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '30',
- ],
+ 'schema' => ['description' => '主键ID。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '30'],
],
],
'responses' => [
@@ -5769,551 +4229,416 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'resultObject' => [
- 'description' => '返回对象。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
+ 'resultObject' => ['description' => '返回对象。', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
'title' => '删除收藏查询条件',
- ],
- 'DescribeAdvanceSearchPageList' => [
- 'summary' => '高级查询。',
- 'methods' => [
- 'post',
- 'get',
+ 'summary' => '删除查询条件。',
+ 'changeSet' => [
+ ['createdAt' => '2021-12-22T09:23:29.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteAnalysisConditionFavorite'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'DeleteByPassShuntEvent' => [
+ 'summary' => '删除旁路事件',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'eventBeginTime',
+ 'name' => 'eventId',
'in' => 'query',
+ 'schema' => ['description' => '事件id。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '25'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '查询开始时间,精确到毫秒(ms)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1753372800000',
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2'],
+ 'success' => ['description' => '是否成功。', 'type' => 'boolean', 'example' => 'true'],
+ 'code' => ['description' => '状态码', 'type' => 'string', 'example' => '200'],
+ 'message' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'The input parameter data is not valid. order_storage_company_num component not found'],
+ 'httpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'string', 'example' => '200'],
+ 'resultObject' => ['description' => '返回对象', 'type' => 'boolean', 'example' => 'true'],
+ ],
+ 'description' => '',
],
],
+ ],
+ 'title' => '删除旁路事件',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteByPassShuntEvent'],
+ ],
+ ],
+ 'ramActions' => [
[
- 'name' => 'eventEndTime',
- 'in' => 'query',
- 'schema' => [
- 'description' => '结束时间,精确到毫秒(ms)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1753459199059',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\",\\n \\"success\\": true,\\n \\"code\\": \\"200\\",\\n \\"message\\": \\"The input parameter data is not valid. order_storage_company_num component not found\\",\\n \\"httpStatusCode\\": \\"200\\",\\n \\"resultObject\\": true\\n}","type":"json"}]',
+ ],
+ 'DeleteCustVariable' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'eventCodes',
- 'in' => 'query',
- 'schema' => [
- 'description' => '事件code。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '["de_ahqhsw7665"]',
- ],
+ 'AK' => [],
],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => ['operationType' => 'get'],
+ 'parameters' => [
[
- 'name' => 'condition',
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '条件值。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{'."\n"
- .' "relationship": "and",'."\n"
- .' "list": ['."\n"
- .' {'."\n"
- .' "deepCount": 1,'."\n"
- .' "left": {'."\n"
- .' "hasRightVariable": true,'."\n"
- .' "fieldType": "STRING",'."\n"
- .' "functionName": "",'."\n"
- .' "leftVariableType": "NATIVE",'."\n"
- .' "name": "accountId",'."\n"
- .' "operatorCode": "equals"'."\n"
- .' },'."\n"
- .' "right": {'."\n"
- .' "rightVariableType": "constant",'."\n"
- .' "name": "10000",'."\n"
- .' "functionName": ""'."\n"
- .' },'."\n"
- .' "operatorCode": "equals"'."\n"
- .' }'."\n"
- .' ]'."\n"
- .'}',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'fieldName',
+ 'name' => 'variableId',
'in' => 'query',
- 'schema' => [
- 'description' => '字段name。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'age',
- ],
+ 'schema' => ['description' => '变量id。', 'type' => 'string', 'required' => false, 'example' => '235'],
],
[
- 'name' => 'fieldValue',
+ 'name' => 'dataVersion',
'in' => 'query',
- 'schema' => [
- 'description' => '字段值。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '20',
- ],
+ 'schema' => ['description' => '数据版本。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'],
],
[
- 'name' => 'currentPage',
+ 'name' => 'createType',
'in' => 'query',
- 'schema' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '创建类型。', 'type' => 'string', 'required' => false, 'example' => 'NORMAL'],
],
[
- 'name' => 'pageSize',
+ 'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '每页大小,默认值为10。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
200 => [
+ 'headers' => [],
'schema' => [
'type' => 'object',
'properties' => [
- 'resultObject' => [
- 'description' => '返回对象。',
- 'type' => 'object',
- 'properties' => [
- 'header' => [
- 'description' => '表头。',
- 'type' => 'array',
- 'items' => [
- 'description' => '应用的header信息。',
- 'type' => 'object',
- 'properties' => [
- 'fieldName' => [
- 'description' => '字段name。',
- 'type' => 'string',
- 'example' => 'age',
- ],
- 'fieldTitle' => [
- 'description' => '字段名称。',
- 'type' => 'string',
- 'example' => '年龄',
- ],
- 'isDefault' => [
- 'description' => '是否是默认展示字段(返回时展示,不作传参)'."\n"
- .'- true 是'."\n"
- .'- false 否',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- ],
- ],
- ],
- 'data' => [
- 'description' => '返回数据对象。',
- 'type' => 'array',
- 'items' => [
- 'description' => '返回数据。',
- 'type' => 'object',
- 'example' => '{}',
- ],
- ],
- 'totalItem' => [
- 'description' => '总条数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '37',
- ],
- 'totalPage' => [
- 'description' => '总页数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '4',
- ],
- 'currentPage' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'pageSize' => [
- 'description' => '返回结果的分页数。默认值:20,最小值:1,最大值:50。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- ],
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
+ 'resultObject' => ['description' => '返回对象。', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": {\\n \\"header\\": [\\n {\\n \\"fieldName\\": \\"age\\",\\n \\"fieldTitle\\": \\"年龄\\",\\n \\"isDefault\\": true\\n }\\n ],\\n \\"data\\": [\\n {}\\n ],\\n \\"totalItem\\": 37,\\n \\"totalPage\\": 4,\\n \\"currentPage\\": 1,\\n \\"pageSize\\": 10\\n },\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '事件分析高级查询',
- ],
- 'DescribeAnalysisColumnFieldList' => [
- 'summary' => '展示所有字段。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '删除累计变量',
+ 'summary' => '删除累计变量。',
+ 'changeSet' => [
+ ['createdAt' => '2023-01-09T06:11:43.000Z', 'description' => '响应参数发生变更'],
+ ['createdAt' => '2022-05-11T07:27:47.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteCustVariable'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'DeleteDataSource' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'],
+ ],
+ [
+ 'name' => 'id',
+ 'in' => 'query',
+ 'schema' => ['description' => '主键ID。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '30'],
],
],
'responses' => [
200 => [
+ 'headers' => [],
'schema' => [
'type' => 'object',
'properties' => [
- 'resultObject' => [
- 'description' => '返回对象。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
+ 'resultObject' => ['description' => '返回对象。', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '事件分析查询所有字段',
- ],
- 'DescribeAnalysisColumnList' => [
- 'summary' => '查询自定义列。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '删除数据源',
+ 'summary' => '删除数据源。',
+ 'changeSet' => [
+ ['createdAt' => '2021-11-24T00:56:53.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteDataSource'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'DeleteEventField' => [
+ 'summary' => '事件字段删除。',
+ 'path' => '',
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREsafWH3N80'],
+ 'tenantRelevance' => 'tenant',
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
+ ],
+ [
+ 'name' => 'eventCode',
+ 'in' => 'query',
+ 'schema' => ['description' => '事件编码', 'type' => 'string', 'required' => false, 'example' => 'de_awukck7117'],
+ ],
+ [
+ 'name' => 'fieldName',
+ 'in' => 'query',
+ 'schema' => ['description' => '字段名称', 'type' => 'string', 'required' => false, 'example' => 'age'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'resultObject' => [
- 'description' => '返回对象。',
- 'type' => 'array',
- 'items' => [
- 'description' => '返回对象。',
- 'type' => 'object',
- 'properties' => [
- 'variableType' => [
- 'description' => '变量类型。',
- 'type' => 'string',
- 'example' => 'NATIVE',
- ],
- 'variableName' => [
- 'description' => '变量名称。',
- 'type' => 'string',
- 'example' => 'age',
- ],
- 'variableTitle' => [
- 'description' => '变量名称。',
- 'type' => 'string',
- 'example' => '年龄',
- ],
- 'eventCode' => [
- 'description' => '事件编码',
- 'type' => 'string',
- 'example' => 'de_aszbjb7236',
- ],
- 'eventName' => [
- 'description' => '事件名称。',
- 'type' => 'string',
- 'example' => '注册风险',
- ],
- 'isDefault' => [
- 'description' => '是否为默认列。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- ],
- ],
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ 'resuleObject' => ['description' => '返回结果', 'type' => 'boolean', 'example' => 'true'],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": [\\n {\\n \\"variableType\\": \\"NATIVE\\",\\n \\"variableName\\": \\"age\\",\\n \\"variableTitle\\": \\"年龄\\",\\n \\"eventCode\\": \\"de_aszbjb7236\\",\\n \\"eventName\\": \\"注册风险\\",\\n \\"isDefault\\": true\\n }\\n ],\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '事件分析查询自定义列',
- ],
- 'DescribeAnalysisConditionFavoriteList' => [
- 'summary' => '查询条件列表。',
- 'methods' => [
- 'post',
- 'get',
+ 'errorCodes' => [
+ 400 => [
+ ['errorCode' => '1230', 'errorMessage' => 'variable is used.', 'description' => '变量已经被使用'],
+ ['errorCode' => '1403', 'errorMessage' => 'user no data power', 'description' => '用户无数据权限'],
+ ],
+ 500 => [
+ ['errorCode' => '1101', 'errorMessage' => 'system error', 'description' => '系统错误'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '事件字段删除',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteEventField'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"resuleObject\\": true\\n}","type":"json"}]',
+ ],
+ 'DeleteExpressionVariable' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'],
+ ],
+ [
+ 'name' => 'id',
+ 'in' => 'query',
+ 'schema' => ['description' => '变量id。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '2556'],
+ ],
+ [
+ 'name' => 'dataVersion',
+ 'in' => 'query',
+ 'schema' => ['description' => '数据版本。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1'],
],
],
'responses' => [
200 => [
+ 'headers' => [],
'schema' => [
'type' => 'object',
'properties' => [
- 'resultObject' => [
- 'description' => '返回对象。',
- 'type' => 'array',
- 'items' => [
- 'description' => '返回对象。',
- 'type' => 'object',
- 'properties' => [
- 'id' => [
- 'description' => '主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '497',
- ],
- 'name' => [
- 'description' => '条件名称。',
- 'type' => 'string',
- 'example' => '查询条件1',
- ],
- 'eventCodes' => [
- 'description' => '事件编码。',
- 'type' => 'string',
- 'example' => 'de_ahespg8137',
- ],
- 'eventBeginTime' => [
- 'description' => '事件开始时间戳。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1752076800000',
- ],
- 'eventEndTime' => [
- 'description' => '事件结束时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1753891199000',
- ],
- 'condition' => [
- 'description' => '条件值。',
- 'type' => 'string',
- 'example' => '{"currentId":1,"deepCount":0,"list":[{"currentId":2,"deepCount":1,"left":{"code":"accountId","fieldType":"STRING","functionName":"","hasRightVariable":false,"name":"accountId"},"operatorCode":"isNotEmptyWrapper","parentId":1,"right":{"code":"\'A\\nB\\nC\'","functionName":"","name":"","rightVariableType":"constant"}}],"parentId":0,"relationship":"and"}',
- ],
- 'type' => [
- 'description' => '类型,BASIC:基础查询,ADVANCE:高级查询,BATCH:批量查询。',
- 'type' => 'string',
- 'example' => 'BASIC',
- ],
- 'fieldName' => [
- 'description' => '字段名称。',
- 'type' => 'string',
- 'example' => 'age',
- ],
- 'fieldValue' => [
- 'description' => '字段值。',
- 'type' => 'string',
- 'example' => '20',
- ],
- ],
- ],
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
+ 'resultObject' => ['description' => '返回对象。', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": [\\n {\\n \\"id\\": 497,\\n \\"name\\": \\"查询条件1\\",\\n \\"eventCodes\\": \\"de_ahespg8137\\",\\n \\"eventBeginTime\\": 1752076800000,\\n \\"eventEndTime\\": 1753891199000,\\n \\"condition\\": \\"{\\\\\\"currentId\\\\\\":1,\\\\\\"deepCount\\\\\\":0,\\\\\\"list\\\\\\":[{\\\\\\"currentId\\\\\\":2,\\\\\\"deepCount\\\\\\":1,\\\\\\"left\\\\\\":{\\\\\\"code\\\\\\":\\\\\\"accountId\\\\\\",\\\\\\"fieldType\\\\\\":\\\\\\"STRING\\\\\\",\\\\\\"functionName\\\\\\":\\\\\\"\\\\\\",\\\\\\"hasRightVariable\\\\\\":false,\\\\\\"name\\\\\\":\\\\\\"accountId\\\\\\"},\\\\\\"operatorCode\\\\\\":\\\\\\"isNotEmptyWrapper\\\\\\",\\\\\\"parentId\\\\\\":1,\\\\\\"right\\\\\\":{\\\\\\"code\\\\\\":\\\\\\"\'A\\\\\\\\nB\\\\\\\\nC\'\\\\\\",\\\\\\"functionName\\\\\\":\\\\\\"\\\\\\",\\\\\\"name\\\\\\":\\\\\\"\\\\\\",\\\\\\"rightVariableType\\\\\\":\\\\\\"constant\\\\\\"}}],\\\\\\"parentId\\\\\\":0,\\\\\\"relationship\\\\\\":\\\\\\"and\\\\\\"}\\",\\n \\"type\\": \\"BASIC\\",\\n \\"fieldName\\": \\"age\\",\\n \\"fieldValue\\": \\"20\\"\\n }\\n ],\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '条件查询列表',
- ],
- 'DescribeAnalysisExportTaskDownloadUrl' => [
- 'summary' => '下载查询结果。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '删除自定义变量',
+ 'summary' => '删除自定义变量。',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:27:46.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteExpressionVariable'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'DeleteField' => [
+ 'summary' => '删除字段。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -6321,31 +4646,29 @@
],
'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'],
+ ],
+ [
+ 'name' => 'id',
+ 'in' => 'query',
+ 'schema' => ['description' => '字段主键ID。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '2556'],
+ ],
+ [
+ 'name' => 'name',
+ 'in' => 'query',
+ 'schema' => ['description' => '字段name。', 'type' => 'string', 'required' => false, 'example' => 'age'],
],
],
'responses' => [
@@ -6353,2544 +4676,348 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'resultObject' => [
- 'description' => '返回对象。',
- 'type' => 'object',
- 'properties' => [
- 'downloadFileUrl' => [
- 'description' => '下载地址。',
- 'type' => 'string',
- 'example' => 'https://xxxxx-oss-xxxxx.xxxxxx.aliyuncs.com/xx/xx/xxx/xxxxxx.csv?Expires=1753433384&OSSAccessKeyId=xxxxxxxxx&Signature=%2F%xxxxxxxxxxxx%3D',
- ],
- 'status' => [
- 'description' => '任务状态。',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'executeTime' => [
- 'description' => '下载执行时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1753891199000',
- ],
- ],
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
+ 'resultObject' => ['description' => '返回对象。', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": {\\n \\"downloadFileUrl\\": \\"https://xxxxx-oss-xxxxx.xxxxxx.aliyuncs.com/xx/xx/xxx/xxxxxx.csv?Expires=1753433384&OSSAccessKeyId=xxxxxxxxx&Signature=%2F%xxxxxxxxxxxx%3D\\",\\n \\"status\\": \\"SUCCESS\\",\\n \\"executeTime\\": 1753891199000\\n },\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '下载查询结果',
- ],
- 'DescribeBasicSearchPageList' => [
- 'summary' => '基础查询。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '删除字段',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:27:15.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteField'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'DeleteNameList' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'eventBeginTime',
+ 'name' => 'ids',
'in' => 'query',
- 'schema' => [
- 'description' => '查询开始时间,精确到毫秒(ms)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1753372800000',
- ],
+ 'schema' => ['description' => '名单id,多个用逗号拼接。', 'type' => 'string', 'required' => false, 'example' => '23,24,25'],
],
- [
- 'name' => 'eventEndTime',
- 'in' => 'query',
+ ],
+ 'responses' => [
+ 200 => [
+ 'headers' => [],
'schema' => [
- 'description' => '结束时间,精确到毫秒(ms)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1753459199059',
+ 'type' => 'object',
+ 'properties' => [
+ 'resultObject' => ['description' => '返回对象。', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ ],
+ 'description' => '',
],
],
+ ],
+ 'title' => '删除名单',
+ 'summary' => '删除名单。',
+ 'changeSet' => [
+ ['createdAt' => '2022-07-20T02:36:33.000Z', 'description' => '请求参数发生变更'],
+ ['createdAt' => '2022-05-11T07:27:46.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteNameList'],
+ ],
+ ],
+ 'ramActions' => [
[
- 'name' => 'eventCodes',
- 'in' => 'query',
- 'schema' => [
- 'description' => '事件code。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '["de_ahqhsw7665"]',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'DeleteNameListData' => [
+ 'summary' => '删除(伪)名单变量数据。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'fieldName',
- 'in' => 'query',
- 'schema' => [
- 'description' => '字段name。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'age',
- ],
+ 'AK' => [],
],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => ['operationType' => 'get'],
+ 'parameters' => [
[
- 'name' => 'fieldValue',
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '字段值。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '20',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'currentPage',
+ 'name' => 'variableId',
'in' => 'query',
- 'schema' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '变量id。', 'type' => 'string', 'required' => false, 'example' => '239'],
],
[
- 'name' => 'pageSize',
+ 'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '每页大小,默认值为10。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
200 => [
+ 'headers' => [],
'schema' => [
'type' => 'object',
'properties' => [
- 'resultObject' => [
- 'description' => '返回对象。',
- 'type' => 'object',
- 'properties' => [
- 'header' => [
- 'description' => '表头。',
- 'type' => 'array',
- 'items' => [
- 'description' => '返回头信息。',
- 'type' => 'object',
- 'properties' => [
- 'fieldName' => [
- 'description' => '字段name。',
- 'type' => 'string',
- 'example' => 'age',
- ],
- 'fieldTitle' => [
- 'description' => '字段名称。',
- 'type' => 'string',
- 'example' => '年龄',
- ],
- 'isDefault' => [
- 'description' => '是否是默认展示字段(返回时展示,不作传参)'."\n"
- .'- true 是'."\n"
- .'- false 否',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- ],
- ],
- ],
- 'data' => [
- 'description' => '返回数据对象。',
- 'type' => 'array',
- 'items' => [
- 'description' => '返回的数据结果。',
- 'type' => 'object',
- 'example' => '{}',
- ],
- ],
- 'totalItem' => [
- 'description' => '总条数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '6',
- ],
- 'totalPage' => [
- 'description' => '总页数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'currentPage' => [
- 'description' => '分页查询时当前页的页码。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'pageSize' => [
- 'description' => '每页大小,默认值为10。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- ],
- ],
- 'RequestId' => [
- 'description' => '请求 ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
+ 'resultObject' => ['description' => '返回对象。', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": {\\n \\"header\\": [\\n {\\n \\"fieldName\\": \\"age\\",\\n \\"fieldTitle\\": \\"年龄\\",\\n \\"isDefault\\": true\\n }\\n ],\\n \\"data\\": [\\n {}\\n ],\\n \\"totalItem\\": 6,\\n \\"totalPage\\": 1,\\n \\"currentPage\\": 1,\\n \\"pageSize\\": 10\\n },\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '事件分析基础查询',
- ],
- 'DescribeEventDetailByRequestId' => [
- 'summary' => '根据requestId查询事件详情。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '删除名单数据',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:27:46.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteNameListData'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'DeleteQueryVariable' => [
+ 'summary' => '查询变量删除。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-hangzhou',
- ],
- ],
- [
- 'name' => 'sRequestId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'BD6B08EC-1B44-5378-8838-C76A36415C55',
- ],
- ],
- [
- 'name' => 'eventTime',
- 'in' => 'query',
- 'schema' => [
- 'description' => '事件执行时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1752571330000',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'eventCode',
+ 'name' => 'id',
'in' => 'query',
- 'schema' => [
- 'description' => '事件编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'de_azywkh7523',
- ],
+ 'schema' => ['description' => '变量ID。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '3144'],
],
],
'responses' => [
200 => [
+ 'headers' => [],
'schema' => [
'type' => 'object',
'properties' => [
- 'resultObject' => [
- 'description' => '返回对象。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => '请求 ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
+ 'resultObject' => ['description' => '返回对象。', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '根据requestId查事件详情',
- ],
- 'DescribeEventVariableList' => [
- 'summary' => '查询事件变量。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '删除自定义查询变量',
+ 'changeSet' => [
+ ['createdAt' => '2023-01-05T03:46:33.000Z', 'description' => '响应参数发生变更'],
+ ['createdAt' => '2021-11-23T12:31:20.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteQueryVariable'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'DeleteRule' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
- ],
- [
- 'name' => 'refObjType',
- 'in' => 'query',
- 'schema' => [
- 'description' => '关联类型',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'EVENT',
- ],
- ],
- [
- 'name' => 'refObjId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '关联事件eventCode',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'de_awkhwh0314',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'type',
+ 'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '类型',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'NATIVE',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'regId',
+ 'name' => 'consoleRuleId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '策略主键ID。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '7035'],
],
[
- 'name' => 'createType',
+ 'name' => 'ruleId',
'in' => 'query',
- 'schema' => [
- 'description' => '创建类型',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'NORMAL',
- ],
+ 'schema' => ['description' => '策略ID。', 'type' => 'string', 'required' => false, 'example' => '102059'],
],
[
- 'name' => 'filterDTO',
+ 'name' => 'ruleVersionId',
'in' => 'query',
- 'schema' => [
- 'description' => '过滤对象',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{'."\n"
- .' "type": "EXPRESSION",'."\n"
- .' "name": "ex_NgR6nDVD821c"'."\n"
- .'}',
- ],
+ 'schema' => ['description' => '策略版本号主键ID。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10203'],
],
],
'responses' => [
200 => [
- 'headers' => [],
'schema' => [
'type' => 'object',
'properties' => [
- 'resultObject' => [
- 'description' => '返回对象',
- 'type' => 'object',
- 'properties' => [
- 'nativeVariables' => [
- 'description' => '事件字段列表',
- 'type' => 'array',
- 'items' => [
- 'description' => '返回对象',
- 'type' => 'object',
- 'properties' => [
- 'id' => [
- 'description' => '变量id。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '223',
- ],
- 'title' => [
- 'description' => '变量名称。',
- 'type' => 'string',
- 'example' => '年龄',
- ],
- 'name' => [
- 'description' => '变量name',
- 'type' => 'string',
- 'example' => 'age',
- ],
- 'description' => [
- 'description' => '变量描述。',
- 'type' => 'string',
- 'example' => '描述',
- ],
- 'type' => [
- 'description' => '变量类型。',
- 'type' => 'string',
- 'example' => 'NATIVE',
- ],
- 'inputs' => [
- 'description' => '变量的输入。事件字段没有',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'fieldType' => [
- 'description' => '字段类型。',
- 'type' => 'string',
- 'example' => 'STRING',
- ],
- 'code' => [
- 'description' => '变量code',
- 'type' => 'string',
- 'example' => 'age',
- ],
- 'defineId' => [
- 'description' => '关联变量定义id',
- 'type' => 'string',
- 'example' => 'register',
- ],
- 'parentName' => [
- 'description' => '父名称。',
- 'type' => 'string',
- 'example' => 'parentName',
- ],
- 'dataDisplay' => [
- 'description' => '数据分布展示,json格式',
- 'type' => 'string',
- 'example' => '{}',
- ],
- 'sourceType' => [
- 'description' => '变量来源类型。',
- 'type' => 'string',
- 'example' => 'SAF',
- ],
- 'displayType' => [
- 'description' => '展示类型以及分组标签',
- 'type' => 'string',
- 'example' => 'NATIVE',
- ],
- 'xLabel' => [
- 'description' => 'x标签',
- 'type' => 'string',
- 'example' => 'x',
- ],
- 'yLabel' => [
- 'description' => 'y标签',
- 'type' => 'string',
- 'example' => 'y',
- ],
- 'favoriteFlag' => [
- 'description' => '收藏标识',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'fieldRank' => [
- 'description' => '字段排序',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'fieldSource' => [
- 'description' => '变量来源',
- 'type' => 'string',
- 'example' => 'DEFINE',
- ],
- 'fieldDetail' => [
- 'description' => '字段池字段详情',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'inputFieldType' => [
- 'description' => '输入字段类型,表示入参类型,主要用作函数分类',
- 'type' => 'string',
- 'example' => 'STRING',
- ],
- 'inputRequired' => [
- 'description' => '必须的参数',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'expressionTitle' => [
- 'description' => '计算表达式展示值',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'outlier' => [
- 'description' => '异常值',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'outputThreshold' => [
- 'description' => '输出分数阈值。',
- 'type' => 'object',
- 'properties' => [
- 'minValue' => [
- 'description' => '最小值。',
- 'type' => 'number',
- 'format' => 'double',
- 'example' => '1',
- ],
- 'maxValue' => [
- 'description' => '最大值。',
- 'type' => 'number',
- 'format' => 'double',
- 'example' => '10',
- ],
- ],
- ],
- 'variableVelocity' => [
- 'description' => '变量指标信息',
- 'type' => 'object',
- 'properties' => [
- 'iv' => [
- 'description' => 'iv值',
- 'type' => 'string',
- 'example' => '无',
- ],
- ],
- ],
- ],
- ],
- ],
- 'middleVariables' => [
- 'description' => '中间变量返回对象',
- 'type' => 'array',
- 'items' => [
- 'description' => '事件的变量。',
- 'type' => 'object',
- 'properties' => [
- 'id' => [
- 'description' => '主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '49',
- ],
- 'title' => [
- 'description' => '标题。',
- 'type' => 'string',
- 'example' => 'midVaribale',
- ],
- 'name' => [
- 'description' => '变量名。',
- 'type' => 'string',
- 'example' => 'mid',
- ],
- 'description' => [
- 'description' => '变量描述。',
- 'type' => 'string',
- 'example' => 'description',
- ],
- 'type' => [
- 'description' => '变量类型。',
- 'type' => 'string',
- 'example' => 'MIDDLE',
- ],
- 'inputs' => [
- 'description' => '变量的输入。',
- 'type' => 'string',
- 'example' => 'This type does not have this field',
- ],
- 'fieldType' => [
- 'description' => '字段类型。',
- 'type' => 'string',
- 'example' => 'STRING',
- ],
- 'code' => [
- 'description' => '变量code。',
- 'type' => 'string',
- 'example' => 'mid',
- ],
- 'defineId' => [
- 'description' => '变量定义id。',
- 'type' => 'string',
- 'example' => 'register',
- ],
- 'parentName' => [
- 'description' => '父结点。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'dataDisplay' => [
- 'description' => '数据分布展示,json格式,此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'sourceType' => [
- 'description' => '来源类型。',
- 'type' => 'string',
- 'example' => 'SAF',
- ],
- 'displayType' => [
- 'description' => '展示类型以及分组标签。',
- 'type' => 'string',
- 'example' => 'MIDDLE',
- ],
- 'xLabel' => [
- 'description' => 'x标签。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'yLabel' => [
- 'description' => 'y标签。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'favoriteFlag' => [
- 'description' => '收藏标识。',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'fieldRank' => [
- 'description' => '字段排序。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'fieldSource' => [
- 'description' => '变量来源。',
- 'type' => 'string',
- 'example' => 'DEFAULT',
- ],
- 'fieldDetail' => [
- 'description' => '字段池字段详情。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'inputFieldType' => [
- 'description' => '输入字段类型,表示入参类型,主要用作函数分类。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'inputRequired' => [
- 'description' => '必须的参数。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'expressionTitle' => [
- 'description' => '计算表达式展示值。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'outlier' => [
- 'description' => '异常值。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'outputThreshold' => [
- 'description' => '输出值阈值。',
- 'type' => 'object',
- 'properties' => [
- 'minValue' => [
- 'description' => '最小值。',
- 'type' => 'number',
- 'format' => 'double',
- 'example' => '0',
- ],
- 'maxValue' => [
- 'description' => '最大值。',
- 'type' => 'number',
- 'format' => 'double',
- 'example' => '10',
- ],
- ],
- ],
- 'variableVelocity' => [
- 'description' => '变量指标信息。此类型变量无此字段返回。',
- 'type' => 'object',
- 'properties' => [
- 'iv' => [
- 'description' => 'id值。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- ],
- ],
- ],
- ],
- ],
- 'nativeVariableFunctions' => [
- 'description' => '原始变量可用函数列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '变量类型。',
- 'type' => 'object',
- 'properties' => [
- 'id' => [
- 'description' => '主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '93',
- ],
- 'title' => [
- 'description' => '变量title。',
- 'type' => 'string',
- 'example' => '根据时间戳获取小时',
- ],
- 'name' => [
- 'description' => '变量name。',
- 'type' => 'string',
- 'example' => '__getHourOfTimestamp__',
- ],
- 'description' => [
- 'description' => '描述信息。',
- 'type' => 'string',
- 'example' => '时间戳,可以是秒或者毫秒',
- ],
- 'type' => [
- 'description' => '变量类型。',
- 'type' => 'string',
- 'example' => 'FUNC',
- ],
- 'inputs' => [
- 'description' => '输入字段。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'fieldType' => [
- 'description' => '变量返回值类型。',
- 'type' => 'string',
- 'example' => 'LONG',
- ],
- 'code' => [
- 'description' => '变量code。',
- 'type' => 'string',
- 'example' => 'getHourOfTimestamp({data})',
- ],
- 'defineId' => [
- 'description' => '变量定义id。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'parentName' => [
- 'description' => '父结点。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'dataDisplay' => [
- 'description' => '数据分布展示,json格式,此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'sourceType' => [
- 'description' => '来源类型。',
- 'type' => 'string',
- 'example' => 'SAF',
- ],
- 'displayType' => [
- 'description' => '展示类型以及分组标签。',
- 'type' => 'string',
- 'example' => 'FUNC',
- ],
- 'xLabel' => [
- 'description' => 'x标签。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'yLabel' => [
- 'description' => 'y标签。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'favoriteFlag' => [
- 'description' => '收藏标识。',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'fieldRank' => [
- 'description' => '字段排序。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'fieldSource' => [
- 'description' => '字段的来源。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'fieldDetail' => [
- 'description' => '字段池字段详情。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'inputFieldType' => [
- 'description' => '参数的输入类型。',
- 'type' => 'string',
- 'example' => 'DATE',
- ],
- 'inputRequired' => [
- 'description' => '必须的参数。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'outlier' => [
- 'description' => '异常值。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'outputThreshold' => [
- 'description' => '输出值阈值。',
- 'type' => 'object',
- 'properties' => [
- 'minValue' => [
- 'description' => '最小值。',
- 'type' => 'number',
- 'format' => 'double',
- 'example' => '0',
- ],
- 'maxValue' => [
- 'description' => '最大值。',
- 'type' => 'number',
- 'format' => 'double',
- 'example' => '10',
- ],
- ],
- ],
- 'variableVelocity' => [
- 'description' => '变量指标信息。此类型变量无此字段返回。',
- 'type' => 'object',
- 'properties' => [
- 'iv' => [
- 'description' => 'iv值。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- ],
- ],
- 'expressionTitle' => [
- 'description' => '计算表达式展示值。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- ],
- ],
- ],
- 'sysVariables' => [
- 'description' => '系统变量。',
- 'type' => 'array',
- 'items' => [
- 'description' => '系统变量。',
- 'type' => 'object',
- 'properties' => [
- 'id' => [
- 'description' => '变量ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '3151',
- ],
- 'title' => [
- 'description' => '标题。',
- 'type' => 'string',
- 'example' => 'IP所在地_城市Code'."\n",
- ],
- 'name' => [
- 'description' => '变量name。',
- 'type' => 'string',
- 'example' => '__ipLocationCityCode__',
- ],
- 'description' => [
- 'description' => '变量的描述。',
- 'type' => 'string',
- 'example' => '通过IP地址库解析IP所在的城市Code,例如,输入“42.120.74.211”,经过该变量运算,输出“330100”。',
- ],
- 'type' => [
- 'description' => '变量类型。',
- 'type' => 'string',
- 'example' => 'SYSTEM_BIND',
- ],
- 'inputs' => [
- 'description' => '变量值输入。',
- 'type' => 'string',
- 'example' => 'ip',
- ],
- 'fieldType' => [
- 'description' => '字段类型。',
- 'type' => 'string',
- 'example' => 'STRING',
- ],
- 'code' => [
- 'description' => '变量code。',
- 'type' => 'string',
- 'example' => 'parseIpV2(ip)?.cityId',
- ],
- 'defineId' => [
- 'description' => '绑定的变量定义ID。',
- 'type' => 'string',
- 'example' => '2488',
- ],
- 'parentName' => [
- 'description' => '父名称。',
- 'type' => 'string',
- 'example' => '无',
- ],
- 'dataDisplay' => [
- 'description' => '数据分布展示,json格式,此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'sourceType' => [
- 'description' => '来源类型。',
- 'type' => 'string',
- 'example' => 'SAF',
- ],
- 'displayType' => [
- 'description' => '展示类型以及分组标签。',
- 'type' => 'string',
- 'example' => 'SYSTEM_BIND',
- ],
- 'xLabel' => [
- 'description' => 'x标签。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'yLabel' => [
- 'description' => 'y标签。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'favoriteFlag' => [
- 'description' => '收藏标识。',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'fieldRank' => [
- 'description' => '字段排序。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'fieldSource' => [
- 'description' => '字段的来源。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'fieldDetail' => [
- 'description' => '字段池字段详情。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'inputFieldType' => [
- 'description' => '参数的输入类型。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'inputRequired' => [
- 'description' => '必须的参数。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'outlier' => [
- 'description' => '异常值。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'outputThreshold' => [
- 'description' => '输出值阈值。',
- 'type' => 'object',
- 'properties' => [
- 'minValue' => [
- 'description' => '最小值。',
- 'type' => 'number',
- 'format' => 'double',
- 'example' => '1',
- ],
- 'maxValue' => [
- 'description' => '最大值。',
- 'type' => 'number',
- 'format' => 'double',
- 'example' => '10',
- ],
- ],
- ],
- 'variableVelocity' => [
- 'description' => '变量指标信息。此类型变量无此字段返回。',
- 'type' => 'object',
- 'properties' => [
- 'iv' => [
- 'description' => 'iv值。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- ],
- ],
- 'expressionTitle' => [
- 'description' => '计算表达式展示值。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- ],
- ],
- ],
- 'selfVariables' => [
- 'description' => '自定义变量(自定义变量、累计变量、自定义系统变量)。',
- 'type' => 'array',
- 'items' => [
- 'description' => '自定义变量(自定义变量、累计变量、自定义系统变量)。',
- 'type' => 'object',
- 'properties' => [
- 'id' => [
- 'description' => '变量ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '3174',
- ],
- 'title' => [
- 'description' => '标题。',
- 'type' => 'string',
- 'example' => '获取手机号前七位',
- ],
- 'name' => [
- 'description' => '变量name。',
- 'type' => 'string',
- 'example' => 'ex_isvspbF2c7ac',
- ],
- 'description' => [
- 'description' => '变量的描述信息。',
- 'type' => 'string',
- 'example' => '变量的描述信息',
- ],
- 'type' => [
- 'description' => '变量类型。',
- 'type' => 'string',
- 'example' => 'EXPRESSION',
- ],
- 'inputs' => [
- 'description' => '输入参数。为自定义系统变量时才有返回。',
- 'type' => 'string',
- 'example' => 'ip',
- ],
- 'fieldType' => [
- 'description' => '字段类型。',
- 'type' => 'string',
- 'example' => 'STRING',
- ],
- 'code' => [
- 'description' => '变量code。',
- 'type' => 'string',
- 'example' => 'deReadVelocity(hitRules,\\"dUd5ioJ8014\\",1,\\"MO\\",0,true,\\"SUM\\")',
- ],
- 'defineId' => [
- 'description' => '变量定义ID。为自定义系统变量时才有返回。',
- 'type' => 'string',
- 'example' => '49',
- ],
- 'parentName' => [
- 'description' => '父节点。暂无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'dataDisplay' => [
- 'description' => '数据分布展示,json格式。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'sourceType' => [
- 'description' => '来源类型。',
- 'type' => 'string',
- 'example' => 'SAF',
- ],
- 'displayType' => [
- 'description' => '展示类型以及分组标签。',
- 'type' => 'string',
- 'example' => 'SELF_BIND',
- ],
- 'xLabel' => [
- 'description' => 'x标签。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'yLabel' => [
- 'description' => 'y标签。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'favoriteFlag' => [
- 'description' => '收藏标识。',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'fieldRank' => [
- 'description' => '字段排序。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'fieldSource' => [
- 'description' => '字段的来源。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'fieldDetail' => [
- 'description' => '字段池字段详情。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'inputFieldType' => [
- 'description' => '参数的输入类型。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'inputRequired' => [
- 'description' => '必须的参数。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field',
- ],
- 'outlier' => [
- 'description' => '异常值。当变量为自定义变量时(type= EXPRESSION)返回。',
- 'type' => 'string',
- 'example' => '-1',
- ],
- 'outputThreshold' => [
- 'description' => '输出值阈值。',
- 'type' => 'object',
- 'properties' => [
- 'minValue' => [
- 'description' => '最小值。',
- 'type' => 'number',
- 'format' => 'double',
- 'example' => '1',
- ],
- 'maxValue' => [
- 'description' => '最大值。',
- 'type' => 'number',
- 'format' => 'double',
- 'example' => '10',
- ],
- ],
- ],
- 'variableVelocity' => [
- 'description' => '变量指标信息。此类型变量无此字段返回。',
- 'type' => 'object',
- 'properties' => [
- 'iv' => [
- 'description' => 'iv值。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- ],
- ],
- 'expressionTitle' => [
- 'description' => '表达式名称。',
- 'type' => 'string',
- 'example' => ' @IP地址 ',
- ],
- ],
- ],
- ],
- 'nameList' => [
- 'description' => '名单变量列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '名单变量列表。',
- 'type' => 'object',
- 'properties' => [
- 'id' => [
- 'description' => '主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '34',
- ],
- 'title' => [
- 'description' => '标题。',
- 'type' => 'string',
- 'example' => '白名单',
- ],
- 'name' => [
- 'description' => '变量name。',
- 'type' => 'string',
- 'example' => 'nl_UN8otElLb490',
- ],
- 'description' => [
- 'description' => '描述信息。',
- 'type' => 'string',
- 'example' => '描述',
- ],
- 'type' => [
- 'description' => '变量类型。',
- 'type' => 'string',
- 'example' => 'NAME_LIST',
- ],
- 'inputs' => [
- 'description' => '输入参数。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'fieldType' => [
- 'description' => '字段类型。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'code' => [
- 'description' => '变量code。',
- 'type' => 'string',
- 'example' => 'nl_UN8otElLb490',
- ],
- 'defineId' => [
- 'description' => '变量定义ID。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'parentName' => [
- 'description' => '父节点。暂无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field',
- ],
- 'dataDisplay' => [
- 'description' => '数据分布展示,json格式。暂无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field',
- ],
- 'sourceType' => [
- 'description' => '来源类型。',
- 'type' => 'string',
- 'example' => 'SAF',
- ],
- 'displayType' => [
- 'description' => '展示类型以及分组标签。',
- 'type' => 'string',
- 'example' => 'NAME_LIST',
- ],
- 'xLabel' => [
- 'description' => 'x标签。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'yLabel' => [
- 'description' => 'y标签。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'favoriteFlag' => [
- 'description' => '收藏标识。',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'fieldRank' => [
- 'description' => '字段排序。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'fieldSource' => [
- 'description' => '字段的来源。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field',
- ],
- 'fieldDetail' => [
- 'description' => '字段池字段详情。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field',
- ],
- 'inputFieldType' => [
- 'description' => '参数的输入类型。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field',
- ],
- 'inputRequired' => [
- 'description' => '必须的参数。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field',
- ],
- 'outlier' => [
- 'description' => '异常值。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'outputThreshold' => [
- 'description' => '输出值阈值。',
- 'type' => 'object',
- 'properties' => [
- 'minValue' => [
- 'description' => '最小值。',
- 'type' => 'number',
- 'format' => 'double',
- 'example' => '1',
- ],
- 'maxValue' => [
- 'description' => '最大值。',
- 'type' => 'number',
- 'format' => 'double',
- 'example' => '10',
- ],
- ],
- ],
- 'variableVelocity' => [
- 'description' => '变量指标信息。此类型变量无此字段返回。',
- 'type' => 'object',
- 'properties' => [
- 'iv' => [
- 'description' => 'iv值。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- ],
- ],
- 'expressionTitle' => [
- 'description' => '计算表达式展示值。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- ],
- ],
- ],
- 'actions' => [
- 'description' => '动作变量。',
- 'type' => 'array',
- 'items' => [
- 'description' => '动作变量。',
- 'type' => 'object',
- 'properties' => [
- 'id' => [
- 'description' => '主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '3144',
- ],
- 'title' => [
- 'description' => '标题。',
- 'type' => 'string',
- 'example' => '决策结果',
- ],
- 'name' => [
- 'description' => '变量name。',
- 'type' => 'string',
- 'example' => '__addDeResult__',
- ],
- 'description' => [
- 'description' => '描述信息。',
- 'type' => 'string',
- 'example' => '决策结果'."\n",
- ],
- 'type' => [
- 'description' => '变量类型。',
- 'type' => 'string',
- 'example' => 'ACTION',
- ],
- 'inputs' => [
- 'description' => '输入参数。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'fieldType' => [
- 'description' => '字段类型。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'code' => [
- 'description' => '变量code。',
- 'type' => 'string',
- 'example' => 'deAddResult',
- ],
- 'defineId' => [
- 'description' => '变量定义ID。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'parentName' => [
- 'description' => '父节点。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'dataDisplay' => [
- 'description' => '数据分布展示,json格式。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'sourceType' => [
- 'description' => '来源类型。',
- 'type' => 'string',
- 'example' => 'SAF',
- ],
- 'displayType' => [
- 'description' => '展示类型以及分组标签。',
- 'type' => 'string',
- 'example' => 'ACTION',
- ],
- 'xLabel' => [
- 'description' => 'x标签。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'yLabel' => [
- 'description' => 'y标签。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'favoriteFlag' => [
- 'description' => '收藏标识。',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'fieldRank' => [
- 'description' => '字段排序。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'fieldSource' => [
- 'description' => '字段的来源。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'fieldDetail' => [
- 'description' => '字段池字段详情。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'inputFieldType' => [
- 'description' => '参数的输入类型。',
- 'type' => 'string',
- 'example' => 'STRING',
- ],
- 'inputRequired' => [
- 'description' => '必须参数。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'outlier' => [
- 'description' => '异常值。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'outputThreshold' => [
- 'description' => '输出值阈值。',
- 'type' => 'object',
- 'properties' => [
- 'minValue' => [
- 'description' => '最小值。',
- 'type' => 'number',
- 'format' => 'double',
- 'example' => '1',
- ],
- 'maxValue' => [
- 'description' => '最大值',
- 'type' => 'number',
- 'format' => 'double',
- 'example' => '10',
- ],
- ],
- ],
- 'variableVelocity' => [
- 'description' => '变量指标信息。此类型变量无此字段返回。',
- 'type' => 'object',
- 'properties' => [
- 'iv' => [
- 'description' => 'iv值。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- ],
- ],
- 'expressionTitle' => [
- 'description' => '表达式展示。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- ],
- ],
- ],
- 'favoriteVariables' => [
- 'description' => '收藏的变量。',
- 'type' => 'array',
- 'items' => [
- 'description' => '收藏的变量。',
- 'type' => 'object',
- 'properties' => [
- 'id' => [
- 'description' => '主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '34',
- ],
- 'title' => [
- 'description' => '标题。',
- 'type' => 'string',
- 'example' => 'IP是否符合IPV4格式',
- ],
- 'name' => [
- 'description' => '变量name。',
- 'type' => 'string',
- 'example' => '__isIpAddressV4__',
- ],
- 'description' => [
- 'description' => '变量的描述。',
- 'type' => 'string',
- 'example' => '判断是否符合IPv4标准',
- ],
- 'type' => [
- 'description' => '变量类型。',
- 'type' => 'string',
- 'example' => 'SYSTEM_BIND',
- ],
- 'inputs' => [
- 'description' => '输入参数多个用逗号隔开。部分变量不会有该字段。',
- 'type' => 'string',
- 'example' => 'ip',
- ],
- 'fieldType' => [
- 'description' => '字段类型。',
- 'type' => 'string',
- 'example' => 'BOOLEAN',
- ],
- 'code' => [
- 'description' => '变量code。',
- 'type' => 'string',
- 'example' => 'deFunctionProcess(ip,\\"isIp\\")',
- ],
- 'defineId' => [
- 'description' => '变量定义ID。',
- 'type' => 'string',
- 'example' => '16',
- ],
- 'parentName' => [
- 'description' => '父节点。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'dataDisplay' => [
- 'description' => '数据分布展示,json格式。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'sourceType' => [
- 'description' => '来源类型。',
- 'type' => 'string',
- 'example' => 'SAF',
- ],
- 'displayType' => [
- 'description' => '展示类型以及分组标签。',
- 'type' => 'string',
- 'example' => 'SYSTEM_BIND',
- ],
- 'xLabel' => [
- 'description' => 'x标签。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'yLabel' => [
- 'description' => 'y标签。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'favoriteFlag' => [
- 'description' => '收藏标识。',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'fieldRank' => [
- 'description' => '字段排序。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'fieldSource' => [
- 'description' => '字段的来源。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'fieldDetail' => [
- 'description' => '字段池字段详情。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'inputFieldType' => [
- 'description' => '参数的输入类型。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'inputRequired' => [
- 'description' => '必须的参数。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'outlier' => [
- 'description' => '异常值。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'outputThreshold' => [
- 'description' => '输出值阈值。',
- 'type' => 'object',
- 'properties' => [
- 'minValue' => [
- 'description' => '最小值。',
- 'type' => 'number',
- 'format' => 'double',
- 'example' => '1',
- ],
- 'maxValue' => [
- 'description' => '最大值。',
- 'type' => 'number',
- 'format' => 'double',
- 'example' => '10',
- ],
- ],
- ],
- 'variableVelocity' => [
- 'description' => '变量指标信息。此类型变量无此字段返回。',
- 'type' => 'object',
- 'properties' => [
- 'iv' => [
- 'description' => 'iv值。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- ],
- ],
- 'expressionTitle' => [
- 'description' => '表达式展示值。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- ],
- ],
- ],
- 'deviceVariables' => [
- 'description' => '设备变量。',
- 'type' => 'array',
- 'items' => [
- 'description' => '设备变量。',
- 'type' => 'object',
- 'properties' => [
- 'id' => [
- 'description' => '主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '41',
- ],
- 'title' => [
- 'description' => '标题。',
- 'type' => 'string',
- 'example' => '设备信息-设备名称-deviceName',
- ],
- 'name' => [
- 'description' => '变量name。',
- 'type' => 'string',
- 'example' => '__device_name__',
- ],
- 'description' => [
- 'description' => '描述信息。',
- 'type' => 'string',
- 'example' => '设备信息-设备名称',
- ],
- 'type' => [
- 'description' => '变量类型。',
- 'type' => 'string',
- 'example' => 'DEVICE',
- ],
- 'inputs' => [
- 'description' => '变量的输入。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'fieldType' => [
- 'description' => '字段类型。',
- 'type' => 'string',
- 'example' => 'STRING',
- ],
- 'code' => [
- 'description' => '变量code。',
- 'type' => 'string',
- 'example' => 'queryPhoneSimulatorInfo(deviceToken)?.deviceName',
- ],
- 'defineId' => [
- 'description' => '变量定义ID。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'parentName' => [
- 'description' => '父节点。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'dataDisplay' => [
- 'description' => '数据分布展示,json格式。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'sourceType' => [
- 'description' => '来源类型。',
- 'type' => 'string',
- 'example' => 'SAF',
- ],
- 'displayType' => [
- 'description' => '展示类型以及分组标签。',
- 'type' => 'string',
- 'example' => 'DEVICE',
- ],
- 'xLabel' => [
- 'description' => 'x标签。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'yLabel' => [
- 'description' => 'y标签。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'favoriteFlag' => [
- 'description' => '收藏标识。',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'fieldRank' => [
- 'description' => '字段排序。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'fieldSource' => [
- 'description' => '字段的来源。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'fieldDetail' => [
- 'description' => '字段池字段详情。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'inputFieldType' => [
- 'description' => '参数的输入类型。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'inputRequired' => [
- 'description' => '必须的参数。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'outlier' => [
- 'description' => '异常值。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'outputThreshold' => [
- 'description' => '输出值阈值。',
- 'type' => 'object',
- 'properties' => [
- 'minValue' => [
- 'description' => '最小值。',
- 'type' => 'number',
- 'format' => 'double',
- 'example' => '1',
- ],
- 'maxValue' => [
- 'description' => '最大值。',
- 'type' => 'number',
- 'format' => 'double',
- 'example' => '10',
- ],
- ],
- ],
- 'variableVelocity' => [
- 'description' => '变量指标信息。此类型变量无此字段返回。',
- 'type' => 'object',
- 'properties' => [
- 'iv' => [
- 'description' => 'iv值。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- ],
- ],
- 'expressionTitle' => [
- 'description' => '计算表达式展示值。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- ],
- ],
- ],
- 'expressionVariables' => [
- 'description' => '自定义变量。',
- 'type' => 'array',
- 'items' => [
- 'description' => '自定义变量。',
- 'type' => 'object',
- 'properties' => [
- 'id' => [
- 'description' => '主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '3148',
- ],
- 'title' => [
- 'description' => '标题。',
- 'type' => 'string',
- 'example' => '获取手机号前7位',
- ],
- 'name' => [
- 'description' => '变量name。',
- 'type' => 'string',
- 'example' => 'ex_w2yIClHCc150',
- ],
- 'description' => [
- 'description' => '变量描述信息。',
- 'type' => 'string',
- 'example' => '获取手机号前7位'."\n",
- ],
- 'type' => [
- 'description' => '变量类型。',
- 'type' => 'string',
- 'example' => 'EXPRESSION',
- ],
- 'inputs' => [
- 'description' => '输入参数多个用逗号隔开。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'fieldType' => [
- 'description' => '变量输入类型。',
- 'type' => 'string',
- 'example' => 'STRING',
- ],
- 'code' => [
- 'description' => '变量code。',
- 'type' => 'string',
- 'example' => 'deInvokeSelfVariable(390397)',
- ],
- 'defineId' => [
- 'description' => '变量定义ID。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'parentName' => [
- 'description' => '父节点。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'dataDisplay' => [
- 'description' => '数据分布展示,json格式。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'sourceType' => [
- 'description' => '来源类型。',
- 'type' => 'string',
- 'example' => 'SAF',
- ],
- 'displayType' => [
- 'description' => '展示类型以及分组标签。',
- 'type' => 'string',
- 'example' => 'EXPRESSION',
- ],
- 'xLabel' => [
- 'description' => 'x标签。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'yLabel' => [
- 'description' => 'y标签。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'favoriteFlag' => [
- 'description' => '收藏标识。',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'fieldRank' => [
- 'description' => '字段排序。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'fieldSource' => [
- 'description' => '字段的来源。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'fieldDetail' => [
- 'description' => '字段池字段详情。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'inputFieldType' => [
- 'description' => '参数的输入类型。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'inputRequired' => [
- 'description' => '必须的参数。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'outlier' => [
- 'description' => '异常值。',
- 'type' => 'string',
- 'example' => '-1',
- ],
- 'outputThreshold' => [
- 'description' => '输出值阈值。',
- 'type' => 'object',
- 'properties' => [
- 'minValue' => [
- 'description' => '最小值。',
- 'type' => 'number',
- 'format' => 'double',
- 'example' => '1',
- ],
- 'maxValue' => [
- 'description' => '最大值。',
- 'type' => 'number',
- 'format' => 'double',
- 'example' => '10',
- ],
- ],
- ],
- 'variableVelocity' => [
- 'description' => '变量指标信息。此类型变量无此字段返回。',
- 'type' => 'object',
- 'properties' => [
- 'iv' => [
- 'description' => 'iv值。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- ],
- ],
- 'expressionTitle' => [
- 'description' => '计算表达式展示值。',
- 'type' => 'string',
- 'example' => ' @testaaa +1',
- ],
- ],
- ],
- ],
- 'velocityVariables' => [
- 'description' => '自定义累计变量。',
- 'type' => 'array',
- 'items' => [
- 'description' => '自定义累计变量。',
- 'type' => 'object',
- 'properties' => [
- 'id' => [
- 'description' => '主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '3148',
- ],
- 'title' => [
- 'description' => '标题。',
- 'type' => 'string',
- 'example' => '累计用户省份次数',
- ],
- 'name' => [
- 'description' => '变量name。',
- 'type' => 'string',
- 'example' => 'hFsEFUEe88a',
- ],
- 'description' => [
- 'description' => '变量描述。',
- 'type' => 'string',
- 'example' => '累计用户省份次数。',
- ],
- 'type' => [
- 'description' => '变量类型。',
- 'type' => 'string',
- 'example' => 'SELF_VELOCITY ',
- ],
- 'inputs' => [
- 'description' => '输入参数多个用逗号隔开。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'fieldType' => [
- 'description' => '字段类型。',
- 'type' => 'string',
- 'example' => 'DOUBLE',
- ],
- 'code' => [
- 'description' => '变量code。',
- 'type' => 'string',
- 'example' => 'deReadVelocity(userId,\\"hFsEFUEe88a\\",1,\\"H\\",0,true,\\"COUNT\\")',
- ],
- 'defineId' => [
- 'description' => '变量定义ID。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'parentName' => [
- 'description' => '父节点。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'dataDisplay' => [
- 'description' => '数据分布展示,json格式。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'sourceType' => [
- 'description' => '来源类型。',
- 'type' => 'string',
- 'example' => 'SAF_SELF',
- ],
- 'displayType' => [
- 'description' => '展示类型以及分组标签。',
- 'type' => 'string',
- 'example' => 'SELF_VELOCITY',
- ],
- 'xLabel' => [
- 'description' => 'x标签。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'yLabel' => [
- 'description' => 'x标签。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'favoriteFlag' => [
- 'description' => '收藏标识。',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'fieldRank' => [
- 'description' => '字段排序。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'fieldSource' => [
- 'description' => '字段的来源。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'fieldDetail' => [
- 'description' => '字段池字段详情。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'inputFieldType' => [
- 'description' => '参数的输入类型。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'inputRequired' => [
- 'description' => '必须的参数。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'outlier' => [
- 'description' => '异常值。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'outputThreshold' => [
- 'description' => '输出值阈值。',
- 'type' => 'object',
- 'properties' => [
- 'minValue' => [
- 'description' => '最小值。',
- 'type' => 'number',
- 'format' => 'double',
- 'example' => '1',
- ],
- 'maxValue' => [
- 'description' => '最大值。',
- 'type' => 'number',
- 'format' => 'double',
- 'example' => '10',
- ],
- ],
- ],
- 'variableVelocity' => [
- 'description' => '变量指标信息。此类型变量无此字段返回。',
- 'type' => 'object',
- 'properties' => [
- 'iv' => [
- 'description' => 'iv值。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- ],
- ],
- 'expressionTitle' => [
- 'description' => '计算表达式展示值。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- ],
- ],
- ],
- 'queryVariables' => [
- 'description' => '自定义查询变量。',
- 'type' => 'array',
- 'items' => [
- 'description' => '自定义查询变量。',
- 'type' => 'object',
- 'properties' => [
- 'id' => [
- 'description' => '查询变量主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '3148',
- ],
- 'title' => [
- 'description' => '标题。',
- 'type' => 'string',
- 'example' => '年龄计算',
- ],
- 'name' => [
- 'description' => '变量name。',
- 'type' => 'string',
- 'example' => 'ex_qWtKgCox350f',
- ],
- 'description' => [
- 'description' => '描述信息。',
- 'type' => 'string',
- 'example' => '年龄计算'."\n",
- ],
- 'type' => [
- 'description' => '变量类型。',
- 'type' => 'string',
- 'example' => 'QUERY_EXPRESSION',
- ],
- 'inputs' => [
- 'description' => '输入参数多个用逗号隔开。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'fieldType' => [
- 'description' => '字段类型。',
- 'type' => 'string',
- 'example' => 'STRING',
- ],
- 'code' => [
- 'description' => '变量code。',
- 'type' => 'string',
- 'example' => 'deInvokeQueryVariable(376773)',
- ],
- 'defineId' => [
- 'description' => '变量定义ID。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'parentName' => [
- 'description' => '父节点。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'dataDisplay' => [
- 'description' => '数据分布展示,json格式。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'sourceType' => [
- 'description' => '来源类型。',
- 'type' => 'string',
- 'example' => 'DATA_SOURCE',
- ],
- 'displayType' => [
- 'description' => '展示类型以及分组标签。',
- 'type' => 'string',
- 'example' => 'QUERY_EXPRESSION',
- ],
- 'xLabel' => [
- 'description' => 'x标签。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'yLabel' => [
- 'description' => 'x标签。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'favoriteFlag' => [
- 'description' => '收藏标识。',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'fieldRank' => [
- 'description' => '字段排序。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'fieldSource' => [
- 'description' => '字段的来源。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'fieldDetail' => [
- 'description' => '字段池字段详情。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'inputFieldType' => [
- 'description' => '参数的输入类型。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'inputRequired' => [
- 'description' => '必须的参数。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'outlier' => [
- 'description' => '异常值。',
- 'type' => 'string',
- 'example' => 'SYS_ERROR',
- ],
- 'outputThreshold' => [
- 'description' => '输出值阈值。',
- 'type' => 'object',
- 'properties' => [
- 'minValue' => [
- 'description' => '最小值。',
- 'type' => 'number',
- 'format' => 'double',
- 'example' => '1',
- ],
- 'maxValue' => [
- 'description' => '最大值。',
- 'type' => 'number',
- 'format' => 'double',
- 'example' => '10',
- ],
- ],
- ],
- 'variableVelocity' => [
- 'description' => '变量指标信息。此类型变量无此字段返回。',
- 'type' => 'object',
- 'properties' => [
- 'iv' => [
- 'description' => 'iv值。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- ],
- ],
- 'expressionTitle' => [
- 'description' => '计算表达式展示值。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'SELECT AVG( $source )\\nFROM testCase\\nWHERE $age > 0',
- ],
- ],
- ],
- ],
- 'thirdVariables' => [
- 'description' => '其他变量。',
- 'type' => 'object',
- 'example' => '{}',
- ],
- 'modelVariables' => [
- 'description' => '模型变量。',
- 'type' => 'array',
- 'items' => [
- 'description' => '模型变量。',
- 'type' => 'object',
- 'properties' => [
- 'id' => [
- 'description' => '模型变量主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '43',
- ],
- 'title' => [
- 'description' => '标题。',
- 'type' => 'string',
- 'example' => 'BL_t_show',
- ],
- 'name' => [
- 'description' => '变量name。',
- 'type' => 'string',
- 'example' => 'mo_qbbyf33o66f2',
- ],
- 'description' => [
- 'description' => '变量的描述。',
- 'type' => 'string',
- 'example' => 'BL_t_show'."\n",
- ],
- 'type' => [
- 'description' => '变量类型。',
- 'type' => 'string',
- 'example' => 'MODEL',
- ],
- 'inputs' => [
- 'description' => '输入参数多个用逗号隔开。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'fieldType' => [
- 'description' => '字段类型。',
- 'type' => 'string',
- 'example' => 'DOUBLE',
- ],
- 'code' => [
- 'description' => '变量code。',
- 'type' => 'string',
- 'example' => 'getAIData(model)',
- ],
- 'defineId' => [
- 'description' => '变量定义ID。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'parentName' => [
- 'description' => '父节点。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'dataDisplay' => [
- 'description' => '数据分布展示,json格式。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'sourceType' => [
- 'description' => '来源类型。',
- 'type' => 'string',
- 'example' => 'SAF',
- ],
- 'displayType' => [
- 'description' => '展示类型以及分组标签。',
- 'type' => 'string',
- 'example' => 'MODEL',
- ],
- 'xLabel' => [
- 'description' => 'x标签。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'yLabel' => [
- 'description' => 'y标签。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'favoriteFlag' => [
- 'description' => '收藏标识。',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'fieldRank' => [
- 'description' => '字段排序。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'fieldSource' => [
- 'description' => '字段的来源。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'fieldDetail' => [
- 'description' => '字段池字段详情。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'inputFieldType' => [
- 'description' => '参数的输入类型。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'inputRequired' => [
- 'description' => '必须的参数。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'outlier' => [
- 'description' => '异常值。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- 'outputThreshold' => [
- 'description' => '输出值阈值。',
- 'type' => 'object',
- 'properties' => [
- 'minValue' => [
- 'description' => '最小值。',
- 'type' => 'number',
- 'format' => 'double',
- 'example' => '1',
- ],
- 'maxValue' => [
- 'description' => '最大值。',
- 'type' => 'number',
- 'format' => 'double',
- 'example' => '10',
- ],
- ],
- ],
- 'variableVelocity' => [
- 'description' => '变量指标信息。此类型变量无此字段返回。',
- 'type' => 'object',
- 'properties' => [
- 'iv' => [
- 'description' => 'iv值。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- ],
- ],
- 'expressionTitle' => [
- 'description' => '计算表达式展示值。此类型变量无此字段返回。',
- 'type' => 'string',
- 'example' => 'This type does not have this field'."\n",
- ],
- ],
- ],
- ],
- ],
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
+ 'resultObject' => ['description' => '返回对象。', 'type' => 'boolean', 'example' => 'true'],
+ 'requestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": {\\n \\"nativeVariables\\": [\\n {\\n \\"id\\": 223,\\n \\"title\\": \\"年龄\\",\\n \\"name\\": \\"age\\",\\n \\"description\\": \\"描述\\",\\n \\"type\\": \\"NATIVE\\",\\n \\"inputs\\": \\"无\\",\\n \\"fieldType\\": \\"STRING\\",\\n \\"code\\": \\"age\\",\\n \\"defineId\\": \\"register\\",\\n \\"parentName\\": \\"parentName\\",\\n \\"dataDisplay\\": \\"{}\\",\\n \\"sourceType\\": \\"SAF\\",\\n \\"displayType\\": \\"NATIVE\\",\\n \\"xLabel\\": \\"x\\",\\n \\"yLabel\\": \\"y\\",\\n \\"favoriteFlag\\": true,\\n \\"fieldRank\\": 1,\\n \\"fieldSource\\": \\"DEFINE\\",\\n \\"fieldDetail\\": \\"无\\",\\n \\"inputFieldType\\": \\"STRING\\",\\n \\"inputRequired\\": \\"无\\",\\n \\"expressionTitle\\": \\"无\\",\\n \\"outlier\\": \\"无\\",\\n \\"outputThreshold\\": {\\n \\"minValue\\": 1,\\n \\"maxValue\\": 10\\n },\\n \\"variableVelocity\\": {\\n \\"iv\\": \\"无\\"\\n }\\n }\\n ],\\n \\"middleVariables\\": [\\n {\\n \\"id\\": 49,\\n \\"title\\": \\"midVaribale\\",\\n \\"name\\": \\"mid\\",\\n \\"description\\": \\"description\\",\\n \\"type\\": \\"MIDDLE\\",\\n \\"inputs\\": \\"This type does not have this field\\",\\n \\"fieldType\\": \\"STRING\\",\\n \\"code\\": \\"mid\\",\\n \\"defineId\\": \\"register\\",\\n \\"parentName\\": \\"This type does not have this field\\\\n\\",\\n \\"dataDisplay\\": \\"This type does not have this field\\\\n\\",\\n \\"sourceType\\": \\"SAF\\",\\n \\"displayType\\": \\"MIDDLE\\",\\n \\"xLabel\\": \\"This type does not have this field\\\\n\\",\\n \\"yLabel\\": \\"This type does not have this field\\\\n\\",\\n \\"favoriteFlag\\": false,\\n \\"fieldRank\\": 0,\\n \\"fieldSource\\": \\"DEFAULT\\",\\n \\"fieldDetail\\": \\"This type does not have this field\\\\n\\",\\n \\"inputFieldType\\": \\"This type does not have this field\\\\n\\",\\n \\"inputRequired\\": \\"This type does not have this field\\\\n\\",\\n \\"expressionTitle\\": \\"This type does not have this field\\\\n\\",\\n \\"outlier\\": \\"This type does not have this field\\\\n\\",\\n \\"outputThreshold\\": {\\n \\"minValue\\": 0,\\n \\"maxValue\\": 10\\n },\\n \\"variableVelocity\\": {\\n \\"iv\\": \\"This type does not have this field\\\\n\\"\\n }\\n }\\n ],\\n \\"nativeVariableFunctions\\": [\\n {\\n \\"id\\": 93,\\n \\"title\\": \\"根据时间戳获取小时\\",\\n \\"name\\": \\"__getHourOfTimestamp__\\",\\n \\"description\\": \\"时间戳,可以是秒或者毫秒\\",\\n \\"type\\": \\"FUNC\\",\\n \\"inputs\\": \\"This type does not have this field\\\\n\\",\\n \\"fieldType\\": \\"LONG\\",\\n \\"code\\": \\"getHourOfTimestamp({data})\\",\\n \\"defineId\\": \\"This type does not have this field\\\\n\\",\\n \\"parentName\\": \\"This type does not have this field\\\\n\\",\\n \\"dataDisplay\\": \\"This type does not have this field\\\\n\\",\\n \\"sourceType\\": \\"SAF\\",\\n \\"displayType\\": \\"FUNC\\",\\n \\"xLabel\\": \\"This type does not have this field\\\\n\\",\\n \\"yLabel\\": \\"This type does not have this field\\\\n\\",\\n \\"favoriteFlag\\": false,\\n \\"fieldRank\\": 0,\\n \\"fieldSource\\": \\"This type does not have this field\\\\n\\",\\n \\"fieldDetail\\": \\"This type does not have this field\\\\n\\",\\n \\"inputFieldType\\": \\"DATE\\",\\n \\"inputRequired\\": \\"This type does not have this field\\\\n\\",\\n \\"outlier\\": \\"This type does not have this field\\\\n\\",\\n \\"outputThreshold\\": {\\n \\"minValue\\": 0,\\n \\"maxValue\\": 10\\n },\\n \\"variableVelocity\\": {\\n \\"iv\\": \\"This type does not have this field\\\\n\\"\\n },\\n \\"expressionTitle\\": \\"This type does not have this field\\\\n\\"\\n }\\n ],\\n \\"sysVariables\\": [\\n {\\n \\"id\\": 3151,\\n \\"title\\": \\"IP所在地_城市Code\\\\n\\",\\n \\"name\\": \\"__ipLocationCityCode__\\",\\n \\"description\\": \\"通过IP地址库解析IP所在的城市Code,例如,输入“42.120.74.211”,经过该变量运算,输出“330100”。\\",\\n \\"type\\": \\"SYSTEM_BIND\\",\\n \\"inputs\\": \\"ip\\",\\n \\"fieldType\\": \\"STRING\\",\\n \\"code\\": \\"parseIpV2(ip)?.cityId\\",\\n \\"defineId\\": \\"2488\\",\\n \\"parentName\\": \\"无\\",\\n \\"dataDisplay\\": \\"This type does not have this field\\\\n\\",\\n \\"sourceType\\": \\"SAF\\",\\n \\"displayType\\": \\"SYSTEM_BIND\\",\\n \\"xLabel\\": \\"This type does not have this field\\\\n\\",\\n \\"yLabel\\": \\"This type does not have this field\\\\n\\",\\n \\"favoriteFlag\\": false,\\n \\"fieldRank\\": 0,\\n \\"fieldSource\\": \\"This type does not have this field\\\\n\\",\\n \\"fieldDetail\\": \\"This type does not have this field\\\\n\\",\\n \\"inputFieldType\\": \\"This type does not have this field\\\\n\\",\\n \\"inputRequired\\": \\"This type does not have this field\\\\n\\",\\n \\"outlier\\": \\"This type does not have this field\\\\n\\",\\n \\"outputThreshold\\": {\\n \\"minValue\\": 1,\\n \\"maxValue\\": 10\\n },\\n \\"variableVelocity\\": {\\n \\"iv\\": \\"This type does not have this field\\\\n\\"\\n },\\n \\"expressionTitle\\": \\"This type does not have this field\\\\n\\"\\n }\\n ],\\n \\"selfVariables\\": [\\n {\\n \\"id\\": 3174,\\n \\"title\\": \\"获取手机号前七位\\",\\n \\"name\\": \\"ex_isvspbF2c7ac\\",\\n \\"description\\": \\"变量的描述信息\\",\\n \\"type\\": \\"EXPRESSION\\",\\n \\"inputs\\": \\"ip\\",\\n \\"fieldType\\": \\"STRING\\",\\n \\"code\\": \\"deReadVelocity(hitRules,\\\\\\\\\\\\\\"dUd5ioJ8014\\\\\\\\\\\\\\",1,\\\\\\\\\\\\\\"MO\\\\\\\\\\\\\\",0,true,\\\\\\\\\\\\\\"SUM\\\\\\\\\\\\\\")\\",\\n \\"defineId\\": \\"49\\",\\n \\"parentName\\": \\"This type does not have this field\\\\n\\",\\n \\"dataDisplay\\": \\"This type does not have this field\\\\n\\",\\n \\"sourceType\\": \\"SAF\\",\\n \\"displayType\\": \\"SELF_BIND\\",\\n \\"xLabel\\": \\"This type does not have this field\\\\n\\",\\n \\"yLabel\\": \\"This type does not have this field\\\\n\\",\\n \\"favoriteFlag\\": false,\\n \\"fieldRank\\": 0,\\n \\"fieldSource\\": \\"This type does not have this field\\\\n\\",\\n \\"fieldDetail\\": \\"This type does not have this field\\\\n\\",\\n \\"inputFieldType\\": \\"This type does not have this field\\\\n\\",\\n \\"inputRequired\\": \\"This type does not have this field\\",\\n \\"outlier\\": \\"-1\\",\\n \\"outputThreshold\\": {\\n \\"minValue\\": 1,\\n \\"maxValue\\": 10\\n },\\n \\"variableVelocity\\": {\\n \\"iv\\": \\"This type does not have this field\\\\n\\"\\n },\\n \\"expressionTitle\\": \\" @IP地址 \\"\\n }\\n ],\\n \\"nameList\\": [\\n {\\n \\"id\\": 34,\\n \\"title\\": \\"白名单\\",\\n \\"name\\": \\"nl_UN8otElLb490\\",\\n \\"description\\": \\"描述\\",\\n \\"type\\": \\"NAME_LIST\\",\\n \\"inputs\\": \\"This type does not have this field\\\\n\\",\\n \\"fieldType\\": \\"This type does not have this field\\\\n\\",\\n \\"code\\": \\"nl_UN8otElLb490\\",\\n \\"defineId\\": \\"This type does not have this field\\\\n\\",\\n \\"parentName\\": \\"This type does not have this field\\",\\n \\"dataDisplay\\": \\"This type does not have this field\\",\\n \\"sourceType\\": \\"SAF\\",\\n \\"displayType\\": \\"NAME_LIST\\",\\n \\"xLabel\\": \\"This type does not have this field\\\\n\\",\\n \\"yLabel\\": \\"This type does not have this field\\\\n\\",\\n \\"favoriteFlag\\": false,\\n \\"fieldRank\\": 0,\\n \\"fieldSource\\": \\"This type does not have this field\\",\\n \\"fieldDetail\\": \\"This type does not have this field\\",\\n \\"inputFieldType\\": \\"This type does not have this field\\",\\n \\"inputRequired\\": \\"This type does not have this field\\",\\n \\"outlier\\": \\"This type does not have this field\\\\n\\",\\n \\"outputThreshold\\": {\\n \\"minValue\\": 1,\\n \\"maxValue\\": 10\\n },\\n \\"variableVelocity\\": {\\n \\"iv\\": \\"This type does not have this field\\\\n\\"\\n },\\n \\"expressionTitle\\": \\"This type does not have this field\\\\n\\"\\n }\\n ],\\n \\"actions\\": [\\n {\\n \\"id\\": 3144,\\n \\"title\\": \\"决策结果\\",\\n \\"name\\": \\"__addDeResult__\\",\\n \\"description\\": \\"决策结果\\\\n\\",\\n \\"type\\": \\"ACTION\\",\\n \\"inputs\\": \\"This type does not have this field\\\\n\\",\\n \\"fieldType\\": \\"This type does not have this field\\\\n\\",\\n \\"code\\": \\"deAddResult\\",\\n \\"defineId\\": \\"This type does not have this field\\\\n\\",\\n \\"parentName\\": \\"This type does not have this field\\\\n\\",\\n \\"dataDisplay\\": \\"This type does not have this field\\\\n\\",\\n \\"sourceType\\": \\"SAF\\",\\n \\"displayType\\": \\"ACTION\\",\\n \\"xLabel\\": \\"This type does not have this field\\\\n\\",\\n \\"yLabel\\": \\"This type does not have this field\\\\n\\",\\n \\"favoriteFlag\\": false,\\n \\"fieldRank\\": 0,\\n \\"fieldSource\\": \\"This type does not have this field\\\\n\\",\\n \\"fieldDetail\\": \\"This type does not have this field\\\\n\\",\\n \\"inputFieldType\\": \\"STRING\\",\\n \\"inputRequired\\": \\"This type does not have this field\\\\n\\",\\n \\"outlier\\": \\"This type does not have this field\\\\n\\",\\n \\"outputThreshold\\": {\\n \\"minValue\\": 1,\\n \\"maxValue\\": 10\\n },\\n \\"variableVelocity\\": {\\n \\"iv\\": \\"This type does not have this field\\\\n\\"\\n },\\n \\"expressionTitle\\": \\"This type does not have this field\\\\n\\"\\n }\\n ],\\n \\"favoriteVariables\\": [\\n {\\n \\"id\\": 34,\\n \\"title\\": \\"IP是否符合IPV4格式\\",\\n \\"name\\": \\"__isIpAddressV4__\\",\\n \\"description\\": \\"判断是否符合IPv4标准\\",\\n \\"type\\": \\"SYSTEM_BIND\\",\\n \\"inputs\\": \\"ip\\",\\n \\"fieldType\\": \\"BOOLEAN\\",\\n \\"code\\": \\"deFunctionProcess(ip,\\\\\\\\\\\\\\"isIp\\\\\\\\\\\\\\")\\",\\n \\"defineId\\": \\"16\\",\\n \\"parentName\\": \\"This type does not have this field\\\\n\\",\\n \\"dataDisplay\\": \\"This type does not have this field\\\\n\\",\\n \\"sourceType\\": \\"SAF\\",\\n \\"displayType\\": \\"SYSTEM_BIND\\",\\n \\"xLabel\\": \\"This type does not have this field\\\\n\\",\\n \\"yLabel\\": \\"This type does not have this field\\\\n\\",\\n \\"favoriteFlag\\": false,\\n \\"fieldRank\\": 0,\\n \\"fieldSource\\": \\"This type does not have this field\\\\n\\",\\n \\"fieldDetail\\": \\"This type does not have this field\\\\n\\",\\n \\"inputFieldType\\": \\"This type does not have this field\\\\n\\",\\n \\"inputRequired\\": \\"This type does not have this field\\\\n\\",\\n \\"outlier\\": \\"This type does not have this field\\\\n\\",\\n \\"outputThreshold\\": {\\n \\"minValue\\": 1,\\n \\"maxValue\\": 10\\n },\\n \\"variableVelocity\\": {\\n \\"iv\\": \\"This type does not have this field\\\\n\\"\\n },\\n \\"expressionTitle\\": \\"This type does not have this field\\\\n\\"\\n }\\n ],\\n \\"deviceVariables\\": [\\n {\\n \\"id\\": 41,\\n \\"title\\": \\"设备信息-设备名称-deviceName\\",\\n \\"name\\": \\"__device_name__\\",\\n \\"description\\": \\"设备信息-设备名称\\",\\n \\"type\\": \\"DEVICE\\",\\n \\"inputs\\": \\"This type does not have this field\\\\n\\",\\n \\"fieldType\\": \\"STRING\\",\\n \\"code\\": \\"queryPhoneSimulatorInfo(deviceToken)?.deviceName\\",\\n \\"defineId\\": \\"This type does not have this field\\\\n\\",\\n \\"parentName\\": \\"This type does not have this field\\\\n\\",\\n \\"dataDisplay\\": \\"This type does not have this field\\\\n\\",\\n \\"sourceType\\": \\"SAF\\",\\n \\"displayType\\": \\"DEVICE\\",\\n \\"xLabel\\": \\"This type does not have this field\\\\n\\",\\n \\"yLabel\\": \\"This type does not have this field\\\\n\\",\\n \\"favoriteFlag\\": false,\\n \\"fieldRank\\": 0,\\n \\"fieldSource\\": \\"This type does not have this field\\\\n\\",\\n \\"fieldDetail\\": \\"This type does not have this field\\\\n\\",\\n \\"inputFieldType\\": \\"This type does not have this field\\\\n\\",\\n \\"inputRequired\\": \\"This type does not have this field\\\\n\\",\\n \\"outlier\\": \\"This type does not have this field\\\\n\\",\\n \\"outputThreshold\\": {\\n \\"minValue\\": 1,\\n \\"maxValue\\": 10\\n },\\n \\"variableVelocity\\": {\\n \\"iv\\": \\"This type does not have this field\\\\n\\"\\n },\\n \\"expressionTitle\\": \\"This type does not have this field\\\\n\\"\\n }\\n ],\\n \\"expressionVariables\\": [\\n {\\n \\"id\\": 3148,\\n \\"title\\": \\"获取手机号前7位\\",\\n \\"name\\": \\"ex_w2yIClHCc150\\",\\n \\"description\\": \\"获取手机号前7位\\\\n\\",\\n \\"type\\": \\"EXPRESSION\\",\\n \\"inputs\\": \\"This type does not have this field\\\\n\\",\\n \\"fieldType\\": \\"STRING\\",\\n \\"code\\": \\"deInvokeSelfVariable(390397)\\",\\n \\"defineId\\": \\"This type does not have this field\\\\n\\",\\n \\"parentName\\": \\"This type does not have this field\\\\n\\",\\n \\"dataDisplay\\": \\"This type does not have this field\\\\n\\",\\n \\"sourceType\\": \\"SAF\\",\\n \\"displayType\\": \\"EXPRESSION\\",\\n \\"xLabel\\": \\"This type does not have this field\\\\n\\",\\n \\"yLabel\\": \\"This type does not have this field\\\\n\\",\\n \\"favoriteFlag\\": false,\\n \\"fieldRank\\": 0,\\n \\"fieldSource\\": \\"This type does not have this field\\\\n\\",\\n \\"fieldDetail\\": \\"This type does not have this field\\\\n\\",\\n \\"inputFieldType\\": \\"This type does not have this field\\\\n\\",\\n \\"inputRequired\\": \\"This type does not have this field\\\\n\\",\\n \\"outlier\\": \\"-1\\",\\n \\"outputThreshold\\": {\\n \\"minValue\\": 1,\\n \\"maxValue\\": 10\\n },\\n \\"variableVelocity\\": {\\n \\"iv\\": \\"This type does not have this field\\\\n\\"\\n },\\n \\"expressionTitle\\": \\" @testaaa +1\\"\\n }\\n ],\\n \\"velocityVariables\\": [\\n {\\n \\"id\\": 3148,\\n \\"title\\": \\"累计用户省份次数\\",\\n \\"name\\": \\"hFsEFUEe88a\\",\\n \\"description\\": \\"累计用户省份次数。\\",\\n \\"type\\": \\"SELF_VELOCITY \\",\\n \\"inputs\\": \\"This type does not have this field\\\\n\\",\\n \\"fieldType\\": \\"DOUBLE\\",\\n \\"code\\": \\"deReadVelocity(userId,\\\\\\\\\\\\\\"hFsEFUEe88a\\\\\\\\\\\\\\",1,\\\\\\\\\\\\\\"H\\\\\\\\\\\\\\",0,true,\\\\\\\\\\\\\\"COUNT\\\\\\\\\\\\\\")\\",\\n \\"defineId\\": \\"This type does not have this field\\\\n\\",\\n \\"parentName\\": \\"This type does not have this field\\\\n\\",\\n \\"dataDisplay\\": \\"This type does not have this field\\\\n\\",\\n \\"sourceType\\": \\"SAF_SELF\\",\\n \\"displayType\\": \\"SELF_VELOCITY\\",\\n \\"xLabel\\": \\"This type does not have this field\\\\n\\",\\n \\"yLabel\\": \\"This type does not have this field\\\\n\\",\\n \\"favoriteFlag\\": false,\\n \\"fieldRank\\": 0,\\n \\"fieldSource\\": \\"This type does not have this field\\\\n\\",\\n \\"fieldDetail\\": \\"This type does not have this field\\\\n\\",\\n \\"inputFieldType\\": \\"This type does not have this field\\\\n\\",\\n \\"inputRequired\\": \\"This type does not have this field\\\\n\\",\\n \\"outlier\\": \\"This type does not have this field\\\\n\\",\\n \\"outputThreshold\\": {\\n \\"minValue\\": 1,\\n \\"maxValue\\": 10\\n },\\n \\"variableVelocity\\": {\\n \\"iv\\": \\"This type does not have this field\\\\n\\"\\n },\\n \\"expressionTitle\\": \\"This type does not have this field\\\\n\\"\\n }\\n ],\\n \\"queryVariables\\": [\\n {\\n \\"id\\": 3148,\\n \\"title\\": \\"年龄计算\\",\\n \\"name\\": \\"ex_qWtKgCox350f\\",\\n \\"description\\": \\"年龄计算\\\\n\\",\\n \\"type\\": \\"QUERY_EXPRESSION\\",\\n \\"inputs\\": \\"This type does not have this field\\\\n\\",\\n \\"fieldType\\": \\"STRING\\",\\n \\"code\\": \\"deInvokeQueryVariable(376773)\\",\\n \\"defineId\\": \\"This type does not have this field\\\\n\\",\\n \\"parentName\\": \\"This type does not have this field\\\\n\\",\\n \\"dataDisplay\\": \\"This type does not have this field\\\\n\\",\\n \\"sourceType\\": \\"DATA_SOURCE\\",\\n \\"displayType\\": \\"QUERY_EXPRESSION\\",\\n \\"xLabel\\": \\"This type does not have this field\\\\n\\",\\n \\"yLabel\\": \\"This type does not have this field\\\\n\\",\\n \\"favoriteFlag\\": false,\\n \\"fieldRank\\": 0,\\n \\"fieldSource\\": \\"This type does not have this field\\\\n\\",\\n \\"fieldDetail\\": \\"This type does not have this field\\\\n\\",\\n \\"inputFieldType\\": \\"This type does not have this field\\\\n\\",\\n \\"inputRequired\\": \\"This type does not have this field\\\\n\\",\\n \\"outlier\\": \\"SYS_ERROR\\",\\n \\"outputThreshold\\": {\\n \\"minValue\\": 1,\\n \\"maxValue\\": 10\\n },\\n \\"variableVelocity\\": {\\n \\"iv\\": \\"This type does not have this field\\\\n\\"\\n },\\n \\"expressionTitle\\": \\"SELECT AVG( $source )\\\\\\\\nFROM testCase\\\\\\\\nWHERE $age > 0\\"\\n }\\n ],\\n \\"thirdVariables\\": {},\\n \\"modelVariables\\": [\\n {\\n \\"id\\": 43,\\n \\"title\\": \\"BL_t_show\\",\\n \\"name\\": \\"mo_qbbyf33o66f2\\",\\n \\"description\\": \\"BL_t_show\\\\n\\",\\n \\"type\\": \\"MODEL\\",\\n \\"inputs\\": \\"This type does not have this field\\\\n\\",\\n \\"fieldType\\": \\"DOUBLE\\",\\n \\"code\\": \\"getAIData(model)\\",\\n \\"defineId\\": \\"This type does not have this field\\\\n\\",\\n \\"parentName\\": \\"This type does not have this field\\\\n\\",\\n \\"dataDisplay\\": \\"This type does not have this field\\\\n\\",\\n \\"sourceType\\": \\"SAF\\",\\n \\"displayType\\": \\"MODEL\\",\\n \\"xLabel\\": \\"This type does not have this field\\\\n\\",\\n \\"yLabel\\": \\"This type does not have this field\\\\n\\",\\n \\"favoriteFlag\\": false,\\n \\"fieldRank\\": 0,\\n \\"fieldSource\\": \\"This type does not have this field\\\\n\\",\\n \\"fieldDetail\\": \\"This type does not have this field\\\\n\\",\\n \\"inputFieldType\\": \\"This type does not have this field\\\\n\\",\\n \\"inputRequired\\": \\"This type does not have this field\\\\n\\",\\n \\"outlier\\": \\"This type does not have this field\\\\n\\",\\n \\"outputThreshold\\": {\\n \\"minValue\\": 1,\\n \\"maxValue\\": 10\\n },\\n \\"variableVelocity\\": {\\n \\"iv\\": \\"This type does not have this field\\\\n\\"\\n },\\n \\"expressionTitle\\": \\"This type does not have this field\\\\n\\"\\n }\\n ]\\n },\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '事件下的变量列表',
- 'description' => '累计变量列表查询',
- ],
- 'DescribeRuleListByEventCodesList' => [
- 'summary' => '查询策略列表。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '删除规则',
+ 'summary' => '删除策略版本。',
+ 'changeSet' => [
+ ['createdAt' => '2021-10-18T12:18:48.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteRule'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\"\\n}","type":"json"}]',
+ ],
+ 'DeleteSample' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
- 'deprecated' => false,
+ 'operationType' => 'readAndWrite',
'systemTags' => [
'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '138403',
+ 'abilityTreeNodes' => ['FEATUREsafT73ZWM'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '接口返回错误信息语言。取值:zh:中文; en:英文。 默认为en。', 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'regId',
+ 'name' => 'SampleId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '待删除的样本ID。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
- 'name' => 'eventCodes',
+ 'name' => 'RegId',
'in' => 'query',
- 'schema' => [
- 'description' => '事件编码,json数组字符串。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '["de_asssce8122"]',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
@@ -8898,90 +5025,68 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'resultObject' => [
- 'description' => '返回对象。',
- 'type' => 'array',
- 'items' => [
- 'description' => '返回对象。',
- 'type' => 'object',
- 'properties' => [
- 'ruleId' => [
- 'description' => '策略ID。',
- 'type' => 'string',
- 'example' => '4730',
- ],
- 'ruleName' => [
- 'description' => '策略名称。',
- 'type' => 'string',
- 'example' => '营销风险识别',
- ],
- ],
- ],
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ 'ResultObject' => ['description' => '返回结果。', 'type' => 'boolean', 'example' => 'true'],
+ 'Code' => ['description' => '状态码。', 'type' => 'string', 'example' => '200'],
+ 'HttpStatusCode' => ['description' => 'http状态码。', 'type' => 'string', 'example' => '200'],
+ 'Message' => ['description' => '返回消息。', 'type' => 'string', 'example' => 'success'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": [\\n {\\n \\"ruleId\\": \\"4730\\",\\n \\"ruleName\\": \\"营销风险识别\\"\\n }\\n ],\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '通过eventCode 根据事件编码查询策略列表',
- ],
- 'SaveAnalysisColumn' => [
- 'summary' => '保存自定义列。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '删除样本',
+ 'summary' => '删除样本',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:DeleteSample',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"ResultObject\\": true,\\n \\"Code\\": \\"200\\",\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"Message\\": \\"success\\"\\n}","type":"json"}]',
+ ],
+ 'DeleteSampleBatch' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'regId',
+ 'name' => 'ids',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '批量删除批量操作的id。', 'type' => 'string', 'required' => false, 'example' => '324,343'],
],
[
- 'name' => 'columns',
+ 'name' => 'versions',
'in' => 'query',
- 'schema' => [
- 'description' => '自定义列。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '[{\\"variableName\\":\\"requestId\\",\\"variableTitle\\":\\"RequestId\\",\\"variableType\\":\\"SYSTEM_BIND\\",\\"isDefault\\":true},{\\"variableName\\":\\"eventTime\\",\\"variableTitle\\":\\"事件时间\\",\\"variableType\\":\\"SYSTEM_BIND\\",\\"isDefault\\":true},{\\"variableName\\":\\"accountId\\",\\"variableTitle\\":\\"账号\\",\\"variableType\\":\\"SYSTEM_BIND\\",\\"isDefault\\":true},{\\"variableName\\":\\"deviceId\\",\\"variableTitle\\":\\"设备ID\\",\\"variableType\\":\\"SYSTEM_BIND\\",\\"isDefault\\":true},{\\"variableName\\":\\"eventCode\\",\\"variableTitle\\":\\"事件编码\\",\\"variableType\\":\\"SYSTEM_BIND\\",\\"isDefault\\":true},{\\"variableName\\":\\"ip\\",\\"variableTitle\\":\\"IP\\",\\"variableType\\":\\"SYSTEM_BIND\\",\\"isDefault\\":true},{\\"variableName\\":\\"score\\",\\"variableTitle\\":\\"分值\\",\\"variableType\\":\\"SYSTEM_BIND\\",\\"isDefault\\":true},{\\"variableName\\":\\"tags\\",\\"variableTitle\\":\\"标签\\",\\"variableType\\":\\"SYSTEM_BIND\\",\\"isDefault\\":true},{\\"variableName\\":\\"DEtest222\\",\\"variableTitle\\":\\"测试222\\",\\"variableType\\":\\"NATIVE\\",\\"isDefault\\":false}]',
- ],
+ 'schema' => ['description' => '版本列表', 'type' => 'string', 'required' => true, 'example' => '1,1'],
+ ],
+ [
+ 'name' => 'regId',
+ 'in' => 'query',
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
@@ -8989,158 +5094,129 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'resultObject' => [
- 'description' => '返回对象。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
+ 'data' => ['description' => '返回数据对象。', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '保存自定义列',
- ],
- 'UpdateAnalysisConditionFavorite' => [
- 'summary' => '修改查询条件。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '批量删除样本',
+ 'summary' => '批量删除样本。',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:11:26.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteSampleBatch'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'DeleteSampleBatchMeta' => [
+ 'summary' => '样本删除。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'operationType' => 'write',
+ 'systemTags' => ['operationType' => 'delete'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'id',
+ 'name' => 'batchUuid',
'in' => 'query',
- 'schema' => [
- 'description' => '主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '3144',
- ],
+ 'schema' => ['description' => 'UUID。', 'type' => 'string', 'required' => false, 'example' => 'jigaklba83ka'],
],
- [
- 'name' => 'name',
- 'in' => 'query',
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '条件名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '查询条件1',
+ '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' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ ],
],
],
- [
- 'name' => 'eventCode',
- 'in' => 'query',
- 'schema' => [
- 'description' => '事件编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'de_ajnoqe2016',
- ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '样本删除',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '2000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteSampleBatchMeta'],
],
+ ],
+ 'ramActions' => [
[
- 'name' => 'eventBeginTime',
- 'in' => 'query',
- 'schema' => [
- 'description' => '开始时间,精确到毫秒(ms)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1752076800000',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:DeleteSampleBatchMeta',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => 'SampleBatch', 'arn' => 'acs:yundun-saf::{#accountId}:samplebatch/{#SampleBatchId}'],
+ ],
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'DeleteSampleData' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'eventEndTime',
- 'in' => 'query',
- 'schema' => [
- 'description' => '结束时间,精确到毫秒(ms)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1753891199000',
- ],
+ 'AK' => [],
],
+ ],
+ 'systemTags' => ['operationType' => 'get'],
+ 'parameters' => [
[
- 'name' => 'condition',
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '条件值。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"relationship\\":\\"and\\",\\"list\\":[{\\"deepCount\\":1,\\"left\\":{\\"hasRightVariable\\":true,\\"fieldType\\":\\"INT\\",\\"functionName\\":\\"\\",\\"leftVariableType\\":\\"NATIVE\\",\\"name\\":\\"DEtest222\\",\\"operatorCode\\":\\"equals\\"},\\"right\\":{\\"rightVariableType\\":\\"constant\\",\\"name\\":\\"9007199254\\",\\"functionName\\":\\"\\"},\\"operatorCode\\":\\"equals\\"}]}',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'type',
+ 'name' => 'id',
'in' => 'query',
- 'schema' => [
- 'description' => '类型,BASIC:基础查询,ADVANCE:高级查询,BATCH:批量查询。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'BASIC',
- ],
+ 'schema' => ['description' => '主键id', 'type' => 'string', 'required' => false, 'example' => '3144'],
],
[
- 'name' => 'fieldName',
+ 'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '字段名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'age',
- ],
- ],
- [
- 'name' => 'fieldValue',
- 'in' => 'query',
- 'schema' => [
- 'description' => '字段值。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '20',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
@@ -9148,219 +5224,152 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'resultObject' => [
- 'description' => '返回对象。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
+ 'resultObject' => ['description' => '返回对象', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '修改查询条件',
- ],
- 'DescribeAdvanceSearchLeftVariableList' => [
- 'summary' => '高级查询获取左变量接口。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '删除样本数据',
+ 'summary' => '删除样本数据。',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:19:05.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteSampleData'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'DeleteSelfBindVariable' => [
+ 'summary' => '删除自定义系统变量。',
+ 'path' => '',
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREsafXYIHRP'],
+ 'tenantRelevance' => 'tenant',
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'eventCodes',
- 'in' => 'query',
- 'schema' => [
- 'description' => '事件code。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'de_ahqhsw7665,de_agbzfi5134',
- ],
- ],
- [
- 'name' => 'scene',
+ 'name' => 'id',
'in' => 'query',
- 'schema' => [
- 'description' => '场景。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'VELOCITY',
- ],
+ 'schema' => ['description' => '变量id', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '3144'],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'resultObject' => [
- 'description' => '返回对象。',
- 'type' => 'array',
- 'items' => [
- 'description' => '返回对象。',
- 'type' => 'object',
- 'properties' => [
- 'displayType' => [
- 'description' => '展示类型以及分组标签。',
- 'type' => 'string',
- 'example' => 'NATIVE',
- ],
- 'parentName' => [
- 'description' => '父节点。',
- 'type' => 'string',
- 'example' => 'name',
- ],
- 'code' => [
- 'description' => '变量code。',
- 'type' => 'string',
- 'example' => 'age',
- ],
- 'sourceType' => [
- 'description' => '数据来源。',
- 'type' => 'string',
- 'example' => 'SAF',
- ],
- 'name' => [
- 'description' => '变量name。',
- 'type' => 'string',
- 'example' => 'age',
- ],
- 'description' => [
- 'description' => '描述。',
- 'type' => 'string',
- 'example' => '年龄描述',
- ],
- 'id' => [
- 'description' => '主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2453',
- ],
- 'type' => [
- 'description' => '变量类型。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'SYSTEM_BIND' => '系统绑定变量',
- 'NATIVE' => '事件字段',
- 'DEVICE' => '设备变量',
- 'SELF_VELOCITY' => '自定义累计变量',
- 'EXPRESSION' => '自定义变量',
- ],
- 'example' => 'NATIVE',
- ],
- 'title' => [
- 'description' => '标题。',
- 'type' => 'string',
- 'example' => '年龄',
- ],
- 'fieldType' => [
- 'description' => '字段表排序。',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'fieldRank' => [
- 'description' => '变量返回值类型。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => 'STRING',
- ],
- ],
- ],
- ],
- 'requestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ 'resultObject' => ['description' => '返回对象', 'type' => 'boolean', 'example' => 'true'],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": [\\n {\\n \\"displayType\\": \\"NATIVE\\",\\n \\"parentName\\": \\"name\\",\\n \\"code\\": \\"age\\",\\n \\"sourceType\\": \\"SAF\\",\\n \\"name\\": \\"age\\",\\n \\"description\\": \\"年龄描述\\",\\n \\"id\\": 2453,\\n \\"type\\": \\"NATIVE\\",\\n \\"title\\": \\"年龄\\",\\n \\"fieldType\\": \\"1\\",\\n \\"fieldRank\\": 0\\n }\\n ],\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\"\\n}","type":"json"}]',
- 'title' => '高级查询获取左变量',
- ],
- 'DescribeOperatorListByType' => [
- 'summary' => '查询操作符映射列表。',
- 'methods' => [
- 'post',
- 'get',
+ 'errorCodes' => [
+ 400 => [
+ ['errorCode' => '1230', 'errorMessage' => 'variable is used.', 'description' => '变量已经被使用'],
+ ],
+ 500 => [
+ ['errorCode' => '1101', 'errorMessage' => 'system error', 'description' => '系统错误'],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '删除自定义系统变量',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteSelfBindVariable'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:DeleteSelfBindVariable',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"resultObject\\": true\\n}","type":"json"}]',
+ ],
+ 'DescribeAdvanceSearchLeftVariableList' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
+ ],
+ [
+ 'name' => 'eventCodes',
+ 'in' => 'query',
+ 'schema' => ['description' => '事件code。', 'type' => 'string', 'required' => true, 'example' => 'de_ahqhsw7665,de_agbzfi5134'],
+ ],
+ [
+ 'name' => 'scene',
+ 'in' => 'query',
+ 'schema' => ['description' => '场景。', 'type' => 'string', 'required' => true, 'example' => 'VELOCITY'],
],
],
'responses' => [
@@ -9375,61 +5384,59 @@
'description' => '返回对象。',
'type' => 'object',
'properties' => [
- 'fieldType' => [
- 'description' => '返回值类型。',
+ 'displayType' => ['description' => '展示类型以及分组标签。', 'type' => 'string', 'example' => 'NATIVE'],
+ 'parentName' => ['description' => '父节点。', 'type' => 'string', 'example' => 'name'],
+ 'code' => ['description' => '变量code。', 'type' => 'string', 'example' => 'age'],
+ 'sourceType' => ['description' => '数据来源。', 'type' => 'string', 'example' => 'SAF'],
+ 'name' => ['description' => '变量name。', 'type' => 'string', 'example' => 'age'],
+ 'description' => ['description' => '描述。', 'type' => 'string', 'example' => '年龄描述'],
+ 'id' => ['description' => '主键ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '2453'],
+ 'type' => [
+ 'description' => '变量类型。',
'type' => 'string',
- 'example' => 'STRING',
- ],
- 'operators' => [
- 'description' => '操作符列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '操作符列表。',
- 'type' => 'object',
- 'properties' => [
- 'name' => [
- 'description' => '操作符名称。',
- 'type' => 'string',
- 'example' => '等于',
- ],
- 'code' => [
- 'description' => '操作符code。',
- 'type' => 'string',
- 'example' => 'equals',
- ],
- 'hasRightVariable' => [
- 'description' => '是否含有右变量。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- ],
- ],
+ 'enumValueTitles' => ['SYSTEM_BIND' => '系统绑定变量', 'NATIVE' => '事件字段', 'DEVICE' => '设备变量', 'SELF_VELOCITY' => '自定义累计变量', 'EXPRESSION' => '自定义变量'],
+ 'example' => 'NATIVE',
],
+ 'title' => ['description' => '标题。', 'type' => 'string', 'example' => '年龄'],
+ 'fieldType' => ['description' => '字段表排序。', 'type' => 'string', 'example' => '1'],
+ 'fieldRank' => ['description' => '变量返回值类型。', 'type' => 'integer', 'format' => 'int64', 'example' => 'STRING'],
],
],
],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
+ 'requestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": [\\n {\\n \\"fieldType\\": \\"STRING\\",\\n \\"operators\\": [\\n {\\n \\"name\\": \\"等于\\",\\n \\"code\\": \\"equals\\",\\n \\"hasRightVariable\\": true\\n }\\n ]\\n }\\n ],\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '根据场景查询查询操作符映射列表',
- ],
- 'DescribeAuthRulePageList' => [
- 'summary' => '策略列表。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '高级查询获取左变量',
+ 'summary' => '高级查询获取左变量接口。',
+ 'changeSet' => [
+ ['createdAt' => '2022-01-05T02:37:05.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeAdvanceSearchLeftVariableList'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": [\\n {\\n \\"displayType\\": \\"NATIVE\\",\\n \\"parentName\\": \\"name\\",\\n \\"code\\": \\"age\\",\\n \\"sourceType\\": \\"SAF\\",\\n \\"name\\": \\"age\\",\\n \\"description\\": \\"年龄描述\\",\\n \\"id\\": 2453,\\n \\"type\\": \\"NATIVE\\",\\n \\"title\\": \\"年龄\\",\\n \\"fieldType\\": \\"1\\",\\n \\"fieldRank\\": 0\\n }\\n ],\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeAdvanceSearchPageList' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -9437,61 +5444,80 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'ruleName',
+ 'name' => 'eventBeginTime',
'in' => 'query',
- 'schema' => [
- 'description' => '策略名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '分析中心事件测试_策略01',
- ],
+ 'schema' => ['description' => '查询开始时间,精确到毫秒(ms)。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1753372800000'],
],
[
- 'name' => 'status',
+ 'name' => 'eventEndTime',
'in' => 'query',
- 'schema' => [
- 'description' => '状态。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'RUNNING',
- ],
+ 'schema' => ['description' => '结束时间,精确到毫秒(ms)。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1753459199059'],
],
[
- 'name' => 'eventCode',
+ 'name' => 'eventCodes',
'in' => 'query',
- 'schema' => [
- 'description' => '事件编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'de_arcehq4370',
- ],
+ 'schema' => ['description' => '事件code。', 'type' => 'string', 'required' => true, 'example' => '["de_ahqhsw7665"]'],
+ ],
+ [
+ 'name' => 'condition',
+ 'in' => 'query',
+ 'schema' => ['description' => '条件值。', 'type' => 'string', 'required' => false, 'example' => '{'."\n"
+ .' "relationship": "and",'."\n"
+ .' "list": ['."\n"
+ .' {'."\n"
+ .' "deepCount": 1,'."\n"
+ .' "left": {'."\n"
+ .' "hasRightVariable": true,'."\n"
+ .' "fieldType": "STRING",'."\n"
+ .' "functionName": "",'."\n"
+ .' "leftVariableType": "NATIVE",'."\n"
+ .' "name": "accountId",'."\n"
+ .' "operatorCode": "equals"'."\n"
+ .' },'."\n"
+ .' "right": {'."\n"
+ .' "rightVariableType": "constant",'."\n"
+ .' "name": "10000",'."\n"
+ .' "functionName": ""'."\n"
+ .' },'."\n"
+ .' "operatorCode": "equals"'."\n"
+ .' }'."\n"
+ .' ]'."\n"
+ .'}'],
+ ],
+ [
+ 'name' => 'fieldName',
+ 'in' => 'query',
+ 'schema' => ['description' => '字段name。', 'type' => 'string', 'required' => false, 'example' => 'age'],
+ ],
+ [
+ 'name' => 'fieldValue',
+ 'in' => 'query',
+ 'schema' => ['description' => '字段值。', 'type' => 'string', 'required' => false, 'example' => '20'],
+ ],
+ [
+ 'name' => 'currentPage',
+ 'in' => 'query',
+ 'schema' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1'],
+ ],
+ [
+ 'name' => 'pageSize',
+ 'in' => 'query',
+ 'schema' => ['description' => '每页大小,默认值为10。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '10'],
],
],
'responses' => [
@@ -9501,115 +5527,68 @@
'properties' => [
'resultObject' => [
'description' => '返回对象。',
- 'type' => 'array',
- 'items' => [
- 'description' => '返回对象。',
- 'type' => 'object',
- 'properties' => [
- 'id' => [
- 'description' => '策略主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '497',
- ],
- 'ruleName' => [
- 'description' => '策略名称。',
- 'type' => 'string',
- 'example' => '营销风险识别',
- ],
- 'version' => [
- 'description' => '版本号。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '8',
- ],
- 'status' => [
- 'description' => '状态。',
- 'type' => 'string',
- 'example' => 'RUNNING',
- ],
- 'gmtModified' => [
- 'description' => '修改时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1565701886000',
- ],
- 'consoleRuleId' => [
- 'description' => '控制台规则ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '6715',
- ],
- 'ruleVersionId' => [
- 'description' => '策略版本号主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '3823',
- ],
- 'createType' => [
- 'description' => '创建类型。',
- 'type' => 'string',
- 'example' => 'MORMAL',
- ],
- 'memo' => [
- 'description' => '备注。',
- 'type' => 'string',
- 'example' => '分析中心事件测试_策略01',
- ],
- 'ruleId' => [
- 'description' => '策略ID。',
- 'type' => 'string',
- 'example' => '102059',
+ 'type' => 'object',
+ 'properties' => [
+ 'header' => [
+ 'description' => '表头。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '应用的header信息。',
+ 'type' => 'object',
+ 'properties' => [
+ 'fieldName' => ['description' => '字段name。', 'type' => 'string', 'example' => 'age'],
+ 'fieldTitle' => ['description' => '字段名称。', 'type' => 'string', 'example' => '年龄'],
+ 'isDefault' => ['description' => '是否是默认展示字段(返回时展示,不作传参)'."\n"
+ .'- true 是'."\n"
+ .'- false 否', 'type' => 'boolean', 'example' => 'true'],
+ ],
],
],
+ 'data' => [
+ 'description' => '返回数据对象。',
+ 'type' => 'array',
+ 'items' => ['description' => '返回数据。', 'type' => 'object', 'example' => '{}'],
+ ],
+ 'totalItem' => ['description' => '总条数。', 'type' => 'integer', 'format' => 'int64', 'example' => '37'],
+ 'totalPage' => ['description' => '总页数。', 'type' => 'integer', 'format' => 'int64', 'example' => '4'],
+ 'currentPage' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'pageSize' => ['description' => '返回结果的分页数。默认值:20,最小值:1,最大值:50。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
],
],
- 'totalItem' => [
- 'description' => '总条数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '6',
- ],
- 'totalPage' => [
- 'description' => '总页数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '9',
- ],
- 'currentPage' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'pageSize' => [
- 'description' => '每页大小,默认值为10。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'RequestId' => [
- 'description' => '请求 ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": [\\n {\\n \\"id\\": 497,\\n \\"ruleName\\": \\"营销风险识别\\",\\n \\"version\\": 8,\\n \\"status\\": \\"RUNNING\\",\\n \\"gmtModified\\": 1565701886000,\\n \\"consoleRuleId\\": 6715,\\n \\"ruleVersionId\\": 3823,\\n \\"createType\\": \\"MORMAL\\",\\n \\"memo\\": \\"分析中心事件测试_策略01\\",\\n \\"ruleId\\": \\"102059\\"\\n }\\n ],\\n \\"totalItem\\": 6,\\n \\"totalPage\\": 9,\\n \\"currentPage\\": 1,\\n \\"pageSize\\": 10,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '策略列表',
- ],
- 'DescribeAuthSceneList' => [
- 'summary' => '场景列表。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '事件分析高级查询',
+ 'summary' => '高级查询。',
+ 'changeSet' => [
+ ['createdAt' => '2021-12-22T09:23:32.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeAdvanceSearchPageList'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": {\\n \\"header\\": [\\n {\\n \\"fieldName\\": \\"age\\",\\n \\"fieldTitle\\": \\"年龄\\",\\n \\"isDefault\\": true\\n }\\n ],\\n \\"data\\": [\\n {}\\n ],\\n \\"totalItem\\": 37,\\n \\"totalPage\\": 4,\\n \\"currentPage\\": 1,\\n \\"pageSize\\": 10\\n },\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeAllDataSource' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -9617,35 +5596,24 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
200 => [
+ 'headers' => [],
'schema' => [
'type' => 'object',
'properties' => [
@@ -9656,78 +5624,71 @@
'description' => '返回对象。',
'type' => 'object',
'properties' => [
- 'serviceCode' => [
- 'description' => '服务编码。',
- 'type' => 'string',
- 'example' => 'account_abuse',
- ],
+ 'id' => ['description' => '策略主键ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '497'],
+ 'eventCode' => ['description' => '事件编码。', 'type' => 'string', 'example' => 'de_aszbjb7236'],
+ 'eventName' => ['description' => '事件名称。', 'type' => 'string', 'example' => '注册风险'],
],
],
],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": [\\n {\\n \\"serviceCode\\": \\"account_abuse\\"\\n }\\n ],\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '场景下拉列表',
- ],
- 'DescribeAuthScenePageList' => [
- 'summary' => '场景列表。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '数据源列表查询',
+ 'summary' => '数据源列表。',
+ 'changeSet' => [
+ ['createdAt' => '2023-01-05T03:46:33.000Z', 'description' => '响应参数发生变更'],
+ ['createdAt' => '2021-11-23T12:31:20.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeAllDataSource'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": [\\n {\\n \\"id\\": 497,\\n \\"eventCode\\": \\"de_aszbjb7236\\",\\n \\"eventName\\": \\"注册风险\\"\\n }\\n ],\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeAllEventNameAndCode' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'sceneName',
+ 'name' => 'createType',
'in' => 'query',
- 'schema' => [
- 'description' => '场景名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'account_abuse',
- ],
+ 'schema' => ['description' => '创建类型。', 'type' => 'string', 'required' => false, 'example' => 'NORMAL'],
],
],
'responses' => [
@@ -9735,6 +5696,11 @@
'schema' => [
'type' => 'object',
'properties' => [
+ 'requestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2'],
+ 'success' => ['description' => '是否成功。', 'type' => 'boolean', 'example' => 'true'],
+ 'code' => ['description' => '状态码。', 'type' => 'string', 'example' => '200'],
+ 'message' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'The input parameter data is not valid. order_storage_company_num component not found'],
+ 'httpStatusCode' => ['description' => 'HTTP状态码。', 'type' => 'string', 'example' => '200'],
'resultObject' => [
'description' => '返回对象。',
'type' => 'array',
@@ -9742,82 +5708,62 @@
'description' => '返回对象。',
'type' => 'object',
'properties' => [
- 'sceneName' => [
- 'description' => '场景名称。',
- 'type' => 'string',
- 'example' => '注册风险识别服务',
- ],
- 'serverName' => [
- 'description' => '服务名称。',
- 'type' => 'string',
- 'example' => 'account_abuse',
- ],
- 'commonRuleCount' => [
- 'description' => '通用策略数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'customRuleCount' => [
- 'description' => '定制策略数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'eventCode' => [
- 'description' => '事件编码。',
- 'type' => 'string',
- 'example' => 'de_avypfd8253',
+ 'eventCode' => ['description' => '事件编码。', 'type' => 'string', 'example' => 'de_aszbjb7236'],
+ 'eventName' => ['description' => '事件名称。', 'type' => 'string', 'example' => '注册风险'],
+ 'eventType' => ['description' => '事件类型。', 'type' => 'string', 'example' => 'MAIN'],
+ 'createType' => ['description' => '创建类型。', 'type' => 'string', 'example' => 'MORMAL'],
+ 'children' => [
+ 'description' => '子字段列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '子字段列表。',
+ 'type' => 'object',
+ 'properties' => [
+ 'eventCode' => ['description' => '事件编码。', 'type' => 'string', 'example' => 'de_aamexg3015'],
+ 'eventName' => ['description' => '事件名称。', 'type' => 'string', 'example' => '注册风险旁路'],
+ 'eventType' => ['description' => '事件类型。', 'type' => 'string', 'example' => 'BYPASS'],
+ 'createType' => ['description' => '创建类型。', 'type' => 'string', 'example' => 'NORMAL'],
+ ],
+ ],
],
],
],
],
- 'totalItem' => [
- 'description' => '总条数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '6',
- ],
- 'totalPage' => [
- 'description' => '总页数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '9',
- ],
- 'currentPage' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'pageSize' => [
- 'description' => '每页大小,默认值为10。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": [\\n {\\n \\"sceneName\\": \\"注册风险识别服务\\",\\n \\"serverName\\": \\"account_abuse\\",\\n \\"commonRuleCount\\": 10,\\n \\"customRuleCount\\": 10,\\n \\"eventCode\\": \\"de_avypfd8253\\"\\n }\\n ],\\n \\"totalItem\\": 6,\\n \\"totalPage\\": 9,\\n \\"currentPage\\": 1,\\n \\"pageSize\\": 10,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '场景列表',
- ],
- 'QueryAuthRuleDetailByRuleId' => [
- 'summary' => '白盒化策略详情查询。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '事件名称code映射列表',
+ 'summary' => '事件列表查询。',
+ 'changeSet' => [
+ ['createdAt' => '2022-12-27T11:32:41.000Z', 'description' => '响应参数发生变更'],
+ ['createdAt' => '2022-05-11T07:23:08.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeAllEventNameAndCode'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\",\\n \\"success\\": true,\\n \\"code\\": \\"200\\",\\n \\"message\\": \\"The input parameter data is not valid. order_storage_company_num component not found\\",\\n \\"httpStatusCode\\": \\"200\\",\\n \\"resultObject\\": [\\n {\\n \\"eventCode\\": \\"de_aszbjb7236\\",\\n \\"eventName\\": \\"注册风险\\",\\n \\"eventType\\": \\"MAIN\\",\\n \\"createType\\": \\"MORMAL\\",\\n \\"children\\": [\\n {\\n \\"eventCode\\": \\"de_aamexg3015\\",\\n \\"eventName\\": \\"注册风险旁路\\",\\n \\"eventType\\": \\"BYPASS\\",\\n \\"createType\\": \\"NORMAL\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'DescribeAllRootVariable' => [
+ 'summary' => '自定义表达式测试时,展示所有的根变量。',
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -9825,373 +5771,215 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREsafBCGX2Z',
- ],
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
+ 'name' => 'SourceIp',
+ 'in' => 'query',
+ 'schema' => ['description' => '请求源IP。无需填写,系统自动获取。', 'type' => 'string', 'required' => false, 'example' => '61.169.104.202'],
+ ],
+ [
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
+ ],
+ [
+ 'name' => 'id',
+ 'in' => 'query',
+ 'schema' => ['description' => '变量ID。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '2557'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'ruleId',
+ 'name' => 'eventCode',
'in' => 'query',
- 'schema' => [
- 'description' => '策略ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '102224',
- ],
+ 'schema' => ['description' => '事件编码。', 'type' => 'string', 'required' => false, 'example' => 'de_arqbuy7206'],
],
[
- 'name' => 'consoleRuleId',
+ 'name' => 'nativeVariableIds',
'in' => 'query',
- 'schema' => [
- 'description' => '策略主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '6843',
- ],
+ 'schema' => ['description' => '事件字段列表。', 'type' => 'string', 'required' => false, 'example' => '[106780]', 'maxItems' => 201],
],
[
- 'name' => 'ruleVersionId',
+ 'name' => 'deviceVariableIds',
'in' => 'query',
- 'schema' => [
- 'description' => '策略版本号主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '11519',
- ],
+ 'schema' => ['description' => '设备变量列表。', 'type' => 'string', 'required' => false, 'example' => '[180]', 'maxItems' => 201],
+ ],
+ [
+ 'name' => 'expressionVariableIds',
+ 'in' => 'query',
+ 'schema' => ['description' => '自定义变量列表。', 'type' => 'string', 'required' => false, 'example' => '[6780]', 'maxItems' => 201],
+ ],
+ [
+ 'name' => 'velocityVariableIds',
+ 'in' => 'query',
+ 'schema' => ['description' => '自定义累计变量。', 'type' => 'string', 'required' => false, 'example' => '[780]', 'maxItems' => 201],
+ ],
+ [
+ 'name' => 'queryVariableIds',
+ 'in' => 'query',
+ 'schema' => ['description' => '自定义查询变量。', 'type' => 'string', 'required' => false, 'example' => '[2678]'],
],
],
'responses' => [
200 => [
+ 'headers' => [],
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response。',
'type' => 'object',
'properties' => [
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
'resultObject' => [
'description' => '返回对象。',
- 'type' => 'object',
- 'properties' => [
- 'consoleRuleId' => [
- 'description' => '策略主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '6843',
- ],
- 'ruleId' => [
- 'description' => '策略ID。',
- 'type' => 'string',
- 'example' => '102224',
- ],
- 'ruleVersionId' => [
- 'description' => '策略版本号主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '11519',
- ],
- 'gmtCreate' => [
- 'description' => '创建时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1621578648000',
- ],
- 'gmtModified' => [
- 'description' => '修改时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1565701886000',
- ],
- 'version' => [
- 'description' => '版本号。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'eventName' => [
- 'description' => '事件名称。',
- 'type' => 'string',
- 'example' => '注册风险',
- ],
- 'eventCode' => [
- 'description' => '事件编码。',
- 'type' => 'string',
- 'example' => 'de_aszbjb7236',
- ],
- 'ruleName' => [
- 'description' => '策略名称。',
- 'type' => 'string',
- 'example' => '营销风险识别',
- ],
- 'ruleStatus' => [
- 'description' => '策略状态。',
- 'type' => 'string',
- 'example' => 'RUNNING',
- ],
- 'memo' => [
- 'description' => '描述。',
- 'type' => 'string',
- 'example' => '描述',
- ],
- 'ruleExpressions' => [
- 'description' => '规则表达式。',
- 'type' => 'string',
- 'example' => '[{\\"expressionName\\":\\"同一设备同一IP上的注册用户数\\",\\"itemId\\":1,\\"left\\":{\\"name\\":\\"dK7EXHr490f\\"},\\"operatorCode\\":\\"gte\\",\\"operatorName\\":\\"大于等于\\",\\"right\\":{\\"fieldValue\\":\\"2\\"}}]',
- ],
- 'logicExpression' => [
- 'description' => '执行逻辑。',
- 'type' => 'string',
- 'example' => '1&2',
- ],
- 'ruleActions' => [
- 'description' => '输出动作。',
- 'type' => 'string',
- 'example' => '[{\\"inputs\\":[\\"unusualBrand\\"],\\"name\\":\\"__addDeTags__\\",\\"actionType\\":\\"TAG\\",\\"outputType\\":\\"const\\"}]',
- ],
- 'ruleActionMap' => [
- 'description' => '返回的规则动作结构体。',
- 'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'string',
- 'description' => '返回的规则动作结构体。',
- 'example' => '{'."\n"
- .' "VARIABLE": ['."\n"
- .' {'."\n"
- .' "actionType": "VARIABLE",'."\n"
- .' "code": "deCallCipProcessorService(\\"nickname_detection\\", \\"\\")?.labels",'."\n"
- .' "sourceType": "SAF",'."\n"
- .' "inputs": ['."\n"
- .' "labels"'."\n"
- .' ],'."\n"
- .' "name": "__nickname_detection_labels__",'."\n"
- .' "description": "文本审核_增强版_用户昵称_标签",'."\n"
- .' "type": "PUB_SERVICE",'."\n"
- .' "title": "[底层]文本审核_增强版_用户昵称_标签",'."\n"
- .' "fieldType": "STRING"'."\n"
- .' },'."\n"
- .' {'."\n"
- .' "actionType": "VARIABLE",'."\n"
- .' "code": "deCallCipProcessorService(\\"nickname_detection\\", \\"\\")?.reason?.riskTips",'."\n"
- .' "sourceType": "SAF",'."\n"
- .' "inputs": ['."\n"
- .' "riskTips"'."\n"
- .' ],'."\n"
- .' "name": "__nickname_detection_reason_riskTips__",'."\n"
- .' "description": "文本审核_增强版_用户昵称_细分标签",'."\n"
- .' "type": "PUB_SERVICE",'."\n"
- .' "title": "[底层]文本审核_增强版_用户昵称_细分标签",'."\n"
- .' "fieldType": "STRING"'."\n"
- .' },'."\n"
- .' {'."\n"
- .' "actionType": "VARIABLE",'."\n"
- .' "code": "deCallCipProcessorService(\\"nickname_detection\\", \\"\\")?.reason?.adNums",'."\n"
- .' "sourceType": "SAF",'."\n"
- .' "inputs": ['."\n"
- .' "adNums"'."\n"
- .' ],'."\n"
- .' "name": "__nickname_detection_reason_adNums__",'."\n"
- .' "description": "文本审核_增强版_用户昵称_命中广告号",'."\n"
- .' "type": "PUB_SERVICE",'."\n"
- .' "title": "[底层]文本审核_增强版_用户昵称_命中广告号",'."\n"
- .' "fieldType": "STRING"'."\n"
- .' },'."\n"
- .' {'."\n"
- .' "actionType": "VARIABLE",'."\n"
- .' "code": "deCallCipProcessorService(\\"nickname_detection\\", \\"\\")?.reason?.riskWords",'."\n"
- .' "sourceType": "SAF",'."\n"
- .' "inputs": ['."\n"
- .' "riskWords"'."\n"
- .' ],'."\n"
- .' "name": "__nickname_detection_reason_riskWords__",'."\n"
- .' "description": "文本审核_增强版_用户昵称_命中风险片段",'."\n"
- .' "type": "PUB_SERVICE",'."\n"
- .' "title": "[底层]文本审核_增强版_用户昵称_命中风险片段",'."\n"
- .' "fieldType": "STRING"'."\n"
- .' }'."\n"
- .' ]'."\n"
- .' }',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '返回对象。',
+ 'type' => 'object',
+ 'properties' => [
+ 'id' => ['description' => '变量ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '497'],
+ 'title' => ['description' => '标题。', 'type' => 'string', 'example' => '年龄'],
+ 'name' => ['description' => '变量名称。', 'type' => 'string', 'example' => 'age'],
+ 'description' => ['description' => '变量描述。', 'type' => 'string', 'example' => '年龄'],
+ 'type' => ['description' => '变量类型。', 'type' => 'string', 'example' => 'NATIVE'],
+ 'inputs' => ['description' => '变量的输入。', 'type' => 'string', 'example' => 'age'],
+ 'fieldType' => ['description' => '字段类型。', 'type' => 'string', 'example' => 'STRING'],
+ 'code' => ['description' => '变量code。', 'type' => 'string', 'example' => 'age'],
+ 'displayType' => ['description' => '展示类型以及分组标签。', 'type' => 'string', 'example' => 'NATIVE'],
+ 'favoriteFlag' => ['description' => '收藏标识。', 'type' => 'boolean', 'example' => 'true'],
+ 'fieldRank' => ['description' => '字段排序。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'inputFieldType' => ['description' => '参数的输入类型。', 'type' => 'string', 'example' => 'STRING'],
+ 'outputThreshold' => [
+ 'description' => '检查框的最大截面积。',
+ 'type' => 'object',
+ 'properties' => [
+ 'minValue' => ['description' => '最小值。', 'type' => 'number', 'format' => 'double', 'example' => '10'],
+ 'maxValue' => ['description' => '最大值。', 'type' => 'number', 'format' => 'double', 'example' => '1000'],
+ ],
],
- ],
- 'authType' => [
- 'description' => '授权类型。',
- 'type' => 'string',
- 'example' => 'all',
- ],
- 'authUsers' => [
- 'description' => '授权用户uid。',
- 'type' => 'string',
- 'example' => '*',
- ],
- 'templateType' => [
- 'description' => '模版类型。',
- 'type' => 'string',
- 'example' => 'PUB_SERVICE',
- ],
- 'priority' => [
- 'description' => '策略优先级,数字越大优先级越高。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'auditId' => [
- 'description' => '审批ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '225',
- ],
- 'ruleAuthType' => [
- 'description' => '策略类型。',
- 'type' => 'string',
- 'example' => 'WHITE_BOX',
- ],
- 'ruleType' => [
- 'description' => '策略类型。',
- 'type' => 'string',
- 'example' => 'DEFAULT',
+ 'sourceType' => ['description' => '数据来源。', 'type' => 'string', 'example' => 'SAF'],
],
],
],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": {\\n \\"consoleRuleId\\": 6843,\\n \\"ruleId\\": \\"102224\\",\\n \\"ruleVersionId\\": 11519,\\n \\"gmtCreate\\": 1621578648000,\\n \\"gmtModified\\": 1565701886000,\\n \\"version\\": 1,\\n \\"eventName\\": \\"注册风险\\",\\n \\"eventCode\\": \\"de_aszbjb7236\\",\\n \\"ruleName\\": \\"营销风险识别\\",\\n \\"ruleStatus\\": \\"RUNNING\\",\\n \\"memo\\": \\"描述\\",\\n \\"ruleExpressions\\": \\"[{\\\\\\\\\\\\\\"expressionName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"同一设备同一IP上的注册用户数\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"itemId\\\\\\\\\\\\\\":1,\\\\\\\\\\\\\\"left\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"dK7EXHr490f\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"operatorCode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"gte\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"operatorName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"大于等于\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"right\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"fieldValue\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"2\\\\\\\\\\\\\\"}}]\\",\\n \\"logicExpression\\": \\"1&2\\",\\n \\"ruleActions\\": \\"[{\\\\\\\\\\\\\\"inputs\\\\\\\\\\\\\\":[\\\\\\\\\\\\\\"unusualBrand\\\\\\\\\\\\\\"],\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"__addDeTags__\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"actionType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"TAG\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"outputType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"const\\\\\\\\\\\\\\"}]\\",\\n \\"ruleActionMap\\": {\\n \\"key\\": \\"{\\\\n \\\\\\"VARIABLE\\\\\\": [\\\\n {\\\\n \\\\\\"actionType\\\\\\": \\\\\\"VARIABLE\\\\\\",\\\\n \\\\\\"code\\\\\\": \\\\\\"deCallCipProcessorService(\\\\\\\\\\\\\\"nickname_detection\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"\\\\\\\\\\\\\\")?.labels\\\\\\",\\\\n \\\\\\"sourceType\\\\\\": \\\\\\"SAF\\\\\\",\\\\n \\\\\\"inputs\\\\\\": [\\\\n \\\\\\"labels\\\\\\"\\\\n ],\\\\n \\\\\\"name\\\\\\": \\\\\\"__nickname_detection_labels__\\\\\\",\\\\n \\\\\\"description\\\\\\": \\\\\\"文本审核_增强版_用户昵称_标签\\\\\\",\\\\n \\\\\\"type\\\\\\": \\\\\\"PUB_SERVICE\\\\\\",\\\\n \\\\\\"title\\\\\\": \\\\\\"[底层]文本审核_增强版_用户昵称_标签\\\\\\",\\\\n \\\\\\"fieldType\\\\\\": \\\\\\"STRING\\\\\\"\\\\n },\\\\n {\\\\n \\\\\\"actionType\\\\\\": \\\\\\"VARIABLE\\\\\\",\\\\n \\\\\\"code\\\\\\": \\\\\\"deCallCipProcessorService(\\\\\\\\\\\\\\"nickname_detection\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"\\\\\\\\\\\\\\")?.reason?.riskTips\\\\\\",\\\\n \\\\\\"sourceType\\\\\\": \\\\\\"SAF\\\\\\",\\\\n \\\\\\"inputs\\\\\\": [\\\\n \\\\\\"riskTips\\\\\\"\\\\n ],\\\\n \\\\\\"name\\\\\\": \\\\\\"__nickname_detection_reason_riskTips__\\\\\\",\\\\n \\\\\\"description\\\\\\": \\\\\\"文本审核_增强版_用户昵称_细分标签\\\\\\",\\\\n \\\\\\"type\\\\\\": \\\\\\"PUB_SERVICE\\\\\\",\\\\n \\\\\\"title\\\\\\": \\\\\\"[底层]文本审核_增强版_用户昵称_细分标签\\\\\\",\\\\n \\\\\\"fieldType\\\\\\": \\\\\\"STRING\\\\\\"\\\\n },\\\\n {\\\\n \\\\\\"actionType\\\\\\": \\\\\\"VARIABLE\\\\\\",\\\\n \\\\\\"code\\\\\\": \\\\\\"deCallCipProcessorService(\\\\\\\\\\\\\\"nickname_detection\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"\\\\\\\\\\\\\\")?.reason?.adNums\\\\\\",\\\\n \\\\\\"sourceType\\\\\\": \\\\\\"SAF\\\\\\",\\\\n \\\\\\"inputs\\\\\\": [\\\\n \\\\\\"adNums\\\\\\"\\\\n ],\\\\n \\\\\\"name\\\\\\": \\\\\\"__nickname_detection_reason_adNums__\\\\\\",\\\\n \\\\\\"description\\\\\\": \\\\\\"文本审核_增强版_用户昵称_命中广告号\\\\\\",\\\\n \\\\\\"type\\\\\\": \\\\\\"PUB_SERVICE\\\\\\",\\\\n \\\\\\"title\\\\\\": \\\\\\"[底层]文本审核_增强版_用户昵称_命中广告号\\\\\\",\\\\n \\\\\\"fieldType\\\\\\": \\\\\\"STRING\\\\\\"\\\\n },\\\\n {\\\\n \\\\\\"actionType\\\\\\": \\\\\\"VARIABLE\\\\\\",\\\\n \\\\\\"code\\\\\\": \\\\\\"deCallCipProcessorService(\\\\\\\\\\\\\\"nickname_detection\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"\\\\\\\\\\\\\\")?.reason?.riskWords\\\\\\",\\\\n \\\\\\"sourceType\\\\\\": \\\\\\"SAF\\\\\\",\\\\n \\\\\\"inputs\\\\\\": [\\\\n \\\\\\"riskWords\\\\\\"\\\\n ],\\\\n \\\\\\"name\\\\\\": \\\\\\"__nickname_detection_reason_riskWords__\\\\\\",\\\\n \\\\\\"description\\\\\\": \\\\\\"文本审核_增强版_用户昵称_命中风险片段\\\\\\",\\\\n \\\\\\"type\\\\\\": \\\\\\"PUB_SERVICE\\\\\\",\\\\n \\\\\\"title\\\\\\": \\\\\\"[底层]文本审核_增强版_用户昵称_命中风险片段\\\\\\",\\\\n \\\\\\"fieldType\\\\\\": \\\\\\"STRING\\\\\\"\\\\n }\\\\n ]\\\\n }\\"\\n },\\n \\"authType\\": \\"all\\",\\n \\"authUsers\\": \\"*\\",\\n \\"templateType\\": \\"PUB_SERVICE\\",\\n \\"priority\\": 10,\\n \\"auditId\\": 225,\\n \\"ruleAuthType\\": \\"WHITE_BOX\\",\\n \\"ruleType\\": \\"DEFAULT\\"\\n },\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '白盒化策略详情查询',
- ],
- 'UpdateAuthRule' => [
- 'summary' => '修改授权策略。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '自定义表达式测试时,展示所有的根变量',
+ 'changeSet' => [
+ ['createdAt' => '2021-11-03T12:17:49.000Z', 'description' => '请求参数发生变更'],
+ ['createdAt' => '2021-10-28T08:19:10.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeAllRootVariable'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"resultObject\\": [\\n {\\n \\"id\\": 497,\\n \\"title\\": \\"年龄\\",\\n \\"name\\": \\"age\\",\\n \\"description\\": \\"年龄\\",\\n \\"type\\": \\"NATIVE\\",\\n \\"inputs\\": \\"age\\",\\n \\"fieldType\\": \\"STRING\\",\\n \\"code\\": \\"age\\",\\n \\"displayType\\": \\"NATIVE\\",\\n \\"favoriteFlag\\": true,\\n \\"fieldRank\\": 1,\\n \\"inputFieldType\\": \\"STRING\\",\\n \\"outputThreshold\\": {\\n \\"minValue\\": 10,\\n \\"maxValue\\": 1000\\n },\\n \\"sourceType\\": \\"SAF\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'DescribeAnalysisColumnFieldList' => [
+ 'summary' => '展示所有字段。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
+ 'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'],
],
- [
- 'name' => 'ruleExpressions',
- 'in' => 'query',
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '表达式。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '[{\\"expressionName\\":\\"设备token不为空\\",\\"itemId\\":1,\\"left\\":{\\"name\\":\\"deviceToken\\"},\\"operatorCode\\":\\"isNotEmptyWrapper\\",\\"operatorName\\":\\"不为空\\"}]',
+ 'type' => 'object',
+ 'properties' => [
+ 'resultObject' => ['description' => '返回对象。', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ ],
+ 'description' => '',
],
],
- [
- 'name' => 'consoleRuleId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '策略主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '7088',
- ],
+ ],
+ 'title' => '事件分析查询所有字段',
+ 'changeSet' => [
+ ['createdAt' => '2021-12-22T09:23:30.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeAnalysisColumnFieldList'],
],
+ ],
+ 'ramActions' => [
[
- 'name' => 'ruleId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '策略ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '101544',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeAnalysisColumnList' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'ruleVersionId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '策略版本号主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '5190',
- ],
+ 'AK' => [],
],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'get'],
+ 'parameters' => [
[
- 'name' => 'ruleActions',
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '策略输出动作。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[{\\"inputs\\":[\\"auto_accselist\\"],\\"name\\":\\"__addDeTags__\\",\\"actionType\\":\\"TAG\\",\\"outputType\\":\\"const\\"}]',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'eventCode',
+ 'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '事件编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'de_afghcf6411',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
@@ -10201,104 +5989,155 @@
'properties' => [
'resultObject' => [
'description' => '返回对象。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '返回对象。',
+ 'type' => 'object',
+ 'properties' => [
+ 'variableType' => ['description' => '变量类型。', 'type' => 'string', 'example' => 'NATIVE'],
+ 'variableName' => ['description' => '变量名称。', 'type' => 'string', 'example' => 'age'],
+ 'variableTitle' => ['description' => '变量名称。', 'type' => 'string', 'example' => '年龄'],
+ 'eventCode' => ['description' => '事件编码', 'type' => 'string', 'example' => 'de_aszbjb7236'],
+ 'eventName' => ['description' => '事件名称。', 'type' => 'string', 'example' => '注册风险'],
+ 'isDefault' => ['description' => '是否为默认列。', 'type' => 'boolean', 'example' => 'true'],
+ ],
+ ],
],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '修改授权策略',
- ],
- 'DescribeHitRuleTrend' => [
- 'summary' => '策略命中趋势。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '事件分析查询自定义列',
+ 'summary' => '查询自定义列。',
+ 'changeSet' => [
+ ['createdAt' => '2021-12-22T09:23:29.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeAnalysisColumnList'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": [\\n {\\n \\"variableType\\": \\"NATIVE\\",\\n \\"variableName\\": \\"age\\",\\n \\"variableTitle\\": \\"年龄\\",\\n \\"eventCode\\": \\"de_aszbjb7236\\",\\n \\"eventName\\": \\"注册风险\\",\\n \\"isDefault\\": true\\n }\\n ],\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeAnalysisConditionFavoriteList' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
+ 'type' => 'object',
+ 'properties' => [
+ 'resultObject' => [
+ 'description' => '返回对象。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '返回对象。',
+ 'type' => 'object',
+ 'properties' => [
+ 'id' => ['description' => '主键ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '497'],
+ 'name' => ['description' => '条件名称。', 'type' => 'string', 'example' => '查询条件1'],
+ 'eventCodes' => ['description' => '事件编码。', 'type' => 'string', 'example' => 'de_ahespg8137'],
+ 'eventBeginTime' => ['description' => '事件开始时间戳。', 'type' => 'integer', 'format' => 'int64', 'example' => '1752076800000'],
+ 'eventEndTime' => ['description' => '事件结束时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1753891199000'],
+ 'condition' => ['description' => '条件值。', 'type' => 'string', 'example' => '{"currentId":1,"deepCount":0,"list":[{"currentId":2,"deepCount":1,"left":{"code":"accountId","fieldType":"STRING","functionName":"","hasRightVariable":false,"name":"accountId"},"operatorCode":"isNotEmptyWrapper","parentId":1,"right":{"code":"\'A\\nB\\nC\'","functionName":"","name":"","rightVariableType":"constant"}}],"parentId":0,"relationship":"and"}'],
+ 'type' => ['description' => '类型,BASIC:基础查询,ADVANCE:高级查询,BATCH:批量查询。', 'type' => 'string', 'example' => 'BASIC'],
+ 'fieldName' => ['description' => '字段名称。', 'type' => 'string', 'example' => 'age'],
+ 'fieldValue' => ['description' => '字段值。', 'type' => 'string', 'example' => '20'],
+ ],
+ ],
+ ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ ],
+ 'description' => '',
],
],
+ ],
+ 'title' => '条件查询列表',
+ 'summary' => '查询条件列表。',
+ 'changeSet' => [
+ ['createdAt' => '2021-12-22T09:23:29.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeAnalysisConditionFavoriteList'],
+ ],
+ ],
+ 'ramActions' => [
[
- 'name' => 'eventCodes',
- 'in' => 'query',
- 'schema' => [
- 'description' => '事件编码,多个用英文逗号(,)分隔。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'de_ahqhsw7665,de_agbzfi5134',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": [\\n {\\n \\"id\\": 497,\\n \\"name\\": \\"查询条件1\\",\\n \\"eventCodes\\": \\"de_ahespg8137\\",\\n \\"eventBeginTime\\": 1752076800000,\\n \\"eventEndTime\\": 1753891199000,\\n \\"condition\\": \\"{\\\\\\"currentId\\\\\\":1,\\\\\\"deepCount\\\\\\":0,\\\\\\"list\\\\\\":[{\\\\\\"currentId\\\\\\":2,\\\\\\"deepCount\\\\\\":1,\\\\\\"left\\\\\\":{\\\\\\"code\\\\\\":\\\\\\"accountId\\\\\\",\\\\\\"fieldType\\\\\\":\\\\\\"STRING\\\\\\",\\\\\\"functionName\\\\\\":\\\\\\"\\\\\\",\\\\\\"hasRightVariable\\\\\\":false,\\\\\\"name\\\\\\":\\\\\\"accountId\\\\\\"},\\\\\\"operatorCode\\\\\\":\\\\\\"isNotEmptyWrapper\\\\\\",\\\\\\"parentId\\\\\\":1,\\\\\\"right\\\\\\":{\\\\\\"code\\\\\\":\\\\\\"\'A\\\\\\\\nB\\\\\\\\nC\'\\\\\\",\\\\\\"functionName\\\\\\":\\\\\\"\\\\\\",\\\\\\"name\\\\\\":\\\\\\"\\\\\\",\\\\\\"rightVariableType\\\\\\":\\\\\\"constant\\\\\\"}}],\\\\\\"parentId\\\\\\":0,\\\\\\"relationship\\\\\\":\\\\\\"and\\\\\\"}\\",\\n \\"type\\": \\"BASIC\\",\\n \\"fieldName\\": \\"age\\",\\n \\"fieldValue\\": \\"20\\"\\n }\\n ],\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeAnalysisExportTaskDownloadUrl' => [
+ 'summary' => '下载查询结果。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'beginTime',
- 'in' => 'query',
- 'schema' => [
- 'description' => '开始时间,精确到毫秒(ms)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1737101348000',
- ],
+ 'AK' => [],
],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'get'],
+ 'parameters' => [
[
- 'name' => 'endTime',
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '结束时间,精确到毫秒(ms)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1746669075000',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'ruleStatus',
+ 'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '策略状态。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'DRAFT',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
@@ -10306,117 +6145,49 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'requestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2',
- ],
- 'success' => [
- 'description' => '本次操作是否成功,true表示成功。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'code' => [
- 'description' => '状态码。',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'message' => [
- 'description' => '错误详情。',
- 'type' => 'string',
- 'example' => 'The input parameter data is not valid. order_storage_company_num component not found',
- ],
- 'httpStatusCode' => [
- 'description' => 'HTTP状态码。',
- 'type' => 'string',
- 'example' => '200',
- ],
'resultObject' => [
'description' => '返回对象。',
'type' => 'object',
'properties' => [
- 'xaxis' => [
- 'description' => '横坐标数据。',
- 'type' => 'object',
- 'properties' => [
- 'data' => [
- 'description' => '返回数据对象。',
- 'type' => 'array',
- 'items' => [
- 'description' => '返回数据对象。',
- 'type' => 'string',
- 'example' => '['."\n"
- .' "2025-07-01",'."\n"
- .' "2025-07-02",'."\n"
- .' "2025-07-03",'."\n"
- .' "2025-07-04",'."\n"
- .' "2025-07-05",'."\n"
- .' "2025-07-06",'."\n"
- .' "2025-07-07",'."\n"
- .' "2025-07-08",'."\n"
- .' "2025-07-09",'."\n"
- .' "2025-07-10",'."\n"
- .' "2025-07-11"'."\n"
- .' ]',
- ],
- ],
- ],
- ],
- 'series' => [
- 'description' => '图表数据。',
- 'type' => 'array',
- 'items' => [
- 'description' => '图表数据。',
- 'type' => 'object',
- 'properties' => [
- 'name' => [
- 'description' => '展示title。',
- 'type' => 'string',
- 'example' => '策略name',
- ],
- 'data' => [
- 'description' => '返回数据对象。',
- 'type' => 'array',
- 'items' => [
- 'description' => '返回数据对象。',
- 'type' => 'object',
- 'properties' => [
- 'num' => [
- 'description' => '数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '50',
- ],
- 'scale' => [
- 'description' => '比例。',
- 'type' => 'string',
- 'example' => '10.00%',
- ],
- ],
- ],
- ],
- ],
- ],
- ],
+ 'downloadFileUrl' => ['description' => '下载地址。', 'type' => 'string', 'example' => 'https://xxxxx-oss-xxxxx.xxxxxx.aliyuncs.com/xx/xx/xxx/xxxxxx.csv?Expires=1753433384&OSSAccessKeyId=xxxxxxxxx&Signature=%2F%xxxxxxxxxxxx%3D'],
+ 'status' => ['description' => '任务状态。', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'executeTime' => ['description' => '下载执行时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1753891199000'],
],
],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\",\\n \\"success\\": true,\\n \\"code\\": \\"200\\",\\n \\"message\\": \\"The input parameter data is not valid. order_storage_company_num component not found\\",\\n \\"httpStatusCode\\": \\"200\\",\\n \\"resultObject\\": {\\n \\"xaxis\\": {\\n \\"data\\": [\\n \\"[\\\\n \\\\\\"2025-07-01\\\\\\",\\\\n \\\\\\"2025-07-02\\\\\\",\\\\n \\\\\\"2025-07-03\\\\\\",\\\\n \\\\\\"2025-07-04\\\\\\",\\\\n \\\\\\"2025-07-05\\\\\\",\\\\n \\\\\\"2025-07-06\\\\\\",\\\\n \\\\\\"2025-07-07\\\\\\",\\\\n \\\\\\"2025-07-08\\\\\\",\\\\n \\\\\\"2025-07-09\\\\\\",\\\\n \\\\\\"2025-07-10\\\\\\",\\\\n \\\\\\"2025-07-11\\\\\\"\\\\n ]\\"\\n ]\\n },\\n \\"series\\": [\\n {\\n \\"name\\": \\"策略name\\",\\n \\"data\\": [\\n {\\n \\"num\\": 50,\\n \\"scale\\": \\"10.00%\\"\\n }\\n ]\\n }\\n ]\\n }\\n}","type":"json"}]',
- 'title' => '策略命中趋势',
- ],
- 'DescribeDecisionResultTrend' => [
- 'summary' => '决策结果波动趋势。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '下载查询结果',
+ 'changeSet' => [
+ ['createdAt' => '2021-12-22T09:23:29.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeAnalysisExportTaskDownloadUrl'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": {\\n \\"downloadFileUrl\\": \\"https://xxxxx-oss-xxxxx.xxxxxx.aliyuncs.com/xx/xx/xxx/xxxxxx.csv?Expires=1753433384&OSSAccessKeyId=xxxxxxxxx&Signature=%2F%xxxxxxxxxxxx%3D\\",\\n \\"status\\": \\"SUCCESS\\",\\n \\"executeTime\\": 1753891199000\\n },\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeApi' => [
+ 'summary' => '得到api详情。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -10425,61 +6196,36 @@
'operationType' => 'read',
'systemTags' => [
'operationType' => 'get',
+ 'abilityTreeCode' => '136083',
+ 'abilityTreeNodes' => ['FEATUREsafT73ZWM'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'regId',
+ 'name' => 'apiRegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '地域id。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou、cn-shanghai'],
],
[
- 'name' => 'eventCodes',
+ 'name' => 'apiId',
'in' => 'query',
- 'schema' => [
- 'description' => '事件code。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'de_ahqhsw7665,de_agbzfi5134',
- ],
+ 'schema' => ['description' => 'api唯一id。', 'type' => 'string', 'required' => true, 'example' => '33'],
],
[
- 'name' => 'beginTime',
+ 'name' => 'apiType',
'in' => 'query',
- 'schema' => [
- 'description' => '开始时间戳,单位毫秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1737101348000',
- ],
+ 'schema' => ['description' => 'api类型', 'type' => 'string', 'required' => true, 'example' => 'SELF'],
],
[
- 'name' => 'endTime',
+ 'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '结束时间,精确到毫秒(ms)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1747101348000',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
@@ -10487,180 +6233,130 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'requestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2',
- ],
- 'success' => [
- 'description' => '请求是否成功。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'code' => [
- 'description' => '状态码。',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'message' => [
- 'description' => '错误详情。',
- 'type' => 'string',
- 'example' => 'The input parameter data is not valid. order_storage_company_num component not found',
- ],
- 'httpStatusCode' => [
- 'description' => 'HTTP状态码。',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'resultObject' => [
- 'description' => '返回对象。',
- 'type' => 'object',
- 'properties' => [
- 'xaxis' => [
- 'description' => '横坐标数据。',
- 'type' => 'object',
- 'properties' => [
- 'data' => [
- 'description' => 'xaxis数据结构。',
- 'type' => 'array',
- 'items' => [
- 'description' => 'xaxis数据结构。',
- 'type' => 'string',
- 'example' => '['."\n"
- .' "2025-07-01",'."\n"
- .' "2025-07-02",'."\n"
- .' "2025-07-03",'."\n"
- .' "2025-07-04",'."\n"
- .' "2025-07-05",'."\n"
- .' "2025-07-06",'."\n"
- .' "2025-07-07",'."\n"
- .' "2025-07-08",'."\n"
- .' "2025-07-09",'."\n"
- .' "2025-07-10"'."\n"
- .' ]',
- ],
- ],
- ],
- ],
- 'series' => [
- 'description' => '图表数据。',
- 'type' => 'array',
- 'items' => [
- 'description' => '图表数据。',
- 'type' => 'object',
- 'properties' => [
- 'name' => [
- 'description' => '名称。',
- 'type' => 'string',
- 'example' => 'IpTag_FFF',
- ],
- 'data' => [
- 'description' => '返回数据对象。',
- 'type' => 'array',
- 'items' => [
- 'description' => '返回数据对象。',
- 'type' => 'object',
- 'properties' => [
- 'num' => [
- 'description' => '数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'scale' => [
- 'description' => '比例。',
- 'type' => 'string',
- 'example' => '5.56%',
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- ],
+ 'resultObject' => ['description' => '返回对象', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\",\\n \\"success\\": true,\\n \\"code\\": \\"200\\",\\n \\"message\\": \\"The input parameter data is not valid. order_storage_company_num component not found\\",\\n \\"httpStatusCode\\": \\"200\\",\\n \\"resultObject\\": {\\n \\"xaxis\\": {\\n \\"data\\": [\\n \\"[\\\\n \\\\\\"2025-07-01\\\\\\",\\\\n \\\\\\"2025-07-02\\\\\\",\\\\n \\\\\\"2025-07-03\\\\\\",\\\\n \\\\\\"2025-07-04\\\\\\",\\\\n \\\\\\"2025-07-05\\\\\\",\\\\n \\\\\\"2025-07-06\\\\\\",\\\\n \\\\\\"2025-07-07\\\\\\",\\\\n \\\\\\"2025-07-08\\\\\\",\\\\n \\\\\\"2025-07-09\\\\\\",\\\\n \\\\\\"2025-07-10\\\\\\"\\\\n ]\\"\\n ]\\n },\\n \\"series\\": [\\n {\\n \\"name\\": \\"IpTag_FFF\\",\\n \\"data\\": [\\n {\\n \\"num\\": 10,\\n \\"scale\\": \\"5.56%\\"\\n }\\n ]\\n }\\n ]\\n }\\n}","type":"json"}]',
- 'title' => '决策结果波动趋势',
- ],
- 'DescribeHighRiskPieChart' => [
- 'summary' => '风险地图概览图表(饼图)。',
- 'methods' => [
- 'post',
- 'get',
+ 'eventInfo' => [
+ 'enable' => false,
+ 'eventNames' => [],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'title' => '得到api详情',
+ 'changeSet' => [
+ ['createdAt' => '2024-09-23T08:23:52.000Z', 'description' => '响应参数发生变更'],
+ ['createdAt' => '2022-05-11T07:11:26.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeApi'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeApiGroups' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
+ ],
+ [
+ 'name' => 'apiRegionId',
+ 'in' => 'query',
+ 'schema' => ['description' => '地域id。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'],
],
[
'name' => 'regId',
'in' => 'query',
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
+ 'type' => 'object',
+ 'properties' => [
+ 'resultObject' => ['description' => '返回对象', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ ],
+ 'description' => '',
],
],
+ ],
+ 'title' => '得到api分组包括用户购买的以及自定义的',
+ 'summary' => '得到api分组包括用户购买的以及自定义的。',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:11:26.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeApiGroups'],
+ ],
+ ],
+ 'ramActions' => [
[
- 'name' => 'eventCodes',
- 'in' => 'query',
- 'schema' => [
- 'description' => '事件code。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'de_ahqhsw7665,de_agbzfi5134',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeApiLimit' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => ['operationType' => 'get'],
+ 'parameters' => [
[
- 'name' => 'beginTime',
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'title' => '',
- 'description' => '开始时间,精确到毫秒(ms)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1737101348000',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'endTime',
+ 'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '结束时间,精确到毫秒(ms)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1730453400000',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
@@ -10668,343 +6364,67 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'requestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2',
- ],
- 'success' => [
- 'description' => '请求是否成功。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'code' => [
- 'description' => '状态码。',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'message' => [
- 'description' => '错误详情。',
- 'type' => 'string',
- 'example' => 'The input parameter data is not valid. order_storage_company_num component not found',
- ],
- 'httpStatusCode' => [
- 'description' => 'HTTP状态码。',
- 'type' => 'string',
- 'example' => '200',
- ],
'resultObject' => [
- 'description' => '返回对象。',
+ 'description' => '返回对象',
'type' => 'object',
'properties' => [
- 'highRiskMobileProvince' => [
- 'description' => '高风险手机号归属省。',
- 'type' => 'object',
- 'properties' => [
- 'series' => [
- 'description' => '图表数据。',
- 'type' => 'array',
- 'items' => [
- 'description' => '图表数据。',
- 'type' => 'object',
- 'properties' => [
- 'roseType' => [
- 'description' => '图表标识,默认false。',
- 'type' => 'string',
- 'example' => 'false',
- ],
- 'name' => [
- 'description' => '展示title。',
- 'type' => 'string',
- 'example' => '分值区间占比',
- ],
- 'data' => [
- 'description' => '高危机位数据。',
- 'type' => 'array',
- 'items' => [
- 'description' => '返回数据对象。',
- 'type' => 'object',
- 'properties' => [
- 'value' => [
- 'description' => '数据值。',
- 'type' => 'string',
- 'example' => '100',
- ],
- 'name' => [
- 'description' => '字段name。',
- 'type' => 'string',
- 'example' => '浙江省',
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- 'animation' => [
- 'description' => '标识,默认true。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'grid' => [
- 'description' => '所属网格。',
- 'type' => 'object',
- 'properties' => [
- 'show' => [
- 'description' => '图表标识,默认false。',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- ],
- ],
- ],
- ],
- 'highRiskMobileCity' => [
- 'description' => '高风险手机号归属市。',
- 'type' => 'object',
- 'properties' => [
- 'series' => [
- 'description' => '图表数据。',
- 'type' => 'array',
- 'items' => [
- 'description' => '图表数据。',
- 'type' => 'object',
- 'properties' => [
- 'roseType' => [
- 'description' => '图表标识,默认false。',
- 'type' => 'string',
- 'example' => 'false',
- ],
- 'name' => [
- 'description' => '字段name。',
- 'type' => 'string',
- 'example' => '杭州市',
- ],
- 'data' => [
- 'description' => '返回数据对象。',
- 'type' => 'array',
- 'items' => [
- 'description' => '返回数据对象。',
- 'type' => 'object',
- 'properties' => [
- 'value' => [
- 'description' => '数据值。',
- 'type' => 'string',
- 'example' => '100',
- ],
- 'name' => [
- 'description' => '字段name。',
- 'type' => 'string',
- 'example' => '杭州市',
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- 'animation' => [
- 'description' => '图表标识,默认true。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'grid' => [
- 'description' => '所属网格。',
- 'type' => 'object',
- 'properties' => [
- 'show' => [
- 'description' => '图表标识,默认false。',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- ],
- ],
- ],
- ],
- 'highRiskIPProvince' => [
- 'description' => '高风险IP归属省。',
- 'type' => 'object',
- 'properties' => [
- 'series' => [
- 'description' => '图表数据。',
- 'type' => 'array',
- 'items' => [
- 'description' => '图表数据。',
- 'type' => 'object',
- 'properties' => [
- 'roseType' => [
- 'description' => '图表标识,默认false。',
- 'type' => 'string',
- 'example' => 'false',
- ],
- 'name' => [
- 'description' => '字段name。',
- 'type' => 'string',
- 'example' => '浙江省',
- ],
- 'data' => [
- 'description' => '返回数据对象。',
- 'type' => 'array',
- 'items' => [
- 'description' => '返回数据对象。',
- 'type' => 'object',
- 'properties' => [
- 'value' => [
- 'description' => '数据值。',
- 'type' => 'string',
- 'example' => '100',
- ],
- 'name' => [
- 'description' => '变量name。',
- 'type' => 'string',
- 'example' => '浙江省',
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- 'animation' => [
- 'description' => '图表标识,默认true。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'grid' => [
- 'description' => '所属网格。',
- 'type' => 'object',
- 'properties' => [
- 'show' => [
- 'description' => '图表标识,默认false。',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- ],
- ],
- ],
- ],
- 'highRiskIPCity' => [
- 'description' => '高风险IP归属市。',
- 'type' => 'object',
- 'properties' => [
- 'series' => [
- 'description' => '图表数据。',
- 'type' => 'array',
- 'items' => [
- 'description' => '图表数据。',
- 'type' => 'object',
- 'properties' => [
- 'roseType' => [
- 'description' => '图表标识,默认false。',
- 'type' => 'string',
- 'example' => 'false',
- ],
- 'name' => [
- 'description' => '字段name。',
- 'type' => 'string',
- 'example' => '杭州市',
- ],
- 'data' => [
- 'description' => '返回数据对象。',
- 'type' => 'array',
- 'items' => [
- 'description' => '返回数据对象。',
- 'type' => 'object',
- 'properties' => [
- 'value' => [
- 'description' => '数据值。',
- 'type' => 'string',
- 'example' => '100',
- ],
- 'name' => [
- 'description' => '字段name。',
- 'type' => 'string',
- 'example' => '杭州市',
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- 'animation' => [
- 'description' => '图表标识,默认true。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'grid' => [
- 'description' => '所属网格。',
- 'type' => 'object',
- 'properties' => [
- 'show' => [
- 'description' => '图表标识,默认false。',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- ],
- ],
- ],
- ],
+ 'totalItem' => ['description' => '总条数', 'type' => 'integer', 'format' => 'int64', 'example' => '31'],
+ 'maxTotalItem' => ['description' => '最大创建条数', 'type' => 'integer', 'format' => 'int64', 'example' => '150'],
+ 'limit' => ['description' => '是否超过最大数量', 'type' => 'boolean', 'example' => 'true'],
],
],
+ 'requestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\",\\n \\"success\\": true,\\n \\"code\\": \\"200\\",\\n \\"message\\": \\"The input parameter data is not valid. order_storage_company_num component not found\\",\\n \\"httpStatusCode\\": \\"200\\",\\n \\"resultObject\\": {\\n \\"highRiskMobileProvince\\": {\\n \\"series\\": [\\n {\\n \\"roseType\\": \\"false\\",\\n \\"name\\": \\"分值区间占比\\",\\n \\"data\\": [\\n {\\n \\"value\\": \\"100\\",\\n \\"name\\": \\"浙江省\\"\\n }\\n ]\\n }\\n ],\\n \\"animation\\": true,\\n \\"grid\\": {\\n \\"show\\": false\\n }\\n },\\n \\"highRiskMobileCity\\": {\\n \\"series\\": [\\n {\\n \\"roseType\\": \\"false\\",\\n \\"name\\": \\"杭州市\\",\\n \\"data\\": [\\n {\\n \\"value\\": \\"100\\",\\n \\"name\\": \\"杭州市\\"\\n }\\n ]\\n }\\n ],\\n \\"animation\\": true,\\n \\"grid\\": {\\n \\"show\\": false\\n }\\n },\\n \\"highRiskIPProvince\\": {\\n \\"series\\": [\\n {\\n \\"roseType\\": \\"false\\",\\n \\"name\\": \\"浙江省\\",\\n \\"data\\": [\\n {\\n \\"value\\": \\"100\\",\\n \\"name\\": \\"浙江省\\"\\n }\\n ]\\n }\\n ],\\n \\"animation\\": true,\\n \\"grid\\": {\\n \\"show\\": false\\n }\\n },\\n \\"highRiskIPCity\\": {\\n \\"series\\": [\\n {\\n \\"roseType\\": \\"false\\",\\n \\"name\\": \\"杭州市\\",\\n \\"data\\": [\\n {\\n \\"value\\": \\"100\\",\\n \\"name\\": \\"杭州市\\"\\n }\\n ]\\n }\\n ],\\n \\"animation\\": true,\\n \\"grid\\": {\\n \\"show\\": false\\n }\\n }\\n }\\n}","type":"json"}]',
- 'title' => '风险地图高风险饼图+地图',
- ],
- 'DescribeDecisionResultFluctuation' => [
- 'summary' => '决策结果波动检测。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '查询创建api任务的limit信息',
+ 'summary' => '查询创建api任务的limit信息',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:23:08.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeApiLimit'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": {\\n \\"totalItem\\": 31,\\n \\"maxTotalItem\\": 150,\\n \\"limit\\": true\\n },\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeApiNameList' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
- ],
- [
- 'name' => 'eventCodes',
- 'in' => 'query',
- 'schema' => [
- 'description' => '事件code。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'de_ahqhsw7665,de_ahqhsw7622',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
@@ -11012,141 +6432,77 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'requestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2',
- ],
- 'success' => [
- 'description' => '是否成功。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'code' => [
- 'description' => '状态码。',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'message' => [
- 'description' => '错误详情。',
- 'type' => 'string',
- 'example' => 'The input parameter data is not valid. order_storage_company_num component not found',
- ],
- 'httpStatusCode' => [
- 'description' => 'HTTP状态码。',
- 'type' => 'string',
- 'example' => '200',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
'resultObject' => [
- 'description' => '返回对象。',
+ 'description' => '返回对象',
'type' => 'array',
'items' => [
- 'description' => '返回对象。',
+ 'description' => '返回结果。',
'type' => 'object',
'properties' => [
- 'status' => [
- 'description' => '执行状态。',
- 'type' => 'string',
- 'example' => 'PASS',
- ],
- 'todayNum' => [
- 'description' => '今天数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100',
- ],
- 'yesterdayNum' => [
- 'description' => '昨日数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '200',
- ],
- 'withinThreeDayNum' => [
- 'description' => '近三天数量。',
- 'type' => 'string',
- 'example' => '300',
- ],
- 'withinSevenDayNum' => [
- 'description' => '近七天数量。',
- 'type' => 'string',
- 'example' => '600',
- ],
- 'withinThirtyDayNum' => [
- 'description' => '近三十天数量。',
- 'type' => 'string',
- 'example' => '1200',
- ],
+ 'apiName' => ['description' => 'API名称。', 'type' => 'string', 'example' => 'ListAuditLog'],
+ 'apiId' => ['description' => 'api编号。', 'type' => 'string', 'example' => '33'],
],
],
],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\",\\n \\"success\\": true,\\n \\"code\\": \\"200\\",\\n \\"message\\": \\"The input parameter data is not valid. order_storage_company_num component not found\\",\\n \\"httpStatusCode\\": \\"200\\",\\n \\"resultObject\\": [\\n {\\n \\"status\\": \\"PASS\\",\\n \\"todayNum\\": 100,\\n \\"yesterdayNum\\": 200,\\n \\"withinThreeDayNum\\": \\"300\\",\\n \\"withinSevenDayNum\\": \\"600\\",\\n \\"withinThirtyDayNum\\": \\"1200\\"\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '决策结果波动检测',
- ],
- 'DescribeHitRuleFluctuation' => [
- 'summary' => '策略命中波动检测。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '获取api服务名称',
+ 'summary' => '获取api服务名称。',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:23:07.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeApiNameList'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"resultObject\\": [\\n {\\n \\"apiName\\": \\"ListAuditLog\\",\\n \\"apiId\\": \\"33\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'DescribeApiVariable' => [
+ 'summary' => '查询变量详情。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'regId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
- ],
- [
- 'name' => 'eventCodes',
+ 'name' => 'id',
'in' => 'query',
- 'schema' => [
- 'description' => '事件code,多个用英文逗号(,)分隔。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'de_ahqhsw7665,de_agbzfi5134',
- ],
+ 'schema' => ['description' => '变量id', 'type' => 'string', 'required' => true, 'example' => '3144'],
],
[
- 'name' => 'ruleStatus',
+ 'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '策略状态。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'DRAFT',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
@@ -11154,136 +6510,74 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'requestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2',
- ],
- 'success' => [
- 'description' => '请求是否成功。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'code' => [
- 'description' => '状态码。',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'message' => [
- 'description' => '错误信息。',
- 'type' => 'string',
- 'example' => 'The input parameter data is not valid. order_storage_company_num component not found',
- ],
- 'httpStatusCode' => [
- 'description' => 'HTTP状态码。',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'resultObject' => [
- 'description' => '返回对象。',
- 'type' => 'array',
- 'items' => [
- 'description' => '返回对象。',
- 'type' => 'object',
- 'properties' => [
- 'ruleId' => [
- 'description' => '策略ID。',
- 'type' => 'string',
- 'example' => '115019',
- ],
- 'ruleName' => [
- 'description' => '策略名称。',
- 'type' => 'string',
- 'example' => '营销风险识别',
- ],
- 'todayNum' => [
- 'description' => '今天数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100',
- ],
- 'yesterdayNum' => [
- 'description' => '昨日数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '200',
- ],
- 'withinThreeDayNum' => [
- 'description' => '近三天数量。',
- 'type' => 'string',
- 'example' => '300',
- ],
- 'withinSevenDayNum' => [
- 'description' => '近七天数量。',
- 'type' => 'string',
- 'example' => '600',
- ],
- 'withinThirtyDayNum' => [
- 'description' => '近三十天数量。',
- 'type' => 'string',
- 'example' => '1200',
- ],
- ],
- ],
- ],
+ 'resultObject' => ['description' => '返回对象', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\",\\n \\"success\\": true,\\n \\"code\\": \\"200\\",\\n \\"message\\": \\"The input parameter data is not valid. order_storage_company_num component not found\\",\\n \\"httpStatusCode\\": \\"200\\",\\n \\"resultObject\\": [\\n {\\n \\"ruleId\\": \\"115019\\",\\n \\"ruleName\\": \\"营销风险识别\\",\\n \\"todayNum\\": 100,\\n \\"yesterdayNum\\": 200,\\n \\"withinThreeDayNum\\": \\"300\\",\\n \\"withinSevenDayNum\\": \\"600\\",\\n \\"withinThirtyDayNum\\": \\"1200\\"\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '策略命中波动检测',
- ],
- 'DescribeTagsFluctuation' => [
- 'summary' => '标签波动检测',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '查询变量详情',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:11:26.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeApiVariable'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeApis' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'regId',
+ 'name' => 'apiRegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '地域id。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou、cn-shanghai'],
],
[
- 'name' => 'eventCodes',
+ 'name' => 'apiGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '事件code。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'de_afghcf6411',
- ],
+ 'schema' => ['description' => 'api分组id。', 'type' => 'string', 'required' => true, 'example' => '3309b0f4b1e243cd8bd9dd029f9c5f0a'],
+ ],
+ [
+ 'name' => 'apiType',
+ 'in' => 'query',
+ 'schema' => ['description' => 'api类型', 'type' => 'string', 'required' => true, 'example' => 'SELF'],
+ ],
+ [
+ 'name' => 'regId',
+ 'in' => 'query',
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
@@ -11291,90 +6585,41 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'requestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2',
- ],
- 'success' => [
- 'description' => '调用是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'code' => [
- 'description' => '状态码。',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'message' => [
- 'description' => '错误信息。',
- 'type' => 'string',
- 'example' => 'The input parameter data is not valid. order_storage_company_num component not found',
- ],
- 'httpStatusCode' => [
- 'description' => 'HTTP状态码',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'resultObject' => [
- 'description' => '返回对象',
- 'type' => 'array',
- 'items' => [
- 'description' => '返回对象',
- 'type' => 'object',
- 'properties' => [
- 'tableName' => [
- 'description' => '标签名称',
- 'type' => 'string',
- 'example' => 'accountId',
- ],
- 'todayNum' => [
- 'description' => '当天数据',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100',
- ],
- 'yesterdayNum' => [
- 'description' => '昨天数据',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '200',
- ],
- 'withinThreeDayNum' => [
- 'description' => '近三天数据',
- 'type' => 'string',
- 'example' => '300',
- ],
- 'withinSevenDayNum' => [
- 'description' => '近七天数据',
- 'type' => 'string',
- 'example' => '600',
- ],
- 'withinThirtyDayNum' => [
- 'description' => '近一个月数据',
- 'type' => 'string',
- 'example' => '1200',
- ],
- ],
- ],
- ],
+ 'resultObject' => ['description' => '返回对象', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\",\\n \\"success\\": true,\\n \\"code\\": \\"200\\",\\n \\"message\\": \\"The input parameter data is not valid. order_storage_company_num component not found\\",\\n \\"httpStatusCode\\": \\"200\\",\\n \\"resultObject\\": [\\n {\\n \\"tableName\\": \\"accountId\\",\\n \\"todayNum\\": 100,\\n \\"yesterdayNum\\": 200,\\n \\"withinThreeDayNum\\": \\"300\\",\\n \\"withinSevenDayNum\\": \\"600\\",\\n \\"withinThirtyDayNum\\": \\"1200\\"\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '标签波动检测',
- ],
- 'DescribeResultCount' => [
- 'summary' => '下钻分析',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '得到api列表包括用户购买的以及自定义的',
+ 'summary' => '得到api列表包括用户购买的以及自定义的。',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:11:26.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeApis'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeAppKeyPage' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -11383,51 +6628,31 @@
'operationType' => 'read',
'systemTags' => [
'operationType' => 'get',
+ 'abilityTreeCode' => '135918',
+ 'abilityTreeNodes' => ['FEATUREsaf64YRTV', 'FEATUREsaf6E3SDJ', 'FEATUREsafL5D4RG'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'regId',
+ 'name' => 'currentPage',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '当前页码。', 'type' => 'string', 'required' => false, 'example' => '1'],
],
[
- 'name' => 'beginTime',
+ 'name' => 'pageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '开始时间,精确到毫秒(ms)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1739841750000',
- ],
+ 'schema' => ['description' => '每页大小,默认值为10', 'type' => 'string', 'required' => false, 'example' => '10'],
],
[
- 'name' => 'endTime',
+ 'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '结束时间,精确到毫秒(ms)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1739843750000',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
@@ -11435,31 +6660,11 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'requestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2',
- ],
- 'success' => [
- 'description' => '请求是否成功。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'code' => [
- 'description' => '状态码。',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'message' => [
- 'description' => '错误信息。',
- 'type' => 'string',
- 'example' => 'The input parameter data is not valid. order_storage_company_num component not found',
- ],
- 'httpStatusCode' => [
- 'description' => 'HTTP状态码',
- 'type' => 'string',
- 'example' => '200',
- ],
+ 'totalItem' => ['description' => '总条数', 'type' => 'integer', 'format' => 'int32', 'example' => '3'],
+ 'pageSize' => ['description' => '每页大小,默认值为10', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'E01E1B4A-6747-5329-9046-B6D6B2D91349'],
+ 'currentPage' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'totalPage' => ['description' => '总页数', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'resultObject' => [
'description' => '返回对象',
'type' => 'array',
@@ -11467,72 +6672,75 @@
'description' => '返回对象',
'type' => 'object',
'properties' => [
- 'result' => [
- 'description' => '执行结果',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'REJECT' => '拒绝',
- 'PASS' => '通过',
- 'PENDING' => '待定',
- ],
- 'example' => 'PASS',
- ],
- 'total' => [
- 'description' => '数量',
- 'type' => 'string',
- 'example' => '200',
- ],
+ 'sdkItems' => ['description' => '已作废', 'type' => 'string', 'example' => '已作废'],
+ 'memo' => ['description' => '备注。', 'type' => 'string', 'example' => '备注'],
+ 'iosSdkUrl' => ['description' => 'ios应用sdk下载地址。', 'type' => 'string', 'example' => 'https://xxxxx-oss-xxxxx.xxxxxx.aliyuncs.com/xx/xx/xxx/xxxxxx.csv?Expires=1753433384&OSSAccessKeyId=xxxxxxxxx&Signature=%2F%xxxxxxxxxxxx%3D'],
+ 'androidSdkVersion' => ['description' => 'android应用sdk版本号。', 'type' => 'string', 'example' => '1'],
+ 'gmtCreate' => ['description' => '创建时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1621578648000'],
+ 'used' => ['description' => '该appKey是否集成', 'type' => 'string', 'example' => 'false'],
+ 'androidSdkUrl' => ['description' => 'android应用sdk下载地址。', 'type' => 'string', 'example' => 'https://xxxxx-oss-xxxxx.xxxxxx.aliyuncs.com/xx/xx/xxx/xxxxxx.csv?Expires=1753433384&OSSAccessKeyId=xxxxxxxxx&Signature=%2F%xxxxxxxxxxxx%3D'],
+ 'iosSdkVersion' => ['description' => 'ios应用的sdk版本号。', 'type' => 'string', 'example' => '1'],
+ 'appKey' => ['description' => '应用appkey。', 'type' => 'string', 'example' => 'sh9a71f07fhs556bd767586307e82795'],
],
],
],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\",\\n \\"success\\": true,\\n \\"code\\": \\"200\\",\\n \\"message\\": \\"The input parameter data is not valid. order_storage_company_num component not found\\",\\n \\"httpStatusCode\\": \\"200\\",\\n \\"resultObject\\": [\\n {\\n \\"result\\": \\"PASS\\",\\n \\"total\\": \\"200\\"\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '下钻分析列表',
- ],
- 'DescribeRequestPeakReport' => [
- 'summary' => '请求峰值',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '查询appKey列表',
+ 'summary' => '查询appKey列表。',
+ 'changeSet' => [
+ ['createdAt' => '2024-12-20T06:03:01.000Z', 'description' => '响应参数发生变更'],
+ ['createdAt' => '2022-05-11T07:23:07.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeAppKeyPage'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"totalItem\\": 3,\\n \\"pageSize\\": 10,\\n \\"RequestId\\": \\"E01E1B4A-6747-5329-9046-B6D6B2D91349\\",\\n \\"currentPage\\": 1,\\n \\"totalPage\\": 1,\\n \\"resultObject\\": [\\n {\\n \\"sdkItems\\": \\"已作废\\",\\n \\"memo\\": \\"备注\\",\\n \\"iosSdkUrl\\": \\"https://xxxxx-oss-xxxxx.xxxxxx.aliyuncs.com/xx/xx/xxx/xxxxxx.csv?Expires=1753433384&OSSAccessKeyId=xxxxxxxxx&Signature=%2F%xxxxxxxxxxxx%3D\\",\\n \\"androidSdkVersion\\": \\"1\\",\\n \\"gmtCreate\\": 1621578648000,\\n \\"used\\": \\"false\\",\\n \\"androidSdkUrl\\": \\"https://xxxxx-oss-xxxxx.xxxxxx.aliyuncs.com/xx/xx/xxx/xxxxxx.csv?Expires=1753433384&OSSAccessKeyId=xxxxxxxxx&Signature=%2F%xxxxxxxxxxxx%3D\\",\\n \\"iosSdkVersion\\": \\"1\\",\\n \\"appKey\\": \\"sh9a71f07fhs556bd767586307e82795\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'DescribeAuditConfig' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
+ ],
+ [
+ 'name' => 'auditRelationType',
+ 'in' => 'query',
+ 'schema' => ['description' => '审核类型。', 'type' => 'string', 'required' => false, 'example' => 'RULE'],
],
],
'responses' => [
@@ -11540,99 +6748,68 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'requestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2',
- ],
- 'success' => [
- 'description' => '请求是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'code' => [
- 'description' => '状态码',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'message' => [
- 'description' => '错误信息。',
- 'type' => 'string',
- 'example' => 'The input parameter data is not valid. order_storage_company_num component not found',
- ],
- 'httpStatusCode' => [
- 'description' => 'HTTP状态码。',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'resultObject' => [
- 'description' => '返回对象',
- 'type' => 'array',
- 'items' => [
- 'description' => '返回对象',
- 'type' => 'object',
- 'properties' => [
- 'value' => [
- 'description' => '返回文案',
- 'type' => 'string',
- 'example' => '1.0 次/秒',
- ],
- 'ratio' => [
- 'description' => '返回值',
- 'type' => 'string',
- 'example' => '1.0',
- ],
- ],
- ],
- ],
+ 'success' => ['description' => '请求是否成功。', 'type' => 'boolean', 'example' => 'true'],
+ 'code' => ['description' => '状态码。', 'type' => 'string', 'example' => '200'],
+ 'message' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'The input parameter data is not valid. order_storage_company_num component not found'],
+ 'httpStatusCode' => ['description' => 'HTTP状态码。', 'type' => 'string', 'example' => '200'],
+ 'resultObject' => ['description' => '返回对象。', 'type' => 'boolean', 'example' => 'true'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\",\\n \\"success\\": true,\\n \\"code\\": \\"200\\",\\n \\"message\\": \\"The input parameter data is not valid. order_storage_company_num component not found\\",\\n \\"httpStatusCode\\": \\"200\\",\\n \\"resultObject\\": [\\n {\\n \\"value\\": \\"1.0 次/秒\\",\\n \\"ratio\\": \\"1.0\\"\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '请求峰值',
- ],
- 'DescribeEventTotalCountReport' => [
- 'summary' => '调用事件次数',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '审核配置',
+ 'summary' => '审批开关。',
+ 'changeSet' => [
+ ['createdAt' => '2021-10-18T12:18:48.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeAuditConfig'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"success\\": true,\\n \\"code\\": \\"200\\",\\n \\"message\\": \\"The input parameter data is not valid. order_storage_company_num component not found\\",\\n \\"httpStatusCode\\": \\"200\\",\\n \\"resultObject\\": true\\n}","type":"json"}]',
+ ],
+ 'DescribeAuditDetails' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
+ ],
+ [
+ 'name' => 'id',
+ 'in' => 'query',
+ 'schema' => ['description' => '主键id。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '2557'],
],
],
'responses' => [
@@ -11640,126 +6817,94 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'requestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2',
- ],
- 'success' => [
- 'description' => '本次操作是否成功,true表示成功。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'code' => [
- 'description' => '状态码',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'message' => [
- 'description' => '错误信息。',
- 'type' => 'string',
- 'example' => 'The input parameter data is not valid. order_storage_company_num component not found',
- ],
- 'httpStatusCode' => [
- 'description' => 'HTTP状态码',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'resultObject' => [
- 'description' => '返回对象',
- 'type' => 'object',
- 'properties' => [
- 'value' => [
- 'description' => '今日调用事件次数',
- 'type' => 'string',
- 'example' => '100',
- ],
- 'ratio' => [
- 'description' => '环比昨日调用事件次数',
- 'type' => 'string',
- 'example' => '101',
- ],
- ],
- ],
+ 'success' => ['description' => '调用是否成功。', 'type' => 'boolean', 'example' => 'true'],
+ 'code' => ['description' => '状态码。', 'type' => 'string', 'example' => '200'],
+ 'message' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'The input parameter data is not valid. order_storage_company_num component not found'],
+ 'httpStatusCode' => ['description' => 'HTTP状态码。', 'type' => 'string', 'example' => '200'],
+ 'resultObject' => ['description' => '返回对象。', 'type' => 'boolean', 'example' => 'true'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\",\\n \\"success\\": true,\\n \\"code\\": \\"200\\",\\n \\"message\\": \\"The input parameter data is not valid. order_storage_company_num component not found\\",\\n \\"httpStatusCode\\": \\"200\\",\\n \\"resultObject\\": {\\n \\"value\\": \\"100\\",\\n \\"ratio\\": \\"101\\"\\n }\\n}","type":"json"}]',
- 'title' => '调用事件次数',
- ],
- 'DescribeEventResultBarChart' => [
- 'summary' => '风险大盘',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '审核详情',
+ 'summary' => '审批详情。',
+ 'changeSet' => [
+ ['createdAt' => '2022-12-13T05:19:38.000Z', 'description' => '响应参数发生变更'],
+ ['createdAt' => '2021-10-18T12:18:48.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeAuditDetails'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"success\\": true,\\n \\"code\\": \\"200\\",\\n \\"message\\": \\"The input parameter data is not valid. order_storage_company_num component not found\\",\\n \\"httpStatusCode\\": \\"200\\",\\n \\"resultObject\\": true\\n}","type":"json"}]',
+ ],
+ 'DescribeAuditPageList' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'eventCodes',
+ 'name' => 'currentPage',
'in' => 'query',
- 'schema' => [
- 'description' => '事件code。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'de_ahqhsw7665,de_ahqhsw7622',
- ],
+ 'schema' => ['description' => '当前页码。', 'type' => 'string', 'required' => false, 'example' => '1'],
],
[
- 'name' => 'beginTime',
+ 'name' => 'pageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '开始时间,精确到毫秒(ms)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1737101348000',
- ],
+ 'schema' => ['description' => '每页大小,默认值为10。', 'type' => 'string', 'required' => false, 'example' => '10'],
],
[
- 'name' => 'endTime',
+ 'name' => 'ruleName',
+ 'in' => 'query',
+ 'schema' => ['description' => '策略名称。', 'type' => 'string', 'required' => false, 'example' => '手机号MD5命中人脸测试名单'],
+ ],
+ [
+ 'name' => 'eventCode',
+ 'in' => 'query',
+ 'schema' => ['description' => '事件编码。', 'type' => 'string', 'required' => false, 'example' => 'de_awukck7117'],
+ ],
+ [
+ 'name' => 'auditStatus',
'in' => 'query',
'schema' => [
- 'description' => '结束时间,精确到毫秒(ms)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1744337383000',
+ 'description' => '审核状态。',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => ['WITHDRAW' => '撤回', 'REJECT' => '拒绝', 'AUDITING' => '审核中', 'AGREE' => '同意'],
+ 'example' => 'SUCCESS',
],
],
],
@@ -11768,194 +6913,143 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'requestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2',
- ],
- 'success' => [
- 'description' => '请求是否成功。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'code' => [
- 'description' => '状态码。',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'message' => [
- 'description' => '错误信息。',
- 'type' => 'string',
- 'example' => 'The input parameter data is not valid. order_storage_company_num component not found',
- ],
- 'httpStatusCode' => [
- 'description' => 'HTTP状态码',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'resultObject' => [
- 'description' => '返回对象',
- 'type' => 'object',
- 'properties' => [
- 'xaxis' => [
- 'description' => 'xaxis接口配置。',
- 'type' => 'object',
- 'properties' => [
- 'data' => [
- 'description' => '返回数据对象',
- 'type' => 'array',
- 'items' => [
- 'description' => '返回数据对象',
- 'type' => 'string',
- 'example' => '['."\n"
- .' "2025-07-18",'."\n"
- .' "2025-07-19",'."\n"
- .' "2025-07-20",'."\n"
- .' "2025-07-21",'."\n"
- .' "2025-07-22",'."\n"
- .' "2025-07-23",'."\n"
- .' "2025-07-24",'."\n"
- .' "2025-07-25"'."\n"
- .' ]',
- ],
- ],
- ],
- ],
- 'series' => [
- 'description' => '图表数据',
- 'type' => 'array',
- 'items' => [
- 'description' => '图表数据',
- 'type' => 'object',
- 'properties' => [
- 'name' => [
- 'description' => 'series名称。',
- 'type' => 'string',
- 'example' => '通过'."\n",
- ],
- 'stack' => [
- 'description' => '标签key',
- 'type' => 'string',
- 'example' => '通过',
- ],
- 'data' => [
- 'description' => '返回数据对象',
- 'type' => 'array',
- 'items' => [
- 'description' => '返回数据对象',
- 'type' => 'object',
- 'properties' => [
- 'num' => [
- 'description' => '数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100',
- ],
- 'scale' => [
- 'description' => '比例',
- 'type' => 'string',
- 'example' => '50.00%',
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- ],
+ 'resultObject' => ['description' => '返回对象。', 'type' => 'boolean', 'example' => 'true'],
+ 'requestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2'],
+ 'totalItem' => ['description' => '总条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '6'],
+ 'pageSize' => ['description' => '每页记录数,默认值:10。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'currentPage' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'totalPage' => ['description' => '总页数。', 'type' => 'integer', 'format' => 'int64', 'example' => '4'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\",\\n \\"success\\": true,\\n \\"code\\": \\"200\\",\\n \\"message\\": \\"The input parameter data is not valid. order_storage_company_num component not found\\",\\n \\"httpStatusCode\\": \\"200\\",\\n \\"resultObject\\": {\\n \\"xaxis\\": {\\n \\"data\\": [\\n \\"[\\\\n \\\\\\"2025-07-18\\\\\\",\\\\n \\\\\\"2025-07-19\\\\\\",\\\\n \\\\\\"2025-07-20\\\\\\",\\\\n \\\\\\"2025-07-21\\\\\\",\\\\n \\\\\\"2025-07-22\\\\\\",\\\\n \\\\\\"2025-07-23\\\\\\",\\\\n \\\\\\"2025-07-24\\\\\\",\\\\n \\\\\\"2025-07-25\\\\\\"\\\\n ]\\"\\n ]\\n },\\n \\"series\\": [\\n {\\n \\"name\\": \\"通过\\\\n\\",\\n \\"stack\\": \\"通过\\",\\n \\"data\\": [\\n {\\n \\"num\\": 100,\\n \\"scale\\": \\"50.00%\\"\\n }\\n ]\\n }\\n ]\\n }\\n}","type":"json"}]',
- 'title' => '风险大盘',
- ],
- 'DescribeEventResultList' => [
- 'summary' => '事件概览列表',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '审核列表',
+ 'summary' => '审核列表展示、查询。',
+ 'changeSet' => [
+ ['createdAt' => '2022-12-13T05:19:38.000Z', 'description' => '响应参数发生变更'],
+ ['createdAt' => '2021-10-18T12:18:48.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeAuditPageList'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\",\\n \\"totalItem\\": 6,\\n \\"pageSize\\": 10,\\n \\"currentPage\\": 1,\\n \\"totalPage\\": 4\\n}","type":"json"}]',
+ ],
+ 'DescribeAuthEventNameList' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
+ 'type' => 'object',
+ 'properties' => [
+ 'resultObject' => ['description' => '返回对象', 'type' => 'boolean', 'example' => 'true'],
+ 'requestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2'],
+ ],
+ 'description' => '',
],
],
+ ],
+ 'title' => '查询当前用户的事件名列表',
+ 'summary' => '查询当前用户的事件名列表',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:23:08.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeAuthEventNameList'],
+ ],
+ ],
+ 'ramActions' => [
[
- 'name' => 'beginTime',
- 'in' => 'query',
- 'schema' => [
- 'description' => '开始时间,精确到毫秒(ms)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1737101348000',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeAuthRulePageList' => [
+ 'summary' => '策略列表。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'endTime',
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'get'],
+ 'parameters' => [
+ [
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '结束时间,精确到毫秒(ms)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1683616457000',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'pageSize',
+ 'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '每页大小,默认值为10',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'currentPage',
+ 'name' => 'ruleName',
'in' => 'query',
- 'schema' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '策略名称。', 'type' => 'string', 'required' => false, 'example' => '分析中心事件测试_策略01'],
+ ],
+ [
+ 'name' => 'status',
+ 'in' => 'query',
+ 'schema' => ['description' => '状态。', 'type' => 'string', 'required' => false, 'example' => 'RUNNING'],
+ ],
+ [
+ 'name' => 'eventCode',
+ 'in' => 'query',
+ 'schema' => ['description' => '事件编码。', 'type' => 'string', 'required' => false, 'example' => 'de_arcehq4370'],
],
],
'responses' => [
@@ -11963,179 +7057,81 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'requestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2',
- ],
- 'success' => [
- 'description' => '查询是否成功。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'code' => [
- 'description' => '状态码。',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'message' => [
- 'description' => '错误详情'."\n",
- 'type' => 'string',
- 'example' => 'The input parameter data is not valid. order_storage_company_num component not found',
- ],
- 'httpStatusCode' => [
- 'description' => 'HTTP状态码',
- 'type' => 'string',
- 'example' => '200',
- ],
'resultObject' => [
- 'description' => '返回对象',
+ 'description' => '返回对象。',
'type' => 'array',
'items' => [
- 'description' => '返回对象',
+ 'description' => '返回对象。',
'type' => 'object',
'properties' => [
- 'eventName' => [
- 'description' => '事件名称。',
- 'type' => 'string',
- 'example' => '注册风险',
- ],
- 'totalNum' => [
- 'description' => '总条数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100',
- ],
- 'passNum' => [
- 'description' => '通过检查的数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '90',
- ],
- 'rejectNum' => [
- 'description' => '审批拒绝的数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '5',
- ],
- 'pendingNum' => [
- 'description' => '等待中数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '5',
- ],
- 'eventCode' => [
- 'description' => '事件编码',
- 'type' => 'string',
- 'example' => 'de_aszbjb7236',
- ],
+ 'id' => ['description' => '策略主键ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '497'],
+ 'ruleName' => ['description' => '策略名称。', 'type' => 'string', 'example' => '营销风险识别'],
+ 'version' => ['description' => '版本号。', 'type' => 'integer', 'format' => 'int64', 'example' => '8'],
+ 'status' => ['description' => '状态。', 'type' => 'string', 'example' => 'RUNNING'],
+ 'gmtModified' => ['description' => '修改时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1565701886000'],
+ 'consoleRuleId' => ['description' => '控制台规则ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '6715'],
+ 'ruleVersionId' => ['description' => '策略版本号主键ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '3823'],
+ 'createType' => ['description' => '创建类型。', 'type' => 'string', 'example' => 'MORMAL'],
+ 'memo' => ['description' => '备注。', 'type' => 'string', 'example' => '分析中心事件测试_策略01'],
+ 'ruleId' => ['description' => '策略ID。', 'type' => 'string', 'example' => '102059'],
],
],
],
- 'totalItem' => [
- 'description' => '总条数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '31',
- ],
- 'totalPage' => [
- 'description' => '总页数',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '9',
- ],
- 'currentPage' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'pageSize' => [
- 'description' => '每页大小,默认值为10',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
+ 'totalItem' => ['description' => '总条数。', 'type' => 'integer', 'format' => 'int64', 'example' => '6'],
+ 'totalPage' => ['description' => '总页数。', 'type' => 'integer', 'format' => 'int64', 'example' => '9'],
+ 'currentPage' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'pageSize' => ['description' => '每页大小,默认值为10。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
+ 'RequestId' => ['description' => '请求 ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\",\\n \\"success\\": true,\\n \\"code\\": \\"200\\",\\n \\"message\\": \\"The input parameter data is not valid. order_storage_company_num component not found\\",\\n \\"httpStatusCode\\": \\"200\\",\\n \\"resultObject\\": [\\n {\\n \\"eventName\\": \\"注册风险\\",\\n \\"totalNum\\": 100,\\n \\"passNum\\": 90,\\n \\"rejectNum\\": 5,\\n \\"pendingNum\\": 5,\\n \\"eventCode\\": \\"de_aszbjb7236\\"\\n }\\n ],\\n \\"totalItem\\": 31,\\n \\"totalPage\\": 9,\\n \\"currentPage\\": 1,\\n \\"pageSize\\": 10\\n}","type":"json"}]',
- 'title' => '事件概览列表',
- ],
- 'DescribeRuleBarChart' => [
- 'summary' => '策略概览列表',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '策略列表',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeAuthRulePageList'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": [\\n {\\n \\"id\\": 497,\\n \\"ruleName\\": \\"营销风险识别\\",\\n \\"version\\": 8,\\n \\"status\\": \\"RUNNING\\",\\n \\"gmtModified\\": 1565701886000,\\n \\"consoleRuleId\\": 6715,\\n \\"ruleVersionId\\": 3823,\\n \\"createType\\": \\"MORMAL\\",\\n \\"memo\\": \\"分析中心事件测试_策略01\\",\\n \\"ruleId\\": \\"102059\\"\\n }\\n ],\\n \\"totalItem\\": 6,\\n \\"totalPage\\": 9,\\n \\"currentPage\\": 1,\\n \\"pageSize\\": 10,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeAuthSceneList' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
- ],
- [
- 'name' => 'eventCodes',
- 'in' => 'query',
- 'schema' => [
- 'description' => '事件编码,多个用逗号(,)分隔。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'account_abuse_pro,account_abuse',
- ],
- ],
- [
- 'name' => 'beginTime',
- 'in' => 'query',
- 'schema' => [
- 'description' => '查询开始时间,精确到毫秒(ms)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1739841750000',
- ],
- ],
- [
- 'name' => 'endTime',
- 'in' => 'query',
- 'schema' => [
- 'description' => '结束时间,精确到毫秒(ms)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1750904603000',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
@@ -12143,151 +7139,75 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'requestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2',
- ],
- 'success' => [
- 'description' => '请求是否成功。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'code' => [
- 'description' => '状态码。',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'message' => [
- 'description' => '错误信息。',
- 'type' => 'string',
- 'example' => 'The input parameter data is not valid. order_storage_company_num component not found',
- ],
- 'httpStatusCode' => [
- 'description' => 'HTTP 状态码。',
- 'type' => 'string',
- 'example' => '200',
- ],
'resultObject' => [
- 'description' => '返回对象',
- 'type' => 'object',
- 'properties' => [
- 'yaxis' => [
- 'description' => 'yaxis相关结果。',
- 'type' => 'object',
- 'properties' => [
- 'data' => [
- 'description' => 'yaxis数据项',
- 'type' => 'array',
- 'items' => [
- 'description' => 'yaxis数据项',
- 'type' => 'string',
- 'example' => '['."\n"
- .' "决策引擎可观测性持续建设_策略01",'."\n"
- .' "决策引擎可观测性持续建设_策略03",'."\n"
- .' "决策引擎可观测性持续建设_策略04",'."\n"
- .' "决策引擎可观测性持续建设_策略02"'."\n"
- .' ]',
- ],
- ],
- ],
- ],
- 'series' => [
- 'description' => '数据列表',
- 'type' => 'array',
- 'items' => [
- 'description' => '数据列表',
- 'type' => 'object',
- 'properties' => [
- 'type' => [
- 'description' => '柱状图类型',
- 'type' => 'string',
- 'example' => 'bar',
- ],
- 'data' => [
- 'description' => '响应数据。',
- 'type' => 'array',
- 'items' => [
- 'description' => '响应数据。',
- 'type' => 'object',
- 'properties' => [
- 'ruleName' => [
- 'description' => '策略名称',
- 'type' => 'string',
- 'example' => '营销风险识别评分_高风险_拒绝',
- ],
- 'eventName' => [
- 'description' => '事件名称。',
- 'type' => 'string',
- 'example' => '营销事件',
- ],
- 'status' => [
- 'description' => '状态。',
- 'type' => 'string',
- 'example' => 'RUNNING',
- ],
- 'num' => [
- 'description' => '数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100',
- ],
- ],
- ],
- ],
- ],
- ],
+ 'description' => '返回对象。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '返回对象。',
+ 'type' => 'object',
+ 'properties' => [
+ 'serviceCode' => ['description' => '服务编码。', 'type' => 'string', 'example' => 'account_abuse'],
],
],
],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\",\\n \\"success\\": true,\\n \\"code\\": \\"200\\",\\n \\"message\\": \\"The input parameter data is not valid. order_storage_company_num component not found\\",\\n \\"httpStatusCode\\": \\"200\\",\\n \\"resultObject\\": {\\n \\"yaxis\\": {\\n \\"data\\": [\\n \\"[\\\\n \\\\\\"决策引擎可观测性持续建设_策略01\\\\\\",\\\\n \\\\\\"决策引擎可观测性持续建设_策略03\\\\\\",\\\\n \\\\\\"决策引擎可观测性持续建设_策略04\\\\\\",\\\\n \\\\\\"决策引擎可观测性持续建设_策略02\\\\\\"\\\\n ]\\"\\n ]\\n },\\n \\"series\\": [\\n {\\n \\"type\\": \\"bar\\",\\n \\"data\\": [\\n {\\n \\"ruleName\\": \\"营销风险识别评分_高风险_拒绝\\",\\n \\"eventName\\": \\"营销事件\\",\\n \\"status\\": \\"RUNNING\\",\\n \\"num\\": 100\\n }\\n ]\\n }\\n ]\\n }\\n}","type":"json"}]',
- 'title' => '策略概览列表',
- ],
- 'DescribeAvgExecuteCostReport' => [
- 'summary' => '平均执行耗时',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '场景下拉列表',
+ 'summary' => '场景列表。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeAuthSceneList'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": [\\n {\\n \\"serviceCode\\": \\"account_abuse\\"\\n }\\n ],\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeAuthScenePageList' => [
+ 'summary' => '场景列表。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'],
+ ],
+ [
+ 'name' => 'sceneName',
+ 'in' => 'query',
+ 'schema' => ['description' => '场景名称。', 'type' => 'string', 'required' => false, 'example' => 'account_abuse'],
],
],
'responses' => [
@@ -12295,141 +7215,136 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'requestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2',
- ],
- 'success' => [
- 'description' => '调用是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'code' => [
- 'description' => '状态码。',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'message' => [
- 'description' => '错误信息。',
- 'type' => 'string',
- 'example' => 'The input parameter data is not valid. order_storage_company_num component not found',
- ],
- 'httpStatusCode' => [
- 'description' => 'HTTP状态码',
- 'type' => 'string',
- 'example' => '200',
- ],
'resultObject' => [
- 'description' => '返回对象',
+ 'description' => '返回对象。',
'type' => 'array',
'items' => [
- 'description' => '返回对象',
+ 'description' => '返回对象。',
'type' => 'object',
'properties' => [
- 'value' => [
- 'description' => '今日平均执行时间',
- 'type' => 'string',
- 'example' => '0.1 毫秒',
- ],
- 'ratio' => [
- 'description' => '环比昨日平均执行时间',
- 'type' => 'string',
- 'example' => '0.2',
- ],
+ 'sceneName' => ['description' => '场景名称。', 'type' => 'string', 'example' => '注册风险识别服务'],
+ 'serverName' => ['description' => '服务名称。', 'type' => 'string', 'example' => 'account_abuse'],
+ 'commonRuleCount' => ['description' => '通用策略数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
+ 'customRuleCount' => ['description' => '定制策略数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
+ 'eventCode' => ['description' => '事件编码。', 'type' => 'string', 'example' => 'de_avypfd8253'],
],
],
],
+ 'totalItem' => ['description' => '总条数。', 'type' => 'integer', 'format' => 'int64', 'example' => '6'],
+ 'totalPage' => ['description' => '总页数。', 'type' => 'integer', 'format' => 'int64', 'example' => '9'],
+ 'currentPage' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'pageSize' => ['description' => '每页大小,默认值为10。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\",\\n \\"success\\": true,\\n \\"code\\": \\"200\\",\\n \\"message\\": \\"The input parameter data is not valid. order_storage_company_num component not found\\",\\n \\"httpStatusCode\\": \\"200\\",\\n \\"resultObject\\": [\\n {\\n \\"value\\": \\"0.1 毫秒\\",\\n \\"ratio\\": \\"0.2\\"\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '平均执行耗时',
- ],
- 'DescribeTagsTrend' => [
- 'summary' => '标签命中趋势',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '场景列表',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeAuthScenePageList'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": [\\n {\\n \\"sceneName\\": \\"注册风险识别服务\\",\\n \\"serverName\\": \\"account_abuse\\",\\n \\"commonRuleCount\\": 10,\\n \\"customRuleCount\\": 10,\\n \\"eventCode\\": \\"de_avypfd8253\\"\\n }\\n ],\\n \\"totalItem\\": 6,\\n \\"totalPage\\": 9,\\n \\"currentPage\\": 1,\\n \\"pageSize\\": 10,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeAuthStatus' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
+ 'type' => 'object',
+ 'properties' => [
+ 'resultObject' => ['description' => '返回对象', 'type' => 'boolean', 'example' => 'true'],
+ 'requestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2'],
+ ],
+ 'description' => '',
],
],
+ ],
+ 'title' => '查看是否授权',
+ 'summary' => '查看是否授权',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:23:08.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeAuthStatus'],
+ ],
+ ],
+ 'ramActions' => [
[
- 'name' => 'eventCodes',
- 'in' => 'query',
- 'schema' => [
- 'description' => '事件code。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'de_afghcf6411',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeAvgExecuteCostReport' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'beginTime',
- 'in' => 'query',
- 'schema' => [
- 'description' => '开始时间,精确到毫秒(ms)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1751249559000',
- ],
+ 'AK' => [],
],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => ['operationType' => 'get'],
+ 'parameters' => [
[
- 'name' => 'endTime',
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '结束时间,精确到毫秒(ms)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1740298093000',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'result',
+ 'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '策略执行结果',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'PASS',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
@@ -12437,179 +7352,111 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'requestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2',
- ],
- 'success' => [
- 'description' => '请求是否成功。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'code' => [
- 'description' => '状态码',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'message' => [
- 'description' => '错误信息。',
- 'type' => 'string',
- 'example' => 'The input parameter data is not valid. order_storage_company_num component not found',
- ],
- 'httpStatusCode' => [
- 'description' => 'HTTP状态码',
- 'type' => 'string',
- 'example' => '200',
- ],
+ 'requestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2'],
+ 'success' => ['description' => '调用是否成功', 'type' => 'boolean', 'example' => 'true'],
+ 'code' => ['description' => '状态码。', 'type' => 'string', 'example' => '200'],
+ 'message' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'The input parameter data is not valid. order_storage_company_num component not found'],
+ 'httpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'string', 'example' => '200'],
'resultObject' => [
'description' => '返回对象',
- 'type' => 'object',
- 'properties' => [
- 'xaxis' => [
- 'description' => 'xaxis返回数据',
- 'type' => 'object',
- 'properties' => [
- 'data' => [
- 'description' => 'X轴数据',
- 'type' => 'array',
- 'items' => [
- 'description' => 'X轴数据',
- 'type' => 'string',
- 'example' => '['."\n"
- .' "2025-07-01",'."\n"
- .' "2025-07-02",'."\n"
- .' "2025-07-03",'."\n"
- .' "2025-07-04",'."\n"
- .' "2025-07-05",'."\n"
- .' "2025-07-06",'."\n"
- .' "2025-07-07",'."\n"
- .' "2025-07-08",'."\n"
- .' "2025-07-09",'."\n"
- .' "2025-07-10"'."\n"
- .' ]',
- ],
- ],
- ],
- ],
- 'series' => [
- 'description' => '数据列表',
- 'type' => 'array',
- 'items' => [
- 'description' => '数据列表',
- 'type' => 'object',
- 'properties' => [
- 'name' => [
- 'description' => '品类名称。',
- 'type' => 'string',
- 'example' => 'rm0102',
- ],
- 'data' => [
- 'description' => '图表数据列表',
- 'type' => 'array',
- 'items' => [
- 'description' => '图表数据列表',
- 'type' => 'object',
- 'properties' => [
- 'num' => [
- 'description' => '该分类的数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100',
- ],
- 'scale' => [
- 'description' => '比例',
- 'type' => 'string',
- 'example' => '10%',
- ],
- ],
- ],
- ],
- ],
- ],
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '返回对象',
+ 'type' => 'object',
+ 'properties' => [
+ 'value' => ['description' => '今日平均执行时间', 'type' => 'string', 'example' => '0.1 毫秒'],
+ 'ratio' => ['description' => '环比昨日平均执行时间', 'type' => 'string', 'example' => '0.2'],
],
],
],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\",\\n \\"success\\": true,\\n \\"code\\": \\"200\\",\\n \\"message\\": \\"The input parameter data is not valid. order_storage_company_num component not found\\",\\n \\"httpStatusCode\\": \\"200\\",\\n \\"resultObject\\": {\\n \\"xaxis\\": {\\n \\"data\\": [\\n \\"[\\\\n \\\\\\"2025-07-01\\\\\\",\\\\n \\\\\\"2025-07-02\\\\\\",\\\\n \\\\\\"2025-07-03\\\\\\",\\\\n \\\\\\"2025-07-04\\\\\\",\\\\n \\\\\\"2025-07-05\\\\\\",\\\\n \\\\\\"2025-07-06\\\\\\",\\\\n \\\\\\"2025-07-07\\\\\\",\\\\n \\\\\\"2025-07-08\\\\\\",\\\\n \\\\\\"2025-07-09\\\\\\",\\\\n \\\\\\"2025-07-10\\\\\\"\\\\n ]\\"\\n ]\\n },\\n \\"series\\": [\\n {\\n \\"name\\": \\"rm0102\\",\\n \\"data\\": [\\n {\\n \\"num\\": 100,\\n \\"scale\\": \\"10%\\"\\n }\\n ]\\n }\\n ]\\n }\\n}","type":"json"}]',
- 'title' => '标签波动趋势',
- ],
- 'DescribeRiskLineChart' => [
- 'summary' => '风险地图概览图表(折线图)',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '平均执行耗时',
+ 'summary' => '平均执行耗时',
+ 'changeSet' => [
+ ['createdAt' => '2022-03-02T06:00:58.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeAvgExecuteCostReport'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\",\\n \\"success\\": true,\\n \\"code\\": \\"200\\",\\n \\"message\\": \\"The input parameter data is not valid. order_storage_company_num component not found\\",\\n \\"httpStatusCode\\": \\"200\\",\\n \\"resultObject\\": [\\n {\\n \\"value\\": \\"0.1 毫秒\\",\\n \\"ratio\\": \\"0.2\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'DescribeBasicSearchPageList' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'],
+ ],
+ [
+ 'name' => 'eventBeginTime',
+ 'in' => 'query',
+ 'schema' => ['description' => '查询开始时间,精确到毫秒(ms)。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1753372800000'],
+ ],
+ [
+ 'name' => 'eventEndTime',
+ 'in' => 'query',
+ 'schema' => ['description' => '结束时间,精确到毫秒(ms)。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1753459199059'],
],
[
'name' => 'eventCodes',
'in' => 'query',
- 'schema' => [
- 'description' => '事件编码,多个用逗号(,)分隔。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'de_afghcf6411,de_awkhwh0314',
- ],
+ 'schema' => ['description' => '事件code。', 'type' => 'string', 'required' => true, 'example' => '["de_ahqhsw7665"]'],
],
[
- 'name' => 'beginTime',
+ 'name' => 'fieldName',
'in' => 'query',
- 'schema' => [
- 'description' => '查询开始时间,精确到毫秒(ms)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1739841750000',
- ],
+ 'schema' => ['description' => '字段name。', 'type' => 'string', 'required' => false, 'example' => 'age'],
],
[
- 'name' => 'endTime',
+ 'name' => 'fieldValue',
'in' => 'query',
- 'schema' => [
- 'description' => '结束时间,精确到毫秒(ms)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1748491200000',
- ],
+ 'schema' => ['description' => '字段值。', 'type' => 'string', 'required' => false, 'example' => '20'],
+ ],
+ [
+ 'name' => 'currentPage',
+ 'in' => 'query',
+ 'schema' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1'],
+ ],
+ [
+ 'name' => 'pageSize',
+ 'in' => 'query',
+ 'schema' => ['description' => '每页大小,默认值为10。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '10'],
],
],
'responses' => [
@@ -12617,177 +7464,174 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'requestId' => [
- 'description' => '请求 ID。',
- 'type' => 'string',
- 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2',
- ],
- 'success' => [
- 'description' => '请求是否成功。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'code' => [
- 'description' => '状态码。',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'message' => [
- 'description' => '错误信息。',
- 'type' => 'string',
- 'example' => 'The input parameter data is not valid. order_storage_company_num component not found',
- ],
- 'httpStatusCode' => [
- 'description' => 'HTTP状态码',
- 'type' => 'string',
- 'example' => '200',
- ],
'resultObject' => [
- 'description' => '返回对象',
+ 'description' => '返回对象。',
'type' => 'object',
'properties' => [
- 'xaxis' => [
- 'description' => 'xaxis节点详情。',
- 'type' => 'object',
- 'properties' => [
- 'data' => [
- 'description' => '返回x轴数据节点',
- 'type' => 'array',
- 'items' => [
- 'description' => '返回数据。',
- 'type' => 'string',
- 'example' => '['."\n"
- .' "2025-07-01",'."\n"
- .' "2025-07-02",'."\n"
- .' "2025-07-03",'."\n"
- .' "2025-07-04",'."\n"
- .' "2025-07-05",'."\n"
- .' "2025-07-06",'."\n"
- .' "2025-07-07",'."\n"
- .' "2025-07-08",'."\n"
- .' "2025-07-09",'."\n"
- .' "2025-07-10"'."\n"
- .' ]',
- ],
- ],
- ],
- ],
- 'series' => [
- 'description' => '数据列表',
+ 'header' => [
+ 'description' => '表头。',
'type' => 'array',
'items' => [
- 'description' => '数据列表',
+ 'description' => '返回头信息。',
'type' => 'object',
'properties' => [
- 'name' => [
- 'description' => '折线图线段title',
- 'type' => 'string',
- 'example' => 'rm0102',
- ],
- 'data' => [
- 'description' => '折线图数据',
- 'type' => 'array',
- 'items' => [
- 'description' => '响应数据。',
- 'type' => 'string',
- 'example' => '0.00%',
- ],
- ],
+ 'fieldName' => ['description' => '字段name。', 'type' => 'string', 'example' => 'age'],
+ 'fieldTitle' => ['description' => '字段名称。', 'type' => 'string', 'example' => '年龄'],
+ 'isDefault' => ['description' => '是否是默认展示字段(返回时展示,不作传参)'."\n"
+ .'- true 是'."\n"
+ .'- false 否', 'type' => 'boolean', 'example' => 'true'],
],
],
],
+ 'data' => [
+ 'description' => '返回数据对象。',
+ 'type' => 'array',
+ 'items' => ['description' => '返回的数据结果。', 'type' => 'object', 'example' => '{}'],
+ ],
+ 'totalItem' => ['description' => '总条数。', 'type' => 'integer', 'format' => 'int64', 'example' => '6'],
+ 'totalPage' => ['description' => '总页数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'currentPage' => ['description' => '分页查询时当前页的页码。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'pageSize' => ['description' => '每页大小,默认值为10。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
],
],
+ 'RequestId' => ['description' => '请求 ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\",\\n \\"success\\": true,\\n \\"code\\": \\"200\\",\\n \\"message\\": \\"The input parameter data is not valid. order_storage_company_num component not found\\",\\n \\"httpStatusCode\\": \\"200\\",\\n \\"resultObject\\": {\\n \\"xaxis\\": {\\n \\"data\\": [\\n \\"[\\\\n \\\\\\"2025-07-01\\\\\\",\\\\n \\\\\\"2025-07-02\\\\\\",\\\\n \\\\\\"2025-07-03\\\\\\",\\\\n \\\\\\"2025-07-04\\\\\\",\\\\n \\\\\\"2025-07-05\\\\\\",\\\\n \\\\\\"2025-07-06\\\\\\",\\\\n \\\\\\"2025-07-07\\\\\\",\\\\n \\\\\\"2025-07-08\\\\\\",\\\\n \\\\\\"2025-07-09\\\\\\",\\\\n \\\\\\"2025-07-10\\\\\\"\\\\n ]\\"\\n ]\\n },\\n \\"series\\": [\\n {\\n \\"name\\": \\"rm0102\\",\\n \\"data\\": [\\n \\"0.00%\\"\\n ]\\n }\\n ]\\n }\\n}","type":"json"}]',
- 'title' => '风险地图折线图',
- ],
- 'DescribeTagsBarChart' => [
- 'summary' => '标签概览列表',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '事件分析基础查询',
+ 'summary' => '基础查询。',
+ 'changeSet' => [
+ ['createdAt' => '2021-12-22T09:23:32.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeBasicSearchPageList'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": {\\n \\"header\\": [\\n {\\n \\"fieldName\\": \\"age\\",\\n \\"fieldTitle\\": \\"年龄\\",\\n \\"isDefault\\": true\\n }\\n ],\\n \\"data\\": [\\n {}\\n ],\\n \\"totalItem\\": 6,\\n \\"totalPage\\": 1,\\n \\"currentPage\\": 1,\\n \\"pageSize\\": 10\\n },\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeBasicStart' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
- 'name' => 'Lang',
+ 'name' => 'appKey',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '应用appkey。', 'type' => 'string', 'required' => false, 'example' => '***'],
+ ],
+ [
+ 'name' => 'service',
+ 'in' => 'query',
+ 'schema' => ['description' => '调用服务。', 'type' => 'string', 'required' => false, 'example' => 'service_tender_cee'],
+ ],
+ [
+ 'name' => 'startDs',
+ 'in' => 'query',
+ 'schema' => ['description' => '开始时间,精确到毫秒(ms)。', 'type' => 'string', 'required' => false, 'example' => '20250310'],
+ ],
+ [
+ 'name' => 'endDs',
+ 'in' => 'query',
+ 'schema' => ['description' => '结束时间,精确到毫秒(ms)。', 'type' => 'string', 'required' => false, 'example' => '20250320'],
],
[
'name' => 'regId',
'in' => 'query',
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'headers' => [],
'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
+ 'type' => 'object',
+ 'properties' => [
+ 'success' => ['description' => '请求是否成功。', 'type' => 'boolean', 'example' => 'true'],
+ 'code' => ['description' => '状态码。', 'type' => 'string', 'example' => '200'],
+ 'message' => ['description' => '返回消息。', 'type' => 'string', 'example' => 'The input parameter data is not valid. order_storage_company_num component not found'],
+ 'httpStatusCode' => ['description' => 'HTTP状态码。', 'type' => 'string', 'example' => '200'],
+ 'resultObject' => ['description' => '返回对象。', 'type' => 'boolean', 'example' => 'true'],
+ 'requestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2'],
+ ],
+ 'description' => '',
],
],
+ ],
+ 'title' => '基础统计',
+ 'summary' => '基础统计。',
+ 'changeSet' => [
+ ['createdAt' => '2021-11-12T04:29:04.000Z', 'description' => '请求参数发生变更、响应参数发生变更'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeBasicStart'],
+ ],
+ ],
+ 'ramActions' => [
[
- 'name' => 'eventCodes',
- 'in' => 'query',
- 'schema' => [
- 'description' => '事件code。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'de_afghcf6411',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"success\\": true,\\n \\"code\\": \\"200\\",\\n \\"message\\": \\"The input parameter data is not valid. order_storage_company_num component not found\\",\\n \\"httpStatusCode\\": \\"200\\",\\n \\"resultObject\\": true,\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeByPassShuntEvent' => [
+ 'summary' => '查看旁路事件',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'beginTime',
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => ['operationType' => 'get'],
+ 'parameters' => [
+ [
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '开始时间,精确到毫秒(ms)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1751249559000',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'endTime',
+ 'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '结束时间,精确到毫秒(ms)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1751595912000',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'result',
+ 'name' => 'eventId',
'in' => 'query',
- 'schema' => [
- 'description' => '策略执行结果',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'PASS',
- ],
+ 'schema' => ['description' => '事件id。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '25'],
],
],
'responses' => [
@@ -12795,404 +7639,293 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'requestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2',
- ],
- 'success' => [
- 'description' => '请求是否成功。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'code' => [
- 'description' => '状态码。',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'message' => [
- 'description' => '错误信息。',
- 'type' => 'string',
- 'example' => 'The input parameter data is not valid. order_storage_company_num component not found',
- ],
- 'httpStatusCode' => [
- 'description' => 'HTTP状态码',
- 'type' => 'string',
- 'example' => '200',
- ],
+ 'requestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2'],
+ 'success' => ['description' => '是否成功。', 'type' => 'boolean', 'example' => 'true'],
+ 'code' => ['description' => '错误码。', 'type' => 'string', 'example' => '200'],
+ 'message' => ['description' => '错误详情'."\n", 'type' => 'string', 'example' => 'The input parameter data is not valid. order_storage_company_num component not found'],
+ 'httpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'string', 'example' => '200'],
'resultObject' => [
'description' => '返回对象',
'type' => 'object',
'properties' => [
- 'xaxis' => [
- 'description' => 'xaxis接口配置。',
- 'type' => 'object',
- 'properties' => [
- 'data' => [
- 'description' => 'xaxis数据项',
- 'type' => 'array',
- 'items' => [
- 'description' => 'xaxis数据项',
- 'type' => 'string',
- 'example' => '['."\n"
- .' "2025-07-01",'."\n"
- .' "2025-07-02",'."\n"
- .' "2025-07-03",'."\n"
- .' "2025-07-04",'."\n"
- .' "2025-07-05",'."\n"
- .' "2025-07-06",'."\n"
- .' "2025-07-07",'."\n"
- .' "2025-07-08",'."\n"
- .' "2025-07-09",'."\n"
- .' "2025-07-10"'."\n"
- .' ]',
- ],
- ],
- ],
- ],
- 'series' => [
- 'description' => '数据列表',
- 'type' => 'array',
- 'items' => [
- 'description' => '数据列表',
- 'type' => 'object',
- 'properties' => [
- 'name' => [
- 'description' => '系列名称。',
- 'type' => 'string',
- 'example' => 'tag',
- ],
- 'stack' => [
- 'description' => '图表字段,与name一致',
- 'type' => 'string',
- 'example' => 'tag',
- ],
- 'data' => [
- 'description' => '图表数据列表',
- 'type' => 'array',
- 'items' => [
- 'description' => '图表数据列表',
- 'type' => 'object',
- 'properties' => [
- 'num' => [
- 'description' => '数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '200',
- ],
- 'scale' => [
- 'description' => '比例',
- 'type' => 'string',
- 'example' => '10%',
- ],
- ],
- ],
- ],
- ],
- ],
- ],
+ 'eventName' => ['description' => '事件名称。', 'type' => 'string', 'example' => '营销风险识别_增强版'],
],
],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\",\\n \\"success\\": true,\\n \\"code\\": \\"200\\",\\n \\"message\\": \\"The input parameter data is not valid. order_storage_company_num component not found\\",\\n \\"httpStatusCode\\": \\"200\\",\\n \\"resultObject\\": {\\n \\"xaxis\\": {\\n \\"data\\": [\\n \\"[\\\\n \\\\\\"2025-07-01\\\\\\",\\\\n \\\\\\"2025-07-02\\\\\\",\\\\n \\\\\\"2025-07-03\\\\\\",\\\\n \\\\\\"2025-07-04\\\\\\",\\\\n \\\\\\"2025-07-05\\\\\\",\\\\n \\\\\\"2025-07-06\\\\\\",\\\\n \\\\\\"2025-07-07\\\\\\",\\\\n \\\\\\"2025-07-08\\\\\\",\\\\n \\\\\\"2025-07-09\\\\\\",\\\\n \\\\\\"2025-07-10\\\\\\"\\\\n ]\\"\\n ]\\n },\\n \\"series\\": [\\n {\\n \\"name\\": \\"tag\\",\\n \\"stack\\": \\"tag\\",\\n \\"data\\": [\\n {\\n \\"num\\": 200,\\n \\"scale\\": \\"10%\\"\\n }\\n ]\\n }\\n ]\\n }\\n}","type":"json"}]',
- 'title' => '标签概览列表',
- ],
- 'DeleteByPassShuntEvent' => [
- 'summary' => '删除旁路事件',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '查看旁路事件',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeByPassShuntEvent'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\",\\n \\"success\\": true,\\n \\"code\\": \\"200\\",\\n \\"message\\": \\"The input parameter data is not valid. order_storage_company_num component not found\\",\\n \\"httpStatusCode\\": \\"200\\",\\n \\"resultObject\\": {\\n \\"eventName\\": \\"营销风险识别_增强版\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'DescribeCustVariableConfigList' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'operationType' => 'read',
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
+ ],
+ [
+ 'name' => 'bizType',
+ 'in' => 'query',
'schema' => [
- 'description' => '区域编码',
+ 'description' => '配置类型。',
'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
+ 'required' => true,
+ 'enumValueTitles' => ['HISTORY_VALUE_TYPE' => '历史取值类型', 'TIME_TYPE' => '时间单位', 'VELOCITYFC_TYPE' => '变量类型/处理函数'],
+ 'example' => 'TIME_TYPE',
],
],
[
- 'name' => 'eventId',
+ 'name' => 'timeType',
'in' => 'query',
'schema' => [
- 'description' => '事件id。',
- 'type' => 'integer',
- 'format' => 'int64',
+ 'description' => '时间类型。',
+ 'type' => 'string',
'required' => false,
- 'example' => '25',
+ 'enumValueTitles' => ['NEAR' => '近', 'CURRENT' => '本', 'PREVIOUS' => '上一'],
+ 'example' => 'CURRENT',
],
],
],
'responses' => [
200 => [
+ 'headers' => [],
'schema' => [
'type' => 'object',
'properties' => [
- 'requestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2',
- ],
- 'success' => [
- 'description' => '是否成功。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'code' => [
- 'description' => '状态码',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'message' => [
- 'description' => '错误信息。',
- 'type' => 'string',
- 'example' => 'The input parameter data is not valid. order_storage_company_num component not found',
- ],
- 'httpStatusCode' => [
- 'description' => 'HTTP状态码',
- 'type' => 'string',
- 'example' => '200',
- ],
+ 'RequestId' => ['description' => '请求id。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
'resultObject' => [
- 'description' => '返回对象',
- 'type' => 'boolean',
- 'example' => 'true',
+ 'description' => '返回对象。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '返回对象。',
+ 'type' => 'object',
+ 'properties' => [
+ 'configKey' => ['description' => '配置项key。', 'type' => 'string', 'example' => 'COUNT'],
+ 'configValue' => ['description' => '配置项值。', 'type' => 'string', 'example' => '累计'],
+ ],
+ ],
],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\",\\n \\"success\\": true,\\n \\"code\\": \\"200\\",\\n \\"message\\": \\"The input parameter data is not valid. order_storage_company_num component not found\\",\\n \\"httpStatusCode\\": \\"200\\",\\n \\"resultObject\\": true\\n}","type":"json"}]',
- 'title' => '删除旁路事件',
- ],
- 'DescribeByPassShuntEvent' => [
- 'summary' => '查看旁路事件',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '累计变量配置查询',
+ 'summary' => '查询自定义累计变量的类型配置。',
+ 'changeSet' => [
+ ['createdAt' => '2023-01-09T06:11:43.000Z', 'description' => '响应参数发生变更'],
+ ['createdAt' => '2022-05-11T07:27:47.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCustVariableConfigList'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"resultObject\\": [\\n {\\n \\"configKey\\": \\"COUNT\\",\\n \\"configValue\\": \\"累计\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'DescribeCustVariableDetail' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'eventId',
+ 'name' => 'id',
'in' => 'query',
- 'schema' => [
- 'description' => '事件id。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '25',
- ],
+ 'schema' => ['description' => '累计变量主键ID。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '2793'],
],
],
'responses' => [
200 => [
+ 'headers' => [],
'schema' => [
'type' => 'object',
'properties' => [
- 'requestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2',
- ],
- 'success' => [
- 'description' => '是否成功。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'code' => [
- 'description' => '错误码。',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'message' => [
- 'description' => '错误详情'."\n",
- 'type' => 'string',
- 'example' => 'The input parameter data is not valid. order_storage_company_num component not found',
- ],
- 'httpStatusCode' => [
- 'description' => 'HTTP状态码',
- 'type' => 'string',
- 'example' => '200',
- ],
+ 'RequestId' => ['description' => '请求id。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
'resultObject' => [
- 'description' => '返回对象',
- 'type' => 'object',
- 'properties' => [
- 'eventName' => [
- 'description' => '事件名称。',
- 'type' => 'string',
- 'example' => '营销风险识别_增强版',
+ 'description' => '返回对象。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '返回对象。',
+ 'type' => 'object',
+ 'properties' => [
+ 'dataVersion' => ['description' => '数据版本。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'twCount' => ['description' => '时间数。', 'type' => 'string', 'example' => '1'],
+ 'velocityTW' => ['description' => '时间切片单位。', 'type' => 'string', 'example' => 'HOUR_1'],
+ 'title' => ['description' => '标题。', 'type' => 'string', 'example' => '累计变量求平均值'],
+ 'historyValueType' => ['description' => '取值类型。', 'type' => 'string', 'example' => 'EARLIEST'],
+ 'condition' => ['description' => '条件值。', 'type' => 'string', 'example' => '{"currentId":1,"deepCount":0,"list":[{"currentId":2,"deepCount":1,"left":{"code":"accountId","fieldType":"STRING","functionName":"","hasRightVariable":false,"name":"accountId"},"operatorCode":"isNotEmptyWrapper","parentId":1,"right":{"code":"\'A\\nB\\nC\'","functionName":"","name":"","rightVariableType":"constant"}}],"parentId":0,"relationship":"and"}'],
+ 'id' => ['description' => '累计变量主键ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '2793'],
+ 'object' => ['description' => '累计对象。', 'type' => 'string', 'example' => 'DEpage'],
+ 'outputs' => ['description' => '变量返回类型。', 'type' => 'string', 'example' => 'DOUBLE'],
+ 'velocityFC' => ['description' => '变量类型。', 'type' => 'string', 'example' => 'DISTINCT'],
+ 'description' => ['description' => '描述信息。', 'type' => 'string', 'example' => '变量描述'],
+ 'eventCodes' => ['description' => '事件code。', 'type' => 'string', 'example' => 'de_ahespg8137'],
+ 'subject' => ['description' => '主对象。', 'type' => 'string', 'example' => 'DEpname'],
+ 'timeType' => ['description' => '时间切片类型。', 'type' => 'string', 'example' => 'NEAR'],
],
],
],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\",\\n \\"success\\": true,\\n \\"code\\": \\"200\\",\\n \\"message\\": \\"The input parameter data is not valid. order_storage_company_num component not found\\",\\n \\"httpStatusCode\\": \\"200\\",\\n \\"resultObject\\": {\\n \\"eventName\\": \\"营销风险识别_增强版\\"\\n }\\n}","type":"json"}]',
- 'title' => '查看旁路事件',
- ],
- 'DescribeHitRuleList' => [
- 'summary' => '主事件/旁路/分流策略命中TOP20',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '累计变量详情查询',
+ 'summary' => '累计变量详情。',
+ 'changeSet' => [
+ ['createdAt' => '2023-01-09T06:11:43.000Z', 'description' => '响应参数发生变更'],
+ ['createdAt' => '2022-05-11T07:27:47.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCustVariableDetail'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"resultObject\\": [\\n {\\n \\"dataVersion\\": 1,\\n \\"twCount\\": \\"1\\",\\n \\"velocityTW\\": \\"HOUR_1\\",\\n \\"title\\": \\"累计变量求平均值\\",\\n \\"historyValueType\\": \\"EARLIEST\\",\\n \\"condition\\": \\"{\\\\\\"currentId\\\\\\":1,\\\\\\"deepCount\\\\\\":0,\\\\\\"list\\\\\\":[{\\\\\\"currentId\\\\\\":2,\\\\\\"deepCount\\\\\\":1,\\\\\\"left\\\\\\":{\\\\\\"code\\\\\\":\\\\\\"accountId\\\\\\",\\\\\\"fieldType\\\\\\":\\\\\\"STRING\\\\\\",\\\\\\"functionName\\\\\\":\\\\\\"\\\\\\",\\\\\\"hasRightVariable\\\\\\":false,\\\\\\"name\\\\\\":\\\\\\"accountId\\\\\\"},\\\\\\"operatorCode\\\\\\":\\\\\\"isNotEmptyWrapper\\\\\\",\\\\\\"parentId\\\\\\":1,\\\\\\"right\\\\\\":{\\\\\\"code\\\\\\":\\\\\\"\'A\\\\\\\\nB\\\\\\\\nC\'\\\\\\",\\\\\\"functionName\\\\\\":\\\\\\"\\\\\\",\\\\\\"name\\\\\\":\\\\\\"\\\\\\",\\\\\\"rightVariableType\\\\\\":\\\\\\"constant\\\\\\"}}],\\\\\\"parentId\\\\\\":0,\\\\\\"relationship\\\\\\":\\\\\\"and\\\\\\"}\\",\\n \\"id\\": 2793,\\n \\"object\\": \\"DEpage\\",\\n \\"outputs\\": \\"DOUBLE\\",\\n \\"velocityFC\\": \\"DISTINCT\\",\\n \\"description\\": \\"变量描述\\",\\n \\"eventCodes\\": \\"de_ahespg8137\\",\\n \\"subject\\": \\"DEpname\\",\\n \\"timeType\\": \\"NEAR\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'DescribeCustVariablePage' => [
+ 'summary' => '查询自定义累计变量列表',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'eventCodes',
+ 'name' => 'currentPage',
'in' => 'query',
- 'schema' => [
- 'description' => '事件编码,多个事件编码以逗号分隔。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'de_ahqhsw7665,de_ahqhsw7622',
- ],
+ 'schema' => ['description' => '分页参数,当前页码。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
- 'name' => 'beginTime',
+ 'name' => 'pageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '开始时间,精确到毫秒(ms)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1737101348000',
- ],
+ 'schema' => ['description' => '每页记录数,默认值:10', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
[
- 'name' => 'endTime',
+ 'name' => 'eventCode',
'in' => 'query',
- 'schema' => [
- 'description' => '结束时间,精确到毫秒(ms)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1752027960000',
- ],
+ 'schema' => ['description' => '事件编码', 'type' => 'string', 'required' => false, 'example' => 'de_aheldm3876'],
],
[
- 'name' => 'eventType',
+ 'name' => 'description',
'in' => 'query',
- 'schema' => [
- 'description' => '事件类型',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'MAIN',
- ],
+ 'schema' => ['description' => '描述', 'type' => 'string', 'required' => false, 'example' => '累计变量描述'],
+ ],
+ [
+ 'name' => 'createType',
+ 'in' => 'query',
+ 'schema' => ['description' => '创建类型', 'type' => 'string', 'required' => false, 'example' => 'NORMAL'],
],
],
'responses' => [
200 => [
+ 'headers' => [],
'schema' => [
'type' => 'object',
'properties' => [
- 'requestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2',
- ],
+ 'totalItem' => ['description' => '总条数', 'type' => 'integer', 'format' => 'int32', 'example' => '6'],
+ 'pageSize' => ['description' => '每页大小,默认值为10', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ 'currentPage' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'totalPage' => ['description' => '总页数', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'resultObject' => [
'description' => '返回对象',
'type' => 'array',
@@ -13200,17 +7933,13 @@
'description' => '返回对象',
'type' => 'object',
'properties' => [
- 'ruleName' => [
- 'description' => '策略名称',
- 'type' => 'string',
- 'example' => '营销风险识别',
- ],
- 'hitCount' => [
- 'description' => '命中数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
+ 'dataVersion' => ['description' => '数据版本。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'title' => ['description' => '标题。', 'type' => 'string', 'example' => '累计变量名称'],
+ 'description' => ['description' => '描述信息。', 'type' => 'string', 'example' => '累计变量描述'],
+ 'gmtModified' => ['description' => '修改时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1565701886000'],
+ 'status' => ['description' => '状态。', 'type' => 'string', 'example' => 'ENABLE'],
+ 'name' => ['description' => '累计变量name:由后端生成', 'type' => 'string', 'example' => 'xLMfE9K161d'],
+ 'id' => ['description' => '累计变量主键ID', 'type' => 'integer', 'format' => 'int64', 'example' => '497'],
],
],
],
@@ -13218,330 +7947,246 @@
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\",\\n \\"resultObject\\": [\\n {\\n \\"ruleName\\": \\"营销风险识别\\",\\n \\"hitCount\\": 100\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '主事件/旁路/分流策略命中TOP 20',
- ],
- 'DescribeScoreSectionNumLineChart' => [
- 'summary' => '分值区间数量分析',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'title' => '累计变量分页列表查询',
+ 'description' => '累计变量列表查询',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"totalItem\\": 6,\\n \\"pageSize\\": 10,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"currentPage\\": 1,\\n \\"totalPage\\": 1,\\n \\"resultObject\\": [\\n {\\n \\"dataVersion\\": 1,\\n \\"title\\": \\"累计变量名称\\",\\n \\"description\\": \\"累计变量描述\\",\\n \\"gmtModified\\": 1565701886000,\\n \\"status\\": \\"ENABLE\\",\\n \\"name\\": \\"xLMfE9K161d\\",\\n \\"id\\": 497\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'DescribeDataSourceDataDownloadUrl' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'mainEventCodes',
+ 'name' => 'dataSourceId',
'in' => 'query',
+ 'schema' => ['description' => '数据源ID。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '69'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'headers' => [],
'schema' => [
- 'description' => '主事件编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'de_avcqzc3714',
+ 'type' => 'object',
+ 'properties' => [
+ 'resultObject' => [
+ 'description' => '返回对象。',
+ 'type' => 'object',
+ 'properties' => [
+ 'downloadFileUrl' => ['description' => '下载地址。', 'type' => 'string', 'example' => 'https:/xxxxx.oss-cn-xxxxxx.aliyuncs.com/xxxx/xxx/xxxxxx/xxx/xxxxxxxxxx?Expires=1753421064&OSSAccessKeyId=xxxxxxx&Signature=xxxxxxx%3D'],
+ ],
+ ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ ],
+ 'description' => '',
],
],
+ ],
+ 'title' => '根据文件名下载文件',
+ 'summary' => '获取数据源数据下载链接。',
+ 'changeSet' => [
+ ['createdAt' => '2021-11-23T12:31:22.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDataSourceDataDownloadUrl'],
+ ],
+ ],
+ 'ramActions' => [
[
- 'name' => 'byPassEventCodes',
- 'in' => 'query',
- 'schema' => [
- 'description' => '旁路事件编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'de_amnhke2482',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": {\\n \\"downloadFileUrl\\": \\"https:/xxxxx.oss-cn-xxxxxx.aliyuncs.com/xxxx/xxx/xxxxxx/xxx/xxxxxxxxxx?Expires=1753421064&OSSAccessKeyId=xxxxxxx&Signature=xxxxxxx%3D\\"\\n },\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeDataSourceFields' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'shuntEventCodes',
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'get'],
+ 'parameters' => [
+ [
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '分流事件编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'de_amnhke2488',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'beginTime',
+ 'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '开始时间戳,单位毫秒。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '1751249559000'."\n",
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'endTime',
+ 'name' => 'dataSourceCode',
'in' => 'query',
- 'schema' => [
- 'description' => '结束时间戳,单位毫秒。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '1751249559000',
- ],
+ 'schema' => ['description' => '数据源code。', 'type' => 'string', 'required' => true, 'example' => 'date_source'],
],
],
'responses' => [
200 => [
+ 'headers' => [],
'schema' => [
'type' => 'object',
'properties' => [
- 'resultObject' => [
- 'description' => '返回对象',
- 'type' => 'object',
- 'properties' => [
- 'xaxis' => [
- 'description' => 'xaxis节点详情。',
- 'type' => 'object',
- 'properties' => [
- 'data' => [
- 'description' => '数据结构。',
- 'type' => 'array',
- 'items' => [
- 'description' => '数据结构。',
- 'type' => 'string',
- 'example' => '['."\n"
- .' "2025-07-19",'."\n"
- .' "2025-07-20",'."\n"
- .' "2025-07-21",'."\n"
- .' "2025-07-22",'."\n"
- .' "2025-07-23",'."\n"
- .' "2025-07-24",'."\n"
- .' "2025-07-25",'."\n"
- .' "2025-07-26",'."\n"
- .' "2025-07-27",'."\n"
- .' "2025-07-28",'."\n"
- .' "2025-07-29"'."\n"
- .' ]',
- ],
- ],
- ],
- ],
- 'series' => [
- 'description' => '数据列表',
- 'type' => 'array',
- 'items' => [
- 'description' => '数据列表',
- 'type' => 'object',
- 'properties' => [
- 'name' => [
- 'description' => '分类名称。',
- 'type' => 'string',
- 'example' => '旁路事件',
- ],
- 'data' => [
- 'description' => '当前分类结果列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '响应数据。',
- 'type' => 'string',
- 'example' => '10',
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
+ 'resultObject' => ['description' => '返回对象。', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": {\\n \\"xaxis\\": {\\n \\"data\\": [\\n \\"[\\\\n \\\\\\"2025-07-19\\\\\\",\\\\n \\\\\\"2025-07-20\\\\\\",\\\\n \\\\\\"2025-07-21\\\\\\",\\\\n \\\\\\"2025-07-22\\\\\\",\\\\n \\\\\\"2025-07-23\\\\\\",\\\\n \\\\\\"2025-07-24\\\\\\",\\\\n \\\\\\"2025-07-25\\\\\\",\\\\n \\\\\\"2025-07-26\\\\\\",\\\\n \\\\\\"2025-07-27\\\\\\",\\\\n \\\\\\"2025-07-28\\\\\\",\\\\n \\\\\\"2025-07-29\\\\\\"\\\\n ]\\"\\n ]\\n },\\n \\"series\\": [\\n {\\n \\"name\\": \\"旁路事件\\",\\n \\"data\\": [\\n \\"10\\"\\n ]\\n }\\n ]\\n },\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '旁路/分流 - 分值区间数量分析',
- ],
- 'DescribeScoreSectionPieChart' => [
- 'summary' => '主事件/旁路事件/分流事件分值区间占比',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '根据数据源编码获取数据源字段',
+ 'summary' => '获取数据源所有字段。',
+ 'changeSet' => [
+ ['createdAt' => '2021-11-23T12:31:20.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDataSourceFields'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeDataSourcePageList' => [
+ 'summary' => '数据源列表接口。',
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
+ 'name' => 'SourceIp',
+ 'in' => 'query',
+ 'schema' => ['description' => '请求源ip。', 'type' => 'string', 'required' => false, 'example' => '220.250.21.83'],
+ ],
+ [
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'eventCodes',
+ 'name' => 'name',
'in' => 'query',
- 'schema' => [
- 'description' => '事件code。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'de_afghcf6411',
- ],
+ 'schema' => ['description' => '变量name。', 'type' => 'string', 'required' => false, 'example' => 'data_source'],
],
[
- 'name' => 'beginTime',
+ 'name' => 'type',
'in' => 'query',
- 'schema' => [
- 'description' => '开始时间,精确到毫秒(ms)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1751249559000',
- ],
+ 'schema' => ['description' => '类型。', 'type' => 'string', 'required' => false, 'example' => 'FILE'],
],
[
- 'name' => 'endTime',
+ 'name' => 'pageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '结束时间,精确到毫秒(ms)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1740535600000',
- ],
+ 'schema' => ['description' => '每页大小,默认值为10。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10'],
],
[
- 'name' => 'eventType',
+ 'name' => 'currentPage',
'in' => 'query',
- 'schema' => [
- 'description' => '事件类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'MAIN',
- ],
+ 'schema' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'],
],
],
'responses' => [
200 => [
+ 'headers' => [],
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response。',
'type' => 'object',
'properties' => [
- 'requestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ 'totalItem' => ['description' => '总条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '3'],
+ 'totalPage' => ['description' => '总页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '9'],
+ 'currentPage' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'pageSize' => ['description' => '每页大小,默认值为10。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
'resultObject' => [
- 'description' => '返回对象',
- 'type' => 'object',
- 'properties' => [
- 'animation' => [
- 'description' => '图表字段 默认true',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'grid' => [
- 'description' => '所属网格。',
- 'type' => 'object',
- 'properties' => [
- 'show' => [
- 'description' => '图表字段 默认false',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- ],
- ],
- 'series' => [
- 'description' => '数据列表',
- 'type' => 'array',
- 'items' => [
- 'description' => '数据列表',
- 'type' => 'object',
- 'properties' => [
- 'roseType' => [
- 'description' => '图表字段 默认false',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'name' => [
- 'description' => '分类名称。',
- 'type' => 'string',
- 'example' => '分值区间占比',
- ],
- 'data' => [
- 'description' => '图表数据列表',
- 'type' => 'array',
- 'items' => [
- 'description' => '图表数据列表',
- 'type' => 'object',
- 'properties' => [
- 'name' => [
- 'description' => '分类项名称。',
- 'type' => 'string',
- 'example' => '名称',
- ],
- 'value' => [
- 'description' => '结果值。',
- 'type' => 'string',
- 'example' => '100',
- ],
- ],
- ],
- ],
- ],
- ],
+ 'description' => '返回对象。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '返回对象。',
+ 'type' => 'object',
+ 'properties' => [
+ 'id' => ['description' => '数据源ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '497'],
+ 'name' => ['description' => '数据源名称。', 'type' => 'string', 'example' => 'data_source'],
+ 'type' => ['description' => '数据源类型。', 'type' => 'string', 'example' => 'FILE'],
+ 'total' => ['description' => '总页数。', 'type' => 'integer', 'format' => 'int64', 'example' => '4'],
+ 'description' => ['description' => '数据源描述信息。', 'type' => 'string', 'example' => '描述'],
+ 'gmtCreate' => ['description' => '创建数据源的时间。', 'type' => 'string', 'example' => '1621578648000'],
+ 'gmtModified' => ['description' => '最后修改数据源的时间。', 'type' => 'string', 'example' => '1565701886000'],
+ 'creator' => ['description' => '数据源的创建者。', 'type' => 'string', 'example' => 'xxxx'],
+ 'modifier' => ['description' => '最后修改人。', 'type' => 'string', 'example' => 'xxxxx'],
],
],
],
@@ -13549,100 +8194,58 @@
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\",\\n \\"resultObject\\": {\\n \\"animation\\": true,\\n \\"grid\\": {\\n \\"show\\": false\\n },\\n \\"series\\": [\\n {\\n \\"roseType\\": false,\\n \\"name\\": \\"分值区间占比\\",\\n \\"data\\": [\\n {\\n \\"name\\": \\"名称\\",\\n \\"value\\": \\"100\\"\\n }\\n ]\\n }\\n ]\\n }\\n}","type":"json"}]',
- 'title' => '主事件/旁路事件/分流事件分值区间占比饼图',
- ],
- 'DescribeScoreSectionRatioLineChart' => [
- 'summary' => '分值区间占比分析',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '外部数据源列表查询',
+ 'changeSet' => [
+ ['createdAt' => '2021-11-23T12:31:24.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDataSourcePageList'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"totalItem\\": 3,\\n \\"totalPage\\": 9,\\n \\"currentPage\\": 1,\\n \\"pageSize\\": 10,\\n \\"resultObject\\": [\\n {\\n \\"id\\": 497,\\n \\"name\\": \\"data_source\\",\\n \\"type\\": \\"FILE\\",\\n \\"total\\": 4,\\n \\"description\\": \\"描述\\",\\n \\"gmtCreate\\": \\"1621578648000\\",\\n \\"gmtModified\\": \\"1565701886000\\",\\n \\"creator\\": \\"xxxx\\",\\n \\"modifier\\": \\"xxxxx\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'DescribeDecisionResultFluctuation' => [
+ 'summary' => '决策结果波动检测。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'mainEventCodes',
- 'in' => 'query',
- 'schema' => [
- 'description' => '主事件编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'de_avcqzc3714',
- ],
- ],
- [
- 'name' => 'byPassEventCodes',
- 'in' => 'query',
- 'schema' => [
- 'description' => '旁路事件编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'de_amnhke2482',
- ],
- ],
- [
- 'name' => 'shuntEventCodes',
- 'in' => 'query',
- 'schema' => [
- 'description' => '分流事件编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'de_amnhke2488',
- ],
- ],
- [
- 'name' => 'beginTime',
+ 'name' => 'eventCodes',
'in' => 'query',
- 'schema' => [
- 'description' => '开始时间,精确到毫秒(ms)。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '1751249559000',
- ],
- ],
- [
- 'name' => 'endTime',
- 'in' => 'query',
- 'schema' => [
- 'description' => '结束时间,精确到毫秒(ms)。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '1748491200000',
- ],
+ 'schema' => ['description' => '事件code。', 'type' => 'string', 'required' => false, 'example' => 'de_ahqhsw7665,de_ahqhsw7622'],
],
],
'responses' => [
@@ -13650,166 +8253,93 @@
'schema' => [
'type' => 'object',
'properties' => [
+ 'requestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2'],
+ 'success' => ['description' => '是否成功。', 'type' => 'boolean', 'example' => 'true'],
+ 'code' => ['description' => '状态码。', 'type' => 'string', 'example' => '200'],
+ 'message' => ['description' => '错误详情。', 'type' => 'string', 'example' => 'The input parameter data is not valid. order_storage_company_num component not found'],
+ 'httpStatusCode' => ['description' => 'HTTP状态码。', 'type' => 'string', 'example' => '200'],
'resultObject' => [
- 'description' => '返回对象',
- 'type' => 'object',
- 'properties' => [
- 'xaxis' => [
- 'description' => 'xaxis节点详情。',
- 'type' => 'object',
- 'properties' => [
- 'data' => [
- 'description' => '图表数据列表',
- 'type' => 'array',
- 'items' => [
- 'description' => '图表X轴数据列表',
- 'type' => 'string',
- 'example' => '['."\n"
- .' "2025-07-19",'."\n"
- .' "2025-07-20",'."\n"
- .' "2025-07-21",'."\n"
- .' "2025-07-22",'."\n"
- .' "2025-07-23",'."\n"
- .' "2025-07-24",'."\n"
- .' "2025-07-25",'."\n"
- .' "2025-07-26",'."\n"
- .' "2025-07-27",'."\n"
- .' "2025-07-28",'."\n"
- .' "2025-07-29"'."\n"
- .' ]',
- ],
- ],
- ],
- ],
- 'series' => [
- 'description' => '数据列表',
- 'type' => 'array',
- 'items' => [
- 'description' => '数据列表',
- 'type' => 'object',
- 'properties' => [
- 'name' => [
- 'description' => '统计维度。',
- 'type' => 'string',
- 'example' => '旁路事件',
- ],
- 'data' => [
- 'description' => '图表数据列表',
- 'type' => 'array',
- 'items' => [
- 'description' => '图表数据列表',
- 'type' => 'string',
- 'example' => '100',
- ],
- ],
- ],
- ],
+ 'description' => '返回对象。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '返回对象。',
+ 'type' => 'object',
+ 'properties' => [
+ 'status' => ['description' => '执行状态。', 'type' => 'string', 'example' => 'PASS'],
+ 'todayNum' => ['description' => '今天数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '100'],
+ 'yesterdayNum' => ['description' => '昨日数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '200'],
+ 'withinThreeDayNum' => ['description' => '近三天数量。', 'type' => 'string', 'example' => '300'],
+ 'withinSevenDayNum' => ['description' => '近七天数量。', 'type' => 'string', 'example' => '600'],
+ 'withinThirtyDayNum' => ['description' => '近三十天数量。', 'type' => 'string', 'example' => '1200'],
],
],
],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": {\\n \\"xaxis\\": {\\n \\"data\\": [\\n \\"[\\\\n \\\\\\"2025-07-19\\\\\\",\\\\n \\\\\\"2025-07-20\\\\\\",\\\\n \\\\\\"2025-07-21\\\\\\",\\\\n \\\\\\"2025-07-22\\\\\\",\\\\n \\\\\\"2025-07-23\\\\\\",\\\\n \\\\\\"2025-07-24\\\\\\",\\\\n \\\\\\"2025-07-25\\\\\\",\\\\n \\\\\\"2025-07-26\\\\\\",\\\\n \\\\\\"2025-07-27\\\\\\",\\\\n \\\\\\"2025-07-28\\\\\\",\\\\n \\\\\\"2025-07-29\\\\\\"\\\\n ]\\"\\n ]\\n },\\n \\"series\\": [\\n {\\n \\"name\\": \\"旁路事件\\",\\n \\"data\\": [\\n \\"100\\"\\n ]\\n }\\n ]\\n },\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '旁路/分流 - 分值区间占比分析',
- ],
- 'DescribeTagsNumLineChart' => [
- 'summary' => '标签命中数量分析',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '决策结果波动检测',
+ 'changeSet' => [
+ ['createdAt' => '2022-03-02T06:00:58.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDecisionResultFluctuation'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\",\\n \\"success\\": true,\\n \\"code\\": \\"200\\",\\n \\"message\\": \\"The input parameter data is not valid. order_storage_company_num component not found\\",\\n \\"httpStatusCode\\": \\"200\\",\\n \\"resultObject\\": [\\n {\\n \\"status\\": \\"PASS\\",\\n \\"todayNum\\": 100,\\n \\"yesterdayNum\\": 200,\\n \\"withinThreeDayNum\\": \\"300\\",\\n \\"withinSevenDayNum\\": \\"600\\",\\n \\"withinThirtyDayNum\\": \\"1200\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'DescribeDecisionResultTrend' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
- ],
- [
- 'name' => 'mainEventCodes',
- 'in' => 'query',
- 'schema' => [
- 'description' => '主事件编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'de_amnhke2482',
- ],
- ],
- [
- 'name' => 'byPassEventCodes',
- 'in' => 'query',
- 'schema' => [
- 'description' => '旁路事件编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'de_amnhke2482',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'shuntEventCodes',
+ 'name' => 'eventCodes',
'in' => 'query',
- 'schema' => [
- 'description' => '分流事件编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'de_amnhke2488',
- ],
+ 'schema' => ['description' => '事件code。', 'type' => 'string', 'required' => false, 'example' => 'de_ahqhsw7665,de_agbzfi5134'],
],
[
'name' => 'beginTime',
'in' => 'query',
- 'schema' => [
- 'description' => '开始时间,精确到毫秒(ms)。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '1751249559000',
- ],
+ 'schema' => ['description' => '开始时间戳,单位毫秒。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1737101348000'],
],
[
'name' => 'endTime',
'in' => 'query',
- 'schema' => [
- 'description' => '结束时间,精确到毫秒(ms)。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '1749002991000',
- ],
+ 'schema' => ['description' => '结束时间,精确到毫秒(ms)。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1747101348000'],
],
],
'responses' => [
@@ -13817,56 +8347,55 @@
'schema' => [
'type' => 'object',
'properties' => [
+ 'requestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2'],
+ 'success' => ['description' => '请求是否成功。', 'type' => 'boolean', 'example' => 'true'],
+ 'code' => ['description' => '状态码。', 'type' => 'string', 'example' => '200'],
+ 'message' => ['description' => '错误详情。', 'type' => 'string', 'example' => 'The input parameter data is not valid. order_storage_company_num component not found'],
+ 'httpStatusCode' => ['description' => 'HTTP状态码。', 'type' => 'string', 'example' => '200'],
'resultObject' => [
- 'description' => '返回对象',
+ 'description' => '返回对象。',
'type' => 'object',
'properties' => [
'xaxis' => [
- 'description' => 'xaxis节点。',
+ 'description' => '横坐标数据。',
'type' => 'object',
'properties' => [
'data' => [
- 'description' => '图表数据列表',
+ 'description' => 'xaxis数据结构。',
'type' => 'array',
- 'items' => [
- 'description' => 'X轴数据',
- 'type' => 'string',
- 'example' => '['."\n"
- .' "2025-07-19",'."\n"
- .' "2025-07-20",'."\n"
- .' "2025-07-21",'."\n"
- .' "2025-07-22",'."\n"
- .' "2025-07-23",'."\n"
- .' "2025-07-24",'."\n"
- .' "2025-07-25",'."\n"
- .' "2025-07-26",'."\n"
- .' "2025-07-27",'."\n"
- .' "2025-07-28",'."\n"
- .' "2025-07-29"'."\n"
- .' ]',
- ],
+ 'items' => ['description' => 'xaxis数据结构。', 'type' => 'string', 'example' => '['."\n"
+ .' "2025-07-01",'."\n"
+ .' "2025-07-02",'."\n"
+ .' "2025-07-03",'."\n"
+ .' "2025-07-04",'."\n"
+ .' "2025-07-05",'."\n"
+ .' "2025-07-06",'."\n"
+ .' "2025-07-07",'."\n"
+ .' "2025-07-08",'."\n"
+ .' "2025-07-09",'."\n"
+ .' "2025-07-10"'."\n"
+ .' ]'],
],
],
],
'series' => [
- 'description' => '数据列表',
+ 'description' => '图表数据。',
'type' => 'array',
'items' => [
- 'description' => '数据列表',
+ 'description' => '图表数据。',
'type' => 'object',
'properties' => [
- 'name' => [
- 'description' => '系列名称。',
- 'type' => 'string',
- 'example' => 'rn101',
- ],
+ 'name' => ['description' => '名称。', 'type' => 'string', 'example' => 'IpTag_FFF'],
'data' => [
- 'description' => '图表数据列表',
+ 'description' => '返回数据对象。',
'type' => 'array',
'items' => [
- 'description' => '图表数据列表',
- 'type' => 'string',
- 'example' => '10',
+ 'description' => '返回数据对象。',
+ 'type' => 'object',
+ 'properties' => [
+ 'num' => ['description' => '数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
+ 'scale' => ['description' => '比例。', 'type' => 'string', 'example' => '5.56%'],
+ ],
],
],
],
@@ -13874,259 +8403,157 @@
],
],
],
- 'requestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2',
- ],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": {\\n \\"xaxis\\": {\\n \\"data\\": [\\n \\"[\\\\n \\\\\\"2025-07-19\\\\\\",\\\\n \\\\\\"2025-07-20\\\\\\",\\\\n \\\\\\"2025-07-21\\\\\\",\\\\n \\\\\\"2025-07-22\\\\\\",\\\\n \\\\\\"2025-07-23\\\\\\",\\\\n \\\\\\"2025-07-24\\\\\\",\\\\n \\\\\\"2025-07-25\\\\\\",\\\\n \\\\\\"2025-07-26\\\\\\",\\\\n \\\\\\"2025-07-27\\\\\\",\\\\n \\\\\\"2025-07-28\\\\\\",\\\\n \\\\\\"2025-07-29\\\\\\"\\\\n ]\\"\\n ]\\n },\\n \\"series\\": [\\n {\\n \\"name\\": \\"rn101\\",\\n \\"data\\": [\\n \\"10\\"\\n ]\\n }\\n ]\\n },\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\"\\n}","type":"json"}]',
- 'title' => '旁路/分流 - 标签命中数量分析',
- ],
- 'DescribeTagsRatioLineChart' => [
- 'summary' => '标签命中占比分析',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '决策结果波动趋势',
+ 'summary' => '决策结果波动趋势。',
+ 'changeSet' => [
+ ['createdAt' => '2022-03-02T06:00:58.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDecisionResultTrend'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\",\\n \\"success\\": true,\\n \\"code\\": \\"200\\",\\n \\"message\\": \\"The input parameter data is not valid. order_storage_company_num component not found\\",\\n \\"httpStatusCode\\": \\"200\\",\\n \\"resultObject\\": {\\n \\"xaxis\\": {\\n \\"data\\": [\\n \\"[\\\\n \\\\\\"2025-07-01\\\\\\",\\\\n \\\\\\"2025-07-02\\\\\\",\\\\n \\\\\\"2025-07-03\\\\\\",\\\\n \\\\\\"2025-07-04\\\\\\",\\\\n \\\\\\"2025-07-05\\\\\\",\\\\n \\\\\\"2025-07-06\\\\\\",\\\\n \\\\\\"2025-07-07\\\\\\",\\\\n \\\\\\"2025-07-08\\\\\\",\\\\n \\\\\\"2025-07-09\\\\\\",\\\\n \\\\\\"2025-07-10\\\\\\"\\\\n ]\\"\\n ]\\n },\\n \\"series\\": [\\n {\\n \\"name\\": \\"IpTag_FFF\\",\\n \\"data\\": [\\n {\\n \\"num\\": 10,\\n \\"scale\\": \\"5.56%\\"\\n }\\n ]\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'DescribeDetailStart' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
- 'name' => 'Lang',
- 'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
- ],
- [
- 'name' => 'regId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-hangzhou',
- ],
- ],
- [
- 'name' => 'mainEventCodes',
+ 'name' => 'appKey',
'in' => 'query',
- 'schema' => [
- 'description' => '主事件编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'de_amnhke2482',
- ],
+ 'schema' => ['description' => '应用appkey。', 'type' => 'string', 'required' => false, 'example' => '***'],
],
[
- 'name' => 'byPassEventCodes',
+ 'name' => 'service',
'in' => 'query',
- 'schema' => [
- 'description' => '旁路事件编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'de_amnhke2482',
- ],
+ 'schema' => ['description' => '调用服务。', 'type' => 'string', 'required' => false, 'example' => 'service_tender_cee'],
],
[
- 'name' => 'shuntEventCodes',
+ 'name' => 'startDs',
'in' => 'query',
- 'schema' => [
- 'description' => '分流事件编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'de_amnhke2488',
- ],
+ 'schema' => ['description' => '开始时间'."\n"
+ .' '."\n"
+ .' 格式 yyyymmdd。', 'type' => 'string', 'required' => false, 'example' => '20250310'],
],
[
- 'name' => 'beginTime',
+ 'name' => 'endDs',
'in' => 'query',
- 'schema' => [
- 'description' => '开始时间,精确到毫秒(ms)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1751249559000',
- ],
+ 'schema' => ['description' => '结束时间'."\n"
+ .' '."\n"
+ .'格式 yyyymmdd。', 'type' => 'string', 'required' => false, 'example' => '20250320'],
],
[
- 'name' => 'endTime',
+ 'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '结束时间,精确到毫秒(ms)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1751595912000',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
200 => [
+ 'headers' => [],
'schema' => [
'type' => 'object',
'properties' => [
- 'requestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2',
- ],
- 'resultObject' => [
- 'description' => '返回对象',
- 'type' => 'object',
- 'properties' => [
- 'xaxis' => [
- 'description' => 'xaxis节点。',
- 'type' => 'object',
- 'properties' => [
- 'data' => [
- 'description' => 'X轴数据',
- 'type' => 'array',
- 'items' => [
- 'description' => 'X轴数据',
- 'type' => 'string',
- 'example' => '['."\n"
- .' "2025-07-19",'."\n"
- .' "2025-07-20",'."\n"
- .' "2025-07-21",'."\n"
- .' "2025-07-22",'."\n"
- .' "2025-07-23",'."\n"
- .' "2025-07-24",'."\n"
- .' "2025-07-25",'."\n"
- .' "2025-07-26",'."\n"
- .' "2025-07-27",'."\n"
- .' "2025-07-28",'."\n"
- .' "2025-07-29"'."\n"
- .' ]',
- ],
- ],
- ],
- ],
- 'series' => [
- 'description' => '数据列表',
- 'type' => 'array',
- 'items' => [
- 'description' => '数据列表',
- 'type' => 'object',
- 'properties' => [
- 'name' => [
- 'description' => '系列名称。',
- 'type' => 'string',
- 'example' => 'rn101',
- ],
- 'data' => [
- 'description' => '结果数据。',
- 'type' => 'array',
- 'items' => [
- 'description' => '结果数据。',
- 'type' => 'string',
- 'example' => '10%',
- ],
- ],
- ],
- ],
- ],
- ],
- ],
+ 'success' => ['description' => '本次操作是否成功,true表示成功。', 'type' => 'boolean', 'example' => 'true'],
+ 'code' => ['description' => '状态码。', 'type' => 'string', 'example' => '200'],
+ 'message' => ['description' => '错误详情'."\n"
+ .'。', 'type' => 'string', 'example' => 'The input parameter data is not valid. order_storage_company_num component not found'],
+ 'httpStatusCode' => ['description' => 'HTTP状态码。', 'type' => 'string', 'example' => '200'],
+ 'resultObject' => ['description' => '返回对象。', 'type' => 'boolean', 'example' => 'true'],
+ 'requestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\",\\n \\"resultObject\\": {\\n \\"xaxis\\": {\\n \\"data\\": [\\n \\"[\\\\n \\\\\\"2025-07-19\\\\\\",\\\\n \\\\\\"2025-07-20\\\\\\",\\\\n \\\\\\"2025-07-21\\\\\\",\\\\n \\\\\\"2025-07-22\\\\\\",\\\\n \\\\\\"2025-07-23\\\\\\",\\\\n \\\\\\"2025-07-24\\\\\\",\\\\n \\\\\\"2025-07-25\\\\\\",\\\\n \\\\\\"2025-07-26\\\\\\",\\\\n \\\\\\"2025-07-27\\\\\\",\\\\n \\\\\\"2025-07-28\\\\\\",\\\\n \\\\\\"2025-07-29\\\\\\"\\\\n ]\\"\\n ]\\n },\\n \\"series\\": [\\n {\\n \\"name\\": \\"rn101\\",\\n \\"data\\": [\\n \\"10%\\"\\n ]\\n }\\n ]\\n }\\n}","type":"json"}]',
- 'title' => '旁路/分流 - 标签命中占比分析',
- ],
- 'SaveByPassOrShuntEvent' => [
- 'summary' => '旁路/分流配置',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '详细统计',
+ 'summary' => '详细统计。',
+ 'changeSet' => [
+ ['createdAt' => '2021-11-12T04:29:04.000Z', 'description' => '请求参数发生变更、响应参数发生变更'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDetailStart'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"success\\": true,\\n \\"code\\": \\"200\\",\\n \\"message\\": \\"The input parameter data is not valid. order_storage_company_num component not found\\",\\n \\"httpStatusCode\\": \\"200\\",\\n \\"resultObject\\": true,\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeDownloadUrl' => [
+ 'summary' => '下载。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'regId',
+ 'name' => 'Type',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '下载类型', 'type' => 'string', 'required' => false, 'example' => 'FILE'],
],
[
- 'name' => 'eventId',
+ 'name' => 'TaskId',
'in' => 'query',
- 'schema' => [
- 'description' => '事件id。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '445',
- ],
+ 'schema' => ['description' => '任务ID。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '18191'],
],
[
- 'name' => 'eventType',
+ 'name' => 'FileType',
'in' => 'query',
- 'schema' => [
- 'description' => '事件类型',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'MAIN',
- ],
+ 'schema' => ['description' => '文件类型', 'type' => 'string', 'required' => false, 'example' => 'CSV'],
],
[
- 'name' => 'eventName',
+ 'name' => 'RegId',
'in' => 'query',
- 'schema' => [
- 'description' => '事件名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '注册事件',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
@@ -14134,109 +8561,70 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'requestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2',
- ],
- 'success' => [
- 'description' => '请求是否成功。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'code' => [
- 'description' => '状态码',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'message' => [
- 'description' => '错误信息。',
- 'type' => 'string',
- 'example' => 'The input parameter data is not valid. order_storage_company_num component not found',
- ],
- 'httpStatusCode' => [
- 'description' => 'HTTP状态码',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'resultObject' => [
- 'description' => '返回对象',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ 'resultObject' => ['description' => '返回对象', 'type' => 'string', 'example' => 'true'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\",\\n \\"success\\": true,\\n \\"code\\": \\"200\\",\\n \\"message\\": \\"The input parameter data is not valid. order_storage_company_num component not found\\",\\n \\"httpStatusCode\\": \\"200\\",\\n \\"resultObject\\": true\\n}","type":"json"}]',
- 'title' => '配置旁路/分流',
- ],
- 'StartOrStopByPassShuntEvent' => [
- 'summary' => '开启/停止旁路事件',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '下载',
+ 'changeSet' => [
+ ['createdAt' => '2022-06-10T02:15:44.000Z', 'description' => '请求参数发生变更、响应参数发生变更'],
+ ['createdAt' => '2022-05-11T07:23:07.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDownloadUrl'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"resultObject\\": \\"true\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeEventBaseInfoByEventCode' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'operationType' => 'read',
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'eventId',
+ 'name' => 'eventCode',
'in' => 'query',
- 'schema' => [
- 'description' => '事件id。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '445',
- ],
+ 'schema' => ['description' => '事件编码。', 'type' => 'string', 'required' => false, 'example' => 'de_arcehq4370'],
],
[
- 'name' => 'status',
+ 'name' => 'createType',
'in' => 'query',
- 'schema' => [
- 'description' => '状态。',
- 'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [
- '下线',
- '上线',
- ],
- 'example' => '1',
- ],
+ 'schema' => ['description' => '创建类型。', 'type' => 'string', 'required' => false, 'example' => 'NORMAL'],
],
],
'responses' => [
@@ -14244,95 +8632,113 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'requestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2',
- ],
- 'success' => [
- 'description' => '请求是否成功。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'code' => [
- 'description' => '状态码',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'message' => [
- 'description' => '错误信息。',
- 'type' => 'string',
- 'example' => 'The input parameter data is not valid. order_storage_company_num component not found',
- ],
- 'httpStatusCode' => [
- 'description' => 'HTTP状态码',
- 'type' => 'string',
- 'example' => '200',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
'resultObject' => [
- 'description' => '返回对象',
- 'type' => 'boolean',
- 'example' => 'true',
+ 'description' => '返回对象。',
+ 'type' => 'object',
+ 'properties' => [
+ 'eventCode' => ['description' => '事件编码。', 'type' => 'string', 'example' => 'de_aszbjb7236'],
+ 'memo' => ['description' => '备注。', 'type' => 'string', 'example' => '备注'],
+ 'templateCode' => ['description' => '操作模板code。', 'type' => 'string', 'example' => 'register'],
+ 'templateName' => ['description' => '模板名称。', 'type' => 'string', 'example' => '注册事件模板'],
+ 'templateType' => ['description' => '模板类型。', 'type' => 'string', 'example' => 'TEMPLATE'],
+ 'bizVersion' => ['description' => '业务版本号。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'eventStauts' => ['description' => '事件状态。', 'type' => 'string', 'example' => 'ONLINE'],
+ 'eventName' => ['description' => '事件名称。', 'type' => 'string', 'example' => '注册风险'],
+ 'inputFields' => [
+ 'description' => '字段列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '字段列表。',
+ 'type' => 'object',
+ 'properties' => [
+ 'fieldCode' => ['description' => '字段code。', 'type' => 'string', 'example' => 'age'],
+ 'fieldSource' => ['description' => '字段的来源。', 'type' => 'string', 'example' => 'DEFAULT'],
+ 'title' => ['description' => '字段名称。', 'type' => 'string', 'example' => '年龄'],
+ 'fieldType' => ['description' => '字段类型。', 'type' => 'string', 'example' => 'STRING'],
+ 'fieldRank' => ['description' => '字段排序。', 'type' => 'string', 'example' => '1'],
+ 'description' => ['description' => '字段描述。', 'type' => 'string', 'example' => '描述'],
+ ],
+ ],
+ ],
+ 'ruleDetails' => [
+ 'description' => '策略信息。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '策略信息。',
+ 'type' => 'object',
+ 'properties' => [
+ 'ruleId' => ['description' => '策略ID。', 'type' => 'string', 'example' => '101544'],
+ 'memo' => ['description' => '备注。', 'type' => 'string', 'example' => '描述'],
+ 'ruleActions' => ['description' => '规则动作。', 'type' => 'string', 'example' => '[{\\"inputs\\":[\\"auto_accselist\\"],\\"name\\":\\"__addDeTags__\\",\\"actionType\\":\\"TAG\\",\\"outputType\\":\\"const\\"}]'],
+ 'ruleStatus' => ['description' => '策略状态。', 'type' => 'string', 'example' => 'DRAFT'],
+ 'ruleExpressions' => ['description' => '事件表达式。', 'type' => 'string', 'example' => '[{\\"expressionName\\":\\"同一设备同一IP上的注册用户数\\",\\"itemId\\":1,\\"left\\":{\\"name\\":\\"dK7EXHr490f\\"},\\"operatorCode\\":\\"gte\\",\\"operatorName\\":\\"大于等于\\",\\"right\\":{\\"fieldValue\\":\\"2\\"}}]'],
+ 'ruleName' => ['description' => '策略名称。', 'type' => 'string', 'example' => '手机号MD5命中人脸测试名单'],
+ 'logicExpression' => ['description' => '策略执行逻辑。', 'type' => 'string', 'example' => '3&((1&2&4)'],
+ 'ruleAuthType' => ['description' => '策略类型。', 'type' => 'string', 'example' => 'DEFAULT'],
+ ],
+ ],
+ ],
+ ],
],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\",\\n \\"success\\": true,\\n \\"code\\": \\"200\\",\\n \\"message\\": \\"The input parameter data is not valid. order_storage_company_num component not found\\",\\n \\"httpStatusCode\\": \\"200\\",\\n \\"resultObject\\": true\\n}","type":"json"}]',
- 'title' => '开启/停止旁路事件',
- ],
- 'SwitchToOnline' => [
- 'summary' => '一键切换上线',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '查询事件详情',
+ 'summary' => '查询事件详情。',
+ 'changeSet' => [
+ ['createdAt' => '2022-12-27T11:32:42.000Z', 'description' => '响应参数发生变更'],
+ ['createdAt' => '2022-05-11T07:28:11.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeEventBaseInfoByEventCode'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"resultObject\\": {\\n \\"eventCode\\": \\"de_aszbjb7236\\",\\n \\"memo\\": \\"备注\\",\\n \\"templateCode\\": \\"register\\",\\n \\"templateName\\": \\"注册事件模板\\",\\n \\"templateType\\": \\"TEMPLATE\\",\\n \\"bizVersion\\": 1,\\n \\"eventStauts\\": \\"ONLINE\\",\\n \\"eventName\\": \\"注册风险\\",\\n \\"inputFields\\": [\\n {\\n \\"fieldCode\\": \\"age\\",\\n \\"fieldSource\\": \\"DEFAULT\\",\\n \\"title\\": \\"年龄\\",\\n \\"fieldType\\": \\"STRING\\",\\n \\"fieldRank\\": \\"1\\",\\n \\"description\\": \\"描述\\"\\n }\\n ],\\n \\"ruleDetails\\": [\\n {\\n \\"ruleId\\": \\"101544\\",\\n \\"memo\\": \\"描述\\",\\n \\"ruleActions\\": \\"[{\\\\\\\\\\\\\\"inputs\\\\\\\\\\\\\\":[\\\\\\\\\\\\\\"auto_accselist\\\\\\\\\\\\\\"],\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"__addDeTags__\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"actionType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"TAG\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"outputType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"const\\\\\\\\\\\\\\"}]\\",\\n \\"ruleStatus\\": \\"DRAFT\\",\\n \\"ruleExpressions\\": \\"[{\\\\\\\\\\\\\\"expressionName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"同一设备同一IP上的注册用户数\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"itemId\\\\\\\\\\\\\\":1,\\\\\\\\\\\\\\"left\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"dK7EXHr490f\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"operatorCode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"gte\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"operatorName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"大于等于\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"right\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"fieldValue\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"2\\\\\\\\\\\\\\"}}]\\",\\n \\"ruleName\\": \\"手机号MD5命中人脸测试名单\\",\\n \\"logicExpression\\": \\"3&((1&2&4)\\",\\n \\"ruleAuthType\\": \\"DEFAULT\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'DescribeEventCount' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'operationType' => 'read',
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'eventId',
+ 'name' => 'createType',
'in' => 'query',
- 'schema' => [
- 'description' => '要切换到的事件id。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => 'de_ahqhsw7665',
- ],
+ 'schema' => ['description' => '创建类型。', 'type' => 'string', 'required' => false, 'example' => 'NORMAL'],
],
],
'responses' => [
@@ -14340,105 +8746,88 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'requestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2',
- ],
- 'success' => [
- 'description' => '本次操作是否成功,true表示成功。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'code' => [
- 'description' => '状态码',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'message' => [
- 'description' => '错误信息。',
- 'type' => 'string',
- 'example' => 'The input parameter data is not valid. order_storage_company_num component not found',
- ],
- 'httpStatusCode' => [
- 'description' => 'HTTP状态码',
- 'type' => 'string',
- 'example' => '200',
- ],
+ 'requestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2'],
+ 'success' => ['description' => '请求是否成功。', 'type' => 'boolean', 'example' => 'true'],
+ 'code' => ['description' => '状态码。', 'type' => 'string', 'example' => '200'],
+ 'message' => ['description' => '错误详情。', 'type' => 'string', 'example' => 'The input parameter data is not valid. order_storage_company_num component not found'],
+ 'httpStatusCode' => ['description' => 'HTTP状态码。', 'type' => 'string', 'example' => '200'],
'resultObject' => [
- 'description' => '返回对象',
- 'type' => 'boolean',
- 'example' => 'true',
+ 'description' => '返回对象。',
+ 'type' => 'object',
+ 'properties' => [
+ 'totalItem' => ['description' => '总个数。', 'type' => 'integer', 'format' => 'int32', 'example' => '101'],
+ 'maxTotalItem' => ['description' => '最大创建条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
+ 'limit' => ['description' => '是否超过最大数量。', 'type' => 'boolean', 'example' => 'true'],
+ ],
],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\",\\n \\"success\\": true,\\n \\"code\\": \\"200\\",\\n \\"message\\": \\"The input parameter data is not valid. order_storage_company_num component not found\\",\\n \\"httpStatusCode\\": \\"200\\",\\n \\"resultObject\\": true\\n}","type":"json"}]',
- 'title' => '旁路事件切换上线',
- ],
- 'UpdateByPassShuntEvent' => [
- 'summary' => '编辑旁路事件。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '查询事件总数量',
+ 'summary' => '查询事件总数量。',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:23:08.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeEventCount'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\",\\n \\"success\\": true,\\n \\"code\\": \\"200\\",\\n \\"message\\": \\"The input parameter data is not valid. order_storage_company_num component not found\\",\\n \\"httpStatusCode\\": \\"200\\",\\n \\"resultObject\\": {\\n \\"totalItem\\": 101,\\n \\"maxTotalItem\\": 100,\\n \\"limit\\": true\\n }\\n}","type":"json"}]',
+ ],
+ 'DescribeEventDetailByRequestId' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'eventId',
+ 'name' => 'sRequestId',
'in' => 'query',
- 'schema' => [
- 'description' => '事件id。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '233',
- ],
+ 'schema' => ['description' => '请求ID。', 'type' => 'string', 'required' => true, 'example' => 'BD6B08EC-1B44-5378-8838-C76A36415C55'],
],
[
- 'name' => 'eventName',
+ 'name' => 'eventTime',
'in' => 'query',
- 'schema' => [
- 'description' => '事件名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '用户昵称文本审核检测结果'."\n",
- ],
+ 'schema' => ['description' => '事件执行时间。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1752571330000'],
+ ],
+ [
+ 'name' => 'eventCode',
+ 'in' => 'query',
+ 'schema' => ['description' => '事件编码。', 'type' => 'string', 'required' => false, 'example' => 'de_azywkh7523'],
],
],
'responses' => [
@@ -14446,113 +8835,66 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'requestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2',
- ],
- 'success' => [
- 'description' => '是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'code' => [
- 'description' => '状态码。',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'message' => [
- 'description' => '错误信息。',
- 'type' => 'string',
- 'example' => 'The input parameter data is not valid. order_storage_company_num component not found',
- ],
- 'httpStatusCode' => [
- 'description' => 'HTTP状态码',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'resultObject' => [
- 'description' => '返回对象',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'resultObject' => ['description' => '返回对象。', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => '请求 ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\",\\n \\"success\\": true,\\n \\"code\\": \\"200\\",\\n \\"message\\": \\"The input parameter data is not valid. order_storage_company_num component not found\\",\\n \\"httpStatusCode\\": \\"200\\",\\n \\"resultObject\\": true\\n}","type":"json"}]',
- 'title' => '编辑旁路事件',
- ],
- 'UpdateSampleBatch' => [
- 'summary' => '批量修改样本。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '根据requestId查事件详情',
+ 'summary' => '根据requestId查询事件详情。',
+ 'changeSet' => [
+ ['createdAt' => '2021-12-22T09:23:32.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeEventDetailByRequestId'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeEventLogDetail' => [
+ 'summary' => '查询事件历史详情',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'operationType' => 'read',
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'ids',
- 'in' => 'query',
- 'schema' => [
- 'description' => '批量操作id。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '324,343',
- ],
- ],
- [
- 'name' => 'versions',
+ 'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '版本号(最新)。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1,1',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'tags',
+ 'name' => 'reqIdByLog',
'in' => 'query',
- 'schema' => [
- 'description' => '标签(逗号分割)',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rm0102,rm0103',
- ],
- ],
- [
- 'name' => 'regId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '日志详细信息。', 'type' => 'string', 'required' => true, 'example' => 'BD6B08EC-1B44-5378-8838-C76A36415C55'],
],
],
'responses' => [
@@ -14560,232 +8902,333 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'data' => [
- 'description' => '返回数据。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
+ 'resultObject' => ['description' => '返回对象', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '批量修改样本',
- ],
- 'CreateSample' => [
- 'summary' => '添加样本。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '查询事件历史详情',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:23:06.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeEventLogDetail'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeEventLogPage' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'read',
'systemTags' => [
'operationType' => 'get',
+ 'abilityTreeCode' => '135953',
+ 'abilityTreeNodes' => ['FEATUREsafT73ZWM'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'sampleType',
+ 'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '样本类型',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'PHONE',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'sampleValues',
+ 'name' => 'currentPage',
'in' => 'query',
- 'schema' => [
- 'description' => '样本值',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1777000000,1777000001',
- ],
+ 'schema' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
- 'name' => 'sampleTag',
+ 'name' => 'pageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '样本标签',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rm0102',
- ],
+ 'schema' => ['description' => '每页大小,默认值为10。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
[
- 'name' => 'uploadType',
+ 'name' => 'beginTime',
'in' => 'query',
- 'schema' => [
- 'description' => '上传类型',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ANNEX',
- ],
+ 'schema' => ['description' => '日志开始的时间戳。单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1737101348000'],
],
[
- 'name' => 'clientPath',
+ 'name' => 'endTime',
'in' => 'query',
- 'schema' => [
- 'description' => 'oss客户地址',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'sample/path',
- ],
+ 'schema' => ['description' => '结束时间,精确到毫秒(ms)。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1746669075000'],
],
[
- 'name' => 'clientFileName',
+ 'name' => 'reqIdPBS',
'in' => 'query',
- 'schema' => [
- 'description' => 'oss客户上传文件名',
- 'type' => 'string',
- 'required' => false,
- 'example' => '样本文件.csv',
- ],
+ 'schema' => ['description' => 'requestId。', 'type' => 'string', 'required' => false, 'example' => 'BD6B08EC-1B44-5378-8838-C76A36415C55'],
],
[
- 'name' => 'fileType',
+ 'name' => 'serviceABS',
'in' => 'query',
- 'schema' => [
- 'description' => '文件类型',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'CSV',
- ],
+ 'schema' => ['description' => '事件名称(instance_id)。', 'type' => 'string', 'required' => false, 'example' => 'de_afghcf6411'],
],
[
- 'name' => 'regId',
+ 'name' => 'accountIdPRP',
+ 'in' => 'query',
+ 'schema' => ['description' => '账户ID(request_param.accountId)不超过50个字符,支持“*”、“?”通配符。', 'type' => 'string', 'required' => false, 'example' => '180650758xxxxxxx'],
+ ],
+ [
+ 'name' => 'nickNamePRP',
+ 'in' => 'query',
+ 'schema' => ['description' => '账户昵称(request_param.nickName)不超过50个字符,支持“*”、“?”通配符。', 'type' => 'string', 'required' => false, 'example' => '测试xx'],
+ ],
+ [
+ 'name' => 'mobilePRP',
+ 'in' => 'query',
+ 'schema' => ['description' => '手机号(支持MD5request_param.mobile/request_param.mobileMd5),不超过30个字符,支持“*”、“?”通配符,按照字段mobile、mobileMd5两个字符进行搜索。', 'type' => 'string', 'required' => false, 'example' => '17600000000'],
+ ],
+ [
+ 'name' => 'emailPRP',
+ 'in' => 'query',
+ 'schema' => ['description' => 'Email(request_param.email)不超过100个字符,支持“*”、“?”通配符。', 'type' => 'string', 'required' => false, 'example' => 'xxxx@123.com'],
+ ],
+ [
+ 'name' => 'ipPRP',
+ 'in' => 'query',
+ 'schema' => ['description' => 'IP(request_param.ip)不超过20个字符,支持“*”、“?”通配符。', 'type' => 'string', 'required' => false, 'example' => '168.168.168.168'],
+ ],
+ [
+ 'name' => 'userNameTypeLRP',
+ 'in' => 'query',
+ 'schema' => ['description' => '账户名类型,登录场景(-request_param.userNameType)。', 'type' => 'string', 'required' => false, 'example' => 'type'],
+ ],
+ [
+ 'name' => 'loginTypeLRP',
+ 'in' => 'query',
+ 'schema' => ['description' => '登录验证方式(-request_param.loginType)。', 'type' => 'string', 'required' => false, 'example' => 'PASSWORD'],
+ ],
+ [
+ 'name' => 'registerIpPRP',
+ 'in' => 'query',
+ 'schema' => ['description' => '账户注册IP(request_param.registerIp),不超过20个字符,支持“*”、“?”通配符。', 'type' => 'string', 'required' => false, 'example' => '168.168.168.168'."\n"],
+ ],
+ [
+ 'name' => 'loginResultARP',
+ 'in' => 'query',
+ 'schema' => ['description' => '登录成功标识(request_param.loginResult)。', 'type' => 'string', 'required' => false, 'example' => 'SUCCESS'],
+ ],
+ [
+ 'name' => 'failReasonLRP',
'in' => 'query',
'schema' => [
- 'description' => '区域编码',
+ 'description' => '登录失败原因(-request_param.failReason)。',
'type' => 'string',
'required' => false,
- 'example' => 'cn-hangzhou',
+ 'enumValueTitles' => ['wrongPassword' => '密码错误', 'other' => '其他', 'wrongUserName' => '用户名错误'],
+ 'example' => 'wrongPassword',
],
],
+ [
+ 'name' => 'userAgentPRP',
+ 'in' => 'query',
+ 'schema' => ['description' => 'userAgent(-request_param.userAgent),不超过50个字符,支持“*”、“?”通配符。', 'type' => 'string', 'required' => false, 'example' => '00-1C-F0-1D-A7-81'],
+ ],
+ [
+ 'name' => 'referPRP',
+ 'in' => 'query',
+ 'schema' => ['description' => 'refer(-request_param.refer),不超过50个字符,支持“*”、“?”通配符。', 'type' => 'string', 'required' => false, 'example' => 'refer'],
+ ],
+ [
+ 'name' => 'umidPDI',
+ 'in' => 'query',
+ 'schema' => ['description' => '设备ID(device_info.umid)。', 'type' => 'string', 'required' => false, 'example' => '设备ID'],
+ ],
+ [
+ 'name' => 'macPRP',
+ 'in' => 'query',
+ 'schema' => ['description' => '设备MAC地址(-request_param.mac),不超过30个字符,支持“*”、“?”通配符。', 'type' => 'string', 'required' => false, 'example' => '00-1C-F0-1D-A7-81'],
+ ],
+ [
+ 'name' => 'deviceTypeLRP',
+ 'in' => 'query',
+ 'schema' => ['description' => '设备类型(request_param.deviceType),设备类型举例:1、PC 2、MOBILE。', 'type' => 'string', 'required' => false, 'example' => 'PC'],
+ ],
+ [
+ 'name' => 'operateSourceLRP',
+ 'in' => 'query',
+ 'schema' => ['description' => '操作来源(request_param.operateSource),操作来源举例:1、PC 2、H5 3、App。', 'type' => 'string', 'required' => false, 'example' => 'PC'],
+ ],
+ [
+ 'name' => 'tagsLBS',
+ 'in' => 'query',
+ 'schema' => ['description' => '风险标签(tags),数据来源DescribeTagsList。', 'type' => 'string', 'required' => false, 'example' => 'rg0001'],
+ ],
+ [
+ 'name' => 'scoreSBS',
+ 'in' => 'query',
+ 'schema' => ['description' => '分值区间起始值(score),只能输入非负整数,右区间必须大于左区间,左右区间都取闭合。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
+ ],
+ [
+ 'name' => 'scoreEBS',
+ 'in' => 'query',
+ 'schema' => ['description' => '分值区间终止值(score),只能输入非负整数,右区间必须大于左区间,左右区间都取闭合。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2'],
+ ],
+ [
+ 'name' => 'condition1AL',
+ 'in' => 'query',
+ 'schema' => ['description' => '全文匹配1,不能超过30个字符。', 'type' => 'string', 'required' => false, 'example' => 'rm0102'],
+ ],
+ [
+ 'name' => 'condition2AL',
+ 'in' => 'query',
+ 'schema' => ['description' => '全文匹配2,不能超过30个字符。', 'type' => 'string', 'required' => false, 'example' => 'rm0102'],
+ ],
+ [
+ 'name' => 'condition3AL',
+ 'in' => 'query',
+ 'schema' => ['description' => '全文匹配3,不能超过30个字符。', 'type' => 'string', 'required' => false, 'example' => 'rm0102'],
+ ],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
+ 'totalItem' => ['description' => '总条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '6'],
+ 'pageSize' => ['description' => '每页大小,默认值为10。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ 'currentPage' => ['description' => '当前页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'totalPage' => ['description' => '总页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '9'],
'resultObject' => [
- 'description' => '返回对象',
- 'type' => 'object',
- 'properties' => [
- 'failCount' => [
- 'description' => '失败样本数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'riskDensity' => [
- 'description' => '风险浓度',
- 'type' => 'string',
- 'example' => '1.5%',
- ],
- 'recallProbability' => [
- 'description' => '召回概率',
- 'type' => 'string',
- 'example' => '2.5%',
- ],
- 'successCount' => [
- 'description' => '成功样本数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '99',
- ],
- 'communityCount' => [
- 'description' => '染色群体数量',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'sampleCount' => [
- 'description' => '样本数量',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
+ 'description' => '返回对象。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '返回对象。',
+ 'type' => 'object',
+ 'properties' => [
+ 'service' => ['description' => '事件名称。', 'type' => 'string', 'example' => '注册事件'],
+ 'accountId' => ['description' => '账号ID。', 'type' => 'string', 'example' => '1631801314885832'],
+ 'mobile' => ['description' => '手机号。', 'type' => 'string', 'example' => '13817606333'],
+ 'score' => ['description' => '评分。', 'type' => 'string', 'example' => '10.0'],
+ 'requestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '546F8063-0104-5271-9EB7-56FB3F375BAD'],
+ 'tags' => ['description' => '标签。', 'type' => 'string', 'example' => 'rm0102'],
+ 'email' => ['description' => '邮箱。', 'type' => 'string', 'example' => 'xxxx@123.com'."\n"],
+ 'timestamp' => ['description' => '交易时间。', 'type' => 'string', 'example' => '1737101348000'],
+ 'ip' => ['description' => 'ip。', 'type' => 'string', 'example' => '10.200.5.100'],
+ 'nickName' => ['description' => '昵称。', 'type' => 'string', 'example' => '昵称'],
+ 'umid' => ['description' => '设备id。', 'type' => 'string', 'example' => '4239'],
],
],
],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"resultObject\\": {\\n \\"failCount\\": 1,\\n \\"riskDensity\\": \\"1.5%\\",\\n \\"recallProbability\\": \\"2.5%\\",\\n \\"successCount\\": 99,\\n \\"communityCount\\": 10,\\n \\"sampleCount\\": 100\\n }\\n}","type":"json"}]',
- 'title' => '添加样本',
- ],
- 'DescribeOssAuthStatus' => [
- 'summary' => '查看是否授权Oss。',
- 'methods' => [
- 'post',
- 'get',
+ 'errorCodes' => [
+ 400 => [
+ ['errorCode' => '1701', 'errorMessage' => 'user not auth sls', 'description' => 'SLS未开通,请检查是否已欠费'],
+ ],
+ 500 => [
+ ['errorCode' => '1101', 'errorMessage' => 'system error', 'description' => '系统错误'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'title' => '查询事件历史列表',
+ 'summary' => '查询事件历史列表。',
+ 'changeSet' => [
+ ['createdAt' => '2025-01-06T09:06:11.000Z', 'description' => '错误码发生变更'],
+ ['createdAt' => '2022-05-11T07:23:06.000Z', 'description' => 'OpenAPI 下线'],
],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeEventLogPage'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"totalItem\\": 6,\\n \\"pageSize\\": 10,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"currentPage\\": 1,\\n \\"totalPage\\": 9,\\n \\"resultObject\\": [\\n {\\n \\"service\\": \\"注册事件\\",\\n \\"accountId\\": \\"1631801314885832\\",\\n \\"mobile\\": \\"13817606333\\",\\n \\"score\\": \\"10.0\\",\\n \\"requestId\\": \\"546F8063-0104-5271-9EB7-56FB3F375BAD\\",\\n \\"tags\\": \\"rm0102\\",\\n \\"email\\": \\"xxxx@123.com\\\\n\\",\\n \\"timestamp\\": \\"1737101348000\\",\\n \\"ip\\": \\"10.200.5.100\\",\\n \\"nickName\\": \\"昵称\\",\\n \\"umid\\": \\"4239\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'DescribeEventPageList' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'operationType' => 'read',
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
+ ],
+ [
+ 'name' => 'currentPage',
+ 'in' => 'query',
+ 'schema' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
+ ],
+ [
+ 'name' => 'pageSize',
+ 'in' => 'query',
+ 'schema' => ['description' => '每页大小,默认值为10。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
+ ],
+ [
+ 'name' => 'eventName',
+ 'in' => 'query',
+ 'schema' => ['description' => '事件名称。', 'type' => 'string', 'required' => false, 'example' => '注册风险旁路'],
+ ],
+ [
+ 'name' => 'eventCode',
+ 'in' => 'query',
+ 'schema' => ['description' => '事件编码。', 'type' => 'string', 'required' => false, 'example' => 'de_aikqxy3122'],
+ ],
+ [
+ 'name' => 'eventStatus',
+ 'in' => 'query',
+ 'schema' => ['description' => '事件状态。', 'type' => 'string', 'required' => false, 'example' => 'ONLINE'],
+ ],
+ [
+ 'name' => 'createType',
+ 'in' => 'query',
+ 'schema' => ['description' => '创建类型。', 'type' => 'string', 'required' => false, 'example' => 'NORMAL'],
],
],
'responses' => [
@@ -14793,98 +9236,118 @@
'schema' => [
'type' => 'object',
'properties' => [
+ 'totalItem' => ['description' => '总条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '3'],
+ 'pageSize' => ['description' => '每页大小,默认值为10。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ 'currentPage' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'totalPage' => ['description' => '总页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '9'],
'resultObject' => [
- 'description' => '返回对象',
- 'type' => 'string',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
+ 'description' => '返回对象。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '返回对象。',
+ 'type' => 'object',
+ 'properties' => [
+ 'eventCode' => ['description' => '事件编码。', 'type' => 'string', 'example' => 'de_aszbjb7236'],
+ 'templateCode' => ['description' => '模板code。', 'type' => 'string', 'example' => 'register'],
+ 'templateName' => ['description' => '模板名称。', 'type' => 'string', 'example' => '注册模版'],
+ 'userCount' => ['description' => '客户授权数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'templateType' => ['description' => '模版类型。', 'type' => 'string', 'example' => 'UNIVERSAL'],
+ 'gmtModified' => ['description' => '修改时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1565701886000'],
+ 'ruleCount' => ['description' => '规则总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'gmtCreate' => ['description' => '创建时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1621578648000'],
+ 'id' => ['description' => '数据库id。', 'type' => 'integer', 'format' => 'int64', 'example' => '497'],
+ 'eventStatus' => ['description' => '事件状态。', 'type' => 'string', 'example' => 'ONLINE'],
+ 'eventName' => ['description' => '事件名称。', 'type' => 'string', 'example' => '注册风险'],
+ 'eventType' => ['description' => '事件类型。', 'type' => 'string', 'example' => 'MAIN'],
+ 'children' => [
+ 'description' => '对象。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '对象。',
+ 'type' => 'object',
+ 'properties' => [
+ 'eventCode' => ['description' => '事件编码。', 'type' => 'string', 'example' => 'de_aamexg3015'],
+ 'gmtModified' => ['description' => '修改时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1621578648000'],
+ 'ruleCount' => ['description' => '规则总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
+ 'eventStatus' => ['description' => '事件状态。', 'type' => 'string', 'example' => 'ONLINE'],
+ 'eventName' => ['description' => '事件名称。', 'type' => 'string', 'example' => '测试'],
+ 'eventType' => ['description' => '事件类型。', 'type' => 'string', 'example' => 'BYPASS'],
+ 'id' => ['description' => '主键ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '334'],
+ 'gmtCreate' => ['description' => '创建时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1621578648000'."\n"],
+ ],
+ ],
+ ],
+ ],
+ ],
],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": \\"true\\",\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '查看是否授权Oss',
- ],
- 'DescribeApi' => [
- 'summary' => '得到api详情。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '事件列表分页查询',
+ 'summary' => '事件分页查询。',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:23:08.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeEventPageList'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"totalItem\\": 3,\\n \\"pageSize\\": 10,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"currentPage\\": 1,\\n \\"totalPage\\": 9,\\n \\"resultObject\\": [\\n {\\n \\"eventCode\\": \\"de_aszbjb7236\\",\\n \\"templateCode\\": \\"register\\",\\n \\"templateName\\": \\"注册模版\\",\\n \\"userCount\\": 1,\\n \\"templateType\\": \\"UNIVERSAL\\",\\n \\"gmtModified\\": 1565701886000,\\n \\"ruleCount\\": 10,\\n \\"gmtCreate\\": 1621578648000,\\n \\"id\\": 497,\\n \\"eventStatus\\": \\"ONLINE\\",\\n \\"eventName\\": \\"注册风险\\",\\n \\"eventType\\": \\"MAIN\\",\\n \\"children\\": [\\n {\\n \\"eventCode\\": \\"de_aamexg3015\\",\\n \\"gmtModified\\": 1621578648000,\\n \\"ruleCount\\": 10,\\n \\"eventStatus\\": \\"ONLINE\\",\\n \\"eventName\\": \\"测试\\",\\n \\"eventType\\": \\"BYPASS\\",\\n \\"id\\": 334,\\n \\"gmtCreate\\": 1621578648000\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'DescribeEventResultBarChart' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- 'abilityTreeCode' => '136083',
- 'abilityTreeNodes' => [
- 'FEATUREsafT73ZWM',
- ],
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'apiRegionId',
+ 'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域id。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-hangzhou、cn-shanghai',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'apiId',
+ 'name' => 'eventCodes',
'in' => 'query',
- 'schema' => [
- 'description' => 'api唯一id。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '33',
- ],
+ 'schema' => ['description' => '事件code。', 'type' => 'string', 'required' => false, 'example' => 'de_ahqhsw7665,de_ahqhsw7622'],
],
[
- 'name' => 'apiType',
+ 'name' => 'beginTime',
'in' => 'query',
- 'schema' => [
- 'description' => 'api类型',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'SELF',
- ],
+ 'schema' => ['description' => '开始时间,精确到毫秒(ms)。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1737101348000'],
],
[
- 'name' => 'regId',
+ 'name' => 'endTime',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '结束时间,精确到毫秒(ms)。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1744337383000'],
],
],
'responses' => [
@@ -14892,132 +9355,133 @@
'schema' => [
'type' => 'object',
'properties' => [
+ 'requestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2'],
+ 'success' => ['description' => '请求是否成功。', 'type' => 'boolean', 'example' => 'true'],
+ 'code' => ['description' => '状态码。', 'type' => 'string', 'example' => '200'],
+ 'message' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'The input parameter data is not valid. order_storage_company_num component not found'],
+ 'httpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'string', 'example' => '200'],
'resultObject' => [
'description' => '返回对象',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
+ 'type' => 'object',
+ 'properties' => [
+ 'xaxis' => [
+ 'description' => 'xaxis接口配置。',
+ 'type' => 'object',
+ 'properties' => [
+ 'data' => [
+ 'description' => '返回数据对象',
+ 'type' => 'array',
+ 'items' => ['description' => '返回数据对象', 'type' => 'string', 'example' => '['."\n"
+ .' "2025-07-18",'."\n"
+ .' "2025-07-19",'."\n"
+ .' "2025-07-20",'."\n"
+ .' "2025-07-21",'."\n"
+ .' "2025-07-22",'."\n"
+ .' "2025-07-23",'."\n"
+ .' "2025-07-24",'."\n"
+ .' "2025-07-25"'."\n"
+ .' ]'],
+ ],
+ ],
+ ],
+ 'series' => [
+ 'description' => '图表数据',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '图表数据',
+ 'type' => 'object',
+ 'properties' => [
+ 'name' => ['description' => 'series名称。', 'type' => 'string', 'example' => '通过'."\n"],
+ 'stack' => ['description' => '标签key', 'type' => 'string', 'example' => '通过'],
+ 'data' => [
+ 'description' => '返回数据对象',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '返回数据对象',
+ 'type' => 'object',
+ 'properties' => [
+ 'num' => ['description' => '数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '100'],
+ 'scale' => ['description' => '比例', 'type' => 'string', 'example' => '50.00%'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
],
],
+ 'description' => '',
],
],
],
- 'eventInfo' => [
- 'enable' => false,
- 'eventNames' => [],
+ 'title' => '风险大盘',
+ 'summary' => '风险大盘',
+ 'changeSet' => [
+ ['createdAt' => '2022-03-02T06:01:06.000Z', 'description' => 'OpenAPI 下线'],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '得到api详情',
- ],
- 'DescribeGroupPage' => [
- 'summary' => '社群列表。',
- 'methods' => [
- 'post',
- 'get',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeEventResultBarChart'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\",\\n \\"success\\": true,\\n \\"code\\": \\"200\\",\\n \\"message\\": \\"The input parameter data is not valid. order_storage_company_num component not found\\",\\n \\"httpStatusCode\\": \\"200\\",\\n \\"resultObject\\": {\\n \\"xaxis\\": {\\n \\"data\\": [\\n \\"[\\\\n \\\\\\"2025-07-18\\\\\\",\\\\n \\\\\\"2025-07-19\\\\\\",\\\\n \\\\\\"2025-07-20\\\\\\",\\\\n \\\\\\"2025-07-21\\\\\\",\\\\n \\\\\\"2025-07-22\\\\\\",\\\\n \\\\\\"2025-07-23\\\\\\",\\\\n \\\\\\"2025-07-24\\\\\\",\\\\n \\\\\\"2025-07-25\\\\\\"\\\\n ]\\"\\n ]\\n },\\n \\"series\\": [\\n {\\n \\"name\\": \\"通过\\\\n\\",\\n \\"stack\\": \\"通过\\",\\n \\"data\\": [\\n {\\n \\"num\\": 100,\\n \\"scale\\": \\"50.00%\\"\\n }\\n ]\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'DescribeEventResultList' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'operationType' => 'read',
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
- ],
- [
- 'name' => 'currentPage',
- 'in' => 'query',
- 'schema' => [
- 'description' => '当前页码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1',
- ],
- ],
- [
- 'name' => 'pageSize',
- 'in' => 'query',
- 'schema' => [
- 'description' => '每页大小,默认值为10',
- 'type' => 'string',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'order',
+ 'name' => 'beginTime',
'in' => 'query',
- 'schema' => [
- 'description' => '排序条件',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'asc',
- ],
+ 'schema' => ['description' => '开始时间,精确到毫秒(ms)。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1737101348000'],
],
[
- 'name' => 'direction',
+ 'name' => 'endTime',
'in' => 'query',
- 'schema' => [
- 'description' => '顺序',
- 'type' => 'string',
- 'required' => false,
- 'example' => '0',
- ],
+ 'schema' => ['description' => '结束时间,精确到毫秒(ms)。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1683616457000'],
],
[
- 'name' => 'taskId',
+ 'name' => 'pageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '任务id。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '6770764',
- ],
+ 'schema' => ['description' => '每页大小,默认值为10', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10'],
],
[
- 'name' => 'timeType',
+ 'name' => 'currentPage',
'in' => 'query',
- 'schema' => [
- 'description' => '时间类型',
- 'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [
- 1 => '昨天',
- '7天',
- '30天',
- ],
- 'example' => '1',
- ],
+ 'schema' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'],
],
],
'responses' => [
@@ -15025,35 +9489,11 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'totalItem' => [
- 'description' => '总条数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '3',
- ],
- 'pageSize' => [
- 'description' => '每页大小,默认值为10',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
- 'currentPage' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'totalPage' => [
- 'description' => '总页数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'requestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2'],
+ 'success' => ['description' => '查询是否成功。', 'type' => 'boolean', 'example' => 'true'],
+ 'code' => ['description' => '状态码。', 'type' => 'string', 'example' => '200'],
+ 'message' => ['description' => '错误详情'."\n", 'type' => 'string', 'example' => 'The input parameter data is not valid. order_storage_company_num component not found'],
+ 'httpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'string', 'example' => '200'],
'resultObject' => [
'description' => '返回对象',
'type' => 'array',
@@ -15061,141 +9501,70 @@
'description' => '返回对象',
'type' => 'object',
'properties' => [
- 'taskId' => [
- 'description' => '任务id。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '6770764',
- ],
- 'sceneName' => [
- 'description' => '场景名称。',
- 'type' => 'string',
- 'example' => '通用图计算',
- ],
- 'groupRisk' => [
- 'description' => '风险浓度',
- 'type' => 'string',
- 'example' => '80',
- ],
- 'communityNo' => [
- 'description' => '社群编号',
- 'type' => 'string',
- 'example' => '129838420210118141502RaMMIgVG',
- ],
- 'userId' => [
- 'description' => '用户uid',
- 'type' => 'string',
- 'example' => '1519714049632764',
- ],
- 'createTime' => [
- 'description' => '创建时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1699450018265',
- ],
- 'id' => [
- 'description' => '主键id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '497',
- ],
- 'groupScale' => [
- 'description' => '社群规模',
- 'type' => 'string',
- 'example' => '2',
- ],
+ 'eventName' => ['description' => '事件名称。', 'type' => 'string', 'example' => '注册风险'],
+ 'totalNum' => ['description' => '总条数。', 'type' => 'integer', 'format' => 'int64', 'example' => '100'],
+ 'passNum' => ['description' => '通过检查的数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '90'],
+ 'rejectNum' => ['description' => '审批拒绝的数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '5'],
+ 'pendingNum' => ['description' => '等待中数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '5'],
+ 'eventCode' => ['description' => '事件编码', 'type' => 'string', 'example' => 'de_aszbjb7236'],
],
],
],
+ 'totalItem' => ['description' => '总条数。', 'type' => 'integer', 'format' => 'int64', 'example' => '31'],
+ 'totalPage' => ['description' => '总页数', 'type' => 'integer', 'format' => 'int64', 'example' => '9'],
+ 'currentPage' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'pageSize' => ['description' => '每页大小,默认值为10', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"totalItem\\": 3,\\n \\"pageSize\\": 10,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"currentPage\\": 1,\\n \\"totalPage\\": 1,\\n \\"resultObject\\": [\\n {\\n \\"taskId\\": 6770764,\\n \\"sceneName\\": \\"通用图计算\\",\\n \\"groupRisk\\": \\"80\\",\\n \\"communityNo\\": \\"129838420210118141502RaMMIgVG\\",\\n \\"userId\\": \\"1519714049632764\\",\\n \\"createTime\\": 1699450018265,\\n \\"id\\": 497,\\n \\"groupScale\\": \\"2\\"\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '社群列表',
- ],
- 'DescribeSampleList' => [
- 'summary' => '查询样本列表。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '事件概览列表',
+ 'summary' => '事件概览列表',
+ 'changeSet' => [
+ ['createdAt' => '2022-03-02T06:01:06.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeEventResultList'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\",\\n \\"success\\": true,\\n \\"code\\": \\"200\\",\\n \\"message\\": \\"The input parameter data is not valid. order_storage_company_num component not found\\",\\n \\"httpStatusCode\\": \\"200\\",\\n \\"resultObject\\": [\\n {\\n \\"eventName\\": \\"注册风险\\",\\n \\"totalNum\\": 100,\\n \\"passNum\\": 90,\\n \\"rejectNum\\": 5,\\n \\"pendingNum\\": 5,\\n \\"eventCode\\": \\"de_aszbjb7236\\"\\n }\\n ],\\n \\"totalItem\\": 31,\\n \\"totalPage\\": 9,\\n \\"currentPage\\": 1,\\n \\"pageSize\\": 10\\n}","type":"json"}]',
+ ],
+ 'DescribeEventTaskHistory' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
- ],
- [
- 'name' => 'sampleType',
- 'in' => 'query',
- 'schema' => [
- 'description' => '样本类型',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'PHONE',
- ],
- ],
- [
- 'name' => 'sampleValue',
- 'in' => 'query',
- 'schema' => [
- 'description' => '样例数据值。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1770000000',
- ],
- ],
- [
- 'name' => 'currentPage',
- 'in' => 'query',
- 'schema' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
- ],
- [
- 'name' => 'pageSize',
- 'in' => 'query',
- 'schema' => [
- 'description' => '每页大小,默认值为10',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
@@ -15203,35 +9572,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'totalItem' => [
- 'description' => '总个数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '6',
- ],
- 'pageSize' => [
- 'description' => '每页大小,默认值为10',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
- 'currentPage' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'totalPage' => [
- 'description' => '总页数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
'resultObject' => [
'description' => '返回对象',
'type' => 'array',
@@ -15239,117 +9580,65 @@
'description' => '返回对象',
'type' => 'object',
'properties' => [
- 'updateTime' => [
- 'description' => '更新时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1699450018265',
- ],
- 'sampleType' => [
- 'description' => '样本类型',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => 'PHONE',
- ],
- 'sampleValue' => [
- 'description' => '样本值。',
- 'type' => 'string',
- 'example' => '1770000000',
- ],
- 'sampleTags' => [
- 'description' => '样本标签。',
- 'type' => 'string',
- 'example' => 'rm0102',
- ],
- 'id' => [
- 'description' => '数据库id。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '497',
- ],
- 'version' => [
- 'description' => '版本号。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'taskStatus' => ['description' => '任务状态。', 'type' => 'string', 'example' => 'SUCCESSFUL'],
+ 'url' => ['description' => 'OSS 下载url', 'type' => 'string', 'example' => 'https://xxxxx-oss-xxxxx.xxxxxx.aliyuncs.com/xx/xx/xxx/xxxxxx.csv?Expires=1753433384&OSSAccessKeyId=xxxxxxxxx&Signature=%2F%xxxxxxxxxxxx%3D'],
+ 'taskCode' => ['description' => '任务编码。', 'type' => 'string', 'example' => 'de_aoxcdy9473'],
+ 'taskName' => ['description' => '任务名称', 'type' => 'string', 'example' => '仿真任务'],
],
],
],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"totalItem\\": 6,\\n \\"pageSize\\": 10,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"currentPage\\": 1,\\n \\"totalPage\\": 1,\\n \\"resultObject\\": [\\n {\\n \\"updateTime\\": 1699450018265,\\n \\"sampleType\\": 0,\\n \\"sampleValue\\": \\"1770000000\\",\\n \\"sampleTags\\": \\"rm0102\\",\\n \\"id\\": 497,\\n \\"version\\": 1\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '查询样本列表',
- ],
- 'ModifyAppKey' => [
- 'summary' => '更新备注。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '查询策略下载列表',
+ 'summary' => '查询策略下载列表。',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:19:05.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeEventTaskHistory'],
+ ],
],
- 'security' => [
+ 'ramActions' => [
[
- 'AK' => [],
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
],
- 'operationType' => 'readAndWrite',
- 'systemTags' => [
- 'operationType' => 'get',
- 'abilityTreeCode' => '136128',
- 'abilityTreeNodes' => [
- 'FEATUREsaf64YRTV',
- 'FEATUREsaf6E3SDJ',
- 'FEATUREsafL5D4RG',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"resultObject\\": [\\n {\\n \\"taskStatus\\": \\"SUCCESSFUL\\",\\n \\"url\\": \\"https://xxxxx-oss-xxxxx.xxxxxx.aliyuncs.com/xx/xx/xxx/xxxxxx.csv?Expires=1753433384&OSSAccessKeyId=xxxxxxxxx&Signature=%2F%xxxxxxxxxxxx%3D\\",\\n \\"taskCode\\": \\"de_aoxcdy9473\\",\\n \\"taskName\\": \\"仿真任务\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'DescribeEventTotalCountReport' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
],
],
+ 'operationType' => 'read',
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
- ],
- [
- 'name' => 'appKey',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'appkey信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '***',
- ],
- ],
- [
- 'name' => 'memo',
- 'in' => 'query',
- 'schema' => [
- 'description' => '应用的备注信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '备注',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
@@ -15357,64 +9646,70 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'data' => [
- 'description' => '返回数据对象。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
+ 'requestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2'],
+ 'success' => ['description' => '本次操作是否成功,true表示成功。', 'type' => 'boolean', 'example' => 'true'],
+ 'code' => ['description' => '状态码', 'type' => 'string', 'example' => '200'],
+ 'message' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'The input parameter data is not valid. order_storage_company_num component not found'],
+ 'httpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'string', 'example' => '200'],
+ 'resultObject' => [
+ 'description' => '返回对象',
+ 'type' => 'object',
+ 'properties' => [
+ 'value' => ['description' => '今日调用事件次数', 'type' => 'string', 'example' => '100'],
+ 'ratio' => ['description' => '环比昨日调用事件次数', 'type' => 'string', 'example' => '101'],
+ ],
],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '更新备注',
- ],
- 'DescribeRegions' => [
- 'summary' => '查询ApiGateway支持的region列表。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '调用事件次数',
+ 'summary' => '调用事件次数',
+ 'changeSet' => [
+ ['createdAt' => '2022-03-02T06:00:58.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeEventTotalCountReport'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\",\\n \\"success\\": true,\\n \\"code\\": \\"200\\",\\n \\"message\\": \\"The input parameter data is not valid. order_storage_company_num component not found\\",\\n \\"httpStatusCode\\": \\"200\\",\\n \\"resultObject\\": {\\n \\"value\\": \\"100\\",\\n \\"ratio\\": \\"101\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'DescribeEventUploadPolicy' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
@@ -15422,185 +9717,804 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'resultObject' => [
- 'description' => '返回对象',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
+ 'Key' => ['description' => '文件上传所需的Key。', 'type' => 'string', 'example' => 'saf/de/namelist/e924/ufzgsedX9bd3a7'],
+ 'Signature' => ['description' => '签名数据。', 'type' => 'string', 'example' => '7aXmkd2Z3oksCXOS9uvKlJuOKaY='],
+ 'Host' => ['description' => 'oss主机。', 'type' => 'string', 'example' => '172.16.0.44'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ 'Policy' => ['description' => 'OSS安全策略', 'type' => 'string', 'example' => 'eyJleHBpcmF0aW9uIjoiMjAyNS0wNy0zMFQwNjowNTo0OS45NTRaIiwiY29uZGl0aW9ucyI6W1siY29udGVudC1sZW5ndGgtcmFuZ2UiLDAsMTA0ODU3NjAwMF0sWyJlcSIsIiRrZXkiLCJzYWZcL2RlXC9uYW1lbGlzdFwvZTkyNFwvdWZ6Z3NlZFg5Ymxxxxxxxxxxx'],
+ 'AccessId' => ['description' => '访问OSS的ID', 'type' => 'string', 'example' => 'LTAxxxxxxxxxxxxxxx'],
+ 'StsToken' => ['description' => '临时身份凭证。', 'type' => 'string', 'example' => 'tT44bMQxxxxxxxxxxxxxxx'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '查询ApiGateway支持的region列表',
- ],
- 'DescribeExcuteNum' => [
- 'summary' => '自助调用列表。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '批量导入策略',
+ 'summary' => '批量导入策略。',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:23:07.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeEventUploadPolicy'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Key\\": \\"saf/de/namelist/e924/ufzgsedX9bd3a7\\",\\n \\"Signature\\": \\"7aXmkd2Z3oksCXOS9uvKlJuOKaY=\\",\\n \\"Host\\": \\"172.16.0.44\\",\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"Policy\\": \\"eyJleHBpcmF0aW9uIjoiMjAyNS0wNy0zMFQwNjowNTo0OS45NTRaIiwiY29uZGl0aW9ucyI6W1siY29udGVudC1sZW5ndGgtcmFuZ2UiLDAsMTA0ODU3NjAwMF0sWyJlcSIsIiRrZXkiLCJzYWZcL2RlXC9uYW1lbGlzdFwvZTkyNFwvdWZ6Z3NlZFg5Ymxxxxxxxxxxx\\",\\n \\"AccessId\\": \\"LTAxxxxxxxxxxxxxxx\\",\\n \\"StsToken\\": \\"tT44bMQxxxxxxxxxxxxxxx\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeEventVariableList' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- 'abilityTreeCode' => '136724',
- 'abilityTreeNodes' => [
- 'FEATUREsafT73ZWM',
- ],
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
- 'name' => 'SourceIp',
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '请求源ip地址。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '220.250.21.83',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'Lang',
+ 'name' => 'refObjType',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '关联类型', 'type' => 'string', 'required' => true, 'example' => 'EVENT'],
],
[
- 'name' => 'Code',
+ 'name' => 'refObjId',
'in' => 'query',
- 'schema' => [
- 'description' => '服务code。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'saf_all',
- ],
+ 'schema' => ['description' => '关联事件eventCode', 'type' => 'string', 'required' => true, 'example' => 'de_awkhwh0314'],
],
[
- 'name' => 'StartDate',
+ 'name' => 'type',
'in' => 'query',
- 'schema' => [
- 'description' => '开始时间,格式yyyy-MM-dd,如: 2025-03-10。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2025-03-10',
- ],
+ 'schema' => ['description' => '类型', 'type' => 'string', 'required' => false, 'example' => 'NATIVE'],
],
[
- 'name' => 'EndDate',
+ 'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '终止日期,格式yyyy-MM-dd,如: 2025-03-13。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2025-03-15',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'Degree',
+ 'name' => 'createType',
'in' => 'query',
- 'schema' => [
- 'description' => '此字段暂未使用,无查询意义。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '暂时不需要传入',
- ],
+ 'schema' => ['description' => '创建类型', 'type' => 'string', 'required' => false, 'example' => 'NORMAL'],
+ ],
+ [
+ 'name' => 'filterDTO',
+ 'in' => 'query',
+ 'schema' => ['description' => '过滤对象', 'type' => 'string', 'required' => false, 'example' => '{'."\n"
+ .' "type": "EXPRESSION",'."\n"
+ .' "name": "ex_NgR6nDVD821c"'."\n"
+ .'}'],
],
],
'responses' => [
200 => [
+ 'headers' => [],
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
- 'Data' => [
- 'description' => '返回数据。',
- 'type' => 'array',
- 'items' => [
- 'description' => '返回数据。',
- 'type' => 'string',
- 'example' => '10',
- ],
- ],
- 'Categories' => [
- 'description' => '服务分类名称。',
- 'type' => 'array',
- 'items' => [
- 'description' => '返回的日期数组。',
- 'type' => 'string',
- 'example' => '2025-08-09',
+ 'resultObject' => [
+ 'description' => '返回对象',
+ 'type' => 'object',
+ 'properties' => [
+ 'nativeVariables' => [
+ 'description' => '事件字段列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '返回对象',
+ 'type' => 'object',
+ 'properties' => [
+ 'id' => ['description' => '变量id。', 'type' => 'integer', 'format' => 'int64', 'example' => '223'],
+ 'title' => ['description' => '变量名称。', 'type' => 'string', 'example' => '年龄'],
+ 'name' => ['description' => '变量name', 'type' => 'string', 'example' => 'age'],
+ 'description' => ['description' => '变量描述。', 'type' => 'string', 'example' => '描述'],
+ 'type' => ['description' => '变量类型。', 'type' => 'string', 'example' => 'NATIVE'],
+ 'inputs' => ['description' => '变量的输入。事件字段没有', 'type' => 'string', 'example' => '无'],
+ 'fieldType' => ['description' => '字段类型。', 'type' => 'string', 'example' => 'STRING'],
+ 'code' => ['description' => '变量code', 'type' => 'string', 'example' => 'age'],
+ 'defineId' => ['description' => '关联变量定义id', 'type' => 'string', 'example' => 'register'],
+ 'parentName' => ['description' => '父名称。', 'type' => 'string', 'example' => 'parentName'],
+ 'dataDisplay' => ['description' => '数据分布展示,json格式', 'type' => 'string', 'example' => '{}'],
+ 'sourceType' => ['description' => '变量来源类型。', 'type' => 'string', 'example' => 'SAF'],
+ 'displayType' => ['description' => '展示类型以及分组标签', 'type' => 'string', 'example' => 'NATIVE'],
+ 'xLabel' => ['description' => 'x标签', 'type' => 'string', 'example' => 'x'],
+ 'yLabel' => ['description' => 'y标签', 'type' => 'string', 'example' => 'y'],
+ 'favoriteFlag' => ['description' => '收藏标识', 'type' => 'boolean', 'example' => 'true'],
+ 'fieldRank' => ['description' => '字段排序', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'fieldSource' => ['description' => '变量来源', 'type' => 'string', 'example' => 'DEFINE'],
+ 'fieldDetail' => ['description' => '字段池字段详情', 'type' => 'string', 'example' => '无'],
+ 'inputFieldType' => ['description' => '输入字段类型,表示入参类型,主要用作函数分类', 'type' => 'string', 'example' => 'STRING'],
+ 'inputRequired' => ['description' => '必须的参数', 'type' => 'string', 'example' => '无'],
+ 'expressionTitle' => ['description' => '计算表达式展示值', 'type' => 'string', 'example' => '无'],
+ 'outlier' => ['description' => '异常值', 'type' => 'string', 'example' => '无'],
+ 'outputThreshold' => [
+ 'description' => '输出分数阈值。',
+ 'type' => 'object',
+ 'properties' => [
+ 'minValue' => ['description' => '最小值。', 'type' => 'number', 'format' => 'double', 'example' => '1'],
+ 'maxValue' => ['description' => '最大值。', 'type' => 'number', 'format' => 'double', 'example' => '10'],
+ ],
+ ],
+ 'variableVelocity' => [
+ 'description' => '变量指标信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'iv' => ['description' => 'iv值', 'type' => 'string', 'example' => '无'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'middleVariables' => [
+ 'description' => '中间变量返回对象',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '事件的变量。',
+ 'type' => 'object',
+ 'properties' => [
+ 'id' => ['description' => '主键ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '49'],
+ 'title' => ['description' => '标题。', 'type' => 'string', 'example' => 'midVaribale'],
+ 'name' => ['description' => '变量名。', 'type' => 'string', 'example' => 'mid'],
+ 'description' => ['description' => '变量描述。', 'type' => 'string', 'example' => 'description'],
+ 'type' => ['description' => '变量类型。', 'type' => 'string', 'example' => 'MIDDLE'],
+ 'inputs' => ['description' => '变量的输入。', 'type' => 'string', 'example' => 'This type does not have this field'],
+ 'fieldType' => ['description' => '字段类型。', 'type' => 'string', 'example' => 'STRING'],
+ 'code' => ['description' => '变量code。', 'type' => 'string', 'example' => 'mid'],
+ 'defineId' => ['description' => '变量定义id。', 'type' => 'string', 'example' => 'register'],
+ 'parentName' => ['description' => '父结点。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'dataDisplay' => ['description' => '数据分布展示,json格式,此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'sourceType' => ['description' => '来源类型。', 'type' => 'string', 'example' => 'SAF'],
+ 'displayType' => ['description' => '展示类型以及分组标签。', 'type' => 'string', 'example' => 'MIDDLE'],
+ 'xLabel' => ['description' => 'x标签。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'yLabel' => ['description' => 'y标签。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'favoriteFlag' => ['description' => '收藏标识。', 'type' => 'boolean', 'example' => 'false'],
+ 'fieldRank' => ['description' => '字段排序。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'fieldSource' => ['description' => '变量来源。', 'type' => 'string', 'example' => 'DEFAULT'],
+ 'fieldDetail' => ['description' => '字段池字段详情。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'inputFieldType' => ['description' => '输入字段类型,表示入参类型,主要用作函数分类。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'inputRequired' => ['description' => '必须的参数。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'expressionTitle' => ['description' => '计算表达式展示值。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'outlier' => ['description' => '异常值。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'outputThreshold' => [
+ 'description' => '输出值阈值。',
+ 'type' => 'object',
+ 'properties' => [
+ 'minValue' => ['description' => '最小值。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
+ 'maxValue' => ['description' => '最大值。', 'type' => 'number', 'format' => 'double', 'example' => '10'],
+ ],
+ ],
+ 'variableVelocity' => [
+ 'description' => '变量指标信息。此类型变量无此字段返回。',
+ 'type' => 'object',
+ 'properties' => [
+ 'iv' => ['description' => 'id值。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'nativeVariableFunctions' => [
+ 'description' => '原始变量可用函数列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '变量类型。',
+ 'type' => 'object',
+ 'properties' => [
+ 'id' => ['description' => '主键ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '93'],
+ 'title' => ['description' => '变量title。', 'type' => 'string', 'example' => '根据时间戳获取小时'],
+ 'name' => ['description' => '变量name。', 'type' => 'string', 'example' => '__getHourOfTimestamp__'],
+ 'description' => ['description' => '描述信息。', 'type' => 'string', 'example' => '时间戳,可以是秒或者毫秒'],
+ 'type' => ['description' => '变量类型。', 'type' => 'string', 'example' => 'FUNC'],
+ 'inputs' => ['description' => '输入字段。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'fieldType' => ['description' => '变量返回值类型。', 'type' => 'string', 'example' => 'LONG'],
+ 'code' => ['description' => '变量code。', 'type' => 'string', 'example' => 'getHourOfTimestamp({data})'],
+ 'defineId' => ['description' => '变量定义id。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'parentName' => ['description' => '父结点。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'dataDisplay' => ['description' => '数据分布展示,json格式,此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'sourceType' => ['description' => '来源类型。', 'type' => 'string', 'example' => 'SAF'],
+ 'displayType' => ['description' => '展示类型以及分组标签。', 'type' => 'string', 'example' => 'FUNC'],
+ 'xLabel' => ['description' => 'x标签。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'yLabel' => ['description' => 'y标签。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'favoriteFlag' => ['description' => '收藏标识。', 'type' => 'boolean', 'example' => 'false'],
+ 'fieldRank' => ['description' => '字段排序。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'fieldSource' => ['description' => '字段的来源。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'fieldDetail' => ['description' => '字段池字段详情。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'inputFieldType' => ['description' => '参数的输入类型。', 'type' => 'string', 'example' => 'DATE'],
+ 'inputRequired' => ['description' => '必须的参数。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'outlier' => ['description' => '异常值。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'outputThreshold' => [
+ 'description' => '输出值阈值。',
+ 'type' => 'object',
+ 'properties' => [
+ 'minValue' => ['description' => '最小值。', 'type' => 'number', 'format' => 'double', 'example' => '0'],
+ 'maxValue' => ['description' => '最大值。', 'type' => 'number', 'format' => 'double', 'example' => '10'],
+ ],
+ ],
+ 'variableVelocity' => [
+ 'description' => '变量指标信息。此类型变量无此字段返回。',
+ 'type' => 'object',
+ 'properties' => [
+ 'iv' => ['description' => 'iv值。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ ],
+ ],
+ 'expressionTitle' => ['description' => '计算表达式展示值。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ ],
+ ],
+ ],
+ 'sysVariables' => [
+ 'description' => '系统变量。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '系统变量。',
+ 'type' => 'object',
+ 'properties' => [
+ 'id' => ['description' => '变量ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '3151'],
+ 'title' => ['description' => '标题。', 'type' => 'string', 'example' => 'IP所在地_城市Code'."\n"],
+ 'name' => ['description' => '变量name。', 'type' => 'string', 'example' => '__ipLocationCityCode__'],
+ 'description' => ['description' => '变量的描述。', 'type' => 'string', 'example' => '通过IP地址库解析IP所在的城市Code,例如,输入“42.120.74.211”,经过该变量运算,输出“330100”。'],
+ 'type' => ['description' => '变量类型。', 'type' => 'string', 'example' => 'SYSTEM_BIND'],
+ 'inputs' => ['description' => '变量值输入。', 'type' => 'string', 'example' => 'ip'],
+ 'fieldType' => ['description' => '字段类型。', 'type' => 'string', 'example' => 'STRING'],
+ 'code' => ['description' => '变量code。', 'type' => 'string', 'example' => 'parseIpV2(ip)?.cityId'],
+ 'defineId' => ['description' => '绑定的变量定义ID。', 'type' => 'string', 'example' => '2488'],
+ 'parentName' => ['description' => '父名称。', 'type' => 'string', 'example' => '无'],
+ 'dataDisplay' => ['description' => '数据分布展示,json格式,此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'sourceType' => ['description' => '来源类型。', 'type' => 'string', 'example' => 'SAF'],
+ 'displayType' => ['description' => '展示类型以及分组标签。', 'type' => 'string', 'example' => 'SYSTEM_BIND'],
+ 'xLabel' => ['description' => 'x标签。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'yLabel' => ['description' => 'y标签。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'favoriteFlag' => ['description' => '收藏标识。', 'type' => 'boolean', 'example' => 'false'],
+ 'fieldRank' => ['description' => '字段排序。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'fieldSource' => ['description' => '字段的来源。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'fieldDetail' => ['description' => '字段池字段详情。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'inputFieldType' => ['description' => '参数的输入类型。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'inputRequired' => ['description' => '必须的参数。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'outlier' => ['description' => '异常值。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'outputThreshold' => [
+ 'description' => '输出值阈值。',
+ 'type' => 'object',
+ 'properties' => [
+ 'minValue' => ['description' => '最小值。', 'type' => 'number', 'format' => 'double', 'example' => '1'],
+ 'maxValue' => ['description' => '最大值。', 'type' => 'number', 'format' => 'double', 'example' => '10'],
+ ],
+ ],
+ 'variableVelocity' => [
+ 'description' => '变量指标信息。此类型变量无此字段返回。',
+ 'type' => 'object',
+ 'properties' => [
+ 'iv' => ['description' => 'iv值。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ ],
+ ],
+ 'expressionTitle' => ['description' => '计算表达式展示值。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ ],
+ ],
+ ],
+ 'selfVariables' => [
+ 'description' => '自定义变量(自定义变量、累计变量、自定义系统变量)。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '自定义变量(自定义变量、累计变量、自定义系统变量)。',
+ 'type' => 'object',
+ 'properties' => [
+ 'id' => ['description' => '变量ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '3174'],
+ 'title' => ['description' => '标题。', 'type' => 'string', 'example' => '获取手机号前七位'],
+ 'name' => ['description' => '变量name。', 'type' => 'string', 'example' => 'ex_isvspbF2c7ac'],
+ 'description' => ['description' => '变量的描述信息。', 'type' => 'string', 'example' => '变量的描述信息'],
+ 'type' => ['description' => '变量类型。', 'type' => 'string', 'example' => 'EXPRESSION'],
+ 'inputs' => ['description' => '输入参数。为自定义系统变量时才有返回。', 'type' => 'string', 'example' => 'ip'],
+ 'fieldType' => ['description' => '字段类型。', 'type' => 'string', 'example' => 'STRING'],
+ 'code' => ['description' => '变量code。', 'type' => 'string', 'example' => 'deReadVelocity(hitRules,\\"dUd5ioJ8014\\",1,\\"MO\\",0,true,\\"SUM\\")'],
+ 'defineId' => ['description' => '变量定义ID。为自定义系统变量时才有返回。', 'type' => 'string', 'example' => '49'],
+ 'parentName' => ['description' => '父节点。暂无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'dataDisplay' => ['description' => '数据分布展示,json格式。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'sourceType' => ['description' => '来源类型。', 'type' => 'string', 'example' => 'SAF'],
+ 'displayType' => ['description' => '展示类型以及分组标签。', 'type' => 'string', 'example' => 'SELF_BIND'],
+ 'xLabel' => ['description' => 'x标签。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'yLabel' => ['description' => 'y标签。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'favoriteFlag' => ['description' => '收藏标识。', 'type' => 'boolean', 'example' => 'false'],
+ 'fieldRank' => ['description' => '字段排序。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'fieldSource' => ['description' => '字段的来源。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'fieldDetail' => ['description' => '字段池字段详情。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'inputFieldType' => ['description' => '参数的输入类型。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'inputRequired' => ['description' => '必须的参数。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'],
+ 'outlier' => ['description' => '异常值。当变量为自定义变量时(type= EXPRESSION)返回。', 'type' => 'string', 'example' => '-1'],
+ 'outputThreshold' => [
+ 'description' => '输出值阈值。',
+ 'type' => 'object',
+ 'properties' => [
+ 'minValue' => ['description' => '最小值。', 'type' => 'number', 'format' => 'double', 'example' => '1'],
+ 'maxValue' => ['description' => '最大值。', 'type' => 'number', 'format' => 'double', 'example' => '10'],
+ ],
+ ],
+ 'variableVelocity' => [
+ 'description' => '变量指标信息。此类型变量无此字段返回。',
+ 'type' => 'object',
+ 'properties' => [
+ 'iv' => ['description' => 'iv值。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ ],
+ ],
+ 'expressionTitle' => ['description' => '表达式名称。', 'type' => 'string', 'example' => ' @IP地址 '],
+ ],
+ ],
+ ],
+ 'nameList' => [
+ 'description' => '名单变量列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '名单变量列表。',
+ 'type' => 'object',
+ 'properties' => [
+ 'id' => ['description' => '主键ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '34'],
+ 'title' => ['description' => '标题。', 'type' => 'string', 'example' => '白名单'],
+ 'name' => ['description' => '变量name。', 'type' => 'string', 'example' => 'nl_UN8otElLb490'],
+ 'description' => ['description' => '描述信息。', 'type' => 'string', 'example' => '描述'],
+ 'type' => ['description' => '变量类型。', 'type' => 'string', 'example' => 'NAME_LIST'],
+ 'inputs' => ['description' => '输入参数。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'fieldType' => ['description' => '字段类型。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'code' => ['description' => '变量code。', 'type' => 'string', 'example' => 'nl_UN8otElLb490'],
+ 'defineId' => ['description' => '变量定义ID。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'parentName' => ['description' => '父节点。暂无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'],
+ 'dataDisplay' => ['description' => '数据分布展示,json格式。暂无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'],
+ 'sourceType' => ['description' => '来源类型。', 'type' => 'string', 'example' => 'SAF'],
+ 'displayType' => ['description' => '展示类型以及分组标签。', 'type' => 'string', 'example' => 'NAME_LIST'],
+ 'xLabel' => ['description' => 'x标签。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'yLabel' => ['description' => 'y标签。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'favoriteFlag' => ['description' => '收藏标识。', 'type' => 'boolean', 'example' => 'false'],
+ 'fieldRank' => ['description' => '字段排序。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'fieldSource' => ['description' => '字段的来源。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'],
+ 'fieldDetail' => ['description' => '字段池字段详情。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'],
+ 'inputFieldType' => ['description' => '参数的输入类型。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'],
+ 'inputRequired' => ['description' => '必须的参数。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'],
+ 'outlier' => ['description' => '异常值。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'outputThreshold' => [
+ 'description' => '输出值阈值。',
+ 'type' => 'object',
+ 'properties' => [
+ 'minValue' => ['description' => '最小值。', 'type' => 'number', 'format' => 'double', 'example' => '1'],
+ 'maxValue' => ['description' => '最大值。', 'type' => 'number', 'format' => 'double', 'example' => '10'],
+ ],
+ ],
+ 'variableVelocity' => [
+ 'description' => '变量指标信息。此类型变量无此字段返回。',
+ 'type' => 'object',
+ 'properties' => [
+ 'iv' => ['description' => 'iv值。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ ],
+ ],
+ 'expressionTitle' => ['description' => '计算表达式展示值。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ ],
+ ],
+ ],
+ 'actions' => [
+ 'description' => '动作变量。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '动作变量。',
+ 'type' => 'object',
+ 'properties' => [
+ 'id' => ['description' => '主键ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '3144'],
+ 'title' => ['description' => '标题。', 'type' => 'string', 'example' => '决策结果'],
+ 'name' => ['description' => '变量name。', 'type' => 'string', 'example' => '__addDeResult__'],
+ 'description' => ['description' => '描述信息。', 'type' => 'string', 'example' => '决策结果'."\n"],
+ 'type' => ['description' => '变量类型。', 'type' => 'string', 'example' => 'ACTION'],
+ 'inputs' => ['description' => '输入参数。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'fieldType' => ['description' => '字段类型。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'code' => ['description' => '变量code。', 'type' => 'string', 'example' => 'deAddResult'],
+ 'defineId' => ['description' => '变量定义ID。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'parentName' => ['description' => '父节点。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'dataDisplay' => ['description' => '数据分布展示,json格式。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'sourceType' => ['description' => '来源类型。', 'type' => 'string', 'example' => 'SAF'],
+ 'displayType' => ['description' => '展示类型以及分组标签。', 'type' => 'string', 'example' => 'ACTION'],
+ 'xLabel' => ['description' => 'x标签。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'yLabel' => ['description' => 'y标签。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'favoriteFlag' => ['description' => '收藏标识。', 'type' => 'boolean', 'example' => 'false'],
+ 'fieldRank' => ['description' => '字段排序。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'fieldSource' => ['description' => '字段的来源。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'fieldDetail' => ['description' => '字段池字段详情。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'inputFieldType' => ['description' => '参数的输入类型。', 'type' => 'string', 'example' => 'STRING'],
+ 'inputRequired' => ['description' => '必须参数。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'outlier' => ['description' => '异常值。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'outputThreshold' => [
+ 'description' => '输出值阈值。',
+ 'type' => 'object',
+ 'properties' => [
+ 'minValue' => ['description' => '最小值。', 'type' => 'number', 'format' => 'double', 'example' => '1'],
+ 'maxValue' => ['description' => '最大值', 'type' => 'number', 'format' => 'double', 'example' => '10'],
+ ],
+ ],
+ 'variableVelocity' => [
+ 'description' => '变量指标信息。此类型变量无此字段返回。',
+ 'type' => 'object',
+ 'properties' => [
+ 'iv' => ['description' => 'iv值。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ ],
+ ],
+ 'expressionTitle' => ['description' => '表达式展示。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ ],
+ ],
+ ],
+ 'favoriteVariables' => [
+ 'description' => '收藏的变量。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '收藏的变量。',
+ 'type' => 'object',
+ 'properties' => [
+ 'id' => ['description' => '主键ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '34'],
+ 'title' => ['description' => '标题。', 'type' => 'string', 'example' => 'IP是否符合IPV4格式'],
+ 'name' => ['description' => '变量name。', 'type' => 'string', 'example' => '__isIpAddressV4__'],
+ 'description' => ['description' => '变量的描述。', 'type' => 'string', 'example' => '判断是否符合IPv4标准'],
+ 'type' => ['description' => '变量类型。', 'type' => 'string', 'example' => 'SYSTEM_BIND'],
+ 'inputs' => ['description' => '输入参数多个用逗号隔开。部分变量不会有该字段。', 'type' => 'string', 'example' => 'ip'],
+ 'fieldType' => ['description' => '字段类型。', 'type' => 'string', 'example' => 'BOOLEAN'],
+ 'code' => ['description' => '变量code。', 'type' => 'string', 'example' => 'deFunctionProcess(ip,\\"isIp\\")'],
+ 'defineId' => ['description' => '变量定义ID。', 'type' => 'string', 'example' => '16'],
+ 'parentName' => ['description' => '父节点。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'dataDisplay' => ['description' => '数据分布展示,json格式。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'sourceType' => ['description' => '来源类型。', 'type' => 'string', 'example' => 'SAF'],
+ 'displayType' => ['description' => '展示类型以及分组标签。', 'type' => 'string', 'example' => 'SYSTEM_BIND'],
+ 'xLabel' => ['description' => 'x标签。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'yLabel' => ['description' => 'y标签。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'favoriteFlag' => ['description' => '收藏标识。', 'type' => 'boolean', 'example' => 'false'],
+ 'fieldRank' => ['description' => '字段排序。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'fieldSource' => ['description' => '字段的来源。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'fieldDetail' => ['description' => '字段池字段详情。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'inputFieldType' => ['description' => '参数的输入类型。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'inputRequired' => ['description' => '必须的参数。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'outlier' => ['description' => '异常值。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'outputThreshold' => [
+ 'description' => '输出值阈值。',
+ 'type' => 'object',
+ 'properties' => [
+ 'minValue' => ['description' => '最小值。', 'type' => 'number', 'format' => 'double', 'example' => '1'],
+ 'maxValue' => ['description' => '最大值。', 'type' => 'number', 'format' => 'double', 'example' => '10'],
+ ],
+ ],
+ 'variableVelocity' => [
+ 'description' => '变量指标信息。此类型变量无此字段返回。',
+ 'type' => 'object',
+ 'properties' => [
+ 'iv' => ['description' => 'iv值。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ ],
+ ],
+ 'expressionTitle' => ['description' => '表达式展示值。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ ],
+ ],
+ ],
+ 'deviceVariables' => [
+ 'description' => '设备变量。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '设备变量。',
+ 'type' => 'object',
+ 'properties' => [
+ 'id' => ['description' => '主键ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '41'],
+ 'title' => ['description' => '标题。', 'type' => 'string', 'example' => '设备信息-设备名称-deviceName'],
+ 'name' => ['description' => '变量name。', 'type' => 'string', 'example' => '__device_name__'],
+ 'description' => ['description' => '描述信息。', 'type' => 'string', 'example' => '设备信息-设备名称'],
+ 'type' => ['description' => '变量类型。', 'type' => 'string', 'example' => 'DEVICE'],
+ 'inputs' => ['description' => '变量的输入。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'fieldType' => ['description' => '字段类型。', 'type' => 'string', 'example' => 'STRING'],
+ 'code' => ['description' => '变量code。', 'type' => 'string', 'example' => 'queryPhoneSimulatorInfo(deviceToken)?.deviceName'],
+ 'defineId' => ['description' => '变量定义ID。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'parentName' => ['description' => '父节点。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'dataDisplay' => ['description' => '数据分布展示,json格式。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'sourceType' => ['description' => '来源类型。', 'type' => 'string', 'example' => 'SAF'],
+ 'displayType' => ['description' => '展示类型以及分组标签。', 'type' => 'string', 'example' => 'DEVICE'],
+ 'xLabel' => ['description' => 'x标签。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'yLabel' => ['description' => 'y标签。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'favoriteFlag' => ['description' => '收藏标识。', 'type' => 'boolean', 'example' => 'false'],
+ 'fieldRank' => ['description' => '字段排序。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'fieldSource' => ['description' => '字段的来源。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'fieldDetail' => ['description' => '字段池字段详情。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'inputFieldType' => ['description' => '参数的输入类型。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'inputRequired' => ['description' => '必须的参数。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'outlier' => ['description' => '异常值。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'outputThreshold' => [
+ 'description' => '输出值阈值。',
+ 'type' => 'object',
+ 'properties' => [
+ 'minValue' => ['description' => '最小值。', 'type' => 'number', 'format' => 'double', 'example' => '1'],
+ 'maxValue' => ['description' => '最大值。', 'type' => 'number', 'format' => 'double', 'example' => '10'],
+ ],
+ ],
+ 'variableVelocity' => [
+ 'description' => '变量指标信息。此类型变量无此字段返回。',
+ 'type' => 'object',
+ 'properties' => [
+ 'iv' => ['description' => 'iv值。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ ],
+ ],
+ 'expressionTitle' => ['description' => '计算表达式展示值。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ ],
+ ],
+ ],
+ 'expressionVariables' => [
+ 'description' => '自定义变量。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '自定义变量。',
+ 'type' => 'object',
+ 'properties' => [
+ 'id' => ['description' => '主键ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '3148'],
+ 'title' => ['description' => '标题。', 'type' => 'string', 'example' => '获取手机号前7位'],
+ 'name' => ['description' => '变量name。', 'type' => 'string', 'example' => 'ex_w2yIClHCc150'],
+ 'description' => ['description' => '变量描述信息。', 'type' => 'string', 'example' => '获取手机号前7位'."\n"],
+ 'type' => ['description' => '变量类型。', 'type' => 'string', 'example' => 'EXPRESSION'],
+ 'inputs' => ['description' => '输入参数多个用逗号隔开。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'fieldType' => ['description' => '变量输入类型。', 'type' => 'string', 'example' => 'STRING'],
+ 'code' => ['description' => '变量code。', 'type' => 'string', 'example' => 'deInvokeSelfVariable(390397)'],
+ 'defineId' => ['description' => '变量定义ID。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'parentName' => ['description' => '父节点。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'dataDisplay' => ['description' => '数据分布展示,json格式。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'sourceType' => ['description' => '来源类型。', 'type' => 'string', 'example' => 'SAF'],
+ 'displayType' => ['description' => '展示类型以及分组标签。', 'type' => 'string', 'example' => 'EXPRESSION'],
+ 'xLabel' => ['description' => 'x标签。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'yLabel' => ['description' => 'y标签。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'favoriteFlag' => ['description' => '收藏标识。', 'type' => 'boolean', 'example' => 'false'],
+ 'fieldRank' => ['description' => '字段排序。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'fieldSource' => ['description' => '字段的来源。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'fieldDetail' => ['description' => '字段池字段详情。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'inputFieldType' => ['description' => '参数的输入类型。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'inputRequired' => ['description' => '必须的参数。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'outlier' => ['description' => '异常值。', 'type' => 'string', 'example' => '-1'],
+ 'outputThreshold' => [
+ 'description' => '输出值阈值。',
+ 'type' => 'object',
+ 'properties' => [
+ 'minValue' => ['description' => '最小值。', 'type' => 'number', 'format' => 'double', 'example' => '1'],
+ 'maxValue' => ['description' => '最大值。', 'type' => 'number', 'format' => 'double', 'example' => '10'],
+ ],
+ ],
+ 'variableVelocity' => [
+ 'description' => '变量指标信息。此类型变量无此字段返回。',
+ 'type' => 'object',
+ 'properties' => [
+ 'iv' => ['description' => 'iv值。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ ],
+ ],
+ 'expressionTitle' => ['description' => '计算表达式展示值。', 'type' => 'string', 'example' => ' @testaaa +1'],
+ ],
+ ],
+ ],
+ 'velocityVariables' => [
+ 'description' => '自定义累计变量。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '自定义累计变量。',
+ 'type' => 'object',
+ 'properties' => [
+ 'id' => ['description' => '主键ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '3148'],
+ 'title' => ['description' => '标题。', 'type' => 'string', 'example' => '累计用户省份次数'],
+ 'name' => ['description' => '变量name。', 'type' => 'string', 'example' => 'hFsEFUEe88a'],
+ 'description' => ['description' => '变量描述。', 'type' => 'string', 'example' => '累计用户省份次数。'],
+ 'type' => ['description' => '变量类型。', 'type' => 'string', 'example' => 'SELF_VELOCITY '],
+ 'inputs' => ['description' => '输入参数多个用逗号隔开。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'fieldType' => ['description' => '字段类型。', 'type' => 'string', 'example' => 'DOUBLE'],
+ 'code' => ['description' => '变量code。', 'type' => 'string', 'example' => 'deReadVelocity(userId,\\"hFsEFUEe88a\\",1,\\"H\\",0,true,\\"COUNT\\")'],
+ 'defineId' => ['description' => '变量定义ID。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'parentName' => ['description' => '父节点。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'dataDisplay' => ['description' => '数据分布展示,json格式。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'sourceType' => ['description' => '来源类型。', 'type' => 'string', 'example' => 'SAF_SELF'],
+ 'displayType' => ['description' => '展示类型以及分组标签。', 'type' => 'string', 'example' => 'SELF_VELOCITY'],
+ 'xLabel' => ['description' => 'x标签。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'yLabel' => ['description' => 'x标签。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'favoriteFlag' => ['description' => '收藏标识。', 'type' => 'boolean', 'example' => 'false'],
+ 'fieldRank' => ['description' => '字段排序。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'fieldSource' => ['description' => '字段的来源。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'fieldDetail' => ['description' => '字段池字段详情。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'inputFieldType' => ['description' => '参数的输入类型。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'inputRequired' => ['description' => '必须的参数。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'outlier' => ['description' => '异常值。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'outputThreshold' => [
+ 'description' => '输出值阈值。',
+ 'type' => 'object',
+ 'properties' => [
+ 'minValue' => ['description' => '最小值。', 'type' => 'number', 'format' => 'double', 'example' => '1'],
+ 'maxValue' => ['description' => '最大值。', 'type' => 'number', 'format' => 'double', 'example' => '10'],
+ ],
+ ],
+ 'variableVelocity' => [
+ 'description' => '变量指标信息。此类型变量无此字段返回。',
+ 'type' => 'object',
+ 'properties' => [
+ 'iv' => ['description' => 'iv值。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ ],
+ ],
+ 'expressionTitle' => ['description' => '计算表达式展示值。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ ],
+ ],
+ ],
+ 'queryVariables' => [
+ 'description' => '自定义查询变量。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '自定义查询变量。',
+ 'type' => 'object',
+ 'properties' => [
+ 'id' => ['description' => '查询变量主键ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '3148'],
+ 'title' => ['description' => '标题。', 'type' => 'string', 'example' => '年龄计算'],
+ 'name' => ['description' => '变量name。', 'type' => 'string', 'example' => 'ex_qWtKgCox350f'],
+ 'description' => ['description' => '描述信息。', 'type' => 'string', 'example' => '年龄计算'."\n"],
+ 'type' => ['description' => '变量类型。', 'type' => 'string', 'example' => 'QUERY_EXPRESSION'],
+ 'inputs' => ['description' => '输入参数多个用逗号隔开。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'fieldType' => ['description' => '字段类型。', 'type' => 'string', 'example' => 'STRING'],
+ 'code' => ['description' => '变量code。', 'type' => 'string', 'example' => 'deInvokeQueryVariable(376773)'],
+ 'defineId' => ['description' => '变量定义ID。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'parentName' => ['description' => '父节点。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'dataDisplay' => ['description' => '数据分布展示,json格式。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'sourceType' => ['description' => '来源类型。', 'type' => 'string', 'example' => 'DATA_SOURCE'],
+ 'displayType' => ['description' => '展示类型以及分组标签。', 'type' => 'string', 'example' => 'QUERY_EXPRESSION'],
+ 'xLabel' => ['description' => 'x标签。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'yLabel' => ['description' => 'x标签。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'favoriteFlag' => ['description' => '收藏标识。', 'type' => 'boolean', 'example' => 'false'],
+ 'fieldRank' => ['description' => '字段排序。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'fieldSource' => ['description' => '字段的来源。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'fieldDetail' => ['description' => '字段池字段详情。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'inputFieldType' => ['description' => '参数的输入类型。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'inputRequired' => ['description' => '必须的参数。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'outlier' => ['description' => '异常值。', 'type' => 'string', 'example' => 'SYS_ERROR'],
+ 'outputThreshold' => [
+ 'description' => '输出值阈值。',
+ 'type' => 'object',
+ 'properties' => [
+ 'minValue' => ['description' => '最小值。', 'type' => 'number', 'format' => 'double', 'example' => '1'],
+ 'maxValue' => ['description' => '最大值。', 'type' => 'number', 'format' => 'double', 'example' => '10'],
+ ],
+ ],
+ 'variableVelocity' => [
+ 'description' => '变量指标信息。此类型变量无此字段返回。',
+ 'type' => 'object',
+ 'properties' => [
+ 'iv' => ['description' => 'iv值。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ ],
+ ],
+ 'expressionTitle' => ['description' => '计算表达式展示值。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'SELECT AVG( $source )\\nFROM testCase\\nWHERE $age > 0'],
+ ],
+ ],
+ ],
+ 'thirdVariables' => ['description' => '其他变量。', 'type' => 'object', 'example' => '{}'],
+ 'modelVariables' => [
+ 'description' => '模型变量。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '模型变量。',
+ 'type' => 'object',
+ 'properties' => [
+ 'id' => ['description' => '模型变量主键ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '43'],
+ 'title' => ['description' => '标题。', 'type' => 'string', 'example' => 'BL_t_show'],
+ 'name' => ['description' => '变量name。', 'type' => 'string', 'example' => 'mo_qbbyf33o66f2'],
+ 'description' => ['description' => '变量的描述。', 'type' => 'string', 'example' => 'BL_t_show'."\n"],
+ 'type' => ['description' => '变量类型。', 'type' => 'string', 'example' => 'MODEL'],
+ 'inputs' => ['description' => '输入参数多个用逗号隔开。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'fieldType' => ['description' => '字段类型。', 'type' => 'string', 'example' => 'DOUBLE'],
+ 'code' => ['description' => '变量code。', 'type' => 'string', 'example' => 'getAIData(model)'],
+ 'defineId' => ['description' => '变量定义ID。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'parentName' => ['description' => '父节点。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'dataDisplay' => ['description' => '数据分布展示,json格式。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'sourceType' => ['description' => '来源类型。', 'type' => 'string', 'example' => 'SAF'],
+ 'displayType' => ['description' => '展示类型以及分组标签。', 'type' => 'string', 'example' => 'MODEL'],
+ 'xLabel' => ['description' => 'x标签。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'yLabel' => ['description' => 'y标签。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'favoriteFlag' => ['description' => '收藏标识。', 'type' => 'boolean', 'example' => 'false'],
+ 'fieldRank' => ['description' => '字段排序。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'fieldSource' => ['description' => '字段的来源。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'fieldDetail' => ['description' => '字段池字段详情。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'inputFieldType' => ['description' => '参数的输入类型。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'inputRequired' => ['description' => '必须的参数。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'outlier' => ['description' => '异常值。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ 'outputThreshold' => [
+ 'description' => '输出值阈值。',
+ 'type' => 'object',
+ 'properties' => [
+ 'minValue' => ['description' => '最小值。', 'type' => 'number', 'format' => 'double', 'example' => '1'],
+ 'maxValue' => ['description' => '最大值。', 'type' => 'number', 'format' => 'double', 'example' => '10'],
+ ],
+ ],
+ 'variableVelocity' => [
+ 'description' => '变量指标信息。此类型变量无此字段返回。',
+ 'type' => 'object',
+ 'properties' => [
+ 'iv' => ['description' => 'iv值。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ ],
+ ],
+ 'expressionTitle' => ['description' => '计算表达式展示值。此类型变量无此字段返回。', 'type' => 'string', 'example' => 'This type does not have this field'."\n"],
+ ],
+ ],
+ ],
],
],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"Data\\": [\\n \\"10\\"\\n ],\\n \\"Categories\\": [\\n \\"2025-08-09\\"\\n ]\\n}","type":"json"}]',
- 'title' => '自助调用列表',
- ],
- 'DescribeGroupConditionList' => [
- 'summary' => '社群列表查询条件。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '事件下的变量列表',
+ 'summary' => '查询事件变量。',
+ 'description' => '累计变量列表查询',
+ 'changeSet' => [
+ ['createdAt' => '2022-11-14T09:06:49.000Z', 'description' => '响应参数发生变更'],
+ ['createdAt' => '2022-07-05T09:37:38.000Z', 'description' => '响应参数发生变更'],
+ ['createdAt' => '2022-05-11T07:28:04.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeEventVariableList'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": {\\n \\"nativeVariables\\": [\\n {\\n \\"id\\": 223,\\n \\"title\\": \\"年龄\\",\\n \\"name\\": \\"age\\",\\n \\"description\\": \\"描述\\",\\n \\"type\\": \\"NATIVE\\",\\n \\"inputs\\": \\"无\\",\\n \\"fieldType\\": \\"STRING\\",\\n \\"code\\": \\"age\\",\\n \\"defineId\\": \\"register\\",\\n \\"parentName\\": \\"parentName\\",\\n \\"dataDisplay\\": \\"{}\\",\\n \\"sourceType\\": \\"SAF\\",\\n \\"displayType\\": \\"NATIVE\\",\\n \\"xLabel\\": \\"x\\",\\n \\"yLabel\\": \\"y\\",\\n \\"favoriteFlag\\": true,\\n \\"fieldRank\\": 1,\\n \\"fieldSource\\": \\"DEFINE\\",\\n \\"fieldDetail\\": \\"无\\",\\n \\"inputFieldType\\": \\"STRING\\",\\n \\"inputRequired\\": \\"无\\",\\n \\"expressionTitle\\": \\"无\\",\\n \\"outlier\\": \\"无\\",\\n \\"outputThreshold\\": {\\n \\"minValue\\": 1,\\n \\"maxValue\\": 10\\n },\\n \\"variableVelocity\\": {\\n \\"iv\\": \\"无\\"\\n }\\n }\\n ],\\n \\"middleVariables\\": [\\n {\\n \\"id\\": 49,\\n \\"title\\": \\"midVaribale\\",\\n \\"name\\": \\"mid\\",\\n \\"description\\": \\"description\\",\\n \\"type\\": \\"MIDDLE\\",\\n \\"inputs\\": \\"This type does not have this field\\",\\n \\"fieldType\\": \\"STRING\\",\\n \\"code\\": \\"mid\\",\\n \\"defineId\\": \\"register\\",\\n \\"parentName\\": \\"This type does not have this field\\\\n\\",\\n \\"dataDisplay\\": \\"This type does not have this field\\\\n\\",\\n \\"sourceType\\": \\"SAF\\",\\n \\"displayType\\": \\"MIDDLE\\",\\n \\"xLabel\\": \\"This type does not have this field\\\\n\\",\\n \\"yLabel\\": \\"This type does not have this field\\\\n\\",\\n \\"favoriteFlag\\": false,\\n \\"fieldRank\\": 0,\\n \\"fieldSource\\": \\"DEFAULT\\",\\n \\"fieldDetail\\": \\"This type does not have this field\\\\n\\",\\n \\"inputFieldType\\": \\"This type does not have this field\\\\n\\",\\n \\"inputRequired\\": \\"This type does not have this field\\\\n\\",\\n \\"expressionTitle\\": \\"This type does not have this field\\\\n\\",\\n \\"outlier\\": \\"This type does not have this field\\\\n\\",\\n \\"outputThreshold\\": {\\n \\"minValue\\": 0,\\n \\"maxValue\\": 10\\n },\\n \\"variableVelocity\\": {\\n \\"iv\\": \\"This type does not have this field\\\\n\\"\\n }\\n }\\n ],\\n \\"nativeVariableFunctions\\": [\\n {\\n \\"id\\": 93,\\n \\"title\\": \\"根据时间戳获取小时\\",\\n \\"name\\": \\"__getHourOfTimestamp__\\",\\n \\"description\\": \\"时间戳,可以是秒或者毫秒\\",\\n \\"type\\": \\"FUNC\\",\\n \\"inputs\\": \\"This type does not have this field\\\\n\\",\\n \\"fieldType\\": \\"LONG\\",\\n \\"code\\": \\"getHourOfTimestamp({data})\\",\\n \\"defineId\\": \\"This type does not have this field\\\\n\\",\\n \\"parentName\\": \\"This type does not have this field\\\\n\\",\\n \\"dataDisplay\\": \\"This type does not have this field\\\\n\\",\\n \\"sourceType\\": \\"SAF\\",\\n \\"displayType\\": \\"FUNC\\",\\n \\"xLabel\\": \\"This type does not have this field\\\\n\\",\\n \\"yLabel\\": \\"This type does not have this field\\\\n\\",\\n \\"favoriteFlag\\": false,\\n \\"fieldRank\\": 0,\\n \\"fieldSource\\": \\"This type does not have this field\\\\n\\",\\n \\"fieldDetail\\": \\"This type does not have this field\\\\n\\",\\n \\"inputFieldType\\": \\"DATE\\",\\n \\"inputRequired\\": \\"This type does not have this field\\\\n\\",\\n \\"outlier\\": \\"This type does not have this field\\\\n\\",\\n \\"outputThreshold\\": {\\n \\"minValue\\": 0,\\n \\"maxValue\\": 10\\n },\\n \\"variableVelocity\\": {\\n \\"iv\\": \\"This type does not have this field\\\\n\\"\\n },\\n \\"expressionTitle\\": \\"This type does not have this field\\\\n\\"\\n }\\n ],\\n \\"sysVariables\\": [\\n {\\n \\"id\\": 3151,\\n \\"title\\": \\"IP所在地_城市Code\\\\n\\",\\n \\"name\\": \\"__ipLocationCityCode__\\",\\n \\"description\\": \\"通过IP地址库解析IP所在的城市Code,例如,输入“42.120.74.211”,经过该变量运算,输出“330100”。\\",\\n \\"type\\": \\"SYSTEM_BIND\\",\\n \\"inputs\\": \\"ip\\",\\n \\"fieldType\\": \\"STRING\\",\\n \\"code\\": \\"parseIpV2(ip)?.cityId\\",\\n \\"defineId\\": \\"2488\\",\\n \\"parentName\\": \\"无\\",\\n \\"dataDisplay\\": \\"This type does not have this field\\\\n\\",\\n \\"sourceType\\": \\"SAF\\",\\n \\"displayType\\": \\"SYSTEM_BIND\\",\\n \\"xLabel\\": \\"This type does not have this field\\\\n\\",\\n \\"yLabel\\": \\"This type does not have this field\\\\n\\",\\n \\"favoriteFlag\\": false,\\n \\"fieldRank\\": 0,\\n \\"fieldSource\\": \\"This type does not have this field\\\\n\\",\\n \\"fieldDetail\\": \\"This type does not have this field\\\\n\\",\\n \\"inputFieldType\\": \\"This type does not have this field\\\\n\\",\\n \\"inputRequired\\": \\"This type does not have this field\\\\n\\",\\n \\"outlier\\": \\"This type does not have this field\\\\n\\",\\n \\"outputThreshold\\": {\\n \\"minValue\\": 1,\\n \\"maxValue\\": 10\\n },\\n \\"variableVelocity\\": {\\n \\"iv\\": \\"This type does not have this field\\\\n\\"\\n },\\n \\"expressionTitle\\": \\"This type does not have this field\\\\n\\"\\n }\\n ],\\n \\"selfVariables\\": [\\n {\\n \\"id\\": 3174,\\n \\"title\\": \\"获取手机号前七位\\",\\n \\"name\\": \\"ex_isvspbF2c7ac\\",\\n \\"description\\": \\"变量的描述信息\\",\\n \\"type\\": \\"EXPRESSION\\",\\n \\"inputs\\": \\"ip\\",\\n \\"fieldType\\": \\"STRING\\",\\n \\"code\\": \\"deReadVelocity(hitRules,\\\\\\\\\\\\\\"dUd5ioJ8014\\\\\\\\\\\\\\",1,\\\\\\\\\\\\\\"MO\\\\\\\\\\\\\\",0,true,\\\\\\\\\\\\\\"SUM\\\\\\\\\\\\\\")\\",\\n \\"defineId\\": \\"49\\",\\n \\"parentName\\": \\"This type does not have this field\\\\n\\",\\n \\"dataDisplay\\": \\"This type does not have this field\\\\n\\",\\n \\"sourceType\\": \\"SAF\\",\\n \\"displayType\\": \\"SELF_BIND\\",\\n \\"xLabel\\": \\"This type does not have this field\\\\n\\",\\n \\"yLabel\\": \\"This type does not have this field\\\\n\\",\\n \\"favoriteFlag\\": false,\\n \\"fieldRank\\": 0,\\n \\"fieldSource\\": \\"This type does not have this field\\\\n\\",\\n \\"fieldDetail\\": \\"This type does not have this field\\\\n\\",\\n \\"inputFieldType\\": \\"This type does not have this field\\\\n\\",\\n \\"inputRequired\\": \\"This type does not have this field\\",\\n \\"outlier\\": \\"-1\\",\\n \\"outputThreshold\\": {\\n \\"minValue\\": 1,\\n \\"maxValue\\": 10\\n },\\n \\"variableVelocity\\": {\\n \\"iv\\": \\"This type does not have this field\\\\n\\"\\n },\\n \\"expressionTitle\\": \\" @IP地址 \\"\\n }\\n ],\\n \\"nameList\\": [\\n {\\n \\"id\\": 34,\\n \\"title\\": \\"白名单\\",\\n \\"name\\": \\"nl_UN8otElLb490\\",\\n \\"description\\": \\"描述\\",\\n \\"type\\": \\"NAME_LIST\\",\\n \\"inputs\\": \\"This type does not have this field\\\\n\\",\\n \\"fieldType\\": \\"This type does not have this field\\\\n\\",\\n \\"code\\": \\"nl_UN8otElLb490\\",\\n \\"defineId\\": \\"This type does not have this field\\\\n\\",\\n \\"parentName\\": \\"This type does not have this field\\",\\n \\"dataDisplay\\": \\"This type does not have this field\\",\\n \\"sourceType\\": \\"SAF\\",\\n \\"displayType\\": \\"NAME_LIST\\",\\n \\"xLabel\\": \\"This type does not have this field\\\\n\\",\\n \\"yLabel\\": \\"This type does not have this field\\\\n\\",\\n \\"favoriteFlag\\": false,\\n \\"fieldRank\\": 0,\\n \\"fieldSource\\": \\"This type does not have this field\\",\\n \\"fieldDetail\\": \\"This type does not have this field\\",\\n \\"inputFieldType\\": \\"This type does not have this field\\",\\n \\"inputRequired\\": \\"This type does not have this field\\",\\n \\"outlier\\": \\"This type does not have this field\\\\n\\",\\n \\"outputThreshold\\": {\\n \\"minValue\\": 1,\\n \\"maxValue\\": 10\\n },\\n \\"variableVelocity\\": {\\n \\"iv\\": \\"This type does not have this field\\\\n\\"\\n },\\n \\"expressionTitle\\": \\"This type does not have this field\\\\n\\"\\n }\\n ],\\n \\"actions\\": [\\n {\\n \\"id\\": 3144,\\n \\"title\\": \\"决策结果\\",\\n \\"name\\": \\"__addDeResult__\\",\\n \\"description\\": \\"决策结果\\\\n\\",\\n \\"type\\": \\"ACTION\\",\\n \\"inputs\\": \\"This type does not have this field\\\\n\\",\\n \\"fieldType\\": \\"This type does not have this field\\\\n\\",\\n \\"code\\": \\"deAddResult\\",\\n \\"defineId\\": \\"This type does not have this field\\\\n\\",\\n \\"parentName\\": \\"This type does not have this field\\\\n\\",\\n \\"dataDisplay\\": \\"This type does not have this field\\\\n\\",\\n \\"sourceType\\": \\"SAF\\",\\n \\"displayType\\": \\"ACTION\\",\\n \\"xLabel\\": \\"This type does not have this field\\\\n\\",\\n \\"yLabel\\": \\"This type does not have this field\\\\n\\",\\n \\"favoriteFlag\\": false,\\n \\"fieldRank\\": 0,\\n \\"fieldSource\\": \\"This type does not have this field\\\\n\\",\\n \\"fieldDetail\\": \\"This type does not have this field\\\\n\\",\\n \\"inputFieldType\\": \\"STRING\\",\\n \\"inputRequired\\": \\"This type does not have this field\\\\n\\",\\n \\"outlier\\": \\"This type does not have this field\\\\n\\",\\n \\"outputThreshold\\": {\\n \\"minValue\\": 1,\\n \\"maxValue\\": 10\\n },\\n \\"variableVelocity\\": {\\n \\"iv\\": \\"This type does not have this field\\\\n\\"\\n },\\n \\"expressionTitle\\": \\"This type does not have this field\\\\n\\"\\n }\\n ],\\n \\"favoriteVariables\\": [\\n {\\n \\"id\\": 34,\\n \\"title\\": \\"IP是否符合IPV4格式\\",\\n \\"name\\": \\"__isIpAddressV4__\\",\\n \\"description\\": \\"判断是否符合IPv4标准\\",\\n \\"type\\": \\"SYSTEM_BIND\\",\\n \\"inputs\\": \\"ip\\",\\n \\"fieldType\\": \\"BOOLEAN\\",\\n \\"code\\": \\"deFunctionProcess(ip,\\\\\\\\\\\\\\"isIp\\\\\\\\\\\\\\")\\",\\n \\"defineId\\": \\"16\\",\\n \\"parentName\\": \\"This type does not have this field\\\\n\\",\\n \\"dataDisplay\\": \\"This type does not have this field\\\\n\\",\\n \\"sourceType\\": \\"SAF\\",\\n \\"displayType\\": \\"SYSTEM_BIND\\",\\n \\"xLabel\\": \\"This type does not have this field\\\\n\\",\\n \\"yLabel\\": \\"This type does not have this field\\\\n\\",\\n \\"favoriteFlag\\": false,\\n \\"fieldRank\\": 0,\\n \\"fieldSource\\": \\"This type does not have this field\\\\n\\",\\n \\"fieldDetail\\": \\"This type does not have this field\\\\n\\",\\n \\"inputFieldType\\": \\"This type does not have this field\\\\n\\",\\n \\"inputRequired\\": \\"This type does not have this field\\\\n\\",\\n \\"outlier\\": \\"This type does not have this field\\\\n\\",\\n \\"outputThreshold\\": {\\n \\"minValue\\": 1,\\n \\"maxValue\\": 10\\n },\\n \\"variableVelocity\\": {\\n \\"iv\\": \\"This type does not have this field\\\\n\\"\\n },\\n \\"expressionTitle\\": \\"This type does not have this field\\\\n\\"\\n }\\n ],\\n \\"deviceVariables\\": [\\n {\\n \\"id\\": 41,\\n \\"title\\": \\"设备信息-设备名称-deviceName\\",\\n \\"name\\": \\"__device_name__\\",\\n \\"description\\": \\"设备信息-设备名称\\",\\n \\"type\\": \\"DEVICE\\",\\n \\"inputs\\": \\"This type does not have this field\\\\n\\",\\n \\"fieldType\\": \\"STRING\\",\\n \\"code\\": \\"queryPhoneSimulatorInfo(deviceToken)?.deviceName\\",\\n \\"defineId\\": \\"This type does not have this field\\\\n\\",\\n \\"parentName\\": \\"This type does not have this field\\\\n\\",\\n \\"dataDisplay\\": \\"This type does not have this field\\\\n\\",\\n \\"sourceType\\": \\"SAF\\",\\n \\"displayType\\": \\"DEVICE\\",\\n \\"xLabel\\": \\"This type does not have this field\\\\n\\",\\n \\"yLabel\\": \\"This type does not have this field\\\\n\\",\\n \\"favoriteFlag\\": false,\\n \\"fieldRank\\": 0,\\n \\"fieldSource\\": \\"This type does not have this field\\\\n\\",\\n \\"fieldDetail\\": \\"This type does not have this field\\\\n\\",\\n \\"inputFieldType\\": \\"This type does not have this field\\\\n\\",\\n \\"inputRequired\\": \\"This type does not have this field\\\\n\\",\\n \\"outlier\\": \\"This type does not have this field\\\\n\\",\\n \\"outputThreshold\\": {\\n \\"minValue\\": 1,\\n \\"maxValue\\": 10\\n },\\n \\"variableVelocity\\": {\\n \\"iv\\": \\"This type does not have this field\\\\n\\"\\n },\\n \\"expressionTitle\\": \\"This type does not have this field\\\\n\\"\\n }\\n ],\\n \\"expressionVariables\\": [\\n {\\n \\"id\\": 3148,\\n \\"title\\": \\"获取手机号前7位\\",\\n \\"name\\": \\"ex_w2yIClHCc150\\",\\n \\"description\\": \\"获取手机号前7位\\\\n\\",\\n \\"type\\": \\"EXPRESSION\\",\\n \\"inputs\\": \\"This type does not have this field\\\\n\\",\\n \\"fieldType\\": \\"STRING\\",\\n \\"code\\": \\"deInvokeSelfVariable(390397)\\",\\n \\"defineId\\": \\"This type does not have this field\\\\n\\",\\n \\"parentName\\": \\"This type does not have this field\\\\n\\",\\n \\"dataDisplay\\": \\"This type does not have this field\\\\n\\",\\n \\"sourceType\\": \\"SAF\\",\\n \\"displayType\\": \\"EXPRESSION\\",\\n \\"xLabel\\": \\"This type does not have this field\\\\n\\",\\n \\"yLabel\\": \\"This type does not have this field\\\\n\\",\\n \\"favoriteFlag\\": false,\\n \\"fieldRank\\": 0,\\n \\"fieldSource\\": \\"This type does not have this field\\\\n\\",\\n \\"fieldDetail\\": \\"This type does not have this field\\\\n\\",\\n \\"inputFieldType\\": \\"This type does not have this field\\\\n\\",\\n \\"inputRequired\\": \\"This type does not have this field\\\\n\\",\\n \\"outlier\\": \\"-1\\",\\n \\"outputThreshold\\": {\\n \\"minValue\\": 1,\\n \\"maxValue\\": 10\\n },\\n \\"variableVelocity\\": {\\n \\"iv\\": \\"This type does not have this field\\\\n\\"\\n },\\n \\"expressionTitle\\": \\" @testaaa +1\\"\\n }\\n ],\\n \\"velocityVariables\\": [\\n {\\n \\"id\\": 3148,\\n \\"title\\": \\"累计用户省份次数\\",\\n \\"name\\": \\"hFsEFUEe88a\\",\\n \\"description\\": \\"累计用户省份次数。\\",\\n \\"type\\": \\"SELF_VELOCITY \\",\\n \\"inputs\\": \\"This type does not have this field\\\\n\\",\\n \\"fieldType\\": \\"DOUBLE\\",\\n \\"code\\": \\"deReadVelocity(userId,\\\\\\\\\\\\\\"hFsEFUEe88a\\\\\\\\\\\\\\",1,\\\\\\\\\\\\\\"H\\\\\\\\\\\\\\",0,true,\\\\\\\\\\\\\\"COUNT\\\\\\\\\\\\\\")\\",\\n \\"defineId\\": \\"This type does not have this field\\\\n\\",\\n \\"parentName\\": \\"This type does not have this field\\\\n\\",\\n \\"dataDisplay\\": \\"This type does not have this field\\\\n\\",\\n \\"sourceType\\": \\"SAF_SELF\\",\\n \\"displayType\\": \\"SELF_VELOCITY\\",\\n \\"xLabel\\": \\"This type does not have this field\\\\n\\",\\n \\"yLabel\\": \\"This type does not have this field\\\\n\\",\\n \\"favoriteFlag\\": false,\\n \\"fieldRank\\": 0,\\n \\"fieldSource\\": \\"This type does not have this field\\\\n\\",\\n \\"fieldDetail\\": \\"This type does not have this field\\\\n\\",\\n \\"inputFieldType\\": \\"This type does not have this field\\\\n\\",\\n \\"inputRequired\\": \\"This type does not have this field\\\\n\\",\\n \\"outlier\\": \\"This type does not have this field\\\\n\\",\\n \\"outputThreshold\\": {\\n \\"minValue\\": 1,\\n \\"maxValue\\": 10\\n },\\n \\"variableVelocity\\": {\\n \\"iv\\": \\"This type does not have this field\\\\n\\"\\n },\\n \\"expressionTitle\\": \\"This type does not have this field\\\\n\\"\\n }\\n ],\\n \\"queryVariables\\": [\\n {\\n \\"id\\": 3148,\\n \\"title\\": \\"年龄计算\\",\\n \\"name\\": \\"ex_qWtKgCox350f\\",\\n \\"description\\": \\"年龄计算\\\\n\\",\\n \\"type\\": \\"QUERY_EXPRESSION\\",\\n \\"inputs\\": \\"This type does not have this field\\\\n\\",\\n \\"fieldType\\": \\"STRING\\",\\n \\"code\\": \\"deInvokeQueryVariable(376773)\\",\\n \\"defineId\\": \\"This type does not have this field\\\\n\\",\\n \\"parentName\\": \\"This type does not have this field\\\\n\\",\\n \\"dataDisplay\\": \\"This type does not have this field\\\\n\\",\\n \\"sourceType\\": \\"DATA_SOURCE\\",\\n \\"displayType\\": \\"QUERY_EXPRESSION\\",\\n \\"xLabel\\": \\"This type does not have this field\\\\n\\",\\n \\"yLabel\\": \\"This type does not have this field\\\\n\\",\\n \\"favoriteFlag\\": false,\\n \\"fieldRank\\": 0,\\n \\"fieldSource\\": \\"This type does not have this field\\\\n\\",\\n \\"fieldDetail\\": \\"This type does not have this field\\\\n\\",\\n \\"inputFieldType\\": \\"This type does not have this field\\\\n\\",\\n \\"inputRequired\\": \\"This type does not have this field\\\\n\\",\\n \\"outlier\\": \\"SYS_ERROR\\",\\n \\"outputThreshold\\": {\\n \\"minValue\\": 1,\\n \\"maxValue\\": 10\\n },\\n \\"variableVelocity\\": {\\n \\"iv\\": \\"This type does not have this field\\\\n\\"\\n },\\n \\"expressionTitle\\": \\"SELECT AVG( $source )\\\\\\\\nFROM testCase\\\\\\\\nWHERE $age > 0\\"\\n }\\n ],\\n \\"thirdVariables\\": {},\\n \\"modelVariables\\": [\\n {\\n \\"id\\": 43,\\n \\"title\\": \\"BL_t_show\\",\\n \\"name\\": \\"mo_qbbyf33o66f2\\",\\n \\"description\\": \\"BL_t_show\\\\n\\",\\n \\"type\\": \\"MODEL\\",\\n \\"inputs\\": \\"This type does not have this field\\\\n\\",\\n \\"fieldType\\": \\"DOUBLE\\",\\n \\"code\\": \\"getAIData(model)\\",\\n \\"defineId\\": \\"This type does not have this field\\\\n\\",\\n \\"parentName\\": \\"This type does not have this field\\\\n\\",\\n \\"dataDisplay\\": \\"This type does not have this field\\\\n\\",\\n \\"sourceType\\": \\"SAF\\",\\n \\"displayType\\": \\"MODEL\\",\\n \\"xLabel\\": \\"This type does not have this field\\\\n\\",\\n \\"yLabel\\": \\"This type does not have this field\\\\n\\",\\n \\"favoriteFlag\\": false,\\n \\"fieldRank\\": 0,\\n \\"fieldSource\\": \\"This type does not have this field\\\\n\\",\\n \\"fieldDetail\\": \\"This type does not have this field\\\\n\\",\\n \\"inputFieldType\\": \\"This type does not have this field\\\\n\\",\\n \\"inputRequired\\": \\"This type does not have this field\\\\n\\",\\n \\"outlier\\": \\"This type does not have this field\\\\n\\",\\n \\"outputThreshold\\": {\\n \\"minValue\\": 1,\\n \\"maxValue\\": 10\\n },\\n \\"variableVelocity\\": {\\n \\"iv\\": \\"This type does not have this field\\\\n\\"\\n },\\n \\"expressionTitle\\": \\"This type does not have this field\\\\n\\"\\n }\\n ]\\n },\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeEventVariableTemplateBind' => [
+ 'summary' => '查询事件模版。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'operationType' => 'read',
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
+ ],
+ [
+ 'name' => 'templateCode',
+ 'in' => 'query',
+ 'schema' => ['description' => '模板code。', 'type' => 'string', 'required' => false, 'example' => 'register'],
+ ],
+ [
+ 'name' => 'type',
+ 'in' => 'query',
+ 'schema' => ['description' => '类型。', 'type' => 'string', 'required' => true, 'example' => 'NATIVE'],
+ ],
+ [
+ 'name' => 'inputs',
+ 'in' => 'query',
+ 'schema' => ['description' => '输入参数多个用逗号隔开。', 'type' => 'string', 'required' => true, 'example' => 'age,ip'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
@@ -15608,109 +10522,115 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
'resultObject' => [
- 'description' => '返回对象',
- 'type' => 'array',
- 'items' => [
- 'description' => '返回对象',
- 'type' => 'object',
- 'properties' => [
- 'fieldValue' => [
- 'description' => '字段值。',
- 'type' => 'string',
- 'example' => 'value',
+ 'description' => '返回对象。',
+ 'type' => 'object',
+ 'properties' => [
+ 'totalCount' => ['description' => '总条数。', 'type' => 'string', 'example' => '38'],
+ 'templateCode' => ['description' => '模板code。', 'type' => 'string', 'example' => 'register'],
+ 'freeVariables' => [
+ 'description' => '免费变量列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '返回对象。',
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => ['description' => '变量code。', 'type' => 'string', 'example' => 'age'],
+ 'title' => ['description' => '标题。', 'type' => 'string', 'example' => '年龄'],
+ 'type' => ['description' => '变量类型。', 'type' => 'string', 'example' => 'NATIVE'],
+ 'fieldType' => ['description' => '字段类型。', 'type' => 'string', 'example' => 'STRING'],
+ 'description' => ['description' => '变量描述。', 'type' => 'string', 'example' => '描述'],
+ 'name' => ['description' => '变量name。', 'type' => 'string', 'example' => 'age'],
+ 'id' => ['description' => '主键id。', 'type' => 'integer', 'format' => 'int64', 'example' => '234'],
+ ],
],
- 'fieldKey' => [
- 'description' => 'fieldKey',
- 'type' => 'string',
- 'example' => 'key',
+ ],
+ 'chargeVariables' => [
+ 'description' => '收费变量列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '返回对象。',
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => ['description' => '变量code。', 'type' => 'string', 'example' => 'ip'],
+ 'title' => ['description' => '标题。', 'type' => 'string', 'example' => 'ip'],
+ 'type' => ['description' => '变量类型。', 'type' => 'string', 'example' => 'NATIVE'],
+ 'fieldType' => ['description' => '字段类型。', 'type' => 'string', 'example' => 'STRING'],
+ 'description' => ['description' => '变量的描述。', 'type' => 'string', 'example' => '描述'],
+ 'name' => ['description' => '变量name。', 'type' => 'string', 'example' => 'ip'],
+ 'id' => ['description' => '主键id。', 'type' => 'integer', 'format' => 'int64', 'example' => '456'],
+ ],
],
],
],
],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"resultObject\\": [\\n {\\n \\"fieldValue\\": \\"value\\",\\n \\"fieldKey\\": \\"key\\"\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '社群列表查询条件',
- ],
- 'DescribeApis' => [
- 'summary' => '得到api列表包括用户购买的以及自定义的。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '查询事件模板',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:28:11.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeEventVariableTemplateBind'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"resultObject\\": {\\n \\"totalCount\\": \\"38\\",\\n \\"templateCode\\": \\"register\\",\\n \\"freeVariables\\": [\\n {\\n \\"code\\": \\"age\\",\\n \\"title\\": \\"年龄\\",\\n \\"type\\": \\"NATIVE\\",\\n \\"fieldType\\": \\"STRING\\",\\n \\"description\\": \\"描述\\",\\n \\"name\\": \\"age\\",\\n \\"id\\": 234\\n }\\n ],\\n \\"chargeVariables\\": [\\n {\\n \\"code\\": \\"ip\\",\\n \\"title\\": \\"ip\\",\\n \\"type\\": \\"NATIVE\\",\\n \\"fieldType\\": \\"STRING\\",\\n \\"description\\": \\"描述\\",\\n \\"name\\": \\"ip\\",\\n \\"id\\": 456\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'DescribeEventVariableTemplateList' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'apiRegionId',
+ 'name' => 'templateCode',
'in' => 'query',
- 'schema' => [
- 'description' => '地域id。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-hangzhou、cn-shanghai',
- ],
+ 'schema' => ['description' => '模板code。', 'type' => 'string', 'required' => false, 'example' => 'register'],
],
[
- 'name' => 'apiGroupId',
+ 'name' => 'type',
'in' => 'query',
- 'schema' => [
- 'description' => 'api分组id。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '3309b0f4b1e243cd8bd9dd029f9c5f0a',
- ],
+ 'schema' => ['description' => '模板类型。', 'type' => 'string', 'required' => false, 'example' => 'NATIVE'],
],
[
- 'name' => 'apiType',
+ 'name' => 'inputs',
'in' => 'query',
- 'schema' => [
- 'description' => 'api类型',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'SELF',
- ],
+ 'schema' => ['description' => '输入参数多个用逗号隔开', 'type' => 'string', 'required' => false, 'example' => 'age,ip'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
@@ -15718,117 +10638,143 @@
'schema' => [
'type' => 'object',
'properties' => [
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
'resultObject' => [
'description' => '返回对象',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '返回对象',
+ 'type' => 'object',
+ 'properties' => [
+ 'templateCode' => ['description' => '模板编码。', 'type' => 'string', 'example' => 'register'],
+ 'templateName' => ['description' => '模板名称。', 'type' => 'string', 'example' => '注册模版'],
+ 'variables' => [
+ 'description' => '变量列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '变量列表',
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => ['description' => '变量code', 'type' => 'string', 'example' => 'age'],
+ 'title' => ['description' => '标题。', 'type' => 'string', 'example' => '年龄'],
+ 'type' => ['description' => '变量类型。', 'type' => 'string', 'example' => 'NATIVE'],
+ 'fieldType' => ['description' => '变量输入类型', 'type' => 'string', 'example' => 'STRING'],
+ 'description' => ['description' => '描述信息。', 'type' => 'string', 'example' => '描述'],
+ 'name' => ['description' => '变量name', 'type' => 'string', 'example' => 'age'],
+ 'id' => ['description' => '主键ID', 'type' => 'integer', 'format' => 'int64', 'example' => '454'],
+ ],
+ ],
+ ],
+ ],
+ ],
],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '得到api列表包括用户购买的以及自定义的',
- ],
- 'DeleteSampleBatch' => [
- 'summary' => '批量删除样本。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '查询事件模板',
+ 'summary' => '查询事件模版',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:28:11.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeEventVariableTemplateList'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"resultObject\\": [\\n {\\n \\"templateCode\\": \\"register\\",\\n \\"templateName\\": \\"注册模版\\",\\n \\"variables\\": [\\n {\\n \\"code\\": \\"age\\",\\n \\"title\\": \\"年龄\\",\\n \\"type\\": \\"NATIVE\\",\\n \\"fieldType\\": \\"STRING\\",\\n \\"description\\": \\"描述\\",\\n \\"name\\": \\"age\\",\\n \\"id\\": 454\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'DescribeEventsVariableList' => [
+ 'summary' => '查询事件变量',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'operationType' => 'read',
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'ids',
+ 'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '批量删除批量操作的id。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '324,343',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'versions',
+ 'name' => 'createType',
'in' => 'query',
- 'schema' => [
- 'description' => '版本列表',
- 'type' => 'string',
- 'required' => true,
- 'example' => '1,1',
- ],
+ 'schema' => ['description' => '创建类型', 'type' => 'string', 'required' => false, 'example' => 'NORMAL'],
],
[
- 'name' => 'regId',
+ 'name' => 'eventCodes',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '事件code。', 'type' => 'string', 'required' => true, 'example' => 'de_afghcf6411'],
+ ],
+ [
+ 'name' => 'scene',
+ 'in' => 'query',
+ 'schema' => ['description' => '适用场景code', 'type' => 'string', 'required' => true, 'example' => 'VELOCITY'],
+ ],
+ [
+ 'name' => 'filterDTO',
+ 'in' => 'query',
+ 'schema' => ['description' => '过滤对象', 'type' => 'string', 'required' => false, 'example' => '{\\"type\\":\\"EXPRESSION\\",\\"name\\":\\"ex_NgR6nDVD821c\\"}'],
],
],
'responses' => [
200 => [
+ 'headers' => [],
'schema' => [
'type' => 'object',
'properties' => [
- 'data' => [
- 'description' => '返回数据对象。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
+ 'resultObject' => ['description' => '返回对象', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '批量删除样本',
- ],
- 'DescribeSafConsole' => [
- 'summary' => '查询saf权限。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'title' => '查询事件变量',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeExcuteNum' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -15837,43 +10783,41 @@
'operationType' => 'read',
'systemTags' => [
'operationType' => 'get',
- 'abilityTreeCode' => '136795',
- 'abilityTreeNodes' => [
- 'FEATUREsafT73ZWM',
- ],
+ 'abilityTreeCode' => '136724',
+ 'abilityTreeNodes' => ['FEATUREsafT73ZWM'],
],
'parameters' => [
[
+ 'name' => 'SourceIp',
+ 'in' => 'query',
+ 'schema' => ['description' => '请求源ip地址。', 'type' => 'string', 'required' => false, 'example' => '220.250.21.83'],
+ ],
+ [
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'service',
+ 'name' => 'Code',
'in' => 'query',
- 'schema' => [
- 'description' => '调用服务。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ei_riskLpInfo',
- ],
+ 'schema' => ['description' => '服务code。', 'type' => 'string', 'required' => true, 'example' => 'saf_all'],
],
[
- 'name' => 'content',
+ 'name' => 'StartDate',
'in' => 'query',
- 'schema' => [
- 'description' => '查询内容。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ei_riskLpInfo'."\n",
- ],
+ 'schema' => ['description' => '开始时间,格式yyyy-MM-dd,如: 2025-03-10。', 'type' => 'string', 'required' => false, 'example' => '2025-03-10'],
+ ],
+ [
+ 'name' => 'EndDate',
+ 'in' => 'query',
+ 'schema' => ['description' => '终止日期,格式yyyy-MM-dd,如: 2025-03-13。', 'type' => 'string', 'required' => false, 'example' => '2025-03-15'],
+ ],
+ [
+ 'name' => 'Degree',
+ 'in' => 'query',
+ 'schema' => ['description' => '此字段暂未使用,无查询意义。', 'type' => 'string', 'required' => false, 'example' => '暂时不需要传入'],
],
],
'responses' => [
@@ -15881,87 +10825,75 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ 'Data' => [
+ 'description' => '返回数据。',
+ 'type' => 'array',
+ 'items' => ['description' => '返回数据。', 'type' => 'string', 'example' => '10'],
],
- 'bizData' => [
- 'description' => '返回结果。',
+ 'Categories' => [
+ 'description' => '服务分类名称。',
'type' => 'array',
- 'items' => [
- 'description' => '返回结果。',
- 'type' => 'string',
- 'example' => 'INDEBT_ERROR',
- ],
+ 'items' => ['description' => '返回的日期数组。', 'type' => 'string', 'example' => '2025-08-09'],
],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"bizData\\": [\\n \\"INDEBT_ERROR\\"\\n ]\\n}","type":"json"}]',
- 'title' => '查询saf权限',
- ],
- 'DescribeOssToken' => [
- 'summary' => '获取文件上传凭证。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '自助调用列表',
+ 'summary' => '自助调用列表。',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:11:26.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeExcuteNum'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"Data\\": [\\n \\"10\\"\\n ],\\n \\"Categories\\": [\\n \\"2025-08-09\\"\\n ]\\n}","type":"json"}]',
+ ],
+ 'DescribeExistName' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'uploadType',
+ 'name' => 'name',
'in' => 'query',
- 'schema' => [
- 'description' => '上传类型',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'COMMUNITY_SAMPLE',
- ],
- ],
- [
- 'name' => 'fileName',
- 'in' => 'query',
- 'schema' => [
- 'description' => '文件名。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test.csv',
- ],
+ 'schema' => ['description' => '变量name。', 'type' => 'string', 'required' => false, 'example' => 'age'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
@@ -15969,99 +10901,64 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Key' => [
- 'description' => '文件上传所需的Key。',
- 'type' => 'string',
- 'example' => 'saf/de/namelist/e924/ufzgsedX9bd3a7',
- ],
- 'Signature' => [
- 'description' => 'OSS签名。',
- 'type' => 'string',
- 'example' => 'n29by5MWBmAjcweVoPEY/OHktog=',
- ],
- 'Host' => [
- 'description' => '主机地址。',
- 'type' => 'string',
- 'example' => 'kf.sunwoosoft.com',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
- 'Policy' => [
- 'description' => 'ossbucket的权限策略。',
- 'type' => 'string',
- 'example' => 'eyJleHBpcmF0aW9uIjoiMjAyNS0wNy0zMFQwNjowNTo0OS45NTRaIiwiY29uZGl0aW9ucyI6W1siY29udGVudC1sZW5ndGgtcmFuZ2UiLDAsMTA0ODU3NjAwMF0sWyJlcSIsIiRrZXkiLCJzYWZcL2RlXC9uYW1lbGlzdFwvZTkyNFwvdWZ6Z3NlZFg5Ymxxxxxxxxxxx',
- ],
- 'AccessId' => [
- 'description' => 'OSS上传文件的AccessKeyId',
- 'type' => 'string',
- 'example' => 'LTAI5tJWSnmmTpJGN6sJCNG3',
- ],
- 'StsToken' => [
- 'description' => '临时身份凭证。',
- 'type' => 'string',
- 'example' => 'tT44bMQxxxxxxxxxxxxxxx',
- ],
+ 'resultObject' => ['description' => '返回对象。', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Key\\": \\"saf/de/namelist/e924/ufzgsedX9bd3a7\\",\\n \\"Signature\\": \\"n29by5MWBmAjcweVoPEY/OHktog=\\",\\n \\"Host\\": \\"kf.sunwoosoft.com\\",\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"Policy\\": \\"eyJleHBpcmF0aW9uIjoiMjAyNS0wNy0zMFQwNjowNTo0OS45NTRaIiwiY29uZGl0aW9ucyI6W1siY29udGVudC1sZW5ndGgtcmFuZ2UiLDAsMTA0ODU3NjAwMF0sWyJlcSIsIiRrZXkiLCJzYWZcL2RlXC9uYW1lbGlzdFwvZTkyNFwvdWZ6Z3NlZFg5Ymxxxxxxxxxxx\\",\\n \\"AccessId\\": \\"LTAI5tJWSnmmTpJGN6sJCNG3\\",\\n \\"StsToken\\": \\"tT44bMQxxxxxxxxxxxxxxx\\"\\n}","type":"json"}]',
- 'title' => '获取文件上传凭证',
- ],
- 'DescribeApiVariable' => [
- 'summary' => '查询变量详情。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '查询字段名是否重复',
+ 'summary' => '校验字段名是否重复(基于用户单位)。',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:27:35.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeExistName'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeExistScene' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'id',
+ 'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '变量id',
- 'type' => 'string',
- 'required' => true,
- 'example' => '3144',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'regId',
+ 'name' => 'SceneName',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '场景名称。', 'type' => 'string', 'required' => false, 'example' => '样本调度'],
],
],
'responses' => [
@@ -16069,648 +10966,648 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'resultObject' => [
- 'description' => '返回对象',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
+ 'data' => ['description' => '数据对象', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '查询变量详情',
- ],
- 'DescribeSampleInfo' => [
- 'summary' => '查询样本详情。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '场景是否存在',
+ 'summary' => '场景是否存在。',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:19:05.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeExistScene'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeExpressionVariableDetail' => [
+ 'summary' => '自定义变量详情',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'operationType' => 'read',
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'id',
+ 'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '主键id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '3144',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'versions',
+ 'name' => 'id',
'in' => 'query',
- 'schema' => [
- 'description' => '版本号。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
- ],
- [
- 'name' => 'regId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '主键id', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '334'],
],
],
'responses' => [
200 => [
+ 'headers' => [],
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
- 'resultObject' => [
- 'description' => '返回对象',
- 'type' => 'object',
- 'properties' => [
- 'updateTime' => [
- 'description' => '更新时间。',
- 'type' => 'string',
- 'example' => '1753804800000',
- ],
- 'sampleType' => [
- 'description' => '样本类型',
- 'type' => 'string',
- 'example' => 'PHONE',
- ],
- 'sampleValue' => [
- 'description' => '样例值。',
- 'type' => 'string',
- 'example' => '17700000000',
- ],
- 'sampleTags' => [
- 'description' => '样例标签。',
- 'type' => 'string',
- 'example' => 'em0102',
- ],
- 'id' => [
- 'description' => '主键id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '3144',
- ],
- 'version' => [
- 'description' => '版本号。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- ],
- ],
+ 'resultObject' => ['description' => '返回对象', 'type' => 'object', 'example' => 'true'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"resultObject\\": {\\n \\"updateTime\\": \\"1753804800000\\",\\n \\"sampleType\\": \\"PHONE\\",\\n \\"sampleValue\\": \\"17700000000\\",\\n \\"sampleTags\\": \\"em0102\\",\\n \\"id\\": 3144,\\n \\"version\\": 1\\n }\\n}","type":"json"}]',
- 'title' => '查询样本详情',
- ],
- 'DescribeSampleTagList' => [
- 'summary' => '获取标签列表。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'title' => '自定义变量详情',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeExpressionVariableFunctionList' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'operationType' => 'read',
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
200 => [
+ 'headers' => [],
'schema' => [
'type' => 'object',
'properties' => [
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '6E8817D5-5354-5953-84B1-D98379F036DC'],
'resultObject' => [
- 'description' => '返回对象',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'requestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2',
+ 'description' => '返回对象。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '返回对象。',
+ 'type' => 'object',
+ 'properties' => [
+ 'key' => ['description' => '函数名。', 'type' => 'string', 'example' => 'concat'],
+ 'value' => ['description' => '函数值。', 'type' => 'string', 'example' => 'concat'],
+ 'maxParamSize' => ['description' => '入参个数max。', 'type' => 'integer', 'format' => 'int64', 'example' => '4'],
+ 'description' => ['description' => '描述信息。', 'type' => 'string', 'example' => '描述'],
+ 'returnTypes' => ['description' => '方法返回类型。', 'type' => 'string', 'example' => 'STRING'],
+ 'redirect' => ['description' => '是否直接调用的。', 'type' => 'boolean', 'example' => 'true'],
+ 'minParamSize' => ['description' => '入参个数min。', 'type' => 'integer', 'format' => 'int64', 'example' => '2'],
+ 'paramTypes' => ['description' => '入参类型。', 'type' => 'string', 'example' => '*STRING'],
+ ],
+ ],
],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\"\\n}","type":"json"}]',
- 'title' => '获取标签列表',
- ],
- 'DescribeMarkPage' => [
- 'summary' => '打标列表。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '函数列表',
+ 'summary' => '函数列表。',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:27:35.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeExpressionVariableFunctionList'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6E8817D5-5354-5953-84B1-D98379F036DC\\",\\n \\"resultObject\\": [\\n {\\n \\"key\\": \\"concat\\",\\n \\"value\\": \\"concat\\",\\n \\"maxParamSize\\": 4,\\n \\"description\\": \\"描述\\",\\n \\"returnTypes\\": \\"STRING\\",\\n \\"redirect\\": true,\\n \\"minParamSize\\": 2,\\n \\"paramTypes\\": \\"*STRING\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'DescribeExpressionVariablePage' => [
+ 'summary' => '自定义变量分页查询。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'read',
'systemTags' => [
'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREsafXYIHRP'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'currentPage',
+ 'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '当前页码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'pageSize',
+ 'name' => 'currentPage',
'in' => 'query',
- 'schema' => [
- 'description' => '每页大小,默认值为10',
- 'type' => 'string',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '当前页码。', 'type' => 'string', 'required' => true, 'example' => '1'],
],
[
- 'name' => 'regId',
+ 'name' => 'pageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '每页大小,默认值为10。', 'type' => 'string', 'required' => true, 'example' => '10'],
],
[
- 'name' => 'order',
+ 'name' => 'value',
'in' => 'query',
- 'schema' => [
- 'description' => '排序条件',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'asc',
- ],
+ 'schema' => ['description' => '变量名称/描述。', 'type' => 'string', 'required' => false, 'example' => '自定义变量'],
],
[
- 'name' => 'direction',
+ 'name' => 'eventCode',
'in' => 'query',
- 'schema' => [
- 'description' => '顺序',
- 'type' => 'string',
- 'required' => false,
- 'example' => '0',
- ],
+ 'schema' => ['description' => '事件编码。', 'type' => 'string', 'required' => false, 'example' => 'de_aamexg3015,de_aamexg3342'],
],
[
- 'name' => 'isPage',
+ 'name' => 'status',
'in' => 'query',
- 'schema' => [
- 'description' => '是否分页',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '状态。', 'type' => 'string', 'required' => false, 'example' => 'ENABLE'],
],
[
- 'name' => 'taskLogId',
+ 'name' => 'outputs',
'in' => 'query',
- 'schema' => [
- 'description' => '任务id。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '443',
- ],
+ 'schema' => ['description' => '变量返回类型。', 'type' => 'string', 'required' => false, 'example' => 'STRING'],
],
],
'responses' => [
200 => [
+ 'headers' => [],
'schema' => [
'type' => 'object',
'properties' => [
- 'totalItem' => [
- 'description' => '总条数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '6',
- ],
- 'pageSize' => [
- 'description' => '每页大小,默认值为10',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
- 'currentPage' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'totalPage' => [
- 'description' => '总页数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'totalItem' => ['description' => '总条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '31'],
+ 'pageSize' => ['description' => '每页大小,默认值为10。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ 'currentPage' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'totalPage' => ['description' => '总页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '9'],
'resultObject' => [
- 'description' => '返回对象',
+ 'description' => '返回对象。',
'type' => 'array',
'items' => [
- 'description' => '返回对象',
+ 'description' => '返回对象。',
'type' => 'object',
'properties' => [
- 'fieldName' => [
- 'description' => '字段名称。',
- 'type' => 'string',
- 'example' => 'mobile',
- ],
- 'fieldValue' => [
- 'description' => '字段值',
- 'type' => 'string',
- 'example' => '18000000000',
- ],
- 'id' => [
- 'description' => '主键id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2793',
- ],
- 'markType' => [
- 'description' => '打标(0否/1是)',
- 'type' => 'string',
- 'example' => '1',
+ 'outputs' => ['description' => '变量返回类型。', 'type' => 'string', 'example' => 'DOUBLE'],
+ 'title' => ['description' => '标题。', 'type' => 'string', 'example' => '获取手机号前7位自定义变量'],
+ 'description' => ['description' => '描述信息。', 'type' => 'string', 'example' => '变量描述'],
+ 'gmtModified' => ['description' => '修改时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1565701886000'],
+ 'status' => ['description' => '状态。', 'type' => 'string', 'example' => 'ENABLE'],
+ 'eventName' => ['description' => '事件名称。', 'type' => 'string', 'example' => '注册风险'],
+ 'id' => ['description' => '自定义变量主键。', 'type' => 'integer', 'format' => 'int64', 'example' => '2793'],
+ 'version' => ['description' => '版本信息。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'name' => ['description' => '变量name。', 'type' => 'string', 'example' => 'ex_OERlw0Zqfb23'],
+ 'ruleList' => [
+ 'description' => '关联策略ruleId。',
+ 'type' => 'array',
+ 'items' => ['description' => 'ruleId。', 'type' => 'string', 'example' => '102318'],
],
],
],
],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"totalItem\\": 6,\\n \\"pageSize\\": 10,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"currentPage\\": 1,\\n \\"totalPage\\": 1,\\n \\"resultObject\\": [\\n {\\n \\"fieldName\\": \\"mobile\\",\\n \\"fieldValue\\": \\"18000000000\\",\\n \\"id\\": 2793,\\n \\"markType\\": \\"1\\"\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '打标列表',
- ],
- 'DescribeGroupTrend' => [
- 'summary' => '风险社群的近期趋势。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '自定义变量分页查询',
+ 'changeSet' => [
+ ['createdAt' => '2025-09-19T02:00:13.000Z', 'description' => '响应参数发生变更'],
+ ['createdAt' => '2022-05-11T07:27:46.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeExpressionVariablePage'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"totalItem\\": 31,\\n \\"pageSize\\": 10,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"currentPage\\": 1,\\n \\"totalPage\\": 9,\\n \\"resultObject\\": [\\n {\\n \\"outputs\\": \\"DOUBLE\\",\\n \\"title\\": \\"获取手机号前7位自定义变量\\",\\n \\"description\\": \\"变量描述\\",\\n \\"gmtModified\\": 1565701886000,\\n \\"status\\": \\"ENABLE\\",\\n \\"eventName\\": \\"注册风险\\",\\n \\"id\\": 2793,\\n \\"version\\": 1,\\n \\"name\\": \\"ex_OERlw0Zqfb23\\",\\n \\"ruleList\\": [\\n \\"102318\\"\\n ]\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'DescribeExpressionVariableVersionDetail' => [
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'read',
+ 'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREsafBCGX2Z'],
+ 'tenantRelevance' => 'tenant',
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'day',
+ 'name' => 'type',
'in' => 'query',
- 'schema' => [
- 'description' => 'day',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '变量类型。', 'type' => 'string', 'required' => false, 'example' => 'EXPRESSION'],
+ ],
+ [
+ 'name' => 'objectId',
+ 'in' => 'query',
+ 'schema' => ['description' => '关联变量主键ID。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '397625'],
+ ],
+ [
+ 'name' => 'objectCode',
+ 'in' => 'query',
+ 'schema' => ['description' => '关联变量code。', 'type' => 'string', 'required' => false, 'example' => 'ex_0kWIfZ27c525'],
+ ],
+ [
+ 'name' => 'version',
+ 'in' => 'query',
+ 'schema' => ['description' => '版本号。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '2'],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'data' => [
- 'description' => '返回结果。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ 'resultObject' => [
+ 'description' => '返回对象。',
+ 'type' => 'object',
+ 'properties' => [
+ 'id' => ['description' => '自定义变量主键。', 'type' => 'integer', 'format' => 'int64', 'example' => '397625'],
+ 'gmtCreate' => ['description' => '创建时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1762409015000'],
+ 'gmtModified' => ['description' => '修改时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1762409026000'],
+ 'userId' => ['description' => '用户uid。', 'type' => 'integer', 'format' => 'int64', 'example' => '151222xxxxxxxxxx'],
+ 'name' => ['description' => '变量name,自动生成的唯一标识。', 'type' => 'string', 'example' => 'ex_0kWIfZ27c525'],
+ 'title' => ['description' => '变量标题。', 'type' => 'string', 'example' => '年龄'],
+ 'description' => ['description' => '描述信息。', 'type' => 'string', 'example' => '变量描述'],
+ 'type' => ['description' => '变量类型。', 'type' => 'string', 'example' => 'EXPRESSION'],
+ 'outputs' => ['description' => '变量返回类型。', 'type' => 'string', 'example' => 'EXPRESSION'],
+ 'refObjType' => ['description' => '变量关联类型。', 'type' => 'string', 'example' => 'EVENT_BY_EXPRESSION'],
+ 'refObjId' => ['description' => '变量关联事件。', 'type' => 'string', 'example' => 'de_awkhwh0314'],
+ 'version' => ['description' => '变量版本。', 'type' => 'integer', 'format' => 'int64', 'example' => '2'],
+ 'invokeKey' => ['description' => '调用key。', 'type' => 'string', 'example' => 'deInvokeSelfVariable_v1'],
+ 'status' => ['description' => '状态。', 'type' => 'string', 'example' => 'ENABLE'],
+ 'sourceType' => ['description' => '来源类型。', 'type' => 'string', 'example' => 'SAF'],
+ 'fieldRank' => ['description' => '字段排序。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'region' => ['description' => '地域ID。', 'type' => 'string', 'example' => 'cn-hangzhou'],
+ 'createType' => ['description' => '创建类型。', 'type' => 'string', 'example' => 'MORMAL'],
+ 'expression' => ['description' => '表达式。', 'type' => 'string', 'example' => '@ex_GX9rrlTq4b67 + 1001'],
+ 'expressionTitle' => ['description' => '表达式名称。', 'type' => 'string', 'example' => '@selfvariable_02 + 1001'],
+ 'expressionVariable' => ['description' => '表达式变量。', 'type' => 'string', 'example' => 'ex_GX9rrlTq4b67'],
+ 'outlier' => ['description' => '异常值。', 'type' => 'string', 'example' => 'SYS_ERROR'],
+ ],
],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '风险社群的近期趋势',
- ],
- 'DescribeGroupStatisticsByToday' => [
- 'summary' => '当日发现的风险社群。',
- 'methods' => [
- 'post',
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '自定义变量版本详情查询',
+ 'summary' => '自定义变量版本详情信息查询。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:CompareRule',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"resultObject\\": {\\n \\"id\\": 397625,\\n \\"gmtCreate\\": 1762409015000,\\n \\"gmtModified\\": 1762409026000,\\n \\"userId\\": 0,\\n \\"name\\": \\"ex_0kWIfZ27c525\\",\\n \\"title\\": \\"年龄\\",\\n \\"description\\": \\"变量描述\\",\\n \\"type\\": \\"EXPRESSION\\",\\n \\"outputs\\": \\"EXPRESSION\\",\\n \\"refObjType\\": \\"EVENT_BY_EXPRESSION\\",\\n \\"refObjId\\": \\"de_awkhwh0314\\",\\n \\"version\\": 2,\\n \\"invokeKey\\": \\"deInvokeSelfVariable_v1\\",\\n \\"status\\": \\"ENABLE\\",\\n \\"sourceType\\": \\"SAF\\",\\n \\"fieldRank\\": 0,\\n \\"region\\": \\"cn-hangzhou\\",\\n \\"createType\\": \\"MORMAL\\",\\n \\"expression\\": \\"@ex_GX9rrlTq4b67 + 1001\\",\\n \\"expressionTitle\\": \\"@selfvariable_02 + 1001\\",\\n \\"expressionVariable\\": \\"ex_GX9rrlTq4b67\\",\\n \\"outlier\\": \\"SYS_ERROR\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'DescribeFieldById' => [
+ 'summary' => '获取字段详情',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'],
+ ],
+ [
+ 'name' => 'id',
+ 'in' => 'query',
+ 'schema' => ['description' => '主键id', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '223'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
+ 'type' => 'object',
+ 'properties' => [
+ 'resultObject' => ['description' => '返回对象', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ ],
+ ],
+ ],
+ ],
+ 'title' => '字段详情查询',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeFieldList' => [
+ 'summary' => '查询字段列表。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'get'],
+ 'parameters' => [
+ [
+ 'name' => 'Lang',
+ 'in' => 'query',
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
+ ],
+ [
+ 'name' => 'condition',
+ 'in' => 'query',
+ 'schema' => ['description' => '查询入参name or title。', 'type' => 'string', 'required' => false, 'example' => 'ip'],
+ ],
+ [
+ 'name' => 'inputs',
+ 'in' => 'query',
+ 'schema' => ['description' => '已选字段。', 'type' => 'string', 'required' => false, 'example' => 'sex,ip,id'],
+ ],
+ [
+ 'name' => 'regId',
+ 'in' => 'query',
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'],
+ ],
+ ],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
- 'data' => [
- 'description' => '返回数据。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
+ 'totalItem' => ['description' => '总条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '101'],
+ 'pageSize' => ['description' => '每页大小,默认值为10。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ 'currentPage' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'totalPage' => ['description' => '总页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '9'],
+ 'resultObject' => [
+ 'description' => '返回对象。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '返回对象。',
+ 'type' => 'object',
+ 'properties' => [
+ 'classify' => ['description' => '字段分类。', 'type' => 'string', 'example' => 'REQUEST_PARAM'],
+ 'type' => ['description' => '字段类型。', 'type' => 'string', 'example' => 'STRING'],
+ 'title' => ['description' => '标题。', 'type' => 'string', 'example' => '年龄'],
+ 'description' => ['description' => '描述信息。', 'type' => 'string', 'example' => '描述'],
+ 'status' => ['description' => '状态。', 'type' => 'string', 'example' => 'ENABLE'],
+ 'source' => ['description' => '字段来源。', 'type' => 'string', 'example' => 'DEFINE'],
+ 'enumData' => ['description' => '枚举数据。', 'type' => 'string', 'example' => 'STATUS'],
+ 'name' => ['description' => '字段name。', 'type' => 'string', 'example' => 'age'],
+ 'id' => ['description' => '字段id。', 'type' => 'integer', 'format' => 'int64', 'example' => '497'],
+ ],
+ ],
],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '当日发现的风险社群',
- ],
- 'DescribeGroupAccountPage' => [
- 'summary' => '社群账户列表。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '字段列表',
+ 'changeSet' => [
+ ['createdAt' => '2022-11-21T03:22:18.000Z', 'description' => '请求参数发生变更'],
+ ['createdAt' => '2022-06-21T09:25:04.000Z', 'description' => '请求参数发生变更'],
+ ['createdAt' => '2022-05-11T07:27:23.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeFieldList'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"totalItem\\": 101,\\n \\"pageSize\\": 10,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"currentPage\\": 1,\\n \\"totalPage\\": 9,\\n \\"resultObject\\": [\\n {\\n \\"classify\\": \\"REQUEST_PARAM\\",\\n \\"type\\": \\"STRING\\",\\n \\"title\\": \\"年龄\\",\\n \\"description\\": \\"描述\\",\\n \\"status\\": \\"ENABLE\\",\\n \\"source\\": \\"DEFINE\\",\\n \\"enumData\\": \\"STATUS\\",\\n \\"name\\": \\"age\\",\\n \\"id\\": 497\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'DescribeFieldPage' => [
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'read',
+ 'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
+ 'abilityTreeCode' => '134394',
+ 'abilityTreeNodes' => ['FEATUREsafWH3N80'],
+ 'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'currentPage',
'in' => 'query',
- 'schema' => [
- 'description' => '当前页码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '当前页码。', 'type' => 'string', 'required' => false, 'example' => '1'],
],
[
'name' => 'pageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '每页大小,默认值为10',
- 'type' => 'string',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '每页大小,默认值为10。', 'type' => 'string', 'required' => false, 'example' => '10'],
],
[
- 'name' => 'regId',
+ 'name' => 'type',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '字段类型。', 'type' => 'string', 'required' => false, 'example' => 'STRING'],
],
[
- 'name' => 'order',
+ 'name' => 'classify',
'in' => 'query',
'schema' => [
- 'description' => '排序条件',
+ 'description' => '字段分类。',
'type' => 'string',
'required' => false,
- 'example' => 'asc',
+ 'enumValueTitles' => ['REQUEST_PARAM' => '业务字段', 'DEVICE_INFO' => '设备字段'],
+ 'example' => 'REQUEST_PARAM',
],
],
[
- 'name' => 'direction',
+ 'name' => 'source',
'in' => 'query',
- 'schema' => [
- 'description' => '顺序',
- 'type' => 'string',
- 'required' => false,
- 'example' => '0',
- ],
+ 'schema' => ['description' => '字段来源。', 'type' => 'string', 'required' => false, 'example' => 'DEFINE'],
],
[
- 'name' => 'isPage',
+ 'name' => 'name',
'in' => 'query',
- 'schema' => [
- 'description' => '是否分页',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '字段name。', 'type' => 'string', 'required' => false, 'example' => 'age'],
],
[
- 'name' => 'taskId',
+ 'name' => 'title',
'in' => 'query',
- 'schema' => [
- 'description' => '任务id',
- 'type' => 'string',
- 'required' => false,
- 'example' => '6770764',
- ],
+ 'schema' => ['description' => '标题。', 'type' => 'string', 'required' => false, 'example' => '年龄'],
],
[
- 'name' => 'communityNo',
+ 'name' => 'status',
'in' => 'query',
- 'schema' => [
- 'description' => '社群编号',
- 'type' => 'string',
- 'required' => false,
- 'example' => '129838420210118141502KiJ1SZL2',
- ],
+ 'schema' => ['description' => '状态。', 'type' => 'string', 'required' => false, 'example' => 'ENABLE'],
],
[
- 'name' => 'fieldKey',
+ 'name' => 'condition',
'in' => 'query',
- 'schema' => [
- 'description' => 'fieldKey',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'mobile',
- ],
+ 'schema' => ['description' => '查询入参name or title。', 'type' => 'string', 'required' => false, 'example' => 'age/年龄'],
],
[
- 'name' => 'fieldVal',
+ 'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => 'fieldVal',
- 'type' => 'string',
- 'required' => false,
- 'example' => '18000000000',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
@@ -16718,162 +11615,131 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'totalItem' => [
- 'description' => '总条数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '6',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
- 'totalPage' => [
- 'description' => '总页数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'data' => [
- 'description' => '返回数据对象',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'pageSize' => [
- 'description' => '每页大小,默认值为10',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'currentPage' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
+ 'totalItem' => ['description' => '总条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '40'],
+ 'pageSize' => ['description' => '每页大小,默认值为10。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ 'currentPage' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'totalPage' => ['description' => '总页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '4'],
+ 'resultObject' => [
+ 'description' => '返回对象。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '返回对象。',
+ 'type' => 'object',
+ 'properties' => [
+ 'classify' => ['description' => '字段分类。', 'type' => 'string', 'example' => 'REQUEST_PARAM'],
+ 'type' => ['description' => '字段类型', 'type' => 'string', 'example' => 'STRING'],
+ 'title' => ['description' => '标题。', 'type' => 'string', 'example' => '年龄'],
+ 'description' => ['description' => '描述信息。', 'type' => 'string', 'example' => '描述'],
+ 'status' => ['description' => '状态。', 'type' => 'string', 'example' => 'ENABLE'],
+ 'source' => ['description' => '文件来源。', 'type' => 'string', 'example' => 'DEFINE'],
+ 'enumData' => ['description' => '枚举数据。', 'type' => 'string', 'example' => 'STATUS'],
+ 'name' => ['description' => '字段name。', 'type' => 'string', 'example' => 'age'],
+ 'id' => ['description' => '表唯一id。', 'type' => 'integer', 'format' => 'int64', 'example' => '497'],
+ ],
+ ],
],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"totalItem\\": 6,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"totalPage\\": 1,\\n \\"data\\": true,\\n \\"pageSize\\": 10,\\n \\"currentPage\\": 1\\n}","type":"json"}]',
- 'title' => '社群账户列表',
- ],
- 'DescribeApiGroups' => [
- 'summary' => '得到api分组包括用户购买的以及自定义的。',
- 'methods' => [
- 'post',
- 'get',
+ 'eventInfo' => [
+ 'enable' => false,
+ 'eventNames' => [],
+ ],
+ 'title' => '字段分页列表',
+ 'summary' => '查询字段分页列表。',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:27:35.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeFieldPage'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"totalItem\\": 40,\\n \\"pageSize\\": 10,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"currentPage\\": 1,\\n \\"totalPage\\": 4,\\n \\"resultObject\\": [\\n {\\n \\"classify\\": \\"REQUEST_PARAM\\",\\n \\"type\\": \\"STRING\\",\\n \\"title\\": \\"年龄\\",\\n \\"description\\": \\"描述\\",\\n \\"status\\": \\"ENABLE\\",\\n \\"source\\": \\"DEFINE\\",\\n \\"enumData\\": \\"STATUS\\",\\n \\"name\\": \\"age\\",\\n \\"id\\": 497\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'DescribeGroupAccountPage' => [
+ 'summary' => '社群账户列表。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'apiRegionId',
+ 'name' => 'currentPage',
'in' => 'query',
- 'schema' => [
- 'description' => '地域id。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '当前页码。', 'type' => 'string', 'required' => false, 'example' => '1'],
+ ],
+ [
+ 'name' => 'pageSize',
+ 'in' => 'query',
+ 'schema' => ['description' => '每页大小,默认值为10', 'type' => 'string', 'required' => false, 'example' => '10'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
- ],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'resultObject' => [
- 'description' => '返回对象',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
- ],
- ],
+ [
+ 'name' => 'order',
+ 'in' => 'query',
+ 'schema' => ['description' => '排序条件', 'type' => 'string', 'required' => false, 'example' => 'asc'],
],
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '得到api分组包括用户购买的以及自定义的',
- ],
- 'DescribeTemplateDownload' => [
- 'summary' => '模版下载。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'direction',
+ 'in' => 'query',
+ 'schema' => ['description' => '顺序', 'type' => 'string', 'required' => false, 'example' => '0'],
],
- ],
- 'systemTags' => [
- 'operationType' => 'get',
- ],
- 'parameters' => [
[
- 'name' => 'Lang',
+ 'name' => 'isPage',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '是否分页', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
- 'name' => 'regId',
+ 'name' => 'taskId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '任务id', 'type' => 'string', 'required' => false, 'example' => '6770764'],
+ ],
+ [
+ 'name' => 'communityNo',
+ 'in' => 'query',
+ 'schema' => ['description' => '社群编号', 'type' => 'string', 'required' => false, 'example' => '129838420210118141502KiJ1SZL2'],
+ ],
+ [
+ 'name' => 'fieldKey',
+ 'in' => 'query',
+ 'schema' => ['description' => 'fieldKey', 'type' => 'string', 'required' => false, 'example' => 'mobile'],
+ ],
+ [
+ 'name' => 'fieldVal',
+ 'in' => 'query',
+ 'schema' => ['description' => 'fieldVal', 'type' => 'string', 'required' => false, 'example' => '18000000000'],
],
],
'responses' => [
@@ -16881,73 +11747,62 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'data' => [
- 'description' => '数据对象',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
+ 'totalItem' => ['description' => '总条数', 'type' => 'integer', 'format' => 'int32', 'example' => '6'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ 'totalPage' => ['description' => '总页数', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'data' => ['description' => '返回数据对象', 'type' => 'boolean', 'example' => 'true'],
+ 'pageSize' => ['description' => '每页大小,默认值为10', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'currentPage' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '模版下载',
- ],
- 'DescribeExistScene' => [
- 'summary' => '场景是否存在。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '社群账户列表',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:11:27.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeGroupAccountPage'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"totalItem\\": 6,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"totalPage\\": 1,\\n \\"data\\": true,\\n \\"pageSize\\": 10,\\n \\"currentPage\\": 1\\n}","type":"json"}]',
+ ],
+ 'DescribeGroupConditionList' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
- ],
- [
- 'name' => 'SceneName',
- 'in' => 'query',
- 'schema' => [
- 'description' => '场景名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '样本调度',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
@@ -16955,133 +11810,105 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'data' => [
- 'description' => '数据对象',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ 'resultObject' => [
+ 'description' => '返回对象',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '返回对象',
+ 'type' => 'object',
+ 'properties' => [
+ 'fieldValue' => ['description' => '字段值。', 'type' => 'string', 'example' => 'value'],
+ 'fieldKey' => ['description' => 'fieldKey', 'type' => 'string', 'example' => 'key'],
+ ],
+ ],
],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '场景是否存在',
- ],
- 'DescribeSampleDataList' => [
- 'summary' => '样本列表分页查询。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '社群列表查询条件',
+ 'summary' => '社群列表查询条件。',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:11:27.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeGroupConditionList'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"resultObject\\": [\\n {\\n \\"fieldValue\\": \\"value\\",\\n \\"fieldKey\\": \\"key\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'DescribeGroupPage' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'currentPage',
'in' => 'query',
- 'schema' => [
- 'description' => '当前页码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '当前页码。', 'type' => 'string', 'required' => false, 'example' => '1'],
],
[
'name' => 'pageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '每页大小,默认值为10',
- 'type' => 'string',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '每页大小,默认值为10', 'type' => 'string', 'required' => false, 'example' => '10'],
],
[
- 'name' => 'sampleId',
+ 'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '样例id。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '5467',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'scene',
- 'in' => 'query',
- 'schema' => [
- 'description' => '场景',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1',
- ],
- ],
- [
- 'name' => 'queryContent',
+ 'name' => 'order',
'in' => 'query',
- 'schema' => [
- 'description' => '查询内容',
- 'type' => 'string',
- 'required' => false,
- 'example' => '手机号',
- ],
+ 'schema' => ['description' => '排序条件', 'type' => 'string', 'required' => false, 'example' => 'asc'],
],
[
- 'name' => 'status',
+ 'name' => 'direction',
'in' => 'query',
- 'schema' => [
- 'description' => '状态。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'CREATE',
- ],
+ 'schema' => ['description' => '顺序', 'type' => 'string', 'required' => false, 'example' => '0'],
],
[
- 'name' => 'deleteTag',
+ 'name' => 'taskId',
'in' => 'query',
- 'schema' => [
- 'description' => '删除状态',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'DELETE',
- ],
+ 'schema' => ['description' => '任务id。', 'type' => 'string', 'required' => false, 'example' => '6770764'],
],
[
- 'name' => 'regId',
+ 'name' => 'timeType',
'in' => 'query',
'schema' => [
- 'description' => '区域编码',
+ 'description' => '时间类型',
'type' => 'string',
'required' => false,
- 'example' => 'cn-hangzhou',
+ 'enumValueTitles' => [1 => '昨天', '7天', '30天'],
+ 'example' => '1',
],
],
],
@@ -17090,35 +11917,11 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'totalItem' => [
- 'description' => '总条数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '6',
- ],
- 'pageSize' => [
- 'description' => '每页大小,默认值为10',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
- 'currentPage' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'totalPage' => [
- 'description' => '总页数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'totalItem' => ['description' => '总条数', 'type' => 'integer', 'format' => 'int32', 'example' => '3'],
+ 'pageSize' => ['description' => '每页大小,默认值为10', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ 'currentPage' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'totalPage' => ['description' => '总页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'resultObject' => [
'description' => '返回对象',
'type' => 'array',
@@ -17126,185 +11929,68 @@
'description' => '返回对象',
'type' => 'object',
'properties' => [
- 'classificationType' => [
- 'description' => '分类类型,二分类、多分类',
- 'type' => 'string',
- 'example' => '二分类',
- ],
- 'recallConfig' => [
- 'description' => '回溯配置',
- 'type' => 'string',
- 'example' => '{"variables":"a,b,c"}',
- ],
- 'userId' => [
- 'description' => '用户uid',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1519714049632764',
- ],
- 'storeType' => [
- 'description' => '存储类型',
- 'type' => 'string',
- 'example' => 'OSS',
- ],
- 'sampleSize' => [
- 'description' => '样本数量',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1000',
- ],
- 'status' => [
- 'description' => '状态。',
- 'type' => 'string',
- 'example' => 'CREATE',
- ],
- 'scene' => [
- 'description' => '场景code',
- 'type' => 'string',
- 'example' => 'account_abuse_detection',
- ],
- 'gmtCreate' => [
- 'description' => '创建时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1621578648000',
- ],
- 'dataTitle' => [
- 'description' => '样本数据首行。用于定义每列数据的值',
- 'type' => 'string',
- 'example' => '17700000000',
- ],
- 'id' => [
- 'description' => '主键id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '497',
- ],
- 'version' => [
- 'description' => '版本',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'sampleLabelDetail' => [
- 'description' => '样本标签详情',
- 'type' => 'string',
- 'example' => '[{"type":"positive","size":"2000","value":1},{"type":"negative","size":1900,"value":0}]',
- ],
- 'normalSize' => [
- 'description' => '正常样本数',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '999',
- ],
- 'supportRecall' => [
- 'description' => '是否支持回溯',
- 'type' => 'string',
- 'example' => 'true',
- ],
- 'description' => [
- 'description' => '描述信息。',
- 'type' => 'string',
- 'example' => '描述',
- ],
- 'storePath' => [
- 'description' => '存储路径',
- 'type' => 'string',
- 'example' => 'saf/de/sample/3dc2spspHKq4G3YI9d08',
- ],
- 'dataDistributed' => [
- 'description' => '用于样本数据计算的评判标准值',
- 'type' => 'string',
- 'example' => '{"正样本":"1","负样本":"1"}',
- ],
- 'riskSize' => [
- 'description' => '风险样本数',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'riskValue' => [
- 'description' => '风险指定值',
- 'type' => 'string',
- 'example' => 'black',
- ],
- 'gmtModified' => [
- 'description' => '修改时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1565701886000',
- ],
- 'deleteTag' => [
- 'description' => '删除标签。',
- 'type' => 'string',
- 'example' => 'DELETE',
- ],
- 'name' => [
- 'description' => '名称',
- 'type' => 'string',
- 'example' => '注册样本',
- ],
+ 'taskId' => ['description' => '任务id。', 'type' => 'integer', 'format' => 'int64', 'example' => '6770764'],
+ 'sceneName' => ['description' => '场景名称。', 'type' => 'string', 'example' => '通用图计算'],
+ 'groupRisk' => ['description' => '风险浓度', 'type' => 'string', 'example' => '80'],
+ 'communityNo' => ['description' => '社群编号', 'type' => 'string', 'example' => '129838420210118141502RaMMIgVG'],
+ 'userId' => ['description' => '用户uid', 'type' => 'string', 'example' => '1519714049632764'],
+ 'createTime' => ['description' => '创建时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1699450018265'],
+ 'id' => ['description' => '主键id', 'type' => 'integer', 'format' => 'int64', 'example' => '497'],
+ 'groupScale' => ['description' => '社群规模', 'type' => 'string', 'example' => '2'],
],
],
],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"totalItem\\": 6,\\n \\"pageSize\\": 10,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"currentPage\\": 1,\\n \\"totalPage\\": 1,\\n \\"resultObject\\": [\\n {\\n \\"classificationType\\": \\"二分类\\",\\n \\"recallConfig\\": \\"{\\\\\\"variables\\\\\\":\\\\\\"a,b,c\\\\\\"}\\",\\n \\"userId\\": 1519714049632764,\\n \\"storeType\\": \\"OSS\\",\\n \\"sampleSize\\": 1000,\\n \\"status\\": \\"CREATE\\",\\n \\"scene\\": \\"account_abuse_detection\\",\\n \\"gmtCreate\\": 1621578648000,\\n \\"dataTitle\\": \\"17700000000\\",\\n \\"id\\": 497,\\n \\"version\\": 1,\\n \\"sampleLabelDetail\\": \\"[{\\\\\\"type\\\\\\":\\\\\\"positive\\\\\\",\\\\\\"size\\\\\\":\\\\\\"2000\\\\\\",\\\\\\"value\\\\\\":1},{\\\\\\"type\\\\\\":\\\\\\"negative\\\\\\",\\\\\\"size\\\\\\":1900,\\\\\\"value\\\\\\":0}]\\",\\n \\"normalSize\\": 999,\\n \\"supportRecall\\": \\"true\\",\\n \\"description\\": \\"描述\\",\\n \\"storePath\\": \\"saf/de/sample/3dc2spspHKq4G3YI9d08\\",\\n \\"dataDistributed\\": \\"{\\\\\\"正样本\\\\\\":\\\\\\"1\\\\\\",\\\\\\"负样本\\\\\\":\\\\\\"1\\\\\\"}\\",\\n \\"riskSize\\": 1,\\n \\"riskValue\\": \\"black\\",\\n \\"gmtModified\\": 1565701886000,\\n \\"deleteTag\\": \\"DELETE\\",\\n \\"name\\": \\"注册样本\\"\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '样本列表分页查询',
- ],
- 'ImportTemplateEvent' => [
- 'summary' => '导入模板事件',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '社群列表',
+ 'summary' => '社群列表。',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:11:27.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeGroupPage'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"totalItem\\": 3,\\n \\"pageSize\\": 10,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"currentPage\\": 1,\\n \\"totalPage\\": 1,\\n \\"resultObject\\": [\\n {\\n \\"taskId\\": 6770764,\\n \\"sceneName\\": \\"通用图计算\\",\\n \\"groupRisk\\": \\"80\\",\\n \\"communityNo\\": \\"129838420210118141502RaMMIgVG\\",\\n \\"userId\\": \\"1519714049632764\\",\\n \\"createTime\\": 1699450018265,\\n \\"id\\": 497,\\n \\"groupScale\\": \\"2\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'DescribeGroupStatisticsByToday' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
- ],
- [
- 'name' => 'eventTemplateIds',
- 'in' => 'query',
- 'schema' => [
- 'description' => '事件的模板id。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'register',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
@@ -17312,84 +11998,64 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'data' => [
- 'description' => '返回数据对象',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
+ 'data' => ['description' => '返回数据。', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '导入模板事件',
- ],
- 'DescribeRecommendVariablesVelocity' => [
- 'summary' => '查询变量下的指标信息。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '当日发现的风险社群',
+ 'summary' => '当日发现的风险社群。',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:11:27.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeGroupStatisticsByToday'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeGroupTrend' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
- ],
- [
- 'name' => 'taskId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '任务ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '6770764',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'variableIdsStr',
+ 'name' => 'day',
'in' => 'query',
- 'schema' => [
- 'description' => '变量ids',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[\\"232\\",\\"233\\"]',
- ],
+ 'schema' => ['description' => 'day', 'type' => 'string', 'required' => false, 'example' => '1'],
],
],
'responses' => [
@@ -17397,142 +12063,75 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'resultObject' => [
- 'description' => '返回对象',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
+ 'data' => ['description' => '返回结果。', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '查询变量下的指标信息',
- ],
- 'CreateSampleData' => [
- 'summary' => '创建样本数据。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '风险社群的近期趋势',
+ 'summary' => '风险社群的近期趋势。',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:11:26.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeGroupTrend'],
+ ],
],
- 'security' => [
+ 'ramActions' => [
[
- 'AK' => [],
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
],
- 'systemTags' => [
- 'operationType' => 'get',
- 'abilityTreeCode' => '136014',
- 'abilityTreeNodes' => [
- 'FEATUREsafT73ZWM',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeHasRuleNameByEventCode' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
],
],
+ 'operationType' => 'read',
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
- ],
- [
- 'name' => 'name',
- 'in' => 'query',
- 'schema' => [
- 'description' => '名称',
- 'type' => 'string',
- 'required' => false,
- 'example' => '注册样本',
- ],
- ],
- [
- 'name' => 'scene',
- 'in' => 'query',
- 'schema' => [
- 'description' => '场景',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'PHONE',
- ],
- ],
- [
- 'name' => 'description',
- 'in' => 'query',
- 'schema' => [
- 'description' => '描述信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '描述',
- ],
- ],
- [
- 'name' => 'riskValue',
- 'in' => 'query',
- 'schema' => [
- 'description' => '风险指定值',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'black',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'storePath',
+ 'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '存储路径',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'saf/de/sample/3dc2spspHKq4G3YI9d08'."\n",
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'storeType',
+ 'name' => 'ruleName',
'in' => 'query',
- 'schema' => [
- 'description' => '存储类型',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'OSS',
- ],
+ 'schema' => ['description' => '策略名称。', 'type' => 'string', 'required' => false, 'example' => '非常见设备'],
],
[
- 'name' => 'encryptType',
+ 'name' => 'eventCode',
'in' => 'query',
- 'schema' => [
- 'description' => '加密类型',
- 'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [
- 'ALL' => '所有加密',
- 'LABEL' => '标签加密',
- 'NONE' => '无加密',
- ],
- 'example' => 'LABEL',
- ],
+ 'schema' => ['description' => '事件编码。', 'type' => 'string', 'required' => false, 'example' => 'de_atvmlf7412'],
],
[
- 'name' => 'regId',
+ 'name' => 'excludeRuleId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '排除的策略ID。', 'type' => 'string', 'required' => false, 'example' => '10621'],
],
],
'responses' => [
@@ -17540,73 +12139,75 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'resultObject' => [
- 'description' => '返回对象',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
+ 'resultObject' => ['description' => '返回对象。', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '创建样本数据',
- ],
- 'StopSimulationTask' => [
- 'summary' => '停止任务。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '查询事件名下的策略名是否存在',
+ 'summary' => '查询事件名下的策略名是否存在。',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:28:18.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeHasRuleNameByEventCode'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeHighRiskPieChart' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'operationType' => 'read',
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'id',
+ 'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '任务id。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '376773',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'regId',
+ 'name' => 'eventCodes',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '事件code。', 'type' => 'string', 'required' => false, 'example' => 'de_ahqhsw7665,de_agbzfi5134'],
+ ],
+ [
+ 'name' => 'beginTime',
+ 'in' => 'query',
+ 'schema' => ['title' => '', 'description' => '开始时间,精确到毫秒(ms)。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1737101348000'],
+ ],
+ [
+ 'name' => 'endTime',
+ 'in' => 'query',
+ 'schema' => ['description' => '结束时间,精确到毫秒(ms)。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1730453400000'],
],
],
'responses' => [
@@ -17614,83 +12215,231 @@
'schema' => [
'type' => 'object',
'properties' => [
+ 'requestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2'],
+ 'success' => ['description' => '请求是否成功。', 'type' => 'boolean', 'example' => 'true'],
+ 'code' => ['description' => '状态码。', 'type' => 'string', 'example' => '200'],
+ 'message' => ['description' => '错误详情。', 'type' => 'string', 'example' => 'The input parameter data is not valid. order_storage_company_num component not found'],
+ 'httpStatusCode' => ['description' => 'HTTP状态码。', 'type' => 'string', 'example' => '200'],
'resultObject' => [
- 'description' => '返回对象',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
+ 'description' => '返回对象。',
+ 'type' => 'object',
+ 'properties' => [
+ 'highRiskMobileProvince' => [
+ 'description' => '高风险手机号归属省。',
+ 'type' => 'object',
+ 'properties' => [
+ 'series' => [
+ 'description' => '图表数据。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '图表数据。',
+ 'type' => 'object',
+ 'properties' => [
+ 'roseType' => ['description' => '图表标识,默认false。', 'type' => 'string', 'example' => 'false'],
+ 'name' => ['description' => '展示title。', 'type' => 'string', 'example' => '分值区间占比'],
+ 'data' => [
+ 'description' => '高危机位数据。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '返回数据对象。',
+ 'type' => 'object',
+ 'properties' => [
+ 'value' => ['description' => '数据值。', 'type' => 'string', 'example' => '100'],
+ 'name' => ['description' => '字段name。', 'type' => 'string', 'example' => '浙江省'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'animation' => ['description' => '标识,默认true。', 'type' => 'boolean', 'example' => 'true'],
+ 'grid' => [
+ 'description' => '所属网格。',
+ 'type' => 'object',
+ 'properties' => [
+ 'show' => ['description' => '图表标识,默认false。', 'type' => 'boolean', 'example' => 'false'],
+ ],
+ ],
+ ],
+ ],
+ 'highRiskMobileCity' => [
+ 'description' => '高风险手机号归属市。',
+ 'type' => 'object',
+ 'properties' => [
+ 'series' => [
+ 'description' => '图表数据。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '图表数据。',
+ 'type' => 'object',
+ 'properties' => [
+ 'roseType' => ['description' => '图表标识,默认false。', 'type' => 'string', 'example' => 'false'],
+ 'name' => ['description' => '字段name。', 'type' => 'string', 'example' => '杭州市'],
+ 'data' => [
+ 'description' => '返回数据对象。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '返回数据对象。',
+ 'type' => 'object',
+ 'properties' => [
+ 'value' => ['description' => '数据值。', 'type' => 'string', 'example' => '100'],
+ 'name' => ['description' => '字段name。', 'type' => 'string', 'example' => '杭州市'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'animation' => ['description' => '图表标识,默认true。', 'type' => 'boolean', 'example' => 'true'],
+ 'grid' => [
+ 'description' => '所属网格。',
+ 'type' => 'object',
+ 'properties' => [
+ 'show' => ['description' => '图表标识,默认false。', 'type' => 'boolean', 'example' => 'false'],
+ ],
+ ],
+ ],
+ ],
+ 'highRiskIPProvince' => [
+ 'description' => '高风险IP归属省。',
+ 'type' => 'object',
+ 'properties' => [
+ 'series' => [
+ 'description' => '图表数据。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '图表数据。',
+ 'type' => 'object',
+ 'properties' => [
+ 'roseType' => ['description' => '图表标识,默认false。', 'type' => 'string', 'example' => 'false'],
+ 'name' => ['description' => '字段name。', 'type' => 'string', 'example' => '浙江省'],
+ 'data' => [
+ 'description' => '返回数据对象。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '返回数据对象。',
+ 'type' => 'object',
+ 'properties' => [
+ 'value' => ['description' => '数据值。', 'type' => 'string', 'example' => '100'],
+ 'name' => ['description' => '变量name。', 'type' => 'string', 'example' => '浙江省'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'animation' => ['description' => '图表标识,默认true。', 'type' => 'boolean', 'example' => 'true'],
+ 'grid' => [
+ 'description' => '所属网格。',
+ 'type' => 'object',
+ 'properties' => [
+ 'show' => ['description' => '图表标识,默认false。', 'type' => 'boolean', 'example' => 'false'],
+ ],
+ ],
+ ],
+ ],
+ 'highRiskIPCity' => [
+ 'description' => '高风险IP归属市。',
+ 'type' => 'object',
+ 'properties' => [
+ 'series' => [
+ 'description' => '图表数据。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '图表数据。',
+ 'type' => 'object',
+ 'properties' => [
+ 'roseType' => ['description' => '图表标识,默认false。', 'type' => 'string', 'example' => 'false'],
+ 'name' => ['description' => '字段name。', 'type' => 'string', 'example' => '杭州市'],
+ 'data' => [
+ 'description' => '返回数据对象。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '返回数据对象。',
+ 'type' => 'object',
+ 'properties' => [
+ 'value' => ['description' => '数据值。', 'type' => 'string', 'example' => '100'],
+ 'name' => ['description' => '字段name。', 'type' => 'string', 'example' => '杭州市'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'animation' => ['description' => '图表标识,默认true。', 'type' => 'boolean', 'example' => 'true'],
+ 'grid' => [
+ 'description' => '所属网格。',
+ 'type' => 'object',
+ 'properties' => [
+ 'show' => ['description' => '图表标识,默认false。', 'type' => 'boolean', 'example' => 'false'],
+ ],
+ ],
+ ],
+ ],
+ ],
],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '停止任务',
- ],
- 'DescribeSimulationPreditInfo' => [
- 'summary' => '预估调用信息。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '风险地图高风险饼图+地图',
+ 'summary' => '风险地图概览图表(饼图)。',
+ 'changeSet' => [
+ ['createdAt' => '2022-03-02T06:00:58.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeHighRiskPieChart'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\",\\n \\"success\\": true,\\n \\"code\\": \\"200\\",\\n \\"message\\": \\"The input parameter data is not valid. order_storage_company_num component not found\\",\\n \\"httpStatusCode\\": \\"200\\",\\n \\"resultObject\\": {\\n \\"highRiskMobileProvince\\": {\\n \\"series\\": [\\n {\\n \\"roseType\\": \\"false\\",\\n \\"name\\": \\"分值区间占比\\",\\n \\"data\\": [\\n {\\n \\"value\\": \\"100\\",\\n \\"name\\": \\"浙江省\\"\\n }\\n ]\\n }\\n ],\\n \\"animation\\": true,\\n \\"grid\\": {\\n \\"show\\": false\\n }\\n },\\n \\"highRiskMobileCity\\": {\\n \\"series\\": [\\n {\\n \\"roseType\\": \\"false\\",\\n \\"name\\": \\"杭州市\\",\\n \\"data\\": [\\n {\\n \\"value\\": \\"100\\",\\n \\"name\\": \\"杭州市\\"\\n }\\n ]\\n }\\n ],\\n \\"animation\\": true,\\n \\"grid\\": {\\n \\"show\\": false\\n }\\n },\\n \\"highRiskIPProvince\\": {\\n \\"series\\": [\\n {\\n \\"roseType\\": \\"false\\",\\n \\"name\\": \\"浙江省\\",\\n \\"data\\": [\\n {\\n \\"value\\": \\"100\\",\\n \\"name\\": \\"浙江省\\"\\n }\\n ]\\n }\\n ],\\n \\"animation\\": true,\\n \\"grid\\": {\\n \\"show\\": false\\n }\\n },\\n \\"highRiskIPCity\\": {\\n \\"series\\": [\\n {\\n \\"roseType\\": \\"false\\",\\n \\"name\\": \\"杭州市\\",\\n \\"data\\": [\\n {\\n \\"value\\": \\"100\\",\\n \\"name\\": \\"杭州市\\"\\n }\\n ]\\n }\\n ],\\n \\"animation\\": true,\\n \\"grid\\": {\\n \\"show\\": false\\n }\\n }\\n }\\n}","type":"json"}]',
+ ],
+ 'DescribeHitRuleFluctuation' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'operationType' => 'read',
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'eventCode',
+ 'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '事件编码',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'de_azywkh7523',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'regId',
+ 'name' => 'eventCodes',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '事件code,多个用英文逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => 'de_ahqhsw7665,de_agbzfi5134'],
],
[
- 'name' => 'rulesStr',
+ 'name' => 'ruleStatus',
'in' => 'query',
- 'schema' => [
- 'description' => '策略列表',
- 'type' => 'string',
- 'required' => true,
- 'example' => '[\\"100244\\",\\"100245\\"]',
- ],
+ 'schema' => ['description' => '策略状态。', 'type' => 'string', 'required' => false, 'example' => 'DRAFT'],
],
],
'responses' => [
@@ -17698,63 +12447,100 @@
'schema' => [
'type' => 'object',
'properties' => [
+ 'requestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2'],
+ 'success' => ['description' => '请求是否成功。', 'type' => 'boolean', 'example' => 'true'],
+ 'code' => ['description' => '状态码。', 'type' => 'string', 'example' => '200'],
+ 'message' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'The input parameter data is not valid. order_storage_company_num component not found'],
+ 'httpStatusCode' => ['description' => 'HTTP状态码。', 'type' => 'string', 'example' => '200'],
'resultObject' => [
- 'description' => '返回对象',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
+ 'description' => '返回对象。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '返回对象。',
+ 'type' => 'object',
+ 'properties' => [
+ 'ruleId' => ['description' => '策略ID。', 'type' => 'string', 'example' => '115019'],
+ 'ruleName' => ['description' => '策略名称。', 'type' => 'string', 'example' => '营销风险识别'],
+ 'todayNum' => ['description' => '今天数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '100'],
+ 'yesterdayNum' => ['description' => '昨日数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '200'],
+ 'withinThreeDayNum' => ['description' => '近三天数量。', 'type' => 'string', 'example' => '300'],
+ 'withinSevenDayNum' => ['description' => '近七天数量。', 'type' => 'string', 'example' => '600'],
+ 'withinThirtyDayNum' => ['description' => '近三十天数量。', 'type' => 'string', 'example' => '1200'],
+ ],
+ ],
],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '预估调用信息',
- ],
- 'DescribeSampleSceneList' => [
- 'summary' => '查询场景列表。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '策略命中波动检测',
+ 'summary' => '策略命中波动检测。',
+ 'changeSet' => [
+ ['createdAt' => '2022-03-02T06:00:58.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeHitRuleFluctuation'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\",\\n \\"success\\": true,\\n \\"code\\": \\"200\\",\\n \\"message\\": \\"The input parameter data is not valid. order_storage_company_num component not found\\",\\n \\"httpStatusCode\\": \\"200\\",\\n \\"resultObject\\": [\\n {\\n \\"ruleId\\": \\"115019\\",\\n \\"ruleName\\": \\"营销风险识别\\",\\n \\"todayNum\\": 100,\\n \\"yesterdayNum\\": 200,\\n \\"withinThreeDayNum\\": \\"300\\",\\n \\"withinSevenDayNum\\": \\"600\\",\\n \\"withinThirtyDayNum\\": \\"1200\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'DescribeHitRuleList' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'operationType' => 'read',
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
+ ],
+ [
+ 'name' => 'eventCodes',
+ 'in' => 'query',
+ 'schema' => ['description' => '事件编码,多个事件编码以逗号分隔。', 'type' => 'string', 'required' => false, 'example' => 'de_ahqhsw7665,de_ahqhsw7622'],
+ ],
+ [
+ 'name' => 'beginTime',
+ 'in' => 'query',
+ 'schema' => ['description' => '开始时间,精确到毫秒(ms)。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1737101348000'],
+ ],
+ [
+ 'name' => 'endTime',
+ 'in' => 'query',
+ 'schema' => ['description' => '结束时间,精确到毫秒(ms)。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1752027960000'],
+ ],
+ [
+ 'name' => 'eventType',
+ 'in' => 'query',
+ 'schema' => ['description' => '事件类型', 'type' => 'string', 'required' => false, 'example' => 'MAIN'],
],
],
'responses' => [
@@ -17762,35 +12548,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'totalItem' => [
- 'description' => '总个数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '6',
- ],
- 'pageSize' => [
- 'description' => '每页大小,默认值为10',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
- 'currentPage' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'totalPage' => [
- 'description' => '总页数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'requestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2'],
'resultObject' => [
'description' => '返回对象',
'type' => 'array',
@@ -17798,119 +12556,81 @@
'description' => '返回对象',
'type' => 'object',
'properties' => [
- 'lastModifiedOperator' => [
- 'description' => '最后修改者。',
- 'type' => 'string',
- 'example' => '1519714049632764',
- ],
- 'creator' => [
- 'description' => '创建人。',
- 'type' => 'string',
- 'example' => '1519714049632764',
- ],
- 'configKey' => [
- 'description' => '配置项key',
- 'type' => 'string',
- 'example' => 'account_abuse_detection',
- ],
- 'description' => [
- 'description' => '描述信息。',
- 'type' => 'string',
- 'example' => '变量描述',
- ],
- 'gmtModified' => [
- 'description' => '修改时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1565701886000',
- ],
- 'status' => [
- 'description' => '状态。',
- 'type' => 'string',
- 'example' => 'ENABLE',
- ],
- 'configValue' => [
- 'description' => '配置项值',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'gmtCreate' => [
- 'description' => '创建时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1621578648000',
- ],
- 'bizType' => [
- 'description' => '业务类型',
- 'type' => 'string',
- 'example' => 'variable_scene',
- ],
- 'id' => [
- 'description' => '任务Id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '3144',
- ],
+ 'ruleName' => ['description' => '策略名称', 'type' => 'string', 'example' => '营销风险识别'],
+ 'hitCount' => ['description' => '命中数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
],
],
],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"totalItem\\": 6,\\n \\"pageSize\\": 10,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"currentPage\\": 1,\\n \\"totalPage\\": 1,\\n \\"resultObject\\": [\\n {\\n \\"lastModifiedOperator\\": \\"1519714049632764\\",\\n \\"creator\\": \\"1519714049632764\\",\\n \\"configKey\\": \\"account_abuse_detection\\",\\n \\"description\\": \\"变量描述\\",\\n \\"gmtModified\\": 1565701886000,\\n \\"status\\": \\"ENABLE\\",\\n \\"configValue\\": \\"1\\",\\n \\"gmtCreate\\": 1621578648000,\\n \\"bizType\\": \\"variable_scene\\",\\n \\"id\\": 3144\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '查询场景列表',
- ],
- 'DeleteSampleData' => [
- 'summary' => '删除样本数据。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '主事件/旁路/分流策略命中TOP 20',
+ 'summary' => '主事件/旁路/分流策略命中TOP20',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeHitRuleList'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\",\\n \\"resultObject\\": [\\n {\\n \\"ruleName\\": \\"营销风险识别\\",\\n \\"hitCount\\": 100\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'DescribeHitRuleTrend' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'operationType' => 'read',
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'id',
+ 'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '主键id',
- 'type' => 'string',
- 'required' => false,
- 'example' => '3144',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'regId',
+ 'name' => 'eventCodes',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '事件编码,多个用英文逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => 'de_ahqhsw7665,de_agbzfi5134'],
+ ],
+ [
+ 'name' => 'beginTime',
+ 'in' => 'query',
+ 'schema' => ['description' => '开始时间,精确到毫秒(ms)。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1737101348000'],
+ ],
+ [
+ 'name' => 'endTime',
+ 'in' => 'query',
+ 'schema' => ['description' => '结束时间,精确到毫秒(ms)。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1746669075000'],
+ ],
+ [
+ 'name' => 'ruleStatus',
+ 'in' => 'query',
+ 'schema' => ['description' => '策略状态。', 'type' => 'string', 'required' => false, 'example' => 'DRAFT'],
],
],
'responses' => [
@@ -17918,33 +12638,96 @@
'schema' => [
'type' => 'object',
'properties' => [
+ 'requestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2'],
+ 'success' => ['description' => '本次操作是否成功,true表示成功。', 'type' => 'boolean', 'example' => 'true'],
+ 'code' => ['description' => '状态码。', 'type' => 'string', 'example' => '200'],
+ 'message' => ['description' => '错误详情。', 'type' => 'string', 'example' => 'The input parameter data is not valid. order_storage_company_num component not found'],
+ 'httpStatusCode' => ['description' => 'HTTP状态码。', 'type' => 'string', 'example' => '200'],
'resultObject' => [
- 'description' => '返回对象',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
+ 'description' => '返回对象。',
+ 'type' => 'object',
+ 'properties' => [
+ 'xaxis' => [
+ 'description' => '横坐标数据。',
+ 'type' => 'object',
+ 'properties' => [
+ 'data' => [
+ 'description' => '返回数据对象。',
+ 'type' => 'array',
+ 'items' => ['description' => '返回数据对象。', 'type' => 'string', 'example' => '['."\n"
+ .' "2025-07-01",'."\n"
+ .' "2025-07-02",'."\n"
+ .' "2025-07-03",'."\n"
+ .' "2025-07-04",'."\n"
+ .' "2025-07-05",'."\n"
+ .' "2025-07-06",'."\n"
+ .' "2025-07-07",'."\n"
+ .' "2025-07-08",'."\n"
+ .' "2025-07-09",'."\n"
+ .' "2025-07-10",'."\n"
+ .' "2025-07-11"'."\n"
+ .' ]'],
+ ],
+ ],
+ ],
+ 'series' => [
+ 'description' => '图表数据。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '图表数据。',
+ 'type' => 'object',
+ 'properties' => [
+ 'name' => ['description' => '展示title。', 'type' => 'string', 'example' => '策略name'],
+ 'data' => [
+ 'description' => '返回数据对象。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '返回数据对象。',
+ 'type' => 'object',
+ 'properties' => [
+ 'num' => ['description' => '数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '50'],
+ 'scale' => ['description' => '比例。', 'type' => 'string', 'example' => '10.00%'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '删除样本数据',
- ],
- 'DescribeSampleDemoDownloadUrl' => [
- 'summary' => '查询样本示例授权。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '策略命中趋势',
+ 'summary' => '策略命中趋势。',
+ 'changeSet' => [
+ ['createdAt' => '2022-03-02T06:00:58.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeHitRuleTrend'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\",\\n \\"success\\": true,\\n \\"code\\": \\"200\\",\\n \\"message\\": \\"The input parameter data is not valid. order_storage_company_num component not found\\",\\n \\"httpStatusCode\\": \\"200\\",\\n \\"resultObject\\": {\\n \\"xaxis\\": {\\n \\"data\\": [\\n \\"[\\\\n \\\\\\"2025-07-01\\\\\\",\\\\n \\\\\\"2025-07-02\\\\\\",\\\\n \\\\\\"2025-07-03\\\\\\",\\\\n \\\\\\"2025-07-04\\\\\\",\\\\n \\\\\\"2025-07-05\\\\\\",\\\\n \\\\\\"2025-07-06\\\\\\",\\\\n \\\\\\"2025-07-07\\\\\\",\\\\n \\\\\\"2025-07-08\\\\\\",\\\\n \\\\\\"2025-07-09\\\\\\",\\\\n \\\\\\"2025-07-10\\\\\\",\\\\n \\\\\\"2025-07-11\\\\\\"\\\\n ]\\"\\n ]\\n },\\n \\"series\\": [\\n {\\n \\"name\\": \\"策略name\\",\\n \\"data\\": [\\n {\\n \\"num\\": 50,\\n \\"scale\\": \\"10.00%\\"\\n }\\n ]\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'DescribeInitDig' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -17952,153 +12735,107 @@
],
'systemTags' => [
'operationType' => 'get',
+ 'abilityTreeCode' => '193636',
+ 'abilityTreeNodes' => ['FEATUREsafT73ZWM'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型。默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'scene',
+ 'name' => 'RegId',
'in' => 'query',
- 'schema' => [
- 'description' => '场景code',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'coupon_abuse_detection',
- ],
+ 'schema' => ['description' => '区域码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'regId',
+ 'name' => 'Type',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '数据来源类型', 'type' => 'string', 'required' => true, 'example' => 'SAF_CONSOLE'],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'resultObject' => [
- 'description' => '返回对象',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ 'ResultObject' => [
+ 'description' => '返回的结果信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'TipInfo' => ['description' => '提示信息', 'type' => 'string', 'example' => '阿里云内部测试'],
+ ],
],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '查询样本示例授权',
- ],
- 'DescribeTaskLogList' => [
- 'summary' => '任务日志列表。',
- 'methods' => [
- 'post',
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'POC弹框提示信息',
+ 'summary' => 'POC新增初始化弹框提示信息',
+ 'description' => '在BOPS中添加提示信息,POC新增页面初始化弹框提示该信息',
+ 'responseParamsDescription' => '无',
+ 'extraInfo' => '无',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeInitDig'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"ResultObject\\": {\\n \\"TipInfo\\": \\"阿里云内部测试\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'DescribeInputFeildCountByEventCode' => [
+ 'summary' => '查询事件总数量',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'operationType' => 'read',
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
- ],
- [
- 'name' => 'CurrentPage',
- 'in' => 'query',
- 'schema' => [
- 'description' => '当前页。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1',
- ],
- ],
- [
- 'name' => 'PageSize',
- 'in' => 'query',
- 'schema' => [
- 'description' => '分页大小。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'IsPage',
+ 'name' => 'createType',
'in' => 'query',
- 'schema' => [
- 'description' => '是否分页。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '创建类型', 'type' => 'string', 'required' => false, 'example' => 'NORMAL'],
],
[
- 'name' => 'TaskId',
+ 'name' => 'eventCode',
'in' => 'query',
- 'schema' => [
- 'description' => '任务id。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '18044',
- ],
- ],
- [
- 'name' => 'TaskLogId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '任务日志id',
- 'type' => 'string',
- 'required' => false,
- 'example' => '107',
- ],
+ 'schema' => ['description' => '事件编码', 'type' => 'string', 'required' => false, 'example' => 'de_ahqido8038'],
],
],
'responses' => [
@@ -18106,148 +12843,76 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'totalItem' => [
- 'description' => '总条数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '6',
- ],
- 'pageSize' => [
- 'description' => '每页大小,默认值为10',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
- 'currentPage' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'totalPage' => [
- 'description' => '总页数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
'resultObject' => [
'description' => '返回对象',
- 'type' => 'array',
- 'items' => [
- 'description' => '返回对象',
- 'type' => 'object',
- 'properties' => [
- 'sceneName' => [
- 'description' => '场景名称',
- 'type' => 'string',
- 'example' => 'coupon_abuse_detection',
- ],
- 'taskType' => [
- 'description' => '任务类型'."\n"
- ."\n"
- .'1:数据上传'."\n"
- .'2:补充上传'."\n"
- .'3:打标',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'createTime' => [
- 'description' => '任务创建时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1753804800000',
- ],
- 'status' => [
- 'description' => '状态。'."\n"
- ."\n"
- .'0:删除'."\n"
- .'1:正常',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'remark' => [
- 'description' => '备注。',
- 'type' => 'string',
- 'example' => '备注',
- ],
- 'id' => [
- 'description' => '日志id。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2793',
- ],
- 'completionTime' => [
- 'description' => '完成时间,单位为毫秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1753804800000',
- ],
- ],
+ 'type' => 'object',
+ 'properties' => [
+ 'totalItem' => ['description' => '总条数', 'type' => 'integer', 'format' => 'int32', 'example' => '8'],
+ 'maxTotalItem' => ['description' => '最大创建条数', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
+ 'limit' => ['description' => '是否超过最大数量', 'type' => 'boolean', 'example' => 'true'],
],
],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"totalItem\\": 6,\\n \\"pageSize\\": 10,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"currentPage\\": 1,\\n \\"totalPage\\": 1,\\n \\"resultObject\\": [\\n {\\n \\"sceneName\\": \\"coupon_abuse_detection\\",\\n \\"taskType\\": \\"1\\",\\n \\"createTime\\": 1753804800000,\\n \\"status\\": \\"1\\",\\n \\"remark\\": \\"备注\\",\\n \\"id\\": 2793,\\n \\"completionTime\\": 1753804800000\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '任务日志列表',
- ],
- 'DescribeSampleDownloadUrl' => [
- 'summary' => '查询样本下载授权信息。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '查询事件总数量',
+ 'changeSet' => [
+ ['createdAt' => '2022-12-27T11:32:42.000Z', 'description' => '请求参数发生变更'],
+ ['createdAt' => '2022-05-11T07:28:18.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeInputFeildCountByEventCode'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"resultObject\\": {\\n \\"totalItem\\": 8,\\n \\"maxTotalItem\\": 100,\\n \\"limit\\": true\\n }\\n}","type":"json"}]',
+ ],
+ 'DescribeListModel' => [
+ 'summary' => '模型任务列表。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'read',
'systemTags' => [
'operationType' => 'get',
+ 'abilityTreeCode' => '155392',
+ 'abilityTreeNodes' => ['FEATUREsafT73ZWM'],
],
'parameters' => [
[
- 'name' => 'Lang',
+ 'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '每页显示条数。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10'],
],
[
- 'name' => 'sampleId',
+ 'name' => 'CurrentPage',
'in' => 'query',
- 'schema' => [
- 'description' => '样例id。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '5467',
- ],
+ 'schema' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'],
],
[
- 'name' => 'regId',
+ 'name' => 'RegId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
@@ -18255,74 +12920,114 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'resultObject' => [
- 'description' => '返回对象',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
+ 'RequestId' => ['description' => '请求id。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ 'ResultObject' => [
+ 'description' => '返回数据。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '返回数据。',
+ 'type' => 'object',
+ 'properties' => [
+ 'modelId' => ['description' => '实际使用的模型唯一标识', 'type' => 'string', 'example' => 'qwen-plus'],
+ 'modelName' => ['description' => '模型名称。', 'type' => 'string', 'example' => 'custom_model'],
+ 'modelScene' => ['description' => '模型场景。', 'type' => 'string', 'example' => 'custom_scene'],
+ 'createTime' => ['description' => '创建时间。', 'type' => 'string', 'example' => '2025-05-07T02:26:01Z'],
+ 'updateTime' => ['description' => '模型最后更新时间。', 'type' => 'string', 'example' => '2024-11-18T02:07:00Z'],
+ 'userId' => ['description' => '用户ID。', 'type' => 'string', 'example' => '1806507582222226'],
+ 'bucId' => ['description' => '上传人ID。', 'type' => 'string', 'example' => '011786'],
+ 'modelCode' => ['description' => '型号code。', 'type' => 'string', 'example' => 'code'],
+ 'modelStatus' => ['description' => '型号模型状态,取值:-**ENABLED**:可用-**DISABLED**:不可用', 'type' => 'string', 'example' => 'ENABLED'],
+ 'taskId' => ['description' => '任务id。', 'type' => 'string', 'example' => '0c8a3799-5ac8-434b-b255-e06edb35c05f'],
+ 'userLocalFileName' => ['description' => '文件名。', 'type' => 'string', 'example' => 'saf-ai-1662519103706.csv'],
+ ],
+ ],
],
+ 'TotalItem' => ['description' => '总记录数。', 'type' => 'string', 'example' => '1'],
+ 'TotalPage' => ['description' => '总页数。', 'type' => 'string', 'example' => '1'],
+ 'CurrentPage' => ['description' => '当前页码。', 'type' => 'string', 'example' => '1'],
+ 'PageSize' => ['description' => '每页显示条数。', 'type' => 'string', 'example' => '30'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '查询样本下载授权信息',
- ],
- 'DescribeRecommendSceneVariables' => [
- 'summary' => '查询样本&场景下的变量列表。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '模型任务列表',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeListModel'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"ResultObject\\": [\\n {\\n \\"modelId\\": \\"qwen-plus\\",\\n \\"modelName\\": \\"custom_model\\",\\n \\"modelScene\\": \\"custom_scene\\",\\n \\"createTime\\": \\"2025-05-07T02:26:01Z\\",\\n \\"updateTime\\": \\"2024-11-18T02:07:00Z\\",\\n \\"userId\\": \\"1806507582222226\\",\\n \\"bucId\\": \\"011786\\",\\n \\"modelCode\\": \\"code\\",\\n \\"modelStatus\\": \\"ENABLED\\",\\n \\"taskId\\": \\"0c8a3799-5ac8-434b-b255-e06edb35c05f\\",\\n \\"userLocalFileName\\": \\"saf-ai-1662519103706.csv\\"\\n }\\n ],\\n \\"TotalItem\\": \\"1\\",\\n \\"TotalPage\\": \\"1\\",\\n \\"CurrentPage\\": \\"1\\",\\n \\"PageSize\\": \\"30\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeListPoc' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'read',
'systemTags' => [
'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '138565',
+ 'abilityTreeNodes' => ['FEATUREsafT73ZWM'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'sampleId',
+ 'name' => 'Type',
'in' => 'query',
- 'schema' => [
- 'description' => '样本id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '5467',
- ],
+ 'schema' => ['description' => '类型', 'type' => 'string', 'required' => false, 'example' => 'SAF_CONSOLE'],
],
[
- 'name' => 'regId',
+ 'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '分页大小。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '30'],
+ ],
+ [
+ 'name' => 'CurrentPage',
+ 'in' => 'query',
+ 'schema' => ['description' => '当前页数。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'],
+ ],
+ [
+ 'name' => 'RegId',
+ 'in' => 'query',
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
+ ],
+ [
+ 'name' => 'TaskName',
+ 'in' => 'query',
+ 'schema' => ['description' => '任务名称。', 'type' => 'string', 'required' => false, 'example' => 'task1'],
+ ],
+ [
+ 'name' => 'TaskStatus',
+ 'in' => 'query',
+ 'schema' => ['description' => '导入任务的执行状态:'."\n"
+ .'- DOING:运行中'."\n"
+ .'- FINISH:执行完成', 'type' => 'string', 'required' => false, 'example' => 'DOING'],
],
],
'responses' => [
@@ -18330,73 +13035,94 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'resultObject' => [
- 'description' => '返回对象',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
+ 'RequestId' => ['description' => '请求id。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ 'ResultObject' => ['description' => '返回结果。', 'type' => 'boolean', 'example' => 'true'],
+ 'TotalItem' => ['description' => '返回总个数。', 'type' => 'string', 'example' => '0'],
+ 'TotalPage' => ['description' => '总页数。', 'type' => 'string', 'example' => '0'],
+ 'CurrentPage' => ['description' => '当前页。', 'type' => 'string', 'example' => '1'],
+ 'PageSize' => ['description' => '分页大小。', 'type' => 'string', 'example' => '10'],
+ 'Code' => ['description' => '状态码。', 'type' => 'string', 'example' => '200'],
+ 'HttpStatusCode' => ['description' => 'http状态码。', 'type' => 'string', 'example' => '200'],
+ 'Message' => ['description' => '返回信息。', 'type' => 'string', 'example' => 'successful'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '查询样本&场景下的变量列表',
- ],
- 'DescribeSupportRuleList' => [
- 'summary' => '查询支持仿真的策略列表。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => 'POC任务列表',
+ 'summary' => '任务列表。',
+ 'changeSet' => [
+ ['createdAt' => '2024-06-19T12:22:11.000Z', 'description' => '请求参数发生变更'],
+ ['createdAt' => '2022-06-10T02:15:44.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeListPoc'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"ResultObject\\": true,\\n \\"TotalItem\\": \\"0\\",\\n \\"TotalPage\\": \\"0\\",\\n \\"CurrentPage\\": \\"1\\",\\n \\"PageSize\\": \\"10\\",\\n \\"Code\\": \\"200\\",\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"Message\\": \\"successful\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeLoanExecList' => [
+ 'summary' => '获取监控对象列表。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'operationType' => 'read',
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'eventCode',
+ 'name' => 'currentPage',
'in' => 'query',
- 'schema' => [
- 'description' => '事件编码',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'de_ahpayh4121',
- ],
+ 'schema' => ['description' => '当前页码。', 'type' => 'string', 'required' => false, 'example' => '1'],
+ ],
+ [
+ 'name' => 'pageSize',
+ 'in' => 'query',
+ 'schema' => ['description' => '每页大小,默认值为10', 'type' => 'string', 'required' => false, 'example' => '10'],
+ ],
+ [
+ 'name' => 'batchNo',
+ 'in' => 'query',
+ 'schema' => ['description' => '导入批次号。', 'type' => 'string', 'required' => false, 'example' => '1'],
+ ],
+ [
+ 'name' => 'monitorObj',
+ 'in' => 'query',
+ 'schema' => ['description' => '监控指标数据。', 'type' => 'string', 'required' => false, 'example' => 'de_afghcf6411'],
+ ],
+ [
+ 'name' => 'monitorStatus',
+ 'in' => 'query',
+ 'schema' => ['description' => '状态', 'type' => 'string', 'required' => false, 'example' => 'WAIT'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
@@ -18404,187 +13130,177 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'resultObject' => [
- 'description' => '返回对象',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
+ 'totalItem' => ['description' => '总条数', 'type' => 'integer', 'format' => 'int32', 'example' => '6'],
+ 'resultObject' => ['description' => '返回对象', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ 'totalPage' => ['description' => '总页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'pageSize' => ['description' => '每页大小,默认值为10', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'currentPage' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '查询支持仿真的策略列表',
- ],
- 'StartSimulationTask' => [
- 'summary' => '开始执行任务。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '获取监控对象列表',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:23:06.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeLoanExecList'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"totalItem\\": 6,\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"totalPage\\": 1,\\n \\"pageSize\\": 10,\\n \\"currentPage\\": 1\\n}","type":"json"}]',
+ ],
+ 'DescribeLoanTaskList' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'id',
+ 'name' => 'currentPage',
'in' => 'query',
- 'schema' => [
- 'description' => '主键id',
- 'type' => 'string',
- 'required' => true,
- 'example' => '3144',
- ],
+ 'schema' => ['description' => '当前页数。默认为:1。', 'type' => 'string', 'required' => false, 'example' => '1'],
+ ],
+ [
+ 'name' => 'pageSize',
+ 'in' => 'query',
+ 'schema' => ['description' => '每页大小,默认值为10', 'type' => 'string', 'required' => false, 'example' => '20'],
+ ],
+ [
+ 'name' => 'monitorStatus',
+ 'in' => 'query',
+ 'schema' => ['description' => '任务状态。', 'type' => 'string', 'required' => false, 'example' => 'WAIT'],
+ ],
+ [
+ 'name' => 'batchNo',
+ 'in' => 'query',
+ 'schema' => ['description' => '导入批次号。', 'type' => 'string', 'required' => false, 'example' => '1'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
200 => [
+ 'headers' => [],
'schema' => [
'type' => 'object',
'properties' => [
- 'resultObject' => [
- 'description' => '返回对象',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
+ 'totalItem' => ['description' => '总条数', 'type' => 'integer', 'format' => 'int32', 'example' => '6'],
+ 'resultObject' => ['description' => '返回对象', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ 'totalPage' => ['description' => '总页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'pageSize' => ['description' => '每页大小,默认值为10', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'currentPage' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '开始执行任务',
- ],
- 'DescribeSimulationTaskList' => [
- 'summary' => '任务列表。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '获取贷中监控任务列表',
+ 'summary' => '获取贷中监控任务列表。',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:23:06.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeLoanTaskList'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"totalItem\\": 6,\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"totalPage\\": 1,\\n \\"pageSize\\": 10,\\n \\"currentPage\\": 1\\n}","type":"json"}]',
+ ],
+ 'DescribeMarkPage' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'id',
+ 'name' => 'currentPage',
'in' => 'query',
- 'schema' => [
- 'description' => '主键id',
- 'type' => 'string',
- 'required' => false,
- 'example' => '3144',
- ],
+ 'schema' => ['description' => '当前页码。', 'type' => 'string', 'required' => false, 'example' => '1'],
],
[
- 'name' => 'name',
+ 'name' => 'pageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '名称',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'SIMULATION',
- ],
+ 'schema' => ['description' => '每页大小,默认值为10', 'type' => 'string', 'required' => false, 'example' => '10'],
],
[
- 'name' => 'title',
+ 'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '标题。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '仿真任务',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'currentPage',
+ 'name' => 'order',
'in' => 'query',
- 'schema' => [
- 'description' => '当前页码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '排序条件', 'type' => 'string', 'required' => false, 'example' => 'asc'],
],
[
- 'name' => 'pageSize',
+ 'name' => 'direction',
'in' => 'query',
- 'schema' => [
- 'description' => '每页大小,默认值为10',
- 'type' => 'string',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '顺序', 'type' => 'string', 'required' => false, 'example' => '0'],
],
[
- 'name' => 'regId',
+ 'name' => 'isPage',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '是否分页', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
+ ],
+ [
+ 'name' => 'taskLogId',
+ 'in' => 'query',
+ 'schema' => ['description' => '任务id。', 'type' => 'string', 'required' => false, 'example' => '443'],
],
],
'responses' => [
@@ -18592,217 +13308,222 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'totalItem' => [
- 'description' => '总个数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '6',
- ],
+ 'totalItem' => ['description' => '总条数', 'type' => 'integer', 'format' => 'int32', 'example' => '6'],
+ 'pageSize' => ['description' => '每页大小,默认值为10', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ 'currentPage' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'totalPage' => ['description' => '总页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'resultObject' => [
'description' => '返回对象',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
- 'totalPage' => [
- 'description' => '总页数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'pageSize' => [
- 'description' => '每页大小,默认值为10',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'currentPage' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '返回对象',
+ 'type' => 'object',
+ 'properties' => [
+ 'fieldName' => ['description' => '字段名称。', 'type' => 'string', 'example' => 'mobile'],
+ 'fieldValue' => ['description' => '字段值', 'type' => 'string', 'example' => '18000000000'],
+ 'id' => ['description' => '主键id', 'type' => 'integer', 'format' => 'int64', 'example' => '2793'],
+ 'markType' => ['description' => '打标(0否/1是)', 'type' => 'string', 'example' => '1'],
+ ],
+ ],
],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"totalItem\\": 6,\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"totalPage\\": 1,\\n \\"pageSize\\": 10,\\n \\"currentPage\\": 1\\n}","type":"json"}]',
- 'title' => '任务列表',
- ],
- 'DescribeEventTaskHistory' => [
- 'summary' => '查询策略下载列表。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '打标列表',
+ 'summary' => '打标列表。',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:11:27.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeMarkPage'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"totalItem\\": 6,\\n \\"pageSize\\": 10,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"currentPage\\": 1,\\n \\"totalPage\\": 1,\\n \\"resultObject\\": [\\n {\\n \\"fieldName\\": \\"mobile\\",\\n \\"fieldValue\\": \\"18000000000\\",\\n \\"id\\": 2793,\\n \\"markType\\": \\"1\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'DescribeMenuPermission' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'operationType' => 'read',
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
+ ],
+ [
+ 'name' => 'permissionType',
+ 'in' => 'query',
'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
+ 'description' => '权限类型',
'type' => 'string',
'required' => false,
- 'example' => 'zh',
+ 'enumValueTitles' => ['MENU' => '菜单', 'FUNCTION' => '功能'],
+ 'example' => 'MENU',
],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
200 => [
+ 'headers' => [],
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
- 'resultObject' => [
- 'description' => '返回对象',
- 'type' => 'array',
- 'items' => [
- 'description' => '返回对象',
- 'type' => 'object',
- 'properties' => [
- 'taskStatus' => [
- 'description' => '任务状态。',
- 'type' => 'string',
- 'example' => 'SUCCESSFUL',
- ],
- 'url' => [
- 'description' => 'OSS 下载url',
- 'type' => 'string',
- 'example' => 'https://xxxxx-oss-xxxxx.xxxxxx.aliyuncs.com/xx/xx/xxx/xxxxxx.csv?Expires=1753433384&OSSAccessKeyId=xxxxxxxxx&Signature=%2F%xxxxxxxxxxxx%3D',
- ],
- 'taskCode' => [
- 'description' => '任务编码。',
- 'type' => 'string',
- 'example' => 'de_aoxcdy9473',
- ],
- 'taskName' => [
- 'description' => '任务名称',
- 'type' => 'string',
- 'example' => '仿真任务',
- ],
- ],
- ],
- ],
+ 'resultObject' => ['description' => '返回对象', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"resultObject\\": [\\n {\\n \\"taskStatus\\": \\"SUCCESSFUL\\",\\n \\"url\\": \\"https://xxxxx-oss-xxxxx.xxxxxx.aliyuncs.com/xx/xx/xxx/xxxxxx.csv?Expires=1753433384&OSSAccessKeyId=xxxxxxxxx&Signature=%2F%xxxxxxxxxxxx%3D\\",\\n \\"taskCode\\": \\"de_aoxcdy9473\\",\\n \\"taskName\\": \\"仿真任务\\"\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '查询策略下载列表',
- ],
- 'CreateRecommendEventRule' => [
- 'summary' => '创建推荐事件策略。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '查询是否有权限',
+ 'summary' => '查询是否有权限',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:23:06.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeMenuPermission'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeModelDetailsById' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'read',
+ 'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
+ 'abilityTreeCode' => '156209',
+ 'abilityTreeNodes' => ['FEATUREsafT73ZWM'],
],
'parameters' => [
[
- 'name' => 'Lang',
+ 'name' => 'RegId',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'taskId',
+ 'name' => 'ModelId',
'in' => 'query',
+ 'schema' => ['description' => '模型id。', 'type' => 'string', 'required' => true, 'example' => '20619'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '任务id。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '6770764',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ 'ResultObject' => [
+ 'description' => '返回的结果信息',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '返回的结果信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'modelEffectEvaluation' => ['description' => '模型预测结果。', 'type' => 'string', 'example' => '{\\"AUC\\":0.9895246624946594,\\"Count\\":2489,\\"DecisionMark\\":[0.0,0.0010000000474974513,0.05287817938420348,0.0]}'],
+ ],
+ ],
+ ],
+ ],
+ 'description' => '',
],
],
+ ],
+ 'title' => '查看详情',
+ 'summary' => '查看结果。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeModelDetailsById'],
+ ],
+ ],
+ 'ramActions' => [
[
- 'name' => 'eventCode',
- 'in' => 'query',
- 'schema' => [
- 'description' => '事件编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'de_ahqido8038',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"ResultObject\\": [\\n {\\n \\"modelEffectEvaluation\\": \\"{\\\\\\\\\\\\\\"AUC\\\\\\\\\\\\\\":0.9895246624946594,\\\\\\\\\\\\\\"Count\\\\\\\\\\\\\\":2489,\\\\\\\\\\\\\\"DecisionMark\\\\\\\\\\\\\\":[0.0,0.0010000000474974513,0.05287817938420348,0.0]}\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'DescribeModelOssPolicy' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'eventName',
- 'in' => 'query',
- 'schema' => [
- 'description' => '事件名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '用户昵称文本审核检测结果',
- ],
+ 'AK' => [],
],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => ['operationType' => 'list'],
+ 'parameters' => [
[
- 'name' => 'regId',
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'recommendRuleIdsStr',
+ 'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '策略id',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[\\"100234\\",\\"100235\\"]',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
@@ -18810,83 +13531,63 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'resultObject' => [
- 'description' => '返回对象',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
+ 'Key' => ['description' => 'oss的accesskeysecret。', 'type' => 'string', 'example' => 'saf/a/uid/ccc'],
+ 'resultObject' => ['description' => '返回结果。', 'type' => 'boolean', 'example' => 'true'],
+ 'Signature' => ['description' => '签名信息。', 'type' => 'string', 'example' => 'tzl1wL4q8rR/xxxxxx'],
+ 'Host' => ['description' => '地址。', 'type' => 'string', 'example' => 'https://saf-ai.oss-cn-shanghai.aliyuncs.com'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ 'Policy' => ['description' => '用户表单上传的策略policy,是经过base64编码过的字符串。', 'type' => 'string', 'example' => 'eyJleHBpxxxxxx'],
+ 'AccessId' => ['description' => '访问OSS的ID', 'type' => 'string', 'example' => 'LTAxxxxxxxxx'],
+ 'Message' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'success'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '创建推荐事件策略',
- ],
- 'DescribeRecommendVelocities' => [
- 'summary' => '查询支持的指标列表。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '模型OSS信息',
+ 'summary' => '获取文件上传凭证。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeModelOssPolicy'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Key\\": \\"saf/a/uid/ccc\\",\\n \\"resultObject\\": true,\\n \\"Signature\\": \\"tzl1wL4q8rR/xxxxxx\\",\\n \\"Host\\": \\"https://saf-ai.oss-cn-shanghai.aliyuncs.com\\",\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"Policy\\": \\"eyJleHBpxxxxxx\\",\\n \\"AccessId\\": \\"LTAxxxxxxxxx\\",\\n \\"Message\\": \\"success\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeMonitorTaskLimit' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
- ],
- [
- 'name' => 'code',
- 'in' => 'query',
- 'schema' => [
- 'description' => '指标code',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'coupon_abuse_detection',
- ],
- ],
- [
- 'name' => 'type',
- 'in' => 'query',
- 'schema' => [
- 'description' => '指标类型',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'recommend_velocity',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
@@ -18894,432 +13595,304 @@
'schema' => [
'type' => 'object',
'properties' => [
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
'resultObject' => [
'description' => '返回对象',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
+ 'type' => 'object',
+ 'properties' => [
+ 'totalItem' => ['description' => '总条数', 'type' => 'integer', 'format' => 'int32', 'example' => '5'],
+ 'maxTotalItem' => ['description' => '最大个数', 'type' => 'integer', 'format' => 'int32', 'example' => '1000'],
+ 'limit' => ['description' => '是否达到最大值', 'type' => 'boolean', 'example' => 'false'],
+ ],
],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '查询支持的指标列表',
- ],
- 'CreateSimulationTask' => [
- 'summary' => '创建任务。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '查询任务的限制',
+ 'summary' => '查询任务的限制。',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:23:06.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeMonitorTaskLimit'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"resultObject\\": {\\n \\"totalItem\\": 5,\\n \\"maxTotalItem\\": 1000,\\n \\"limit\\": false\\n }\\n}","type":"json"}]',
+ ],
+ 'DescribeNameList' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'operationType' => 'read',
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'taskName',
+ 'name' => 'currentPage',
'in' => 'query',
- 'schema' => [
- 'description' => '任务名称',
- 'type' => 'string',
- 'required' => true,
- 'example' => '仿真任务',
- ],
+ 'schema' => ['description' => '当前页数。', 'type' => 'string', 'required' => false, 'example' => '1'],
],
[
- 'name' => 'eventCode',
+ 'name' => 'pageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '事件编码',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'de_anbwns2231',
- ],
+ 'schema' => ['description' => '每页大小,默认值为10。', 'type' => 'string', 'required' => false, 'example' => '10'],
],
[
- 'name' => 'startTime',
+ 'name' => 'variableId',
'in' => 'query',
- 'schema' => [
- 'description' => '开始时间,精确到毫秒(ms)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1730448000000',
- ],
+ 'schema' => ['description' => '变量id。', 'type' => 'string', 'required' => false, 'example' => '393314'],
],
[
- 'name' => 'endTime',
+ 'name' => 'value',
'in' => 'query',
- 'schema' => [
- 'description' => '结束时间,精确到毫秒(ms)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1735541040000',
- ],
+ 'schema' => ['description' => '搜索值。', 'type' => 'string', 'required' => false, 'example' => '白名单'],
],
[
- 'name' => 'runTask',
+ 'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '是否直接运行任务',
- 'type' => 'boolean',
- 'required' => true,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'dataSourceType',
+ 'name' => 'createType',
'in' => 'query',
+ 'schema' => ['description' => '创建类型。', 'type' => 'string', 'required' => false, 'example' => 'NORMAL'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'headers' => [],
'schema' => [
- 'description' => '数据源类型',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'SLS',
+ 'type' => 'object',
+ 'properties' => [
+ 'totalItem' => ['description' => '总条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '6'],
+ 'pageSize' => ['description' => '每页大小,默认值为10。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ 'currentPage' => ['description' => '当前页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'totalPage' => ['description' => '总页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'resultObject' => [
+ 'description' => '返回对象。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '返回对象。',
+ 'type' => 'object',
+ 'properties' => [
+ 'variableId' => ['description' => '变量id。', 'type' => 'integer', 'format' => 'int64', 'example' => '393314'],
+ 'value' => ['description' => '值。', 'type' => 'string', 'example' => '321311193502064288'],
+ 'title' => ['description' => '标题。', 'type' => 'string', 'example' => '变量的title'],
+ 'identifier' => ['description' => '变量标识。', 'type' => 'string', 'example' => 'NAME_LIST'],
+ 'gmtModified' => ['description' => '修改时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1565701886000'],
+ 'gmtCreate' => ['description' => '创建时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1621578648000'],
+ 'id' => ['description' => '名单内容id。', 'type' => 'integer', 'format' => 'int64', 'example' => '30'],
+ ],
+ ],
+ ],
+ ],
+ 'description' => '',
],
],
+ ],
+ 'title' => '查询名单分页',
+ 'summary' => '查询名单分页。',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:28:04.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeNameList'],
+ ],
+ ],
+ 'ramActions' => [
[
- 'name' => 'dataSourceConfig',
- 'in' => 'query',
- 'schema' => [
- 'description' => '数据源配置',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{}',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"totalItem\\": 6,\\n \\"pageSize\\": 10,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"currentPage\\": 1,\\n \\"totalPage\\": 1,\\n \\"resultObject\\": [\\n {\\n \\"variableId\\": 393314,\\n \\"value\\": \\"321311193502064288\\",\\n \\"title\\": \\"变量的title\\",\\n \\"identifier\\": \\"NAME_LIST\\",\\n \\"gmtModified\\": 1565701886000,\\n \\"gmtCreate\\": 1621578648000,\\n \\"id\\": 30\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'DescribeNameListDownloadUrl' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'regId',
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => ['operationType' => 'get'],
+ 'parameters' => [
+ [
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'filtersStr',
+ 'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '过滤器',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{"left":"score","operate":"bw","right":"222,333"}',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'rulesStr',
+ 'name' => 'variableId',
'in' => 'query',
- 'schema' => [
- 'description' => '策略列表',
- 'type' => 'string',
- 'required' => true,
- 'example' => '[\\"100234\\"]',
- ],
+ 'schema' => ['description' => '变量id。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '762'],
],
],
'responses' => [
200 => [
+ 'headers' => [],
'schema' => [
'type' => 'object',
'properties' => [
'resultObject' => [
- 'description' => '返回对象',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
+ 'description' => '返回对象。',
+ 'type' => 'object',
+ 'properties' => [
+ 'downloadFileUrl' => ['description' => '下载地址。', 'type' => 'string', 'example' => 'https://xxxxx-oss-xxxxx.xxxxxx.aliyuncs.com/xx/xx/xxx/xxxxxx.csv?Expires=1753433384&OSSAccessKeyId=xxxxxxxxx&Signature=%2F%xxxxxxxxxxxx%3D'],
+ ],
],
+ 'requestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '创建任务',
- ],
- 'DescribeRecommendTaskDetail' => [
- 'summary' => '变量推荐详情查询接口.',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '下载名单内容',
+ 'summary' => '下载名单列表。',
+ 'changeSet' => [
+ ['createdAt' => '2022-07-20T02:36:34.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeNameListDownloadUrl'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": {\\n \\"downloadFileUrl\\": \\"https://xxxxx-oss-xxxxx.xxxxxx.aliyuncs.com/xx/xx/xxx/xxxxxx.csv?Expires=1753433384&OSSAccessKeyId=xxxxxxxxx&Signature=%2F%xxxxxxxxxxxx%3D\\"\\n },\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeNameListLimit' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'operationType' => 'read',
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'taskId',
+ 'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '任务id。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '887',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'regId',
+ 'name' => 'createType',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '创建类型。', 'type' => 'string', 'required' => false, 'example' => 'NORMAL'],
],
],
'responses' => [
200 => [
+ 'headers' => [],
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
'resultObject' => [
- 'description' => '返回结果',
+ 'description' => '返回对象。',
'type' => 'object',
'properties' => [
- 'eventCode' => [
- 'description' => '事件编码',
- 'type' => 'string',
- 'example' => 'de_aszbjb7236',
- ],
- 'taskId' => [
- 'description' => '任务ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '887',
- ],
- 'normalSize' => [
- 'description' => '正常样本数量',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100',
- ],
- 'sampleScene' => [
- 'description' => '样本场景',
- 'type' => 'string',
- 'example' => 'account_abuse_detection',
- ],
- 'sampleSceneName' => [
- 'description' => '样本场景名称',
- 'type' => 'string',
- 'example' => '防虚假账号',
- ],
- 'sampleName' => [
- 'description' => '样本名称',
- 'type' => 'string',
- 'example' => '白样本',
- ],
- 'taskName' => [
- 'description' => '任务名称',
- 'type' => 'string',
- 'example' => '策略推荐任务',
- ],
- 'taskStatus' => [
- 'description' => '任务状态。',
- 'type' => 'string',
- 'example' => 'CREATE',
- ],
- 'riskSize' => [
- 'description' => '风险样本数量',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'gmtCreate' => [
- 'description' => '创建时间',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1621578648000',
- ],
- 'eventName' => [
- 'description' => '事件名称。',
- 'type' => 'string',
- 'example' => '注册风险',
- ],
- 'recommendVariableDTOs' => [
- 'description' => '选择变量列表',
- 'type' => 'array',
- 'items' => [
- 'description' => '选择变量列表',
- 'type' => 'object',
- 'properties' => [
- 'title' => [
- 'description' => '标题',
- 'type' => 'string',
- 'example' => '手机号',
- ],
- 'id' => [
- 'description' => '主键id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '234',
- ],
- ],
- ],
- ],
- 'recommendRuleDTOs' => [
- 'description' => '推荐策略列表',
- 'type' => 'array',
- 'items' => [
- 'description' => '推荐策略列表',
- 'type' => 'object',
- 'properties' => [
- 'ruleId' => [
- 'description' => '策略ID',
- 'type' => 'string',
- 'example' => '102224',
- ],
- 'velocities' => [
- 'description' => '指标列表 JSON字符串格式',
- 'type' => 'string',
- 'example' => '[{"key":"dxkkLw8fe18","value":"2"}]',
- ],
- 'computeExpression' => [
- 'description' => '计算路径',
- 'type' => 'string',
- 'example' => '1&2',
- ],
- 'notHitSample' => [
- 'description' => '未命中样本数',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'status' => [
- 'description' => '状态。',
- 'type' => 'string',
- 'example' => 'NO_RULE',
- ],
- 'ruleName' => [
- 'description' => '策略名称',
- 'type' => 'string',
- 'example' => '营销风险识别评分_高风险_拒绝_副本',
- ],
- 'id' => [
- 'description' => '策略主键ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '30',
- ],
- 'hitSample' => [
- 'description' => '命中样本数',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '99',
- ],
- 'recommendRules' => [
- 'description' => '候选策略列表',
- 'type' => 'array',
- 'items' => [
- 'description' => '候选策略列表',
- 'type' => 'object',
- 'properties' => [
- 'right' => [
- 'description' => '右变量',
- 'type' => 'string',
- 'example' => '20',
- ],
- 'operator' => [
- 'description' => '操作符',
- 'type' => 'string',
- 'example' => 'equals',
- ],
- 'left' => [
- 'description' => '左变量',
- 'type' => 'string',
- 'example' => 'age',
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- 'expectVelocities' => [
- 'description' => '对比指标',
- 'type' => 'array',
- 'items' => [
- 'description' => '对比指标',
- 'type' => 'string',
- 'example' => '["xxx"]',
- ],
- ],
+ 'totalItem' => ['description' => '总条数。', 'type' => 'integer', 'format' => 'int64', 'example' => '101'],
+ 'maxTotalItem' => ['description' => '最大创建条数。', 'type' => 'integer', 'format' => 'int64', 'example' => '100'],
+ 'limit' => ['description' => '是否超过最大数量。', 'type' => 'boolean', 'example' => 'true'],
],
],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"resultObject\\": {\\n \\"eventCode\\": \\"de_aszbjb7236\\",\\n \\"taskId\\": 887,\\n \\"normalSize\\": 100,\\n \\"sampleScene\\": \\"account_abuse_detection\\",\\n \\"sampleSceneName\\": \\"防虚假账号\\",\\n \\"sampleName\\": \\"白样本\\",\\n \\"taskName\\": \\"策略推荐任务\\",\\n \\"taskStatus\\": \\"CREATE\\",\\n \\"riskSize\\": 10,\\n \\"gmtCreate\\": 1621578648000,\\n \\"eventName\\": \\"注册风险\\",\\n \\"recommendVariableDTOs\\": [\\n {\\n \\"title\\": \\"手机号\\",\\n \\"id\\": 234\\n }\\n ],\\n \\"recommendRuleDTOs\\": [\\n {\\n \\"ruleId\\": \\"102224\\",\\n \\"velocities\\": \\"[{\\\\\\"key\\\\\\":\\\\\\"dxkkLw8fe18\\\\\\",\\\\\\"value\\\\\\":\\\\\\"2\\\\\\"}]\\",\\n \\"computeExpression\\": \\"1&2\\",\\n \\"notHitSample\\": 1,\\n \\"status\\": \\"NO_RULE\\",\\n \\"ruleName\\": \\"营销风险识别评分_高风险_拒绝_副本\\",\\n \\"id\\": 30,\\n \\"hitSample\\": 99,\\n \\"recommendRules\\": [\\n {\\n \\"right\\": \\"20\\",\\n \\"operator\\": \\"equals\\",\\n \\"left\\": \\"age\\"\\n }\\n ]\\n }\\n ],\\n \\"expectVelocities\\": [\\n \\"[\\\\\\"xxx\\\\\\"]\\"\\n ]\\n }\\n}","type":"json"}]',
- 'title' => '变量推荐详情查询接口',
- ],
- 'DescribeOperationLogPageList' => [
- 'summary' => '根据事件名称查询事件列表',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '查询名单限制数',
+ 'summary' => '查询名单限制数。',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:28:04.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeNameListLimit'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"resultObject\\": {\\n \\"totalItem\\": 101,\\n \\"maxTotalItem\\": 100,\\n \\"limit\\": true\\n }\\n}","type":"json"}]',
+ ],
+ 'DescribeNameListPageList' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -19330,627 +13903,452 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREsafT73ZWM',
- ],
+ 'abilityTreeNodes' => ['FEATUREsafXYIHRP'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'pageSize',
+ 'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '每页大小,默认值为10',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'currentPage',
+ 'name' => 'variableId',
'in' => 'query',
- 'schema' => [
- 'description' => '当前页数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '变量id。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '762'],
],
[
- 'name' => 'startDate',
+ 'name' => 'value',
'in' => 'query',
- 'schema' => [
- 'description' => '开始时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1733364850919'."\n",
- ],
+ 'schema' => ['description' => '变量名称/描述。', 'type' => 'string', 'required' => false, 'example' => '白名单'],
],
[
- 'name' => 'endDate',
+ 'name' => 'updateBeginTime',
'in' => 'query',
- 'schema' => [
- 'description' => '结束时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1733364850919',
- ],
+ 'schema' => ['description' => '更新开始时间。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1753372800000'],
],
[
- 'name' => 'regId',
+ 'name' => 'updateEndTime',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '更新结束时间。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1753459199059'],
],
[
- 'name' => 'userNameSearch',
+ 'name' => 'currentPage',
'in' => 'query',
- 'schema' => [
- 'description' => '操作人查询入参。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'root',
- ],
+ 'schema' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '3'],
],
[
- 'name' => 'operationSummary',
+ 'name' => 'pageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '变更内容查询入参。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '修改变量',
- ],
+ 'schema' => ['description' => '每页大小,默认值为10。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
],
'responses' => [
200 => [
+ 'headers' => [],
'schema' => [
'type' => 'object',
'properties' => [
- 'totalItem' => [
- 'description' => '总条数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '3',
- ],
- 'pageSize' => [
- 'description' => '每页大小,默认值为10',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
- 'currentPage' => [
- 'description' => '当前页数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'totalPage' => [
- 'description' => '总页数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '3',
- ],
'resultObject' => [
- 'description' => '返回对象',
+ 'description' => '返回对象。',
'type' => 'array',
'items' => [
- 'description' => '返回对象',
+ 'description' => '返回对象。',
'type' => 'object',
'properties' => [
- 'operationType' => [
- 'description' => '操作类型。',
- 'type' => 'string',
- 'example' => 'CREATE_EVENT',
- ],
- 'userName' => [
- 'description' => '操作人',
- 'type' => 'string',
- 'example' => 'root',
- ],
- 'operationSummary' => [
- 'description' => '操作内容简要',
- 'type' => 'string',
- 'example' => '更新事件:决策引擎可观测性持续建设_事件A(de_afghcf6411)',
- ],
- 'gmtCreate' => [
- 'description' => '创建时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1621578648000',
- ],
- 'clientIp' => [
- 'description' => '客户端IP。',
- 'type' => 'string',
- 'example' => '100.68.***.166',
- ],
- 'oldContent' => [
- 'description' => '操作前内容',
- 'type' => 'string',
- 'example' => '@selfvariable_02 + 1001',
- ],
- 'newContent' => [
- 'description' => '操作后内容',
- 'type' => 'string',
- 'example' => '@selfvariable_02',
- ],
+ 'id' => ['description' => '名单变量内容数据id。', 'type' => 'integer', 'format' => 'int64', 'example' => '497'],
+ 'name' => ['description' => '变量name。', 'type' => 'string', 'example' => 'nl_UN8otElLb490'],
+ 'nameListType' => ['description' => '变量类型。', 'type' => 'string', 'example' => 'accountId'],
+ 'title' => ['description' => '标题。', 'type' => 'string', 'example' => '白名单'],
+ 'variableId' => ['description' => '变量id。', 'type' => 'integer', 'format' => 'int64', 'example' => '762'],
+ 'value' => ['description' => '变量值。', 'type' => 'string', 'example' => '130433202307074287'],
+ 'gmtModified' => ['description' => '修改时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1565701886000'],
+ 'gmtCreate' => ['description' => '创建时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1621578648000'],
+ 'userId' => ['description' => '用户uid。', 'type' => 'string', 'example' => '130433202307074287'],
+ 'memo' => ['description' => '备注。', 'type' => 'string', 'example' => '本迭代测试'],
],
],
],
+ 'requestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2'],
+ 'totalItem' => ['description' => '总条数。', 'type' => 'string', 'example' => '101'],
+ 'totalPage' => ['description' => '总页数。', 'type' => 'string', 'example' => '9'],
+ 'pageSize' => ['description' => '每页大小,默认值为10。', 'type' => 'string', 'example' => '10'],
+ 'currentPage' => ['description' => '当前页码。', 'type' => 'string', 'example' => '1'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"totalItem\\": 3,\\n \\"pageSize\\": 10,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"currentPage\\": 1,\\n \\"totalPage\\": 3,\\n \\"resultObject\\": [\\n {\\n \\"operationType\\": \\"CREATE_EVENT\\",\\n \\"userName\\": \\"root\\",\\n \\"operationSummary\\": \\"更新事件:决策引擎可观测性持续建设_事件A(de_afghcf6411)\\",\\n \\"gmtCreate\\": 1621578648000,\\n \\"clientIp\\": \\"100.68.***.166\\",\\n \\"oldContent\\": \\"@selfvariable_02 + 1001\\",\\n \\"newContent\\": \\"@selfvariable_02\\"\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '查询操作日志',
- ],
- 'DescribeTemplatePageList' => [
- 'summary' => '根据事件名称查询事件列表。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '分页查询名单',
+ 'summary' => '名单内容查询。',
+ 'changeSet' => [
+ ['createdAt' => '2025-07-30T01:39:51.000Z', 'description' => '响应参数发生变更'],
+ ['createdAt' => '2022-07-20T02:36:34.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeNameListPageList'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": [\\n {\\n \\"id\\": 497,\\n \\"name\\": \\"nl_UN8otElLb490\\",\\n \\"nameListType\\": \\"accountId\\",\\n \\"title\\": \\"白名单\\",\\n \\"variableId\\": 762,\\n \\"value\\": \\"130433202307074287\\",\\n \\"gmtModified\\": 1565701886000,\\n \\"gmtCreate\\": 1621578648000,\\n \\"userId\\": \\"130433202307074287\\",\\n \\"memo\\": \\"本迭代测试\\"\\n }\\n ],\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\",\\n \\"totalItem\\": \\"101\\",\\n \\"totalPage\\": \\"9\\",\\n \\"pageSize\\": \\"10\\",\\n \\"currentPage\\": \\"1\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeNameListTypeList' => [
+ 'summary' => '名单类型列表。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'headers' => [],
'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
+ 'type' => 'object',
+ 'properties' => [
+ 'resultObject' => [
+ 'description' => '返回对象。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '返回对象。',
+ 'type' => 'object',
+ 'properties' => [
+ 'key' => ['description' => '匹配Key。', 'type' => 'string', 'example' => 'accountId'],
+ 'value' => ['description' => '变量值。', 'type' => 'string', 'example' => '账号ID'],
+ ],
+ ],
+ ],
+ 'requestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2'],
+ ],
+ 'description' => '',
],
],
+ ],
+ 'title' => '名单类型列表',
+ 'changeSet' => [
+ ['createdAt' => '2022-07-20T02:36:34.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeNameListTypeList'],
+ ],
+ ],
+ 'ramActions' => [
[
- 'name' => 'currentPage',
- 'in' => 'query',
- 'schema' => [
- 'description' => '当前页码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": [\\n {\\n \\"key\\": \\"accountId\\",\\n \\"value\\": \\"账号ID\\"\\n }\\n ],\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeNameListVariablePageList' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'pageSize',
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => ['operationType' => 'get'],
+ 'parameters' => [
+ [
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '每页大小,默认值为10',
- 'type' => 'string',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'templateName',
+ 'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '事件名称',
- 'type' => 'string',
- 'required' => false,
- 'example' => '注册事件',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'templateStatus',
+ 'name' => 'nameListType',
'in' => 'query',
- 'schema' => [
- 'description' => '事件状态',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ONLINE',
- ],
+ 'schema' => ['description' => '变量类型。', 'type' => 'string', 'required' => false, 'example' => 'accountId'],
],
[
- 'name' => 'eventCodes',
+ 'name' => 'name',
'in' => 'query',
- 'schema' => [
- 'description' => '事件code。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'd6_h1fe4cfa1g',
- ],
+ 'schema' => ['description' => '变量name。', 'type' => 'string', 'required' => false, 'example' => 'age'],
],
[
- 'name' => 'templateType',
+ 'name' => 'value',
'in' => 'query',
- 'schema' => [
- 'description' => '模板类型',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'PUB_SERVICE',
- ],
+ 'schema' => ['description' => '名单值。', 'type' => 'string', 'required' => false, 'example' => 'valuexxx'],
],
[
- 'name' => 'templateSearchItem',
+ 'name' => 'currentPage',
'in' => 'query',
- 'schema' => [
- 'description' => '事件模版搜索字段',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'age',
- ],
+ 'schema' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
+ ],
+ [
+ 'name' => 'pageSize',
+ 'in' => 'query',
+ 'schema' => ['description' => '每页大小,默认值为10。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
],
'responses' => [
200 => [
+ 'headers' => [],
'schema' => [
'type' => 'object',
'properties' => [
'resultObject' => [
- 'description' => '返回对象',
+ 'description' => '返回对象。',
'type' => 'array',
'items' => [
- 'description' => '返回对象',
+ 'description' => '返回对象。',
'type' => 'object',
'properties' => [
- 'id' => [
- 'description' => '模板id。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '497',
- ],
- 'gmtCreate' => [
- 'description' => '创建时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1621578648000',
- ],
- 'gmtModified' => [
- 'description' => '修改时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1565701886000',
- ],
- 'eventName' => [
- 'description' => '事件名称。',
- 'type' => 'string',
- 'example' => '注册风险',
- ],
- 'eventCode' => [
- 'description' => '事件编码',
- 'type' => 'string',
- 'example' => 'de_aszbjb7236',
- ],
- 'templateStatus' => [
- 'description' => '事件状态',
- 'type' => 'string',
- 'example' => 'ONLINE',
- ],
- 'ruleCount' => [
- 'description' => '策略数量',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '3',
- ],
- 'userCount' => [
- 'description' => '客户授权数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'templateName' => [
- 'description' => '模板名称。',
- 'type' => 'string',
- 'example' => '注册事件',
- ],
- 'templateCode' => [
- 'description' => '模板code。',
- 'type' => 'string',
- 'example' => 'register',
- ],
- 'templateType' => [
- 'description' => '模版类型',
- 'type' => 'string',
- 'example' => 'PUB_SERVICE',
- ],
- 'description' => [
- 'description' => '描述信息。',
- 'type' => 'string',
- 'example' => '描述',
- ],
- 'version' => [
- 'description' => '版本号。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'leftCapacity' => ['description' => '剩余容量。', 'type' => 'integer', 'format' => 'int64', 'example' => '99997'],
+ 'sourceType' => ['description' => '数据来源。', 'type' => 'string', 'example' => 'SAF'],
+ 'name' => ['description' => '参数名称。', 'type' => 'string', 'example' => 'nl_UN8otElLb490'],
+ 'nameListType' => ['description' => '名单类型。', 'type' => 'string', 'example' => '手机号'],
+ 'id' => ['description' => '名单id。', 'type' => 'integer', 'format' => 'int64', 'example' => '497'],
+ 'type' => ['description' => '变量类型。', 'type' => 'string', 'example' => 'NAME_LIST'],
+ 'title' => ['description' => '标题。', 'type' => 'string', 'example' => '白名单'],
+ 'userId' => ['description' => '用户uid。', 'type' => 'integer', 'format' => 'int64', 'example' => '180650758xxxxxxx'],
+ 'refObjId' => ['description' => '关联事件eventCode。', 'type' => 'string', 'example' => '-1'],
+ 'capacity' => ['description' => '使用容量。', 'type' => 'integer', 'format' => 'int64', 'example' => '3'],
+ 'refObjType' => ['description' => '关联类型。', 'type' => 'integer', 'format' => 'int64', 'example' => 'EVENT'],
+ 'gmtCreate' => ['description' => '创建时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1621578648000'],
+ 'gmtModified' => ['description' => '修改时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1565701886000'],
+ 'description' => ['description' => '描述信息。', 'type' => 'string', 'example' => '变量描述'],
],
],
],
- 'requestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2',
- ],
- 'totalItem' => [
- 'description' => '总条数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '6',
- ],
- 'totalPage' => [
- 'description' => '总页数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'currentPage' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'pageSize' => [
- 'description' => '每页大小,默认值为10',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
+ 'totalItem' => ['description' => '总条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '101'],
+ 'totalPage' => ['description' => '总页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'pageSize' => ['description' => '每页大小,默认值为10。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'currentPage' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'requestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": [\\n {\\n \\"id\\": 497,\\n \\"gmtCreate\\": 1621578648000,\\n \\"gmtModified\\": 1565701886000,\\n \\"eventName\\": \\"注册风险\\",\\n \\"eventCode\\": \\"de_aszbjb7236\\",\\n \\"templateStatus\\": \\"ONLINE\\",\\n \\"ruleCount\\": 3,\\n \\"userCount\\": 1,\\n \\"templateName\\": \\"注册事件\\",\\n \\"templateCode\\": \\"register\\",\\n \\"templateType\\": \\"PUB_SERVICE\\",\\n \\"description\\": \\"描述\\",\\n \\"version\\": 1\\n }\\n ],\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\",\\n \\"totalItem\\": 6,\\n \\"totalPage\\": 1,\\n \\"currentPage\\": 1,\\n \\"pageSize\\": 10\\n}","type":"json"}]',
- 'title' => '根据事件名称查询事件列表',
- ],
- 'CreateRecommendTask' => [
- 'summary' => '创建推荐任务。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '名单列表查询',
+ 'summary' => '名单列表。',
+ 'changeSet' => [
+ ['createdAt' => '2022-07-20T02:36:34.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeNameListVariablePageList'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": [\\n {\\n \\"leftCapacity\\": 99997,\\n \\"sourceType\\": \\"SAF\\",\\n \\"name\\": \\"nl_UN8otElLb490\\",\\n \\"nameListType\\": \\"手机号\\",\\n \\"id\\": 497,\\n \\"type\\": \\"NAME_LIST\\",\\n \\"title\\": \\"白名单\\",\\n \\"userId\\": 0,\\n \\"refObjId\\": \\"-1\\",\\n \\"capacity\\": 3,\\n \\"refObjType\\": 0,\\n \\"gmtCreate\\": 1621578648000,\\n \\"gmtModified\\": 1565701886000,\\n \\"description\\": \\"变量描述\\"\\n }\\n ],\\n \\"totalItem\\": 101,\\n \\"totalPage\\": 1,\\n \\"pageSize\\": 10,\\n \\"currentPage\\": 1,\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeOperationLogMonitoring' => [
+ 'summary' => '查询操作日志监控统计信息。',
+ 'path' => '',
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'read',
+ 'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREsafXYIHRP'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '返回消息的语言类型。取值:'."\n"
+ ."\n"
+ .'- **zh**(默认):中文'."\n"
+ .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'name',
+ 'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '名称',
- 'type' => 'string',
- 'required' => true,
- 'example' => '注册样本',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'sampleId',
+ 'name' => 'startDate',
'in' => 'query',
- 'schema' => [
- 'description' => '任务id。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '5467',
- ],
+ 'schema' => ['description' => '起始日期(yyyy-MM-dd格式,和当前日期间隔不能超过90天)', 'type' => 'string', 'required' => false, 'example' => '2025-07-19'],
],
[
- 'name' => 'regId',
+ 'name' => 'endDate',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '结束日期(yyyy-MM-dd格式,和起始日期间隔不能超过90天)', 'type' => 'string', 'required' => false, 'example' => '2025-07-30'],
],
[
- 'name' => 'variablesStr',
- 'in' => 'query',
- 'schema' => [
- 'description' => '所需计算的变量,variables',
- 'type' => 'string',
- 'required' => true,
- 'example' => '[\\"1112\\",\\"1113\\"]',
- ],
- ],
- [
- 'name' => 'velocitiesStr',
+ 'name' => 'userNameSearch',
'in' => 'query',
- 'schema' => [
- 'description' => '指标效果',
- 'type' => 'string',
- 'required' => true,
- 'example' => '[\\"dxkkLw8fe18\\",\\"dxUxSCM26d7\\"]',
- ],
+ 'schema' => ['description' => '操作人。', 'type' => 'string', 'required' => false, 'example' => 'root'],
],
],
'responses' => [
200 => [
+ 'headers' => [],
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
'resultObject' => [
- 'description' => '返回对象',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
+ 'description' => '返回对象。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '返回对象。',
+ 'type' => 'object',
+ 'properties' => [
+ 'dateGrouped' => ['description' => '时间轴切片。', 'type' => 'string', 'example' => '2025-07-19'],
+ 'totalCount' => ['description' => '总数量。', 'type' => 'string', 'example' => '2'],
+ ],
+ ],
],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '创建推荐任务',
- ],
- 'DescribeSimulationTaskCount' => [
- 'summary' => '查询任务记录数。',
- 'methods' => [
- 'post',
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '查询操作日志监控统计信息',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"resultObject\\": [\\n {\\n \\"dateGrouped\\": \\"2025-07-19\\",\\n \\"totalCount\\": \\"2\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'DescribeOperationLogPageList' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'read',
'systemTags' => [
'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREsafT73ZWM'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'eventCode',
+ 'name' => 'pageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '事件编码',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'de_ayfofy4941',
- ],
+ 'schema' => ['description' => '每页大小,默认值为10', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
[
- 'name' => 'startTime',
+ 'name' => 'currentPage',
'in' => 'query',
- 'schema' => [
- 'description' => '任务开始时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1739496651000',
- ],
+ 'schema' => ['description' => '当前页数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
- 'name' => 'endTime',
+ 'name' => 'startDate',
'in' => 'query',
- 'schema' => [
- 'description' => '任务结束时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1740016411000',
- ],
+ 'schema' => ['description' => '开始时间。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1733364850919'."\n"],
],
[
- 'name' => 'dataSourceType',
+ 'name' => 'endDate',
'in' => 'query',
- 'schema' => [
- 'description' => '数据源类型',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'SLS',
- ],
+ 'schema' => ['description' => '结束时间。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1733364850919'],
],
[
- 'name' => 'dataSourceConfig',
+ 'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '数据源配置',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{}',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'regId',
+ 'name' => 'userNameSearch',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '操作人查询入参。', 'type' => 'string', 'required' => false, 'example' => 'root'],
],
[
- 'name' => 'filtersStr',
+ 'name' => 'operationSummary',
'in' => 'query',
- 'schema' => [
- 'description' => '过滤器',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{"left":"score","operate":"bw","right":"222,333"}',
- ],
+ 'schema' => ['description' => '变更内容查询入参。', 'type' => 'string', 'required' => false, 'example' => '修改变量'],
],
],
'responses' => [
@@ -19958,93 +14356,83 @@
'schema' => [
'type' => 'object',
'properties' => [
+ 'totalItem' => ['description' => '总条数', 'type' => 'integer', 'format' => 'int32', 'example' => '3'],
+ 'pageSize' => ['description' => '每页大小,默认值为10', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ 'currentPage' => ['description' => '当前页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'totalPage' => ['description' => '总页数', 'type' => 'integer', 'format' => 'int32', 'example' => '3'],
'resultObject' => [
'description' => '返回对象',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '返回对象',
+ 'type' => 'object',
+ 'properties' => [
+ 'operationType' => ['description' => '操作类型。', 'type' => 'string', 'example' => 'CREATE_EVENT'],
+ 'userName' => ['description' => '操作人', 'type' => 'string', 'example' => 'root'],
+ 'operationSummary' => ['description' => '操作内容简要', 'type' => 'string', 'example' => '更新事件:决策引擎可观测性持续建设_事件A(de_afghcf6411)'],
+ 'gmtCreate' => ['description' => '创建时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1621578648000'],
+ 'clientIp' => ['description' => '客户端IP。', 'type' => 'string', 'example' => '100.68.***.166'],
+ 'oldContent' => ['description' => '操作前内容', 'type' => 'string', 'example' => '@selfvariable_02 + 1001'],
+ 'newContent' => ['description' => '操作后内容', 'type' => 'string', 'example' => '@selfvariable_02'],
+ ],
+ ],
],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '查询任务记录数',
- ],
- 'DescribeRecommendTaskPageList' => [
- 'summary' => '变量推荐列表查询接口。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '查询操作日志',
+ 'summary' => '根据事件名称查询事件列表',
+ 'changeSet' => [
+ ['createdAt' => '2025-09-19T02:00:13.000Z', 'description' => '请求参数发生变更'],
+ ['createdAt' => '2023-12-06T08:20:42.000Z', 'description' => '响应参数发生变更、响应参数发生变更'],
+ ['createdAt' => '2022-05-11T07:19:06.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeOperationLogPageList'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"totalItem\\": 3,\\n \\"pageSize\\": 10,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"currentPage\\": 1,\\n \\"totalPage\\": 3,\\n \\"resultObject\\": [\\n {\\n \\"operationType\\": \\"CREATE_EVENT\\",\\n \\"userName\\": \\"root\\",\\n \\"operationSummary\\": \\"更新事件:决策引擎可观测性持续建设_事件A(de_afghcf6411)\\",\\n \\"gmtCreate\\": 1621578648000,\\n \\"clientIp\\": \\"100.68.***.166\\",\\n \\"oldContent\\": \\"@selfvariable_02 + 1001\\",\\n \\"newContent\\": \\"@selfvariable_02\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'DescribeOperatorList' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
- ],
- [
- 'name' => 'currentPage',
- 'in' => 'query',
- 'schema' => [
- 'description' => '当前页码',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1',
- ],
- ],
- [
- 'name' => 'pageSize',
- 'in' => 'query',
- 'schema' => [
- 'description' => '每页大小,默认值为10',
- 'type' => 'string',
- 'required' => false,
- 'example' => '10',
- ],
- ],
- [
- 'name' => 'taskName',
- 'in' => 'query',
- 'schema' => [
- 'description' => '任务名称',
- 'type' => 'string',
- 'required' => false,
- 'example' => '策略推荐任务',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
@@ -20052,167 +14440,107 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'totalItem' => [
- 'description' => '总条数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '3',
- ],
- 'pageSize' => [
- 'description' => '每页大小,默认值为10',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
- 'currentPage' => [
- 'description' => '当前页码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'totalPage' => [
- 'description' => '总页数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
'resultObject' => [
- 'description' => '返回对象',
+ 'description' => '返回对象。',
'type' => 'array',
'items' => [
- 'description' => '返回对象',
+ 'description' => '返回对象。',
'type' => 'object',
'properties' => [
- 'taskId' => [
- 'description' => '任务id。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '240c93ddffa74e38be3a00375eb3041d',
- ],
- 'normalSize' => [
- 'description' => '正常样本数量',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'sampleScene' => [
- 'description' => '样本场景',
- 'type' => 'string',
- 'example' => 'account_abuse_detection',
- ],
- 'riskCount' => [
- 'description' => '当前页显示的记录数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100',
- ],
- 'sampleName' => [
- 'description' => '样本名称',
- 'type' => 'string',
- 'example' => '白样本',
- ],
- 'taskName' => [
- 'description' => '任务名称。',
- 'type' => 'string',
- 'example' => '策略推荐任务'."\n",
- ],
- 'taskStatus' => [
- 'description' => '任务状态。',
- 'type' => 'string',
- 'example' => 'CREATE',
- ],
- 'riskSize' => [
- 'description' => '风险样本数量',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '5',
- ],
- 'normalCount' => [
- 'description' => '样本数量',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100',
- ],
- 'gmtCreate' => [
- 'description' => '创建时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1621578648000',
- ],
- 'expectVelocities' => [
- 'description' => '影响指标',
+ 'fieldType' => ['description' => '返回值类型。', 'type' => 'string', 'example' => 'STRING'],
+ 'operators' => [
+ 'description' => '操作符列表。',
'type' => 'array',
'items' => [
- 'description' => '影响指标',
- 'type' => 'string',
- 'example' => '[\\"dxUxSCM26d7\\",\\"dxkkLw8fe18\\"]',
+ 'description' => '操作符列表。',
+ 'type' => 'object',
+ 'properties' => [
+ 'hasRightVariable' => ['description' => '是否含有右变量。', 'type' => 'boolean', 'example' => 'true'],
+ 'code' => ['description' => '操作符code。', 'type' => 'string', 'example' => 'equals'],
+ 'memo' => ['description' => '描述。', 'type' => 'string', 'example' => '等于'],
+ 'name' => ['description' => '操作符名称。', 'type' => 'string', 'example' => '等于'],
+ 'rightVariables' => [
+ 'description' => '右变量对象。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '右变量对象。',
+ 'type' => 'object',
+ 'properties' => [
+ 'fieldName' => ['description' => '字段名称。', 'type' => 'string', 'example' => '年龄'],
+ 'fieldValue' => ['description' => '字段值。', 'type' => 'string', 'example' => '20'],
+ 'fieldType' => ['description' => '字段的类型。', 'type' => 'string', 'example' => 'INT'],
+ ],
+ ],
+ ],
+ ],
],
],
],
],
],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"totalItem\\": 3,\\n \\"pageSize\\": 10,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"currentPage\\": 1,\\n \\"totalPage\\": 1,\\n \\"resultObject\\": [\\n {\\n \\"taskId\\": 0,\\n \\"normalSize\\": 10,\\n \\"sampleScene\\": \\"account_abuse_detection\\",\\n \\"riskCount\\": 100,\\n \\"sampleName\\": \\"白样本\\",\\n \\"taskName\\": \\"策略推荐任务\\\\n\\",\\n \\"taskStatus\\": \\"CREATE\\",\\n \\"riskSize\\": 5,\\n \\"normalCount\\": 100,\\n \\"gmtCreate\\": 1621578648000,\\n \\"expectVelocities\\": [\\n \\"[\\\\\\\\\\\\\\"dxUxSCM26d7\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"dxkkLw8fe18\\\\\\\\\\\\\\"]\\"\\n ]\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '变量推荐列表查询接口',
- ],
- 'DescribeEventLogDetail' => [
- 'summary' => '查询事件历史详情',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '查询操作符映射列表',
+ 'summary' => '根据客户ID查询操作符映射列表。',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:28:18.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeOperatorList'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"resultObject\\": [\\n {\\n \\"fieldType\\": \\"STRING\\",\\n \\"operators\\": [\\n {\\n \\"hasRightVariable\\": true,\\n \\"code\\": \\"equals\\",\\n \\"memo\\": \\"等于\\",\\n \\"name\\": \\"等于\\",\\n \\"rightVariables\\": [\\n {\\n \\"fieldName\\": \\"年龄\\",\\n \\"fieldValue\\": \\"20\\",\\n \\"fieldType\\": \\"INT\\"\\n }\\n ]\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'DescribeOperatorListByScene' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'reqIdByLog',
+ 'name' => 'scene',
'in' => 'query',
'schema' => [
- 'description' => '日志详细信息。',
+ 'description' => '场景类型。',
'type' => 'string',
- 'required' => true,
- 'example' => 'BD6B08EC-1B44-5378-8838-C76A36415C55',
+ 'required' => false,
+ 'enumValueTitles' => ['VELOCITY' => '累计变量', 'RULE' => '策略', 'EXPRESSION' => '自定义变量'],
+ 'example' => 'VELOCITY',
],
],
],
@@ -20223,182 +14551,178 @@
'properties' => [
'resultObject' => [
'description' => '返回对象',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '返回对象',
+ 'type' => 'object',
+ 'properties' => [
+ 'fieldType' => ['description' => '返回值类型', 'type' => 'string', 'example' => 'STRING'],
+ 'operators' => [
+ 'description' => '操作符列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '操作符列表',
+ 'type' => 'object',
+ 'properties' => [
+ 'name' => ['description' => '操作符名称', 'type' => 'string', 'example' => '等于'],
+ 'memo' => ['description' => '描述', 'type' => 'string', 'example' => '等于'],
+ 'code' => ['description' => '操作符code', 'type' => 'string', 'example' => 'equals'],
+ 'hasRightVariable' => ['description' => '是否含有右变量', 'type' => 'boolean', 'example' => 'true'],
+ 'rightVariables' => [
+ 'description' => '右变量对象',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '右变量',
+ 'type' => 'object',
+ 'properties' => [
+ 'fieldValue' => ['description' => '字段值。', 'type' => 'string', 'example' => '20'],
+ 'fieldType' => ['description' => '字段类型。', 'type' => 'string', 'example' => 'INT'],
+ 'fieldName' => ['description' => '字段名称。', 'type' => 'string', 'example' => '年龄'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
],
+ 'requestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '查询事件历史详情',
- ],
- 'DescribeMenuPermission' => [
- 'summary' => '查询是否有权限',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => 'Query Operator Mapping List by Scene',
+ 'summary' => 'Query Operator Mapping List',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:23:08.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeOperatorListByScene'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": [\\n {\\n \\"fieldType\\": \\"STRING\\",\\n \\"operators\\": [\\n {\\n \\"name\\": \\"等于\\",\\n \\"memo\\": \\"等于\\",\\n \\"code\\": \\"equals\\",\\n \\"hasRightVariable\\": true,\\n \\"rightVariables\\": [\\n {\\n \\"fieldValue\\": \\"20\\",\\n \\"fieldType\\": \\"INT\\",\\n \\"fieldName\\": \\"年龄\\"\\n }\\n ]\\n }\\n ]\\n }\\n ],\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeOperatorListByType' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
- ],
- [
- 'name' => 'permissionType',
- 'in' => 'query',
- 'schema' => [
- 'description' => '权限类型',
- 'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [
- 'MENU' => '菜单',
- 'FUNCTION' => '功能',
- ],
- 'example' => 'MENU',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
200 => [
- 'headers' => [],
'schema' => [
'type' => 'object',
'properties' => [
'resultObject' => [
- 'description' => '返回对象',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
+ 'description' => '返回对象。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '返回对象。',
+ 'type' => 'object',
+ 'properties' => [
+ 'fieldType' => ['description' => '返回值类型。', 'type' => 'string', 'example' => 'STRING'],
+ 'operators' => [
+ 'description' => '操作符列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '操作符列表。',
+ 'type' => 'object',
+ 'properties' => [
+ 'name' => ['description' => '操作符名称。', 'type' => 'string', 'example' => '等于'],
+ 'code' => ['description' => '操作符code。', 'type' => 'string', 'example' => 'equals'],
+ 'hasRightVariable' => ['description' => '是否含有右变量。', 'type' => 'boolean', 'example' => 'true'],
+ ],
+ ],
+ ],
+ ],
+ ],
],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '查询是否有权限',
- ],
- 'ModifyEventStatus' => [
- 'summary' => '修改事件状态',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '根据场景查询查询操作符映射列表',
+ 'summary' => '查询操作符映射列表。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeOperatorListByType'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": [\\n {\\n \\"fieldType\\": \\"STRING\\",\\n \\"operators\\": [\\n {\\n \\"name\\": \\"等于\\",\\n \\"code\\": \\"equals\\",\\n \\"hasRightVariable\\": true\\n }\\n ]\\n }\\n ],\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeOssAuthStatus' => [
+ 'summary' => '查看是否授权Oss。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
- ],
- [
- 'name' => 'fromEventSatus',
- 'in' => 'query',
- 'schema' => [
- 'description' => '起始事件状态,避免重复提交或历史回放',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ONLINE',
- ],
- ],
- [
- 'name' => 'toEventSatus',
- 'in' => 'query',
- 'schema' => [
- 'description' => '更新为事件状态',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'OFFLINE',
- ],
- ],
- [
- 'name' => 'eventCode',
- 'in' => 'query',
- 'schema' => [
- 'description' => '事件编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'de_aamexg3015',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
- ],
- [
- 'name' => 'createType',
- 'in' => 'query',
- 'schema' => [
- 'description' => '创建类型',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'NORMAL',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
@@ -20406,433 +14730,297 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'resultObject' => [
- 'description' => '返回对象',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'requestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2',
- ],
+ 'resultObject' => ['description' => '返回对象', 'type' => 'string', 'example' => 'true'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\"\\n}","type":"json"}]',
- 'title' => '修改事件状态',
- ],
- 'OpenConsoleSls' => [
- 'summary' => '开通服务',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '查看是否授权Oss',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:11:26.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeOssAuthStatus'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": \\"true\\",\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeOssPolicy' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- 'abilityTreeCode' => '134645',
- 'abilityTreeNodes' => [
- 'FEATUREsafT73ZWM',
- ],
- ],
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'],
],
[
'name' => 'scene',
'in' => 'query',
'schema' => [
- 'description' => '场景',
+ 'description' => '场景。',
'type' => 'string',
- 'required' => false,
- 'example' => 'SAF_DE_SERVICE',
+ 'required' => true,
+ 'enumValueTitles' => ['NAME_LIST' => '名单', 'IMPORT_VARIABLE' => '变量'],
+ 'example' => 'NAME_LIST',
],
],
],
'responses' => [
200 => [
+ 'headers' => [],
'schema' => [
'type' => 'object',
'properties' => [
- 'resultObject' => [
- 'description' => '返回对象',
- 'type' => 'string',
- 'example' => 'true',
- ],
- 'requestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2',
- ],
+ 'requestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2'],
+ 'Host' => ['description' => 'oss的主机ID。', 'type' => 'string', 'example' => 'testvm.biubiubiuu.com'],
+ 'Key' => ['description' => '文件上传所需的Key。', 'type' => 'string', 'example' => 'saf/a/uid/ccc'],
+ 'Signature' => ['description' => '签名数据。', 'type' => 'string', 'example' => 'tzl1wL4q8rR/xxxxxx'],
+ 'Policy' => ['description' => 'OSS安全策略。', 'type' => 'string', 'example' => 'eyJleHBpxxxxxx'],
+ 'AccessId' => ['description' => 'accessId,OSS SDK上传时参数,对应OSSAccessKeyId。', 'type' => 'string', 'example' => 'LTAxxxxxxxxxx'],
],
+ 'description' => '',
],
],
],
- 'errorCodes' => [
- 400 => [
- [
- 'errorCode' => '1403',
- 'errorMessage' => 'user no data power',
- ],
+ 'title' => '查询oss上传凭证',
+ 'summary' => '获取OSS Policy。',
+ 'changeSet' => [
+ ['createdAt' => '2023-01-05T03:46:33.000Z', 'description' => '响应参数发生变更'],
+ ['createdAt' => '2021-11-23T12:31:22.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeOssPolicy'],
],
- 500 => [
- [
- 'errorCode' => '1101',
- 'errorMessage' => 'system error',
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": \\"true\\",\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\"\\n}","type":"json"}]',
- 'title' => '开通服务',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\",\\n \\"Host\\": \\"testvm.biubiubiuu.com\\",\\n \\"Key\\": \\"saf/a/uid/ccc\\",\\n \\"Signature\\": \\"tzl1wL4q8rR/xxxxxx\\",\\n \\"Policy\\": \\"eyJleHBpxxxxxx\\",\\n \\"AccessId\\": \\"LTAxxxxxxxxxx\\"\\n}","type":"json"}]',
],
- 'DescribeLoanTaskList' => [
- 'summary' => '获取贷中监控任务列表。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DescribeOssToken' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
- ],
- [
- 'name' => 'currentPage',
- 'in' => 'query',
- 'schema' => [
- 'description' => '当前页数。默认为:1。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1',
- ],
- ],
- [
- 'name' => 'pageSize',
- 'in' => 'query',
- 'schema' => [
- 'description' => '每页大小,默认值为10',
- 'type' => 'string',
- 'required' => false,
- 'example' => '20',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'monitorStatus',
+ 'name' => 'uploadType',
'in' => 'query',
- 'schema' => [
- 'description' => '任务状态。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'WAIT',
- ],
+ 'schema' => ['description' => '上传类型', 'type' => 'string', 'required' => false, 'example' => 'COMMUNITY_SAMPLE'],
],
[
- 'name' => 'batchNo',
+ 'name' => 'fileName',
'in' => 'query',
- 'schema' => [
- 'description' => '导入批次号。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '文件名。', 'type' => 'string', 'required' => false, 'example' => 'test.csv'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
200 => [
- 'headers' => [],
'schema' => [
'type' => 'object',
'properties' => [
- 'totalItem' => [
- 'description' => '总条数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '6',
- ],
- 'resultObject' => [
- 'description' => '返回对象',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
- 'totalPage' => [
- 'description' => '总页数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'pageSize' => [
- 'description' => '每页大小,默认值为10',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'currentPage' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'Key' => ['description' => '文件上传所需的Key。', 'type' => 'string', 'example' => 'saf/de/namelist/e924/ufzgsedX9bd3a7'],
+ 'Signature' => ['description' => 'OSS签名。', 'type' => 'string', 'example' => 'n29by5MWBmAjcweVoPEY/OHktog='],
+ 'Host' => ['description' => '主机地址。', 'type' => 'string', 'example' => 'kf.sunwoosoft.com'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ 'Policy' => ['description' => 'ossbucket的权限策略。', 'type' => 'string', 'example' => 'eyJleHBpcmF0aW9uIjoiMjAyNS0wNy0zMFQwNjowNTo0OS45NTRaIiwiY29uZGl0aW9ucyI6W1siY29udGVudC1sZW5ndGgtcmFuZ2UiLDAsMTA0ODU3NjAwMF0sWyJlcSIsIiRrZXkiLCJzYWZcL2RlXC9uYW1lbGlzdFwvZTkyNFwvdWZ6Z3NlZFg5Ymxxxxxxxxxxx'],
+ 'AccessId' => ['description' => 'OSS上传文件的AccessKeyId', 'type' => 'string', 'example' => 'LTAxxxxxxxxxx'],
+ 'StsToken' => ['description' => '临时身份凭证。', 'type' => 'string', 'example' => 'tT44bMQxxxxxxxxxxxxxxx'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"totalItem\\": 6,\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"totalPage\\": 1,\\n \\"pageSize\\": 10,\\n \\"currentPage\\": 1\\n}","type":"json"}]',
- 'title' => '获取贷中监控任务列表',
- ],
- 'DescribeSelectItem' => [
- 'summary' => '查询任务ID列表。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '获取文件上传凭证',
+ 'summary' => '获取文件上传凭证。',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:11:26.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeOssToken'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Key\\": \\"saf/de/namelist/e924/ufzgsedX9bd3a7\\",\\n \\"Signature\\": \\"n29by5MWBmAjcweVoPEY/OHktog=\\",\\n \\"Host\\": \\"kf.sunwoosoft.com\\",\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"Policy\\": \\"eyJleHBpcmF0aW9uIjoiMjAyNS0wNy0zMFQwNjowNTo0OS45NTRaIiwiY29uZGl0aW9ucyI6W1siY29udGVudC1sZW5ndGgtcmFuZ2UiLDAsMTA0ODU3NjAwMF0sWyJlcSIsIiRrZXkiLCJzYWZcL2RlXC9uYW1lbGlzdFwvZTkyNFwvdWZ6Z3NlZFg5Ymxxxxxxxxxxx\\",\\n \\"AccessId\\": \\"LTAxxxxxxxxxx\\",\\n \\"StsToken\\": \\"tT44bMQxxxxxxxxxxxxxxx\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeParamByEventCodes' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'operationType' => 'read',
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
+ ],
+ [
+ 'name' => 'eventCodes',
+ 'in' => 'query',
+ 'schema' => ['description' => '事件code。', 'type' => 'string', 'required' => true, 'example' => 'account_abuse_pro,account_abuse'],
+ ],
+ [
+ 'name' => 'parma',
+ 'in' => 'query',
+ 'schema' => ['description' => '查询条件。', 'type' => 'string', 'required' => false, 'example' => '标题/描述'],
],
],
'responses' => [
200 => [
+ 'headers' => [],
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
'resultObject' => [
- 'description' => '返回对象',
- 'type' => 'object',
- 'properties' => [
- 'taskIdList' => [
- 'description' => '任务id列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '任务id列表。',
- 'type' => 'string',
- 'example' => '2231',
- ],
- ],
- 'monitorStatusList' => [
- 'description' => '监控状态列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '监控状态列表。',
- 'type' => 'string',
- 'example' => 'DOING',
- ],
+ 'description' => '返回对象。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '返回对象。',
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => ['description' => '返回码。', 'type' => 'string', 'example' => 'age'],
+ 'name' => ['description' => '名称。', 'type' => 'string', 'example' => '年龄'],
],
],
],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"resultObject\\": {\\n \\"taskIdList\\": [\\n \\"2231\\"\\n ],\\n \\"monitorStatusList\\": [\\n \\"DOING\\"\\n ]\\n }\\n}","type":"json"}]',
- 'title' => '查询任务ID列表',
- ],
- 'DescribeSlsUrlConfig' => [
- 'summary' => '获取project配置。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'title' => '查询事件属性列表',
+ 'summary' => '查询事件属性列表。',
+ 'changeSet' => [
+ ['createdAt' => '2023-01-09T06:11:43.000Z', 'description' => '响应参数发生变更'],
+ ['createdAt' => '2022-05-11T07:27:47.000Z', 'description' => 'OpenAPI 下线'],
],
- 'security' => [
- [
- 'AK' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeParamByEventCodes'],
],
],
- 'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
- 'parameters' => [
+ 'ramActions' => [
[
- 'name' => 'Lang',
- 'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
- ],
- [
- 'name' => 'regId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
- ],
- ],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'resultObject' => [
- 'description' => '返回对象',
- 'type' => 'string',
- 'example' => 'true',
- ],
- 'requestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2',
- ],
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": \\"true\\",\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\"\\n}","type":"json"}]',
- 'title' => '获取project配置',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"resultObject\\": [\\n {\\n \\"code\\": \\"age\\",\\n \\"name\\": \\"年龄\\"\\n }\\n ]\\n}","type":"json"}]',
],
- 'DescribeMonitorTaskLimit' => [
- 'summary' => '查询任务的限制。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DescribePocOssToken' => [
+ 'summary' => '获取文件上传凭证。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
@@ -20840,108 +15028,79 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
- 'resultObject' => [
- 'description' => '返回对象',
- 'type' => 'object',
- 'properties' => [
- 'totalItem' => [
- 'description' => '总条数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '5',
- ],
- 'maxTotalItem' => [
- 'description' => '最大个数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1000',
- ],
- 'limit' => [
- 'description' => '是否达到最大值',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- ],
- ],
+ 'Key' => ['description' => '文件上传所需的Key。', 'type' => 'string', 'example' => 'saf/de/namelist/e924/ufzgsedX9bd3a7'],
+ 'resultObject' => ['description' => '返回结果。', 'type' => 'boolean', 'example' => 'true'],
+ 'Signature' => ['description' => '上传的签名信息。', 'type' => 'string', 'example' => '0lxQEWM0BqHd476JJE0fNXdS3UA='],
+ 'Host' => ['description' => '主机地址。', 'type' => 'string', 'example' => '192.168.34.191'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ 'Policy' => ['description' => 'OSS安全策略。', 'type' => 'string', 'example' => 'eyJleHBpxxxcmF0aW9xxxIjoiMjAyNS0wNy0zMFQxxxxxwNjowNTo0OSxxxxx45NTRaIiwiY29uxxxZGl0a5Ymxxxxxxxxxxxxx'],
+ 'AccessId' => ['description' => 'OSS上传文件的AccessKeyId', 'type' => 'string', 'example' => 'LTAxxxxxxxxx'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"resultObject\\": {\\n \\"totalItem\\": 5,\\n \\"maxTotalItem\\": 1000,\\n \\"limit\\": false\\n }\\n}","type":"json"}]',
- 'title' => '查询任务的限制',
- ],
- 'DescribeSDKDownloadList' => [
- 'summary' => 'sdk下载列表。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '获取文件上传凭证',
+ 'changeSet' => [
+ ['createdAt' => '2024-01-22T10:44:33.000Z', 'description' => '响应参数发生变更'],
+ ['createdAt' => '2022-05-11T07:23:06.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePocOssToken'],
+ ],
],
- 'security' => [
+ 'ramActions' => [
[
- 'AK' => [],
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
],
- 'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- 'abilityTreeCode' => '135929',
- 'abilityTreeNodes' => [
- 'FEATUREsaf64YRTV',
- 'FEATUREsaf6E3SDJ',
- 'FEATUREsafL5D4RG',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Key\\": \\"saf/de/namelist/e924/ufzgsedX9bd3a7\\",\\n \\"resultObject\\": true,\\n \\"Signature\\": \\"0lxQEWM0BqHd476JJE0fNXdS3UA=\\",\\n \\"Host\\": \\"192.168.34.191\\",\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"Policy\\": \\"eyJleHBpxxxcmF0aW9xxxIjoiMjAyNS0wNy0zMFQxxxxxwNjowNTo0OSxxxxx45NTRaIiwiY29uxxxZGl0a5Ymxxxxxxxxxxxxx\\",\\n \\"AccessId\\": \\"LTAxxxxxxxxx\\"\\n}","type":"json"}]',
+ ],
+ 'DescribePocTaskList' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
],
],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'deviceType',
+ 'name' => 'currentPage',
'in' => 'query',
- 'schema' => [
- 'description' => '设备类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ANDROID',
- ],
+ 'schema' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
- 'name' => 'listType',
+ 'name' => 'pageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '下载类型',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'OLD',
- ],
+ 'schema' => ['description' => '每页大小,默认值为10。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
+ ],
+ [
+ 'name' => 'type',
+ 'in' => 'query',
+ 'schema' => ['description' => '查询类型。', 'type' => 'string', 'required' => false, 'example' => 'SAF_CONSOLE'],
],
],
'responses' => [
@@ -20949,88 +15108,63 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
+ 'totalItem' => ['description' => '总条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '6'],
+ 'pageSize' => ['description' => '每页大小,默认值为10。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ 'currentPage' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'totalPage' => ['description' => '总页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'resultObject' => [
- 'description' => '返回对象',
+ 'description' => '返回对象。',
'type' => 'array',
'items' => [
- 'description' => '返回对象',
+ 'description' => '返回对象。',
'type' => 'object',
'properties' => [
- 'description' => [
- 'description' => '描述信息。',
- 'type' => 'string',
- 'example' => '描述',
- ],
- 'deviceType' => [
- 'description' => '设备类型。',
- 'type' => 'string',
- 'example' => 'ANDROID',
- ],
- 'pushTime' => [
- 'description' => '发版时间',
- 'type' => 'string',
- 'example' => '1751212800000',
- ],
- 'downloadUrl' => [
- 'description' => '下载地址。',
- 'type' => 'string',
- 'example' => 'https://aliyun-xxxx.oss-cn-xxx.xxx.com/sdk/xxx/10056.1/Android-AliyunDeviceEnhance-10056.1-20250611.tgz',
- ],
- 'sdkVersion' => [
- 'description' => 'sdk版本。',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'developer' => [
- 'description' => '开发者',
- 'type' => 'string',
- 'example' => '阿里云安全-风险识别',
- ],
- 'packageName' => [
- 'description' => 'package名称',
- 'type' => 'string',
- 'example' => 'net.security.device',
- ],
- 'size' => [
- 'description' => '大小',
- 'type' => 'string',
- 'example' => '4.12 MB',
- ],
- 'md5' => [
- 'description' => '文件md5。',
- 'type' => 'string',
- 'example' => 'E582EEB6B4BC9B5CB168AA5A7DD0EE93',
- ],
- 'privacyLink' => [
- 'description' => '风险识别SDK隐私权政策链接',
- 'type' => 'string',
- 'example' => 'https://terms.aliyun.com/legal-agreement/terms/suit_bu1_ali_cloud/suit_bu1_ali_cloud202111120818_92724.html',
- ],
+ 'fileType' => ['description' => '文件类型。', 'type' => 'string', 'example' => 'EXCEL'],
+ 'taskId' => ['description' => '任务ID。', 'type' => 'string', 'example' => '7'],
+ 'updateTime' => ['description' => '最后修改时间。', 'type' => 'string', 'example' => '1753804800000'],
+ 'downloadUrl' => ['description' => '下载地址。', 'type' => 'string', 'example' => 'https://xxxxx-oss-xxxxx.xxxxxx.aliyuncs.com/xx/xx/xxx/xxxxxx.csv?Expires=1753433384&OSSAccessKeyId=xxxxxxxxx&Signature=%2F%xxxxxxxxxxxx%3D'],
+ 'taskName' => ['description' => '任务名称。', 'type' => 'string', 'example' => '任务'],
+ 'serviceName' => ['description' => '服务名称。', 'type' => 'string', 'example' => '注册风险识别'],
+ 'createTime' => ['description' => '创建时间。', 'type' => 'string', 'example' => '1753804800000'],
+ 'status' => ['description' => '状态。', 'type' => 'string', 'example' => 'WAIT_CHECK'],
],
],
],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"resultObject\\": [\\n {\\n \\"description\\": \\"描述\\",\\n \\"deviceType\\": \\"ANDROID\\",\\n \\"pushTime\\": \\"1751212800000\\",\\n \\"downloadUrl\\": \\"https://aliyun-xxxx.oss-cn-xxx.xxx.com/sdk/xxx/10056.1/Android-AliyunDeviceEnhance-10056.1-20250611.tgz\\",\\n \\"sdkVersion\\": \\"1\\",\\n \\"developer\\": \\"阿里云安全-风险识别\\",\\n \\"packageName\\": \\"net.security.device\\",\\n \\"size\\": \\"4.12 MB\\",\\n \\"md5\\": \\"E582EEB6B4BC9B5CB168AA5A7DD0EE93\\",\\n \\"privacyLink\\": \\"https://terms.aliyun.com/legal-agreement/terms/suit_bu1_ali_cloud/suit_bu1_ali_cloud202111120818_92724.html\\"\\n }\\n ]\\n}","type":"json"}]',
- 'title' => 'sdk下载列表',
- ],
- 'CheckFieldLimit' => [
- 'summary' => '校验字段数目是否操过限定值。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '获取poc任务列表',
+ 'summary' => '获取poc任务列表。',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:23:07.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePocTaskList'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"totalItem\\": 6,\\n \\"pageSize\\": 10,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"currentPage\\": 1,\\n \\"totalPage\\": 1,\\n \\"resultObject\\": [\\n {\\n \\"fileType\\": \\"EXCEL\\",\\n \\"taskId\\": \\"7\\",\\n \\"updateTime\\": \\"1753804800000\\",\\n \\"downloadUrl\\": \\"https://xxxxx-oss-xxxxx.xxxxxx.aliyuncs.com/xx/xx/xxx/xxxxxx.csv?Expires=1753433384&OSSAccessKeyId=xxxxxxxxx&Signature=%2F%xxxxxxxxxxxx%3D\\",\\n \\"taskName\\": \\"任务\\",\\n \\"serviceName\\": \\"注册风险识别\\",\\n \\"createTime\\": \\"1753804800000\\",\\n \\"status\\": \\"WAIT_CHECK\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'DescribePrivateStack' => [
+ 'summary' => '判断是否开通Stack私域模式。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -21038,45 +15172,12 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
- 'name' => 'Lang',
- 'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
- ],
- [
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
- ],
- [
- 'name' => 'source',
- 'in' => 'query',
- 'schema' => [
- 'description' => '字段来源。',
- 'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [
- 'DEFINE' => '自定义字段',
- 'DEFAULT' => '系统默认字段',
- ],
- 'example' => 'DEFINE',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
@@ -21084,405 +15185,266 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'resultObject' => [
- 'description' => '返回对象。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'requestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ 'resultObject' => ['description' => '返回对象。', 'type' => 'boolean', 'example' => 'true'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\"\\n}","type":"json"}]',
- 'title' => '校验字段数目是否操过限定值',
- ],
- 'DescribeLoanExecList' => [
- 'summary' => '获取监控对象列表。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '判断该用户是否开通privateStack模式',
+ 'changeSet' => [
+ ['createdAt' => '2022-09-16T06:57:43.000Z', 'description' => '响应参数发生变更'],
+ ['createdAt' => '2022-09-16T06:57:43.000Z', 'description' => '响应参数发生变更'],
+ ['createdAt' => '2022-09-13T06:22:09.000Z', 'description' => 'OpenAPI 下线'],
+ ['createdAt' => '2022-09-13T06:22:09.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePrivateStack'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"resultObject\\": true\\n}","type":"json"}]',
+ ],
+ 'DescribeQueryVariableDetail' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
- ],
- [
- 'name' => 'currentPage',
- 'in' => 'query',
- 'schema' => [
- 'description' => '当前页码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1',
- ],
- ],
- [
- 'name' => 'pageSize',
- 'in' => 'query',
- 'schema' => [
- 'description' => '每页大小,默认值为10',
- 'type' => 'string',
- 'required' => false,
- 'example' => '10',
- ],
- ],
- [
- 'name' => 'batchNo',
- 'in' => 'query',
- 'schema' => [
- 'description' => '导入批次号。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'monitorObj',
+ 'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '监控指标数据。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'de_afghcf6411',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'monitorStatus',
- 'in' => 'query',
- 'schema' => [
- 'description' => '状态',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'WAIT',
- ],
- ],
- [
- 'name' => 'regId',
+ 'name' => 'id',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '变量ID。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '355'],
],
],
'responses' => [
200 => [
+ 'headers' => [],
'schema' => [
'type' => 'object',
'properties' => [
- 'totalItem' => [
- 'description' => '总条数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '6',
- ],
'resultObject' => [
- 'description' => '返回对象',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
- 'totalPage' => [
- 'description' => '总页数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'pageSize' => [
- 'description' => '每页大小,默认值为10',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'currentPage' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
+ 'description' => '返回对象。',
+ 'type' => 'object',
+ 'properties' => [
+ 'id' => ['description' => '变量ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '355'],
+ 'dataSourceCode' => ['description' => '数据源编码。', 'type' => 'integer', 'format' => 'int64', 'example' => 'ds_vcaoii1697'],
+ 'dataSourceName' => ['description' => '数据源名称。', 'type' => 'string', 'example' => '名称数据源'],
+ 'eventCode' => ['description' => '事件编码。', 'type' => 'string', 'example' => 'de_aszbjb7236'],
+ 'title' => ['description' => '标题。', 'type' => 'string', 'example' => '自定义查询变量标题'],
+ 'description' => ['description' => '描述。', 'type' => 'string', 'example' => '变量描述'],
+ 'outputs' => ['description' => '输出结果。', 'type' => 'string', 'example' => 'DOUBLE'],
+ 'outlier' => ['description' => '异常值。', 'type' => 'string', 'example' => '-1'],
+ 'expressionTitle' => ['description' => '表达式名称。', 'type' => 'string', 'example' => 'SELECT AVG( $source )\\nFROM testCase\\nWHERE $age > 0'],
+ 'expression' => ['description' => '表达式。', 'type' => 'string', 'example' => 'SELECT AVG( $source )\\nFROM ds_vcaoii1697 \\nWHERE $age > 0'],
+ 'expressionVariable' => ['description' => '表达式变量。', 'type' => 'string', 'example' => '[96426]'],
+ ],
],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"totalItem\\": 6,\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"totalPage\\": 1,\\n \\"pageSize\\": 10,\\n \\"currentPage\\": 1\\n}","type":"json"}]',
- 'title' => '获取监控对象列表',
- ],
- 'DescribeSafTagList' => [
- 'summary' => '获取风险标签列表',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '自定义查询变量详情查询',
+ 'summary' => '查询变量详情查询。',
+ 'changeSet' => [
+ ['createdAt' => '2023-01-05T03:46:33.000Z', 'description' => '响应参数发生变更'],
+ ['createdAt' => '2021-11-23T12:31:20.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeQueryVariableDetail'],
+ ],
],
- 'security' => [
+ 'ramActions' => [
[
- 'AK' => [],
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
],
- 'systemTags' => [
- 'operationType' => 'get',
- 'abilityTreeCode' => '135922',
- 'abilityTreeNodes' => [
- 'FEATUREsafWH3N80',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": {\\n \\"id\\": 355,\\n \\"dataSourceCode\\": 0,\\n \\"dataSourceName\\": \\"名称数据源\\",\\n \\"eventCode\\": \\"de_aszbjb7236\\",\\n \\"title\\": \\"自定义查询变量标题\\",\\n \\"description\\": \\"变量描述\\",\\n \\"outputs\\": \\"DOUBLE\\",\\n \\"outlier\\": \\"-1\\",\\n \\"expressionTitle\\": \\"SELECT AVG( $source )\\\\\\\\nFROM testCase\\\\\\\\nWHERE $age > 0\\",\\n \\"expression\\": \\"SELECT AVG( $source )\\\\\\\\nFROM ds_vcaoii1697 \\\\\\\\nWHERE $age > 0\\",\\n \\"expressionVariable\\": \\"[96426]\\"\\n },\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeQueryVariablePageList' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
],
],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'list'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'currentPage',
+ 'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '当前页码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'pageSize',
+ 'name' => 'dataSourceCode',
'in' => 'query',
- 'schema' => [
- 'description' => '每页大小,默认值为10',
- 'type' => 'string',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '数据源code。', 'type' => 'string', 'required' => false, 'example' => 'ds_vcaoii1697'],
],
[
- 'name' => 'apiId',
+ 'name' => 'name',
'in' => 'query',
- 'schema' => [
- 'description' => 'api服务id',
- 'type' => 'string',
- 'required' => false,
- 'example' => '34',
- ],
+ 'schema' => ['description' => '查询变量名称。', 'type' => 'string', 'required' => false, 'example' => '名称'],
],
[
- 'name' => 'regId',
+ 'name' => 'eventCode',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '事件编码。', 'type' => 'string', 'required' => false, 'example' => 'de_ahpayh4121'],
],
[
- 'name' => 'TagName',
+ 'name' => 'currentPage',
'in' => 'query',
- 'schema' => [
- 'description' => '标签名称。模糊查询',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rn0301',
- ],
+ 'schema' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'],
+ ],
+ [
+ 'name' => 'pageSize',
+ 'in' => 'query',
+ 'schema' => ['description' => '每页大小,默认值为10。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10'],
],
],
'responses' => [
200 => [
+ 'headers' => [],
'schema' => [
'type' => 'object',
'properties' => [
- 'totalItem' => [
- 'description' => '总条数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '6',
- ],
- 'pageSize' => [
- 'description' => '每页大小,默认值为10',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
- 'currentPage' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'totalPage' => [
- 'description' => '总页数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
'resultObject' => [
- 'description' => '返回对象',
+ 'description' => '返回对象。',
'type' => 'array',
'items' => [
- 'description' => '返回对象',
+ 'description' => '返回对象。',
'type' => 'object',
'properties' => [
- 'tagState' => [
- 'description' => '标签标识',
- 'type' => 'string',
- 'example' => 'rn0301',
- ],
- 'updateTime' => [
- 'description' => '更新时间。',
- 'type' => 'string',
- 'example' => '1684744034000',
- ],
- 'tagType' => [
- 'description' => '标签类型',
- 'type' => 'string',
- 'example' => 'IP风险类',
- ],
- 'tagDesc' => [
- 'description' => '标签描述。',
- 'type' => 'string',
- 'example' => '依赖IP画像模型识别输出风险高、中高、中的判定\\n数据来源主要基于IP的网络属性数据和对黑产行为轨迹的情报监控数据,涵盖可识别检测IP网络属性特征、恶意属性等特征\\n而模型评分的高中低主要是根据当前IP号段命中风险行为的恶意程度和种类来判定的\\n备注:以下rn0311、rn0312、rn0313、rn0314、rn0315属于IP画像模型针对当前请求IP识别出的风险类别',
- ],
- 'tagMean' => [
- 'description' => '标签含义',
- 'type' => 'string',
- 'example' => 'IP风险评分高',
- ],
- 'tagUid' => [
- 'description' => '标签键的唯一标识。',
- 'type' => 'string',
- 'example' => 'rn0301',
- ],
- 'tagName' => [
- 'description' => '标签名称',
- 'type' => 'string',
- 'example' => 'rn0301',
- ],
+ 'id' => ['description' => '查询变量主键ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '497'],
+ 'version' => ['description' => '版本号。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'name' => ['description' => '查询变量名称。', 'type' => 'string', 'example' => '查询变量名称'],
+ 'description' => ['description' => '描述信息。', 'type' => 'string', 'example' => '变量描述'],
+ 'gmtCreate' => ['description' => '创建时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1621578648000'],
+ 'gmtModified' => ['description' => '修改时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1565701886000'],
+ 'fieldType' => ['description' => '返回值类型。', 'type' => 'string', 'example' => 'STRING'],
+ 'dataSourceName' => ['description' => '数据源名称。', 'type' => 'string', 'example' => '姓名数据源'],
+ 'dataSourceCode' => ['description' => '数据源编码。', 'type' => 'integer', 'format' => 'int64', 'example' => 'ds_vcaoii1697'],
+ 'eventName' => ['description' => '事件名称。', 'type' => 'string', 'example' => '注册风险'],
+ 'total' => ['description' => '总数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '24'],
+ 'status' => ['description' => '状态。', 'type' => 'string', 'example' => 'ENABLE'],
],
],
],
+ 'totalItem' => ['description' => '总条数。', 'type' => 'integer', 'format' => 'int64', 'example' => '6'],
+ 'totalPage' => ['description' => '总页数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'currentPage' => ['description' => '分页参数,当前页。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'pageSize' => ['description' => '每页大小,默认值为10。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
],
+ 'description' => '',
],
],
],
- 'eventInfo' => [
- 'enable' => false,
- 'eventNames' => [],
+ 'title' => '自定义查询变量分页列表查询',
+ 'summary' => '查询变量列表查询。',
+ 'changeSet' => [
+ ['createdAt' => '2023-01-05T03:46:33.000Z', 'description' => '响应参数发生变更'],
+ ['createdAt' => '2021-11-23T12:31:20.000Z', 'description' => 'OpenAPI 下线'],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"totalItem\\": 6,\\n \\"pageSize\\": 10,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"currentPage\\": 1,\\n \\"totalPage\\": 1,\\n \\"resultObject\\": [\\n {\\n \\"tagState\\": \\"rn0301\\",\\n \\"updateTime\\": \\"1684744034000\\",\\n \\"tagType\\": \\"IP风险类\\",\\n \\"tagDesc\\": \\"依赖IP画像模型识别输出风险高、中高、中的判定\\\\\\\\n数据来源主要基于IP的网络属性数据和对黑产行为轨迹的情报监控数据,涵盖可识别检测IP网络属性特征、恶意属性等特征\\\\\\\\n而模型评分的高中低主要是根据当前IP号段命中风险行为的恶意程度和种类来判定的\\\\\\\\n备注:以下rn0311、rn0312、rn0313、rn0314、rn0315属于IP画像模型针对当前请求IP识别出的风险类别\\",\\n \\"tagMean\\": \\"IP风险评分高\\",\\n \\"tagUid\\": \\"rn0301\\",\\n \\"tagName\\": \\"rn0301\\"\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '获取风险标签列表',
- ],
- 'DescribeAppKeyPage' => [
- 'summary' => '查询appKey列表。',
- 'methods' => [
- 'post',
- 'get',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeQueryVariablePageList'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": [\\n {\\n \\"id\\": 497,\\n \\"version\\": 1,\\n \\"name\\": \\"查询变量名称\\",\\n \\"description\\": \\"变量描述\\",\\n \\"gmtCreate\\": 1621578648000,\\n \\"gmtModified\\": 1565701886000,\\n \\"fieldType\\": \\"STRING\\",\\n \\"dataSourceName\\": \\"姓名数据源\\",\\n \\"dataSourceCode\\": 0,\\n \\"eventName\\": \\"注册风险\\",\\n \\"total\\": 24,\\n \\"status\\": \\"ENABLE\\"\\n }\\n ],\\n \\"totalItem\\": 6,\\n \\"totalPage\\": 1,\\n \\"currentPage\\": 1,\\n \\"pageSize\\": 10,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeRecommendSceneVariables' => [
+ 'summary' => '查询样本&场景下的变量列表。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- 'abilityTreeCode' => '135918',
- 'abilityTreeNodes' => [
- 'FEATUREsaf64YRTV',
- 'FEATUREsaf6E3SDJ',
- 'FEATUREsafL5D4RG',
- ],
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'currentPage',
- 'in' => 'query',
- 'schema' => [
- 'description' => '当前页码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1',
- ],
- ],
- [
- 'name' => 'pageSize',
+ 'name' => 'sampleId',
'in' => 'query',
- 'schema' => [
- 'description' => '每页大小,默认值为10',
- 'type' => 'string',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '样本id', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '5467'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
@@ -21490,138 +15452,63 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'totalItem' => [
- 'description' => '总条数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '3',
- ],
- 'pageSize' => [
- 'description' => '每页大小,默认值为10',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'E01E1B4A-6747-5329-9046-B6D6B2D91349',
- ],
- 'currentPage' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'totalPage' => [
- 'description' => '总页数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'resultObject' => [
- 'description' => '返回对象',
- 'type' => 'array',
- 'items' => [
- 'description' => '返回对象',
- 'type' => 'object',
- 'properties' => [
- 'sdkItems' => [
- 'description' => '已作废',
- 'type' => 'string',
- 'example' => '已作废',
- ],
- 'memo' => [
- 'description' => '备注。',
- 'type' => 'string',
- 'example' => '备注',
- ],
- 'iosSdkUrl' => [
- 'description' => 'ios应用sdk下载地址。',
- 'type' => 'string',
- 'example' => 'https://xxxxx-oss-xxxxx.xxxxxx.aliyuncs.com/xx/xx/xxx/xxxxxx.csv?Expires=1753433384&OSSAccessKeyId=xxxxxxxxx&Signature=%2F%xxxxxxxxxxxx%3D',
- ],
- 'androidSdkVersion' => [
- 'description' => 'android应用sdk版本号。',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'gmtCreate' => [
- 'description' => '创建时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1621578648000',
- ],
- 'used' => [
- 'description' => '该appKey是否集成',
- 'type' => 'string',
- 'example' => 'false',
- ],
- 'androidSdkUrl' => [
- 'description' => 'android应用sdk下载地址。',
- 'type' => 'string',
- 'example' => 'https://xxxxx-oss-xxxxx.xxxxxx.aliyuncs.com/xx/xx/xxx/xxxxxx.csv?Expires=1753433384&OSSAccessKeyId=xxxxxxxxx&Signature=%2F%xxxxxxxxxxxx%3D',
- ],
- 'iosSdkVersion' => [
- 'description' => 'ios应用的sdk版本号。',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'appKey' => [
- 'description' => '应用appkey。',
- 'type' => 'string',
- 'example' => 'sh9a71f07fhs556bd767586307e82795',
- ],
- ],
- ],
- ],
+ 'resultObject' => ['description' => '返回对象', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"totalItem\\": 3,\\n \\"pageSize\\": 10,\\n \\"RequestId\\": \\"E01E1B4A-6747-5329-9046-B6D6B2D91349\\",\\n \\"currentPage\\": 1,\\n \\"totalPage\\": 1,\\n \\"resultObject\\": [\\n {\\n \\"sdkItems\\": \\"已作废\\",\\n \\"memo\\": \\"备注\\",\\n \\"iosSdkUrl\\": \\"https://xxxxx-oss-xxxxx.xxxxxx.aliyuncs.com/xx/xx/xxx/xxxxxx.csv?Expires=1753433384&OSSAccessKeyId=xxxxxxxxx&Signature=%2F%xxxxxxxxxxxx%3D\\",\\n \\"androidSdkVersion\\": \\"1\\",\\n \\"gmtCreate\\": 1621578648000,\\n \\"used\\": \\"false\\",\\n \\"androidSdkUrl\\": \\"https://xxxxx-oss-xxxxx.xxxxxx.aliyuncs.com/xx/xx/xxx/xxxxxx.csv?Expires=1753433384&OSSAccessKeyId=xxxxxxxxx&Signature=%2F%xxxxxxxxxxxx%3D\\",\\n \\"iosSdkVersion\\": \\"1\\",\\n \\"appKey\\": \\"sh9a71f07fhs556bd767586307e82795\\"\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '查询appKey列表',
- ],
- 'DescribeEventUploadPolicy' => [
- 'summary' => '批量导入策略。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '查询样本&场景下的变量列表',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:19:05.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRecommendSceneVariables'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeRecommendTaskDetail' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
+ ],
+ [
+ 'name' => 'taskId',
+ 'in' => 'query',
+ 'schema' => ['description' => '任务id。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '887'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
@@ -21629,163 +15516,151 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Key' => [
- 'description' => '文件上传所需的Key。',
- 'type' => 'string',
- 'example' => 'saf/de/namelist/e924/ufzgsedX9bd3a7',
- ],
- 'Signature' => [
- 'description' => '签名数据。',
- 'type' => 'string',
- 'example' => '7aXmkd2Z3oksCXOS9uvKlJuOKaY=',
- ],
- 'Host' => [
- 'description' => 'oss主机。',
- 'type' => 'string',
- 'example' => '172.16.0.44',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
- 'Policy' => [
- 'description' => 'OSS安全策略',
- 'type' => 'string',
- 'example' => 'eyJleHBpcmF0aW9uIjoiMjAyNS0wNy0zMFQwNjowNTo0OS45NTRaIiwiY29uZGl0aW9ucyI6W1siY29udGVudC1sZW5ndGgtcmFuZ2UiLDAsMTA0ODU3NjAwMF0sWyJlcSIsIiRrZXkiLCJzYWZcL2RlXC9uYW1lbGlzdFwvZTkyNFwvdWZ6Z3NlZFg5Ymxxxxxxxxxxx',
- ],
- 'AccessId' => [
- 'description' => '访问OSS的ID',
- 'type' => 'string',
- 'example' => 'LTAI5tPXz8Y9tLVh5xxnnEAC',
- ],
- 'StsToken' => [
- 'description' => '临时身份凭证。',
- 'type' => 'string',
- 'example' => 'tT44bMQxxxxxxxxxxxxxxx',
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ 'resultObject' => [
+ 'description' => '返回结果',
+ 'type' => 'object',
+ 'properties' => [
+ 'eventCode' => ['description' => '事件编码', 'type' => 'string', 'example' => 'de_aszbjb7236'],
+ 'taskId' => ['description' => '任务ID', 'type' => 'integer', 'format' => 'int64', 'example' => '887'],
+ 'normalSize' => ['description' => '正常样本数量', 'type' => 'integer', 'format' => 'int64', 'example' => '100'],
+ 'sampleScene' => ['description' => '样本场景', 'type' => 'string', 'example' => 'account_abuse_detection'],
+ 'sampleSceneName' => ['description' => '样本场景名称', 'type' => 'string', 'example' => '防虚假账号'],
+ 'sampleName' => ['description' => '样本名称', 'type' => 'string', 'example' => '白样本'],
+ 'taskName' => ['description' => '任务名称', 'type' => 'string', 'example' => '策略推荐任务'],
+ 'taskStatus' => ['description' => '任务状态。', 'type' => 'string', 'example' => 'CREATE'],
+ 'riskSize' => ['description' => '风险样本数量', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
+ 'gmtCreate' => ['description' => '创建时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1621578648000'],
+ 'eventName' => ['description' => '事件名称。', 'type' => 'string', 'example' => '注册风险'],
+ 'recommendVariableDTOs' => [
+ 'description' => '选择变量列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '选择变量列表',
+ 'type' => 'object',
+ 'properties' => [
+ 'title' => ['description' => '标题', 'type' => 'string', 'example' => '手机号'],
+ 'id' => ['description' => '主键id', 'type' => 'integer', 'format' => 'int64', 'example' => '234'],
+ ],
+ ],
+ ],
+ 'recommendRuleDTOs' => [
+ 'description' => '推荐策略列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '推荐策略列表',
+ 'type' => 'object',
+ 'properties' => [
+ 'ruleId' => ['description' => '策略ID', 'type' => 'string', 'example' => '102224'],
+ 'velocities' => ['description' => '指标列表 JSON字符串格式', 'type' => 'string', 'example' => '[{"key":"dxkkLw8fe18","value":"2"}]'],
+ 'computeExpression' => ['description' => '计算路径', 'type' => 'string', 'example' => '1&2'],
+ 'notHitSample' => ['description' => '未命中样本数', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'status' => ['description' => '状态。', 'type' => 'string', 'example' => 'NO_RULE'],
+ 'ruleName' => ['description' => '策略名称', 'type' => 'string', 'example' => '营销风险识别评分_高风险_拒绝_副本'],
+ 'id' => ['description' => '策略主键ID', 'type' => 'integer', 'format' => 'int64', 'example' => '30'],
+ 'hitSample' => ['description' => '命中样本数', 'type' => 'integer', 'format' => 'int64', 'example' => '99'],
+ 'recommendRules' => [
+ 'description' => '候选策略列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '候选策略列表',
+ 'type' => 'object',
+ 'properties' => [
+ 'right' => ['description' => '右变量', 'type' => 'string', 'example' => '20'],
+ 'operator' => ['description' => '操作符', 'type' => 'string', 'example' => 'equals'],
+ 'left' => ['description' => '左变量', 'type' => 'string', 'example' => 'age'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'expectVelocities' => [
+ 'description' => '对比指标',
+ 'type' => 'array',
+ 'items' => ['description' => '对比指标', 'type' => 'string', 'example' => '["xxx"]'],
+ ],
+ ],
],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Key\\": \\"saf/de/namelist/e924/ufzgsedX9bd3a7\\",\\n \\"Signature\\": \\"7aXmkd2Z3oksCXOS9uvKlJuOKaY=\\",\\n \\"Host\\": \\"172.16.0.44\\",\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"Policy\\": \\"eyJleHBpcmF0aW9uIjoiMjAyNS0wNy0zMFQwNjowNTo0OS45NTRaIiwiY29uZGl0aW9ucyI6W1siY29udGVudC1sZW5ndGgtcmFuZ2UiLDAsMTA0ODU3NjAwMF0sWyJlcSIsIiRrZXkiLCJzYWZcL2RlXC9uYW1lbGlzdFwvZTkyNFwvdWZ6Z3NlZFg5Ymxxxxxxxxxxx\\",\\n \\"AccessId\\": \\"LTAI5tPXz8Y9tLVh5xxnnEAC\\",\\n \\"StsToken\\": \\"tT44bMQxxxxxxxxxxxxxxx\\"\\n}","type":"json"}]',
- 'title' => '批量导入策略',
- ],
- 'DescribeSafStartSteps' => [
- 'summary' => '查询接入配置',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '变量推荐详情查询接口',
+ 'summary' => '变量推荐详情查询接口.',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:19:05.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRecommendTaskDetail'],
+ ],
],
- 'security' => [
+ 'ramActions' => [
[
- 'AK' => [],
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
],
- 'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- 'abilityTreeCode' => '135920',
- 'abilityTreeNodes' => [
- 'FEATUREsafT73ZWM',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"resultObject\\": {\\n \\"eventCode\\": \\"de_aszbjb7236\\",\\n \\"taskId\\": 887,\\n \\"normalSize\\": 100,\\n \\"sampleScene\\": \\"account_abuse_detection\\",\\n \\"sampleSceneName\\": \\"防虚假账号\\",\\n \\"sampleName\\": \\"白样本\\",\\n \\"taskName\\": \\"策略推荐任务\\",\\n \\"taskStatus\\": \\"CREATE\\",\\n \\"riskSize\\": 10,\\n \\"gmtCreate\\": 1621578648000,\\n \\"eventName\\": \\"注册风险\\",\\n \\"recommendVariableDTOs\\": [\\n {\\n \\"title\\": \\"手机号\\",\\n \\"id\\": 234\\n }\\n ],\\n \\"recommendRuleDTOs\\": [\\n {\\n \\"ruleId\\": \\"102224\\",\\n \\"velocities\\": \\"[{\\\\\\"key\\\\\\":\\\\\\"dxkkLw8fe18\\\\\\",\\\\\\"value\\\\\\":\\\\\\"2\\\\\\"}]\\",\\n \\"computeExpression\\": \\"1&2\\",\\n \\"notHitSample\\": 1,\\n \\"status\\": \\"NO_RULE\\",\\n \\"ruleName\\": \\"营销风险识别评分_高风险_拒绝_副本\\",\\n \\"id\\": 30,\\n \\"hitSample\\": 99,\\n \\"recommendRules\\": [\\n {\\n \\"right\\": \\"20\\",\\n \\"operator\\": \\"equals\\",\\n \\"left\\": \\"age\\"\\n }\\n ]\\n }\\n ],\\n \\"expectVelocities\\": [\\n \\"[\\\\\\"xxx\\\\\\"]\\"\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'DescribeRecommendTaskPageList' => [
+ 'summary' => '变量推荐列表查询接口。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
],
- 'tenantRelevance' => 'publicInformation',
],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'eventCode',
- 'in' => 'query',
- 'schema' => [
- 'description' => '事件编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'de_ahqido8038',
- ],
- ],
- [
- 'name' => 'language',
+ 'name' => 'currentPage',
'in' => 'query',
- 'schema' => [
- 'description' => '语言,可传参数'."\n"
- .'- zh-CN:中文(默认)'."\n"
- .'- en-US:英语'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh_CN',
- ],
+ 'schema' => ['description' => '当前页码', 'type' => 'string', 'required' => false, 'example' => '1'],
],
[
- 'name' => 'aliyunServer',
+ 'name' => 'pageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '服务器是否为阿里云服务器'."\n"
- ."\n"
- .'true or false',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '每页大小,默认值为10', 'type' => 'string', 'required' => false, 'example' => '10'],
],
[
- 'name' => 'serverRegion',
+ 'name' => 'taskName',
'in' => 'query',
- 'schema' => [
- 'description' => '服务器所在区域',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '任务名称', 'type' => 'string', 'required' => false, 'example' => '策略推荐任务'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
- ],
- [
- 'name' => 'deviceTypesStr',
- 'in' => 'query',
- 'schema' => [
- 'description' => '用于接收pop不能接收的前端传入集合字符串'."\n"
- .' '."\n"
- .'设备类型',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ios',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
200 => [
- 'headers' => [],
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
+ 'totalItem' => ['description' => '总条数', 'type' => 'integer', 'format' => 'int32', 'example' => '3'],
+ 'pageSize' => ['description' => '每页大小,默认值为10', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ 'currentPage' => ['description' => '当前页码', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'totalPage' => ['description' => '总页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'resultObject' => [
'description' => '返回对象',
'type' => 'array',
@@ -21793,152 +15668,84 @@
'description' => '返回对象',
'type' => 'object',
'properties' => [
- 'content' => [
- 'description' => 'step 内容',
- 'type' => 'string',
- 'example' => 'https://help.aliyun.com/document_detail/177689.html',
- ],
- 'type' => [
- 'description' => '类型',
- 'type' => 'string',
- 'example' => 'URL',
- ],
- 'id' => [
- 'description' => 'step标题',
- 'type' => 'string',
- 'example' => 'ios',
+ 'taskId' => ['description' => '任务id。', 'type' => 'integer', 'format' => 'int64', 'example' => '240c93ddffa74e38be3a00375eb3041d'],
+ 'normalSize' => ['description' => '正常样本数量', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
+ 'sampleScene' => ['description' => '样本场景', 'type' => 'string', 'example' => 'account_abuse_detection'],
+ 'riskCount' => ['description' => '当前页显示的记录数。', 'type' => 'integer', 'format' => 'int64', 'example' => '100'],
+ 'sampleName' => ['description' => '样本名称', 'type' => 'string', 'example' => '白样本'],
+ 'taskName' => ['description' => '任务名称。', 'type' => 'string', 'example' => '策略推荐任务'."\n"],
+ 'taskStatus' => ['description' => '任务状态。', 'type' => 'string', 'example' => 'CREATE'],
+ 'riskSize' => ['description' => '风险样本数量', 'type' => 'integer', 'format' => 'int64', 'example' => '5'],
+ 'normalCount' => ['description' => '样本数量', 'type' => 'integer', 'format' => 'int64', 'example' => '100'],
+ 'gmtCreate' => ['description' => '创建时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1621578648000'],
+ 'expectVelocities' => [
+ 'description' => '影响指标',
+ 'type' => 'array',
+ 'items' => ['description' => '影响指标', 'type' => 'string', 'example' => '[\\"dxUxSCM26d7\\",\\"dxkkLw8fe18\\"]'],
],
],
],
],
],
+ 'description' => '',
],
],
],
- 'eventInfo' => [
- 'enable' => false,
- 'eventNames' => [],
+ 'title' => '变量推荐列表查询接口',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:19:05.000Z', 'description' => 'OpenAPI 下线'],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"resultObject\\": [\\n {\\n \\"content\\": \\"https://help.aliyun.com/document_detail/177689.html\\",\\n \\"type\\": \\"URL\\",\\n \\"id\\": \\"ios\\"\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '查询接入步骤详细信息',
- ],
- 'ModifyEvent' => [
- 'summary' => '编辑事件',
- 'methods' => [
- 'post',
- 'get',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRecommendTaskPageList'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"totalItem\\": 3,\\n \\"pageSize\\": 10,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"currentPage\\": 1,\\n \\"totalPage\\": 1,\\n \\"resultObject\\": [\\n {\\n \\"taskId\\": 0,\\n \\"normalSize\\": 10,\\n \\"sampleScene\\": \\"account_abuse_detection\\",\\n \\"riskCount\\": 100,\\n \\"sampleName\\": \\"白样本\\",\\n \\"taskName\\": \\"策略推荐任务\\\\n\\",\\n \\"taskStatus\\": \\"CREATE\\",\\n \\"riskSize\\": 5,\\n \\"normalCount\\": 100,\\n \\"gmtCreate\\": 1621578648000,\\n \\"expectVelocities\\": [\\n \\"[\\\\\\\\\\\\\\"dxUxSCM26d7\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"dxkkLw8fe18\\\\\\\\\\\\\\"]\\"\\n ]\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'DescribeRecommendVariablesVelocity' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
- 'systemTags' => [
- 'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREsafWH3N80',
- ],
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'eventCode',
- 'in' => 'query',
- 'schema' => [
- 'description' => '事件编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'de_ambiby3420',
- ],
- ],
- [
- 'name' => 'memo',
- 'in' => 'query',
- 'schema' => [
- 'description' => '备注。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '备注',
- ],
- ],
- [
- 'name' => 'bizVersion',
+ 'name' => 'taskId',
'in' => 'query',
- 'schema' => [
- 'description' => '版本号(最新)。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '任务ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '6770764'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
- ],
- [
- 'name' => 'createType',
- 'in' => 'query',
- 'schema' => [
- 'description' => '创建类型',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'NORMAL',
- ],
- ],
- [
- 'name' => 'templateType',
- 'in' => 'query',
- 'schema' => [
- 'description' => '模版类型',
- 'type' => 'string',
- 'required' => false,
- 'example' => '暂无',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'inputFieldsStr',
- 'in' => 'query',
- 'schema' => [
- 'description' => '输入参数,json字符串。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[{\\"fieldCode\\":\\"sessionId\\",\\"description\\":\\"会话ID\\",\\"fieldRank\\":0,\\"title\\":\\"会话ID\\",\\"fieldType\\":\\"STRING\\",\\"fieldSource\\":\\"DEFAULT\\"},{\\"fieldCode\\":\\"tags\\",\\"fieldRank\\":1,\\"title\\":\\"风险标签\\",\\"fieldType\\":\\"STRING\\",\\"fieldSource\\":\\"DEFAULT\\"},{\\"fieldCode\\":\\"score\\",\\"fieldRank\\":2,\\"title\\":\\"风险分值\\",\\"fieldType\\":\\"DOUBLE\\",\\"fieldSource\\":\\"DEFAULT\\"},{\\"fieldCode\\":\\"hitRules\\",\\"fieldRank\\":3,\\"title\\":\\"命中策略\\",\\"fieldType\\":\\"STRING\\",\\"fieldSource\\":\\"DEFAULT\\"}]',
- ],
- ],
- [
- 'name' => 'eventName',
+ 'name' => 'variableIdsStr',
'in' => 'query',
- 'schema' => [
- 'description' => '事件名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '注册事件',
- ],
+ 'schema' => ['description' => '变量ids', 'type' => 'string', 'required' => false, 'example' => '[\\"232\\",\\"233\\"]'],
],
],
'responses' => [
@@ -21946,63 +15753,69 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'resultObject' => [
- 'description' => '返回对象',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
+ 'resultObject' => ['description' => '返回对象', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '修改事件',
- ],
- 'DescribeApiNameList' => [
- 'summary' => '获取api服务名称。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '查询变量下的指标信息',
+ 'summary' => '查询变量下的指标信息。',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:19:05.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRecommendVariablesVelocity'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeRecommendVelocities' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
+ ],
+ [
+ 'name' => 'code',
+ 'in' => 'query',
+ 'schema' => ['description' => '指标code', 'type' => 'string', 'required' => false, 'example' => 'coupon_abuse_detection'],
+ ],
+ [
+ 'name' => 'type',
+ 'in' => 'query',
+ 'schema' => ['description' => '指标类型', 'type' => 'string', 'required' => false, 'example' => 'recommend_velocity'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
@@ -22010,79 +15823,60 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
- 'resultObject' => [
- 'description' => '返回对象',
- 'type' => 'array',
- 'items' => [
- 'description' => '返回结果。',
- 'type' => 'object',
- 'properties' => [
- 'apiName' => [
- 'description' => 'API名称。',
- 'type' => 'string',
- 'example' => 'ListAuditLog',
- ],
- 'apiId' => [
- 'description' => 'api编号。',
- 'type' => 'string',
- 'example' => '33',
- ],
- ],
- ],
- ],
+ 'resultObject' => ['description' => '返回对象', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"resultObject\\": [\\n {\\n \\"apiName\\": \\"ListAuditLog\\",\\n \\"apiId\\": \\"33\\"\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '获取api服务名称',
- ],
- 'DescribeAuthStatus' => [
- 'summary' => '查看是否授权',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '查询支持的指标列表',
+ 'summary' => '查询支持的指标列表。',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:19:05.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRecommendVelocities'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeRegions' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
@@ -22090,122 +15884,41 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'resultObject' => [
- 'description' => '返回对象',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'requestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2',
- ],
+ 'resultObject' => ['description' => '返回对象', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\"\\n}","type":"json"}]',
- 'title' => '查看是否授权',
- ],
- 'DescribeSampleUploadPolicy' => [
- 'summary' => '查询样本上传授权信息。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'title' => '查询ApiGateway支持的region列表',
+ 'summary' => '查询ApiGateway支持的region列表。',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:11:26.000Z', 'description' => 'OpenAPI 下线'],
],
- 'security' => [
- [
- 'AK' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRegions'],
],
],
- 'systemTags' => [
- 'operationType' => 'get',
- ],
- 'parameters' => [
+ 'ramActions' => [
[
- 'name' => 'Lang',
- 'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
- ],
- [
- 'name' => 'regId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
- ],
- ],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'Key' => [
- 'description' => 'oss上传策略的key。',
- 'type' => 'string',
- 'example' => 'saf/de/namelist/e924/ufzgsedX9bd3a7',
- ],
- 'Signature' => [
- 'description' => '签名信息。',
- 'type' => 'string',
- 'example' => '3Es5j/9Xm/zwPcM9cwEr5pa0Wsc=',
- ],
- 'Host' => [
- 'description' => 'OSS域名。',
- 'type' => 'string',
- 'example' => 'emseu.cxy8uoq4aafx.eu-central-1.rds.amazonaws.com',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
- 'Policy' => [
- 'description' => 'oss上传策略。',
- 'type' => 'string',
- 'example' => 'eyJleHBpcmF0aW9uIjoiMjAyNS0wNy0zMFQwNjowNTo0OS45NTRaIiwiY29uZGl0aW9ucyI6W1siY29udGVudC1sZW5ndGgtcmFuZ2UiLDAsMTA0ODU3NjAwMF0sWyJlcSIsIiRrZXkiLCJzYWZcL2RlXC9uYW1lbGlzdFwvZTkyNFwvdWZ6Z3NlZFg5Ymxxxxxxxxxxx',
- ],
- 'AccessId' => [
- 'description' => 'ossaccesskeyid。',
- 'type' => 'string',
- 'example' => 'LTAI5t9k9MsS9TipR9yW5urk',
- ],
- 'StsToken' => [
- 'description' => '临时身份凭证。',
- 'type' => 'string',
- 'example' => 'tT44bMQxxxxxxxxxxxxxxx',
- ],
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Key\\": \\"saf/de/namelist/e924/ufzgsedX9bd3a7\\",\\n \\"Signature\\": \\"3Es5j/9Xm/zwPcM9cwEr5pa0Wsc=\\",\\n \\"Host\\": \\"emseu.cxy8uoq4aafx.eu-central-1.rds.amazonaws.com\\",\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"Policy\\": \\"eyJleHBpcmF0aW9uIjoiMjAyNS0wNy0zMFQwNjowNTo0OS45NTRaIiwiY29uZGl0aW9ucyI6W1siY29udGVudC1sZW5ndGgtcmFuZ2UiLDAsMTA0ODU3NjAwMF0sWyJlcSIsIiRrZXkiLCJzYWZcL2RlXC9uYW1lbGlzdFwvZTkyNFwvdWZ6Z3NlZFg5Ymxxxxxxxxxxx\\",\\n \\"AccessId\\": \\"LTAI5t9k9MsS9TipR9yW5urk\\",\\n \\"StsToken\\": \\"tT44bMQxxxxxxxxxxxxxxx\\"\\n}","type":"json"}]',
- 'title' => '查询样本上传授权信息',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
],
- 'DescribeSafOrder' => [
- 'summary' => '查询订单信息。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DescribeRequestHit' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -22214,81 +15927,27 @@
'operationType' => 'read',
'systemTags' => [
'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREsafT73ZWM'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
- ],
- [
- 'name' => 'pageSize',
- 'in' => 'query',
- 'schema' => [
- 'description' => '每页大小,默认值为10',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
- ],
- [
- 'name' => 'currentPage',
- 'in' => 'query',
- 'schema' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
- ],
- [
- 'name' => 'startDate',
- 'in' => 'query',
- 'schema' => [
- 'description' => '开始时间。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1752076800000',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'endDate',
+ 'name' => 'sRequestId',
'in' => 'query',
- 'schema' => [
- 'description' => '结束日期。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1755076800000',
- ],
+ 'schema' => ['description' => '请求id。', 'type' => 'string', 'required' => true, 'example' => '60C97040-D5D5-4906-9522-B9B413730CAA'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
- ],
- [
- 'name' => 'exactProductCode',
- 'in' => 'query',
- 'schema' => [
- 'description' => '产品code',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'saf_de',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
@@ -22296,71 +15955,92 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
'resultObject' => [
- 'description' => '返回对象',
+ 'description' => '返回对象。',
'type' => 'object',
'properties' => [
- 'expirationDate' => [
- 'description' => '到期日(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1755076800000',
+ 'sRequestId' => ['description' => '请求id。', 'type' => 'string', 'example' => '60C97040-D5D5-4906-9522-B9B413730CAA'."\n"],
+ 'eventCode' => ['description' => '事件编码。', 'type' => 'string', 'example' => 'de_aszbjb7236'],
+ 'eventName' => ['description' => '事件名称。', 'type' => 'string', 'example' => '注册风险'],
+ 'requestTime' => ['description' => '请求的时间戳。', 'type' => 'integer', 'format' => 'int64', 'example' => '1752571330000'],
+ 'totalCost' => ['description' => '请求总量。', 'type' => 'integer', 'format' => 'int64', 'example' => '4'],
+ 'inputs' => ['description' => '输入参数。', 'type' => 'string', 'example' => '{\\"eventCode\\":\\"de_afghcf6411\\",\\"ip\\":\\"196.168.0.1\\",\\"DEtest222\\":9007199254740999,\\"age\\":20}'],
+ 'outputs' => ['description' => '输出参数。', 'type' => 'string', 'example' => '{\\"tags\\":\\"rm0102,test_tag,age\\",\\"score\\":\\"30.0\\",\\"extend\\":\\"{\\\\\\"OUT_V01\\\\\\":\\\\\\"Maritime\\\\\\",\\\\\\"OUT_V02\\\\\\":\\\\\\"Lome\\\\\\",\\\\\\"OUT_V03\\\\\\":\\\\\\"196.168.0.1_A\\\\\\"}\\",\\"finalDecision\\":\\"REJECT\\"}'],
+ 'ruleHitRecords' => [
+ 'description' => '命令执行的规则详情。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '命令执行的规则详情。',
+ 'type' => 'object',
+ 'properties' => [
+ 'order' => ['description' => '顺序。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'ruleId' => ['description' => '策略ID。', 'type' => 'string', 'example' => '101544'],
+ 'ruleSnapshotId' => ['description' => '规则快照id。', 'type' => 'string', 'example' => '27'],
+ 'ruleName' => ['description' => '策略名称。', 'type' => 'string', 'example' => '注册手机号是11位数字'],
+ 'ruleStatus' => ['description' => '策略状态。', 'type' => 'string', 'example' => 'RUNNING'],
+ 'hitSuccessful' => ['description' => '是否命中规则。', 'type' => 'boolean', 'example' => 'true'],
+ 'cost' => ['description' => '耗时。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'isShowDetail' => ['description' => '是否显示详情。', 'type' => 'boolean', 'example' => 'true'],
+ 'ruleType' => ['description' => '策略类型。', 'type' => 'string', 'example' => 'DEFAULT'],
+ ],
+ ],
],
],
],
+ 'requestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"resultObject\\": {\\n \\"expirationDate\\": 1755076800000\\n }\\n}","type":"json"}]',
- 'title' => '查询订单信息',
- ],
- 'DescribeApiLimit' => [
- 'summary' => '查询创建api任务的limit信息',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '查询请求命中详情',
+ 'summary' => '查询请求命中详情。',
+ 'changeSet' => [
+ ['createdAt' => '2022-12-27T11:32:42.000Z', 'description' => '响应参数发生变更'],
+ ['createdAt' => '2022-05-11T07:23:08.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRequestHit'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": {\\n \\"sRequestId\\": \\"60C97040-D5D5-4906-9522-B9B413730CAA\\\\n\\",\\n \\"eventCode\\": \\"de_aszbjb7236\\",\\n \\"eventName\\": \\"注册风险\\",\\n \\"requestTime\\": 1752571330000,\\n \\"totalCost\\": 4,\\n \\"inputs\\": \\"{\\\\\\\\\\\\\\"eventCode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"de_afghcf6411\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"ip\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"196.168.0.1\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"DEtest222\\\\\\\\\\\\\\":9007199254740999,\\\\\\\\\\\\\\"age\\\\\\\\\\\\\\":20}\\",\\n \\"outputs\\": \\"{\\\\\\\\\\\\\\"tags\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"rm0102,test_tag,age\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"score\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"30.0\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"extend\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"{\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"OUT_V01\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"Maritime\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"OUT_V02\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"Lome\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"OUT_V03\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"196.168.0.1_A\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"}\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"finalDecision\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"REJECT\\\\\\\\\\\\\\"}\\",\\n \\"ruleHitRecords\\": [\\n {\\n \\"order\\": 1,\\n \\"ruleId\\": \\"101544\\",\\n \\"ruleSnapshotId\\": \\"27\\",\\n \\"ruleName\\": \\"注册手机号是11位数字\\",\\n \\"ruleStatus\\": \\"RUNNING\\",\\n \\"hitSuccessful\\": true,\\n \\"cost\\": 1,\\n \\"isShowDetail\\": true,\\n \\"ruleType\\": \\"DEFAULT\\"\\n }\\n ]\\n },\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeRequestPeakReport' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
@@ -22368,377 +16048,432 @@
'schema' => [
'type' => 'object',
'properties' => [
+ 'requestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2'],
+ 'success' => ['description' => '请求是否成功', 'type' => 'boolean', 'example' => 'true'],
+ 'code' => ['description' => '状态码', 'type' => 'string', 'example' => '200'],
+ 'message' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'The input parameter data is not valid. order_storage_company_num component not found'],
+ 'httpStatusCode' => ['description' => 'HTTP状态码。', 'type' => 'string', 'example' => '200'],
'resultObject' => [
'description' => '返回对象',
- 'type' => 'object',
- 'properties' => [
- 'totalItem' => [
- 'description' => '总条数',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '31',
- ],
- 'maxTotalItem' => [
- 'description' => '最大创建条数',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '150',
- ],
- 'limit' => [
- 'description' => '是否超过最大数量',
- 'type' => 'boolean',
- 'example' => 'true',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '返回对象',
+ 'type' => 'object',
+ 'properties' => [
+ 'value' => ['description' => '返回文案', 'type' => 'string', 'example' => '1.0 次/秒'],
+ 'ratio' => ['description' => '返回值', 'type' => 'string', 'example' => '1.0'],
],
],
],
- 'requestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2',
- ],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": {\\n \\"totalItem\\": 31,\\n \\"maxTotalItem\\": 150,\\n \\"limit\\": true\\n },\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\"\\n}","type":"json"}]',
- 'title' => '查询创建api任务的limit信息',
- ],
- 'DescribeEventLogPage' => [
- 'summary' => '查询事件历史列表。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '请求峰值',
+ 'summary' => '请求峰值',
+ 'changeSet' => [
+ ['createdAt' => '2022-03-02T06:00:58.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRequestPeakReport'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\",\\n \\"success\\": true,\\n \\"code\\": \\"200\\",\\n \\"message\\": \\"The input parameter data is not valid. order_storage_company_num component not found\\",\\n \\"httpStatusCode\\": \\"200\\",\\n \\"resultObject\\": [\\n {\\n \\"value\\": \\"1.0 次/秒\\",\\n \\"ratio\\": \\"1.0\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'DescribeResultCount' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- 'abilityTreeCode' => '135953',
- 'abilityTreeNodes' => [
- 'FEATUREsafT73ZWM',
- ],
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
- ],
- [
- 'name' => 'currentPage',
- 'in' => 'query',
- 'schema' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
- ],
- [
- 'name' => 'pageSize',
- 'in' => 'query',
- 'schema' => [
- 'description' => '每页大小,默认值为10。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
'name' => 'beginTime',
'in' => 'query',
- 'schema' => [
- 'description' => '日志开始的时间戳。单位:毫秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1737101348000',
- ],
+ 'schema' => ['description' => '开始时间,精确到毫秒(ms)。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1739841750000'],
],
[
'name' => 'endTime',
'in' => 'query',
- 'schema' => [
- 'description' => '结束时间,精确到毫秒(ms)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1746669075000',
- ],
+ 'schema' => ['description' => '结束时间,精确到毫秒(ms)。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1739843750000'],
],
- [
- 'name' => 'reqIdPBS',
- 'in' => 'query',
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => 'requestId。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'BD6B08EC-1B44-5378-8838-C76A36415C55',
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2'],
+ 'success' => ['description' => '请求是否成功。', 'type' => 'boolean', 'example' => 'true'],
+ 'code' => ['description' => '状态码。', 'type' => 'string', 'example' => '200'],
+ 'message' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'The input parameter data is not valid. order_storage_company_num component not found'],
+ 'httpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'string', 'example' => '200'],
+ 'resultObject' => [
+ 'description' => '返回对象',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '返回对象',
+ 'type' => 'object',
+ 'properties' => [
+ 'result' => [
+ 'description' => '执行结果',
+ 'type' => 'string',
+ 'enumValueTitles' => ['REJECT' => '拒绝', 'PASS' => '通过', 'PENDING' => '待定'],
+ 'example' => 'PASS',
+ ],
+ 'total' => ['description' => '数量', 'type' => 'string', 'example' => '200'],
+ ],
+ ],
+ ],
+ ],
+ 'description' => '',
],
],
- [
- 'name' => 'serviceABS',
- 'in' => 'query',
- 'schema' => [
- 'description' => '事件名称(instance_id)。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'de_afghcf6411',
- ],
+ ],
+ 'title' => '下钻分析列表',
+ 'summary' => '下钻分析',
+ 'changeSet' => [
+ ['createdAt' => '2022-03-02T06:01:06.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeResultCount'],
],
+ ],
+ 'ramActions' => [
[
- 'name' => 'accountIdPRP',
- 'in' => 'query',
- 'schema' => [
- 'description' => '账户ID(request_param.accountId)不超过50个字符,支持“*”、“?”通配符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '180650758xxxxxxx',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\",\\n \\"success\\": true,\\n \\"code\\": \\"200\\",\\n \\"message\\": \\"The input parameter data is not valid. order_storage_company_num component not found\\",\\n \\"httpStatusCode\\": \\"200\\",\\n \\"resultObject\\": [\\n {\\n \\"result\\": \\"PASS\\",\\n \\"total\\": \\"200\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'DescribeRiskLineChart' => [
+ 'summary' => '风险地图概览图表(折线图)',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'nickNamePRP',
- 'in' => 'query',
- 'schema' => [
- 'description' => '账户昵称(request_param.nickName)不超过50个字符,支持“*”、“?”通配符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '测试xx',
- ],
+ 'AK' => [],
],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => ['operationType' => 'get'],
+ 'parameters' => [
[
- 'name' => 'mobilePRP',
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '手机号(支持MD5request_param.mobile/request_param.mobileMd5),不超过30个字符,支持“*”、“?”通配符,按照字段mobile、mobileMd5两个字符进行搜索。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '17600000000',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'emailPRP',
+ 'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => 'Email(request_param.email)不超过100个字符,支持“*”、“?”通配符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'xxxx@123.com',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'ipPRP',
+ 'name' => 'eventCodes',
'in' => 'query',
- 'schema' => [
- 'description' => 'IP(request_param.ip)不超过20个字符,支持“*”、“?”通配符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '168.168.168.168',
- ],
+ 'schema' => ['description' => '事件编码,多个用逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => 'de_afghcf6411,de_awkhwh0314'],
],
[
- 'name' => 'userNameTypeLRP',
+ 'name' => 'beginTime',
'in' => 'query',
- 'schema' => [
- 'description' => '账户名类型,登录场景(-request_param.userNameType)。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'type',
- ],
+ 'schema' => ['description' => '查询开始时间,精确到毫秒(ms)。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1739841750000'],
],
[
- 'name' => 'loginTypeLRP',
+ 'name' => 'endTime',
'in' => 'query',
- 'schema' => [
- 'description' => '登录验证方式(-request_param.loginType)。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'PASSWORD',
- ],
+ 'schema' => ['description' => '结束时间,精确到毫秒(ms)。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1748491200000'],
],
- [
- 'name' => 'registerIpPRP',
- 'in' => 'query',
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '账户注册IP(request_param.registerIp),不超过20个字符,支持“*”、“?”通配符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '168.168.168.168'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => ['description' => '请求 ID。', 'type' => 'string', 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2'],
+ 'success' => ['description' => '请求是否成功。', 'type' => 'boolean', 'example' => 'true'],
+ 'code' => ['description' => '状态码。', 'type' => 'string', 'example' => '200'],
+ 'message' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'The input parameter data is not valid. order_storage_company_num component not found'],
+ 'httpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'string', 'example' => '200'],
+ 'resultObject' => [
+ 'description' => '返回对象',
+ 'type' => 'object',
+ 'properties' => [
+ 'xaxis' => [
+ 'description' => 'xaxis节点详情。',
+ 'type' => 'object',
+ 'properties' => [
+ 'data' => [
+ 'description' => '返回x轴数据节点',
+ 'type' => 'array',
+ 'items' => ['description' => '返回数据。', 'type' => 'string', 'example' => '['."\n"
+ .' "2025-07-01",'."\n"
+ .' "2025-07-02",'."\n"
+ .' "2025-07-03",'."\n"
+ .' "2025-07-04",'."\n"
+ .' "2025-07-05",'."\n"
+ .' "2025-07-06",'."\n"
+ .' "2025-07-07",'."\n"
+ .' "2025-07-08",'."\n"
+ .' "2025-07-09",'."\n"
+ .' "2025-07-10"'."\n"
+ .' ]'],
+ ],
+ ],
+ ],
+ 'series' => [
+ 'description' => '数据列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '数据列表',
+ 'type' => 'object',
+ 'properties' => [
+ 'name' => ['description' => '折线图线段title', 'type' => 'string', 'example' => 'rm0102'],
+ 'data' => [
+ 'description' => '折线图数据',
+ 'type' => 'array',
+ 'items' => ['description' => '响应数据。', 'type' => 'string', 'example' => '0.00%'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'description' => '',
],
],
- [
- 'name' => 'loginResultARP',
- 'in' => 'query',
- 'schema' => [
- 'description' => '登录成功标识(request_param.loginResult)。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'SUCCESS',
- ],
+ ],
+ 'title' => '风险地图折线图',
+ 'changeSet' => [
+ ['createdAt' => '2022-03-02T06:01:06.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRiskLineChart'],
],
+ ],
+ 'ramActions' => [
[
- 'name' => 'failReasonLRP',
- 'in' => 'query',
- 'schema' => [
- 'description' => '登录失败原因(-request_param.failReason)。',
- 'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [
- 'wrongPassword' => '密码错误',
- 'other' => '其他',
- 'wrongUserName' => '用户名错误',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
],
- 'example' => 'wrongPassword',
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\",\\n \\"success\\": true,\\n \\"code\\": \\"200\\",\\n \\"message\\": \\"The input parameter data is not valid. order_storage_company_num component not found\\",\\n \\"httpStatusCode\\": \\"200\\",\\n \\"resultObject\\": {\\n \\"xaxis\\": {\\n \\"data\\": [\\n \\"[\\\\n \\\\\\"2025-07-01\\\\\\",\\\\n \\\\\\"2025-07-02\\\\\\",\\\\n \\\\\\"2025-07-03\\\\\\",\\\\n \\\\\\"2025-07-04\\\\\\",\\\\n \\\\\\"2025-07-05\\\\\\",\\\\n \\\\\\"2025-07-06\\\\\\",\\\\n \\\\\\"2025-07-07\\\\\\",\\\\n \\\\\\"2025-07-08\\\\\\",\\\\n \\\\\\"2025-07-09\\\\\\",\\\\n \\\\\\"2025-07-10\\\\\\"\\\\n ]\\"\\n ]\\n },\\n \\"series\\": [\\n {\\n \\"name\\": \\"rm0102\\",\\n \\"data\\": [\\n \\"0.00%\\"\\n ]\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'DescribeRiskTagsLineChart' => [
+ 'summary' => '标签命中率 标签命中维度',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'userAgentPRP',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'userAgent(-request_param.userAgent),不超过50个字符,支持“*”、“?”通配符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '00-1C-F0-1D-A7-81',
- ],
+ 'AK' => [],
],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => ['operationType' => 'list'],
+ 'parameters' => [
[
- 'name' => 'referPRP',
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => 'refer(-request_param.refer),不超过50个字符,支持“*”、“?”通配符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'refer',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'umidPDI',
+ 'name' => 'RegId',
'in' => 'query',
- 'schema' => [
- 'description' => '设备ID(device_info.umid)。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '设备ID',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'macPRP',
+ 'name' => 'EventCodes',
'in' => 'query',
- 'schema' => [
- 'description' => '设备MAC地址(-request_param.mac),不超过30个字符,支持“*”、“?”通配符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '00-1C-F0-1D-A7-81',
- ],
+ 'schema' => ['description' => '事件编码', 'type' => 'string', 'required' => false, 'example' => 'de_afghcf6411'],
],
[
- 'name' => 'deviceTypeLRP',
+ 'name' => 'BeginTime',
'in' => 'query',
- 'schema' => [
- 'description' => '设备类型(request_param.deviceType),设备类型举例:1、PC 2、MOBILE。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'PC',
- ],
+ 'schema' => ['description' => '查询的起始时间,单位为ms。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1729563800605'],
],
[
- 'name' => 'operateSourceLRP',
+ 'name' => 'EndTime',
'in' => 'query',
+ 'schema' => ['description' => '结束时间,精确到毫秒(ms)。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1729563800605'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '操作来源(request_param.operateSource),操作来源举例:1、PC 2、H5 3、App。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'PC',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ 'Success' => ['description' => '请求是否成功。', 'type' => 'boolean', 'example' => 'true'],
+ 'Code' => ['description' => '状态码。说明 200表示成功。', 'type' => 'string', 'example' => '200'],
+ 'Message' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'success'],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'string', 'example' => '200'],
+ 'ResultObject' => [
+ 'description' => '返回的结果信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'Xaxis' => [
+ 'description' => '图表X轴数据',
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => '图表返回数据',
+ 'type' => 'array',
+ 'items' => ['description' => '图表X轴数据', 'type' => 'string', 'example' => '['."\n"
+ .' "2025-07-01",'."\n"
+ .' "2025-07-02",'."\n"
+ .' "2025-07-03",'."\n"
+ .' "2025-07-04",'."\n"
+ .' "2025-07-05",'."\n"
+ .' "2025-07-06",'."\n"
+ .' "2025-07-07",'."\n"
+ .' "2025-07-08",'."\n"
+ .' "2025-07-09",'."\n"
+ .' "2025-07-10"'."\n"
+ .' ]'],
+ ],
+ ],
+ ],
+ 'Series' => [
+ 'description' => '图表数据',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '图表数据',
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => ['description' => '名称', 'type' => 'string', 'example' => 'rm0102'],
+ 'Data' => ['description' => '数据', 'type' => 'number', 'format' => 'float', 'example' => '10', 'default' => '0.0'],
+ ],
+ ],
+ ],
+ 'Total' => [
+ 'description' => '总记录条数。',
+ 'type' => 'array',
+ 'items' => ['description' => '总数', 'type' => 'integer', 'format' => 'int64', 'example' => '4'],
+ ],
+ 'Percent' => [
+ 'description' => '调用百分比 小数表示',
+ 'type' => 'array',
+ 'items' => ['description' => '百分比 小数表示', 'type' => 'number', 'format' => 'float', 'example' => '0.5'],
+ ],
+ ],
+ ],
+ ],
+ 'description' => '',
],
],
+ ],
+ 'title' => '标签命中率 标签命中维度',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRiskTagsLineChart'],
+ ],
+ ],
+ 'ramActions' => [
[
- 'name' => 'tagsLBS',
- 'in' => 'query',
- 'schema' => [
- 'description' => '风险标签(tags),数据来源DescribeTagsList。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg0001',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"success\\",\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"ResultObject\\": {\\n \\"Xaxis\\": {\\n \\"Data\\": [\\n \\"[\\\\n \\\\\\"2025-07-01\\\\\\",\\\\n \\\\\\"2025-07-02\\\\\\",\\\\n \\\\\\"2025-07-03\\\\\\",\\\\n \\\\\\"2025-07-04\\\\\\",\\\\n \\\\\\"2025-07-05\\\\\\",\\\\n \\\\\\"2025-07-06\\\\\\",\\\\n \\\\\\"2025-07-07\\\\\\",\\\\n \\\\\\"2025-07-08\\\\\\",\\\\n \\\\\\"2025-07-09\\\\\\",\\\\n \\\\\\"2025-07-10\\\\\\"\\\\n ]\\"\\n ]\\n },\\n \\"Series\\": [\\n {\\n \\"Name\\": \\"rm0102\\",\\n \\"Data\\": 10\\n }\\n ],\\n \\"Total\\": [\\n 4\\n ],\\n \\"Percent\\": [\\n 0.5\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'DescribeRuleBarChart' => [
+ 'summary' => '策略概览列表',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => ['operationType' => 'get'],
+ 'parameters' => [
[
- 'name' => 'scoreSBS',
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '分值区间起始值(score),只能输入非负整数,右区间必须大于左区间,左右区间都取闭合。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'scoreEBS',
+ 'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '分值区间终止值(score),只能输入非负整数,右区间必须大于左区间,左右区间都取闭合。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '2',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'condition1AL',
+ 'name' => 'eventCodes',
'in' => 'query',
- 'schema' => [
- 'description' => '全文匹配1,不能超过30个字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rm0102',
- ],
+ 'schema' => ['description' => '事件编码,多个用逗号(,)分隔。', 'type' => 'string', 'required' => false, 'example' => 'account_abuse_pro,account_abuse'],
],
[
- 'name' => 'condition2AL',
+ 'name' => 'beginTime',
'in' => 'query',
- 'schema' => [
- 'description' => '全文匹配2,不能超过30个字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rm0102',
- ],
+ 'schema' => ['description' => '查询开始时间,精确到毫秒(ms)。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1739841750000'],
],
[
- 'name' => 'condition3AL',
+ 'name' => 'endTime',
'in' => 'query',
- 'schema' => [
- 'description' => '全文匹配3,不能超过30个字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rm0102',
- ],
+ 'schema' => ['description' => '结束时间,精确到毫秒(ms)。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1750904603000'],
],
],
'responses' => [
@@ -22746,203 +16481,115 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'totalItem' => [
- 'description' => '总条数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '6',
- ],
- 'pageSize' => [
- 'description' => '每页大小,默认值为10。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
- 'currentPage' => [
- 'description' => '当前页数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'totalPage' => [
- 'description' => '总页数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '9',
- ],
+ 'requestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2'],
+ 'success' => ['description' => '请求是否成功。', 'type' => 'boolean', 'example' => 'true'],
+ 'code' => ['description' => '状态码。', 'type' => 'string', 'example' => '200'],
+ 'message' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'The input parameter data is not valid. order_storage_company_num component not found'],
+ 'httpStatusCode' => ['description' => 'HTTP 状态码。', 'type' => 'string', 'example' => '200'],
'resultObject' => [
- 'description' => '返回对象。',
- 'type' => 'array',
- 'items' => [
- 'description' => '返回对象。',
- 'type' => 'object',
- 'properties' => [
- 'service' => [
- 'description' => '事件名称。',
- 'type' => 'string',
- 'example' => '注册事件',
- ],
- 'accountId' => [
- 'description' => '账号ID。',
- 'type' => 'string',
- 'example' => '1631801314885832',
- ],
- 'mobile' => [
- 'description' => '手机号。',
- 'type' => 'string',
- 'example' => '13817606333',
- ],
- 'score' => [
- 'description' => '评分。',
- 'type' => 'string',
- 'example' => '10.0',
- ],
- 'requestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '546F8063-0104-5271-9EB7-56FB3F375BAD',
- ],
- 'tags' => [
- 'description' => '标签。',
- 'type' => 'string',
- 'example' => 'rm0102',
- ],
- 'email' => [
- 'description' => '邮箱。',
- 'type' => 'string',
- 'example' => 'xxxx@123.com'."\n",
- ],
- 'timestamp' => [
- 'description' => '交易时间。',
- 'type' => 'string',
- 'example' => '1737101348000',
- ],
- 'ip' => [
- 'description' => 'ip。',
- 'type' => 'string',
- 'example' => '10.200.5.100',
- ],
- 'nickName' => [
- 'description' => '昵称。',
- 'type' => 'string',
- 'example' => '昵称',
+ 'description' => '返回对象',
+ 'type' => 'object',
+ 'properties' => [
+ 'yaxis' => [
+ 'description' => 'yaxis相关结果。',
+ 'type' => 'object',
+ 'properties' => [
+ 'data' => [
+ 'description' => 'yaxis数据项',
+ 'type' => 'array',
+ 'items' => ['description' => 'yaxis数据项', 'type' => 'string', 'example' => '['."\n"
+ .' "决策引擎可观测性持续建设_策略01",'."\n"
+ .' "决策引擎可观测性持续建设_策略03",'."\n"
+ .' "决策引擎可观测性持续建设_策略04",'."\n"
+ .' "决策引擎可观测性持续建设_策略02"'."\n"
+ .' ]'],
+ ],
],
- 'umid' => [
- 'description' => '设备id。',
- 'type' => 'string',
- 'example' => '4239',
+ ],
+ 'series' => [
+ 'description' => '数据列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '数据列表',
+ 'type' => 'object',
+ 'properties' => [
+ 'type' => ['description' => '柱状图类型', 'type' => 'string', 'example' => 'bar'],
+ 'data' => [
+ 'description' => '响应数据。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '响应数据。',
+ 'type' => 'object',
+ 'properties' => [
+ 'ruleName' => ['description' => '策略名称', 'type' => 'string', 'example' => '营销风险识别评分_高风险_拒绝'],
+ 'eventName' => ['description' => '事件名称。', 'type' => 'string', 'example' => '营销事件'],
+ 'status' => ['description' => '状态。', 'type' => 'string', 'example' => 'RUNNING'],
+ 'num' => ['description' => '数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '100'],
+ ],
+ ],
+ ],
+ ],
],
],
],
],
],
+ 'description' => '',
],
],
],
- 'errorCodes' => [
- 400 => [
- [
- 'errorCode' => '1701',
- 'errorMessage' => 'user not auth sls',
- ],
+ 'title' => '策略概览列表',
+ 'changeSet' => [
+ ['createdAt' => '2022-03-02T06:01:06.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRuleBarChart'],
],
- 500 => [
- [
- 'errorCode' => '1101',
- 'errorMessage' => 'system error',
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"totalItem\\": 6,\\n \\"pageSize\\": 10,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"currentPage\\": 1,\\n \\"totalPage\\": 9,\\n \\"resultObject\\": [\\n {\\n \\"service\\": \\"注册事件\\",\\n \\"accountId\\": \\"1631801314885832\\",\\n \\"mobile\\": \\"13817606333\\",\\n \\"score\\": \\"10.0\\",\\n \\"requestId\\": \\"546F8063-0104-5271-9EB7-56FB3F375BAD\\",\\n \\"tags\\": \\"rm0102\\",\\n \\"email\\": \\"xxxx@123.com\\\\n\\",\\n \\"timestamp\\": \\"1737101348000\\",\\n \\"ip\\": \\"10.200.5.100\\",\\n \\"nickName\\": \\"昵称\\",\\n \\"umid\\": \\"4239\\"\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '查询事件历史列表',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\",\\n \\"success\\": true,\\n \\"code\\": \\"200\\",\\n \\"message\\": \\"The input parameter data is not valid. order_storage_company_num component not found\\",\\n \\"httpStatusCode\\": \\"200\\",\\n \\"resultObject\\": {\\n \\"yaxis\\": {\\n \\"data\\": [\\n \\"[\\\\n \\\\\\"决策引擎可观测性持续建设_策略01\\\\\\",\\\\n \\\\\\"决策引擎可观测性持续建设_策略03\\\\\\",\\\\n \\\\\\"决策引擎可观测性持续建设_策略04\\\\\\",\\\\n \\\\\\"决策引擎可观测性持续建设_策略02\\\\\\"\\\\n ]\\"\\n ]\\n },\\n \\"series\\": [\\n {\\n \\"type\\": \\"bar\\",\\n \\"data\\": [\\n {\\n \\"ruleName\\": \\"营销风险识别评分_高风险_拒绝\\",\\n \\"eventName\\": \\"营销事件\\",\\n \\"status\\": \\"RUNNING\\",\\n \\"num\\": 100\\n }\\n ]\\n }\\n ]\\n }\\n}","type":"json"}]',
],
- 'RemoveEvent' => [
- 'summary' => '删除事件',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DescribeRuleCountByUserId' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
- ],
- [
- 'name' => 'id',
- 'in' => 'query',
- 'schema' => [
- 'description' => '事件id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '2556',
- ],
- ],
- [
- 'name' => 'templateCode',
- 'in' => 'query',
- 'schema' => [
- 'description' => '入参字段模板类型',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'register',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'eventCode',
+ 'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '事件编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'de_arqbuy7206',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'],
],
[
'name' => 'createType',
'in' => 'query',
- 'schema' => [
- 'description' => '创建类型',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'NORMAL',
- ],
- ],
- [
- 'name' => 'regId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '创建类型。', 'type' => 'string', 'required' => false, 'example' => 'NORMAL'],
],
],
'responses' => [
@@ -22950,94 +16597,88 @@
'schema' => [
'type' => 'object',
'properties' => [
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
'resultObject' => [
- 'description' => '返回对象',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'requestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2',
+ 'description' => '返回对象。',
+ 'type' => 'object',
+ 'properties' => [
+ 'totalItem' => ['description' => '总条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '27'],
+ 'maxTotalItem' => ['description' => '最大条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
+ 'limit' => ['description' => '是否达到limit条件。取值:-**true**:是-**false**:否。', 'type' => 'boolean', 'example' => 'false'],
+ ],
],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\"\\n}","type":"json"}]',
- 'title' => '删除事件',
- ],
- 'DescribeDownloadUrl' => [
- 'summary' => '下载。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '根据用户id查询策略数',
+ 'summary' => '根据用户Id查询策略数。',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:28:18.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRuleCountByUserId'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"resultObject\\": {\\n \\"totalItem\\": 27,\\n \\"maxTotalItem\\": 100,\\n \\"limit\\": false\\n }\\n}","type":"json"}]',
+ ],
+ 'DescribeRuleDetailByRuleId' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'read',
'systemTags' => [
'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREsafBCGX2Z'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'Type',
+ 'name' => 'ruleId',
'in' => 'query',
- 'schema' => [
- 'description' => '下载类型',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'FILE',
- ],
+ 'schema' => ['description' => '策略ID。', 'type' => 'string', 'required' => false, 'example' => '102059'],
],
[
- 'name' => 'TaskId',
+ 'name' => 'consoleRuleId',
'in' => 'query',
- 'schema' => [
- 'description' => '任务ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '18191',
- ],
+ 'schema' => ['description' => '策略主键ID。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '7110'],
],
[
- 'name' => 'FileType',
+ 'name' => 'ruleVersionId',
'in' => 'query',
- 'schema' => [
- 'description' => '文件类型',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'CSV',
- ],
+ 'schema' => ['description' => '策略版本号主键ID。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10203'],
],
[
- 'name' => 'RegId',
+ 'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
@@ -23045,33 +16686,134 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
'resultObject' => [
- 'description' => '返回对象',
- 'type' => 'string',
- 'example' => 'true',
+ 'description' => '返回对象。',
+ 'type' => 'object',
+ 'properties' => [
+ 'memo' => ['description' => '备注。', 'type' => 'string', 'example' => '备注'],
+ 'ruleActionMap' => ['description' => '规则动作结构。', 'type' => 'object', 'example' => '{'."\n"
+ .' "SCORE": ['."\n"
+ .' {'."\n"
+ .' "actionType": "SCORE",'."\n"
+ .' "displayType": "ACTION",'."\n"
+ .' "code": "deAddScore",'."\n"
+ .' "sourceType": "SAF",'."\n"
+ .' "inputs": ['."\n"
+ .' "123"'."\n"
+ .' ],'."\n"
+ .' "name": "__addDeScore__",'."\n"
+ .' "description": "打分",'."\n"
+ .' "inputTitle": "123",'."\n"
+ .' "outputType": "const",'."\n"
+ .' "type": "ACTION",'."\n"
+ .' "title": "打分",'."\n"
+ .' "fieldType": "DOUBLE"'."\n"
+ .' }'."\n"
+ .' ],'."\n"
+ .' "VARIABLE": ['."\n"
+ .' {'."\n"
+ .' "actionType": "VARIABLE",'."\n"
+ .' "displayType": "MIDDLE",'."\n"
+ .' "code": "mid1",'."\n"
+ .' "inputs": ['."\n"
+ .' "gg"'."\n"
+ .' ],'."\n"
+ .' "name": "mid1",'."\n"
+ .' "description": "中间变量,mid1",'."\n"
+ .' "type": "MIDDLE",'."\n"
+ .' "title": "mid1",'."\n"
+ .' "fieldType": "STRING"'."\n"
+ .' }'."\n"
+ .' ],'."\n"
+ .' "TAG": ['."\n"
+ .' {'."\n"
+ .' "actionType": "TAG",'."\n"
+ .' "displayType": "ACTION",'."\n"
+ .' "code": "addDeTags",'."\n"
+ .' "sourceType": "SAF",'."\n"
+ .' "inputs": ['."\n"
+ .' "123"'."\n"
+ .' ],'."\n"
+ .' "name": "__addDeTags__",'."\n"
+ .' "description": "打标签",'."\n"
+ .' "outputType": "const",'."\n"
+ .' "type": "ACTION",'."\n"
+ .' "title": "打标签",'."\n"
+ .' "fieldType": "STRING"'."\n"
+ .' }'."\n"
+ .' ],'."\n"
+ .' "MIDDLE_VARIABLE": ['."\n"
+ .' {'."\n"
+ .' "actionType": "MIDDLE_VARIABLE",'."\n"
+ .' "inputs": ['."\n"
+ .' "mid1"'."\n"
+ .' ],'."\n"
+ .' "fieldValue": "123",'."\n"
+ .' "fieldType": "STRING"'."\n"
+ .' }'."\n"
+ .' ]'."\n"
+ .' }'],
+ 'bizVersion' => ['description' => '版本。', 'type' => 'string', 'example' => '1'],
+ 'gmtCreate' => ['description' => '创建时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1621578648000'],
+ 'ruleStatus' => ['description' => '策略状态。', 'type' => 'string', 'example' => 'RUNNING'],
+ 'ruleExpressions' => ['description' => '规则表达式。', 'type' => 'string', 'example' => '[{\\"expressionName\\":\\"营销风险识别评分\\",\\"itemId\\":1,\\"left\\":{\\"name\\":\\"sl_rjtsDXK124a5\\"},\\"operatorCode\\":\\"between\\",\\"operatorName\\":\\"数字在[a,b]之间\\",\\"right\\":{\\"fieldValue\\":\\"[65,100]\\"}}]'],
+ 'gmtModified' => ['description' => '修改时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1565701886000'],
+ 'eventName' => ['description' => '事件名称。', 'type' => 'string', 'example' => '注册风险'],
+ 'ruleName' => ['description' => '策略名称。', 'type' => 'string', 'example' => '营销风险识别'],
+ 'logicExpression' => ['description' => '日志表达式。', 'type' => 'string', 'example' => '1&2'],
+ 'consoleRuleId' => ['description' => '策略主键ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '6633'],
+ 'ruleId' => ['description' => '策略ID。', 'type' => 'string', 'example' => '101544'],
+ 'ruleVersionId' => ['description' => '策略版本号主键ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '3823'],
+ 'mainEventCode' => ['description' => '主事件code。', 'type' => 'string', 'example' => 'de_asssce8122'],
+ 'eventCode' => ['description' => '事件编码。', 'type' => 'string', 'example' => 'de_asssce8122'],
+ 'ruleActions' => ['description' => '规则动作。', 'type' => 'string', 'example' => '[{\\"actionType\\":\\"TAG\\",\\"code\\":\\"addDeTags\\",\\"description\\":\\"打标签\\",\\"displayType\\":\\"ACTION\\",\\"fieldType\\":\\"STRING\\",\\"inputs\\":[\\"123\\"],\\"name\\":\\"__addDeTags__\\",\\"outputType\\":\\"const\\",\\"sourceType\\":\\"SAF\\",\\"title\\":\\"打标签\\",\\"type\\":\\"ACTION\\"},{\\"actionType\\":\\"SCORE\\",\\"code\\":\\"deAddScore\\",\\"description\\":\\"打分\\",\\"displayType\\":\\"ACTION\\",\\"fieldType\\":\\"DOUBLE\\",\\"inputTitle\\":\\"123\\",\\"inputs\\":[\\"123\\"],\\"name\\":\\"__addDeScore__\\",\\"outputType\\":\\"const\\",\\"sourceType\\":\\"SAF\\",\\"title\\":\\"打分\\",\\"type\\":\\"ACTION\\"},{\\"actionType\\":\\"MIDDLE_VARIABLE\\",\\"fieldType\\":\\"STRING\\",\\"fieldValue\\":\\"123\\",\\"inputs\\":[\\"mid1\\"]},{\\"actionType\\":\\"VARIABLE\\",\\"code\\":\\"mid1\\",\\"description\\":\\"中间变量,mid1\\",\\"displayType\\":\\"MIDDLE\\",\\"fieldType\\":\\"STRING\\",\\"inputs\\":[\\"gg\\"],\\"name\\":\\"mid1\\",\\"title\\":\\"mid1\\",\\"type\\":\\"MIDDLE\\"}]'],
+ 'ruleBody' => ['description' => 'DSL策略表达式。', 'type' => 'string', 'example' => '{\\"elseIfStatement\\":[{\\"condition\\":{\\"currentId\\":0,\\"deepCount\\":1,\\"list\\":[{\\"currentId\\":0,\\"deepCount\\":1,\\"left\\":{\\"code\\":\\"getLbsRegion(longitude, latitude)?.prov\\",\\"description\\":\\"根据经纬度得到省份信息,比如经度:111.878062,纬度:22.585409,则经过运算,输出”广东省“\\",\\"displayType\\":\\"SELF_BIND\\",\\"fieldType\\":\\"STRING\\",\\"functionCode\\":\\"\\",\\"functionName\\":\\"\\",\\"hasRightVariable\\":true,\\"name\\":\\"sl_S02sHLFT7818\\",\\"outputThreshold\\":{},\\"sourceType\\":\\"SAF\\",\\"title\\":\\"经纬度自定义系统变量\\",\\"type\\":\\"SELF_BIND\\"},\\"operatorCode\\":\\"equals\\",\\"operatorName\\":\\"等于\\",\\"parentId\\":0,\\"right\\":{\\"name\\":\\"cc\\",\\"rightVariableType\\":\\"constant\\"},\\"sequence\\":5}],\\"parentId\\":0,\\"relationship\\":\\"and\\"},\\"then\\":[{\\"actionType\\":\\"TAG\\",\\"code\\":\\"addDeTags\\",\\"description\\":\\"打标签\\",\\"displayType\\":\\"ACTION\\",\\"fieldType\\":\\"STRING\\",\\"inputs\\":[\\"332\\"],\\"name\\":\\"__addDeTags__\\",\\"outputType\\":\\"const\\",\\"sourceType\\":\\"SAF\\",\\"title\\":\\"打标签\\",\\"type\\":\\"ACTION\\"}]}],\\"elseStatement\\":{\\"then\\":[{\\"actionType\\":\\"TAG\\",\\"code\\":\\"addDeTags\\",\\"description\\":\\"打标签\\",\\"displayType\\":\\"ACTION\\",\\"fieldType\\":\\"STRING\\",\\"inputs\\":[\\"321\\"],\\"name\\":\\"__addDeTags__\\",\\"outputType\\":\\"const\\",\\"sourceType\\":\\"SAF\\",\\"title\\":\\"打标签\\",\\"type\\":\\"ACTION\\"}]},\\"ifStatement\\":{\\"condition\\":{\\"currentId\\":0,\\"deepCount\\":1,\\"list\\":[{\\"currentId\\":0,\\"deepCount\\":1,\\"left\\":{\\"code\\":\\"queryPhoneSimulatorInfo(deviceToken)?.brand\\",\\"description\\":\\"设备信息-终端品牌\\",\\"displayType\\":\\"DEVICE\\",\\"fieldType\\":\\"STRING\\",\\"functionCode\\":\\"\\",\\"functionName\\":\\"\\",\\"hasRightVariable\\":true,\\"name\\":\\"__device_brand__\\",\\"sourceType\\":\\"SAF\\",\\"title\\":\\"设备信息-终端品牌-brand\\",\\"type\\":\\"DEVICE\\"},\\"operatorCode\\":\\"deInNameList\\",\\"operatorName\\":\\"在名单中\\",\\"parentId\\":0,\\"right\\":{\\"code\\":\\"nl_UN8otElLb490\\",\\"description\\":\\"描述11\\",\\"displayType\\":\\"NAME_LIST\\",\\"name\\":\\"nl_UN8otElLb490\\",\\"rightVariableType\\":\\"constant\\",\\"sourceType\\":\\"SAF\\",\\"title\\":\\"wtz_名单新建测试02\\",\\"type\\":\\"NAME_LIST\\"},\\"sequence\\":1},{\\"currentId\\":0,\\"deepCount\\":1,\\"left\\":{\\"code\\":\\"deFunctionProcess(ip,\\\\\\"isIp\\\\\\")\\",\\"description\\":\\"判断是否符合IPv4标准\\",\\"displayType\\":\\"SYSTEM_BIND\\",\\"fieldType\\":\\"BOOLEAN\\",\\"functionCode\\":\\"\\",\\"functionName\\":\\"\\",\\"hasRightVariable\\":false,\\"name\\":\\"__isIpAddressV4__\\",\\"outputThreshold\\":{},\\"sourceType\\":\\"SAF\\",\\"title\\":\\"IP是否符合IPV4格式\\",\\"type\\":\\"SYSTEM_BIND\\"},\\"operatorCode\\":\\"boolIsTrue\\",\\"operatorName\\":\\"为true\\",\\"parentId\\":0,\\"right\\":{\\"name\\":\\"\\",\\"rightVariableType\\":\\"constant\\"},\\"sequence\\":2},{\\"currentId\\":0,\\"deepCount\\":1,\\"list\\":[{\\"currentId\\":0,\\"deepCount\\":1,\\"left\\":{\\"code\\":\\"parseIpV2(ip)?.cityId\\",\\"description\\":\\"通过IP地址库解析IP所在的城市Code,例如,输入“42.120.74.211”,经过该变量运算,输出“330100”。\\",\\"displayType\\":\\"SYSTEM_BIND\\",\\"fieldType\\":\\"STRING\\",\\"functionCode\\":\\"\\",\\"functionName\\":\\"\\",\\"hasRightVariable\\":true,\\"name\\":\\"__ipLocationCityCode__\\",\\"outputThreshold\\":{},\\"sourceType\\":\\"SAF\\",\\"title\\":\\"IP所在地_城市Code\\",\\"type\\":\\"SYSTEM_BIND\\"},\\"operatorCode\\":\\"equals\\",\\"operatorName\\":\\"等于\\",\\"parentId\\":0,\\"right\\":{\\"code\\":\\"deFunctionProcess(ip,\\\\\\"getCountry\\\\\\")\\",\\"description\\":\\"通过IP地址库解析IP所在的城市名称,例如,输入“42.120.74.211”,经过该变量运算,输出“CN”。\\",\\"displayType\\":\\"SYSTEM_BIND\\",\\"fieldType\\":\\"STRING\\",\\"functionCode\\":\\"\\",\\"functionName\\":\\"\\",\\"name\\":\\"__ipLocationCountryId__\\",\\"outputThreshold\\":{},\\"rightVariableType\\":\\"variable\\",\\"sourceType\\":\\"SAF\\",\\"title\\":\\"IP所在地_国家Code\\",\\"type\\":\\"SYSTEM_BIND\\"},\\"sequence\\":3},{\\"currentId\\":0,\\"deepCount\\":1,\\"list\\":[{\\"currentId\\":0,\\"deepCount\\":1,\\"left\\":{\\"code\\":\\"parseIpV2(ip)?.cityId\\",\\"description\\":\\"通过IP地址库解析IP所在的城市Code,例如,输入“42.120.74.211”,经过该变量运算,输出“330100”。\\",\\"displayType\\":\\"SYSTEM_BIND\\",\\"fieldType\\":\\"STRING\\",\\"functionCode\\":\\"\\",\\"functionName\\":\\"\\",\\"hasRightVariable\\":true,\\"name\\":\\"__ipLocationCityCode__\\",\\"outputThreshold\\":{\\"$ref\\":\\"$.ifStatement.condition.list[2].list[0].left.outputThreshold\\"},\\"sourceType\\":\\"SAF\\",\\"title\\":\\"IP所在地_城市Code\\",\\"type\\":\\"SYSTEM_BIND\\"},\\"operatorCode\\":\\"deInNameList\\",\\"operatorName\\":\\"在名单中\\",\\"parentId\\":0,\\"right\\":{\\"code\\":\\"nl_NsVwBD2s11e0\\",\\"displayType\\":\\"NAME_LIST\\",\\"name\\":\\"nl_NsVwBD2s11e0\\",\\"rightVariableType\\":\\"constant\\",\\"sourceType\\":\\"SAF\\",\\"title\\":\\"device_block_list\\",\\"type\\":\\"NAME_LIST\\"},\\"sequence\\":4}],\\"parentId\\":0,\\"relationship\\":\\"and\\"}],\\"parentId\\":0,\\"relationship\\":\\"and\\"}],\\"parentId\\":0,\\"relationship\\":\\"and\\"},\\"then\\":[{\\"actionType\\":\\"TAG\\",\\"code\\":\\"addDeTags\\",\\"description\\":\\"打标签\\",\\"displayType\\":\\"ACTION\\",\\"fieldType\\":\\"STRING\\",\\"inputs\\":[\\"123\\"],\\"name\\":\\"__addDeTags__\\",\\"outputType\\":\\"const\\",\\"sourceType\\":\\"SAF\\",\\"title\\":\\"打标签\\",\\"type\\":\\"ACTION\\"}]}}'],
+ 'ruleType' => [
+ 'description' => '策略类型。',
+ 'type' => 'string',
+ 'enumValueTitles' => ['DSL' => 'DSL策略', 'DEFAULT' => '默认策略'],
+ 'example' => 'DSL',
+ ],
+ 'ruleAuthType' => ['description' => '策略类型。', 'type' => 'string', 'example' => 'NOMAL'],
+ 'createType' => ['description' => '创建类型。', 'type' => 'string', 'example' => 'MORMAL'],
+ 'authType' => ['description' => '服务授权类型。', 'type' => 'string', 'example' => 'all'],
+ ],
],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"resultObject\\": \\"true\\"\\n}","type":"json"}]',
- 'title' => '下载',
- ],
- 'DescribeRuleHit' => [
- 'summary' => '查询策略命中详情',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '查询策略详情',
+ 'summary' => '查询策略/版本详情。',
+ 'changeSet' => [
+ ['createdAt' => '2025-07-22T08:12:51.000Z', 'description' => '响应参数发生变更'],
+ ['createdAt' => '2021-10-18T12:18:57.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRuleDetailByRuleId'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"resultObject\\": {\\n \\"memo\\": \\"备注\\",\\n \\"ruleActionMap\\": {\\n \\"SCORE\\": [\\n {\\n \\"actionType\\": \\"SCORE\\",\\n \\"displayType\\": \\"ACTION\\",\\n \\"code\\": \\"deAddScore\\",\\n \\"sourceType\\": \\"SAF\\",\\n \\"inputs\\": [\\n \\"123\\"\\n ],\\n \\"name\\": \\"__addDeScore__\\",\\n \\"description\\": \\"打分\\",\\n \\"inputTitle\\": \\"123\\",\\n \\"outputType\\": \\"const\\",\\n \\"type\\": \\"ACTION\\",\\n \\"title\\": \\"打分\\",\\n \\"fieldType\\": \\"DOUBLE\\"\\n }\\n ],\\n \\"VARIABLE\\": [\\n {\\n \\"actionType\\": \\"VARIABLE\\",\\n \\"displayType\\": \\"MIDDLE\\",\\n \\"code\\": \\"mid1\\",\\n \\"inputs\\": [\\n \\"gg\\"\\n ],\\n \\"name\\": \\"mid1\\",\\n \\"description\\": \\"中间变量,mid1\\",\\n \\"type\\": \\"MIDDLE\\",\\n \\"title\\": \\"mid1\\",\\n \\"fieldType\\": \\"STRING\\"\\n }\\n ],\\n \\"TAG\\": [\\n {\\n \\"actionType\\": \\"TAG\\",\\n \\"displayType\\": \\"ACTION\\",\\n \\"code\\": \\"addDeTags\\",\\n \\"sourceType\\": \\"SAF\\",\\n \\"inputs\\": [\\n \\"123\\"\\n ],\\n \\"name\\": \\"__addDeTags__\\",\\n \\"description\\": \\"打标签\\",\\n \\"outputType\\": \\"const\\",\\n \\"type\\": \\"ACTION\\",\\n \\"title\\": \\"打标签\\",\\n \\"fieldType\\": \\"STRING\\"\\n }\\n ],\\n \\"MIDDLE_VARIABLE\\": [\\n {\\n \\"actionType\\": \\"MIDDLE_VARIABLE\\",\\n \\"inputs\\": [\\n \\"mid1\\"\\n ],\\n \\"fieldValue\\": \\"123\\",\\n \\"fieldType\\": \\"STRING\\"\\n }\\n ]\\n },\\n \\"bizVersion\\": \\"1\\",\\n \\"gmtCreate\\": 1621578648000,\\n \\"ruleStatus\\": \\"RUNNING\\",\\n \\"ruleExpressions\\": \\"[{\\\\\\\\\\\\\\"expressionName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"营销风险识别评分\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"itemId\\\\\\\\\\\\\\":1,\\\\\\\\\\\\\\"left\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"sl_rjtsDXK124a5\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"operatorCode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"between\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"operatorName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"数字在[a,b]之间\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"right\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"fieldValue\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"[65,100]\\\\\\\\\\\\\\"}}]\\",\\n \\"gmtModified\\": 1565701886000,\\n \\"eventName\\": \\"注册风险\\",\\n \\"ruleName\\": \\"营销风险识别\\",\\n \\"logicExpression\\": \\"1&2\\",\\n \\"consoleRuleId\\": 6633,\\n \\"ruleId\\": \\"101544\\",\\n \\"ruleVersionId\\": 3823,\\n \\"mainEventCode\\": \\"de_asssce8122\\",\\n \\"eventCode\\": \\"de_asssce8122\\",\\n \\"ruleActions\\": \\"[{\\\\\\\\\\\\\\"actionType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"TAG\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"code\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"addDeTags\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"description\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"打标签\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"displayType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ACTION\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"fieldType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"STRING\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"inputs\\\\\\\\\\\\\\":[\\\\\\\\\\\\\\"123\\\\\\\\\\\\\\"],\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"__addDeTags__\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"outputType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"const\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"sourceType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SAF\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"title\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"打标签\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ACTION\\\\\\\\\\\\\\"},{\\\\\\\\\\\\\\"actionType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SCORE\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"code\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"deAddScore\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"description\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"打分\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"displayType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ACTION\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"fieldType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"DOUBLE\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"inputTitle\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"123\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"inputs\\\\\\\\\\\\\\":[\\\\\\\\\\\\\\"123\\\\\\\\\\\\\\"],\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"__addDeScore__\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"outputType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"const\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"sourceType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SAF\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"title\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"打分\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ACTION\\\\\\\\\\\\\\"},{\\\\\\\\\\\\\\"actionType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"MIDDLE_VARIABLE\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"fieldType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"STRING\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"fieldValue\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"123\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"inputs\\\\\\\\\\\\\\":[\\\\\\\\\\\\\\"mid1\\\\\\\\\\\\\\"]},{\\\\\\\\\\\\\\"actionType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"VARIABLE\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"code\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"mid1\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"description\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"中间变量,mid1\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"displayType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"MIDDLE\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"fieldType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"STRING\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"inputs\\\\\\\\\\\\\\":[\\\\\\\\\\\\\\"gg\\\\\\\\\\\\\\"],\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"mid1\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"title\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"mid1\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"MIDDLE\\\\\\\\\\\\\\"}]\\",\\n \\"ruleBody\\": \\"{\\\\\\\\\\\\\\"elseIfStatement\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"condition\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"currentId\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"deepCount\\\\\\\\\\\\\\":1,\\\\\\\\\\\\\\"list\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"currentId\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"deepCount\\\\\\\\\\\\\\":1,\\\\\\\\\\\\\\"left\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"code\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"getLbsRegion(longitude, latitude)?.prov\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"description\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"根据经纬度得到省份信息,比如经度:111.878062,纬度:22.585409,则经过运算,输出”广东省“\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"displayType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SELF_BIND\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"fieldType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"STRING\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"functionCode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"functionName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"hasRightVariable\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"sl_S02sHLFT7818\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"outputThreshold\\\\\\\\\\\\\\":{},\\\\\\\\\\\\\\"sourceType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SAF\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"title\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"经纬度自定义系统变量\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SELF_BIND\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"operatorCode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"equals\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"operatorName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"等于\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"parentId\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"right\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"cc\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"rightVariableType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"constant\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"sequence\\\\\\\\\\\\\\":5}],\\\\\\\\\\\\\\"parentId\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"relationship\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"and\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"then\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"actionType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"TAG\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"code\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"addDeTags\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"description\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"打标签\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"displayType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ACTION\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"fieldType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"STRING\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"inputs\\\\\\\\\\\\\\":[\\\\\\\\\\\\\\"332\\\\\\\\\\\\\\"],\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"__addDeTags__\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"outputType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"const\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"sourceType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SAF\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"title\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"打标签\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ACTION\\\\\\\\\\\\\\"}]}],\\\\\\\\\\\\\\"elseStatement\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"then\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"actionType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"TAG\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"code\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"addDeTags\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"description\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"打标签\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"displayType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ACTION\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"fieldType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"STRING\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"inputs\\\\\\\\\\\\\\":[\\\\\\\\\\\\\\"321\\\\\\\\\\\\\\"],\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"__addDeTags__\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"outputType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"const\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"sourceType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SAF\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"title\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"打标签\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ACTION\\\\\\\\\\\\\\"}]},\\\\\\\\\\\\\\"ifStatement\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"condition\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"currentId\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"deepCount\\\\\\\\\\\\\\":1,\\\\\\\\\\\\\\"list\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"currentId\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"deepCount\\\\\\\\\\\\\\":1,\\\\\\\\\\\\\\"left\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"code\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"queryPhoneSimulatorInfo(deviceToken)?.brand\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"description\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"设备信息-终端品牌\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"displayType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"DEVICE\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"fieldType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"STRING\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"functionCode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"functionName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"hasRightVariable\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"__device_brand__\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"sourceType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SAF\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"title\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"设备信息-终端品牌-brand\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"DEVICE\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"operatorCode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"deInNameList\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"operatorName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"在名单中\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"parentId\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"right\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"code\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"nl_UN8otElLb490\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"description\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"描述11\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"displayType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"NAME_LIST\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"nl_UN8otElLb490\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"rightVariableType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"constant\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"sourceType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SAF\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"title\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"wtz_名单新建测试02\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"NAME_LIST\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"sequence\\\\\\\\\\\\\\":1},{\\\\\\\\\\\\\\"currentId\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"deepCount\\\\\\\\\\\\\\":1,\\\\\\\\\\\\\\"left\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"code\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"deFunctionProcess(ip,\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"isIp\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\")\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"description\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"判断是否符合IPv4标准\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"displayType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SYSTEM_BIND\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"fieldType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"BOOLEAN\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"functionCode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"functionName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"hasRightVariable\\\\\\\\\\\\\\":false,\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"__isIpAddressV4__\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"outputThreshold\\\\\\\\\\\\\\":{},\\\\\\\\\\\\\\"sourceType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SAF\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"title\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"IP是否符合IPV4格式\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SYSTEM_BIND\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"operatorCode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"boolIsTrue\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"operatorName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"为true\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"parentId\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"right\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"rightVariableType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"constant\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"sequence\\\\\\\\\\\\\\":2},{\\\\\\\\\\\\\\"currentId\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"deepCount\\\\\\\\\\\\\\":1,\\\\\\\\\\\\\\"list\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"currentId\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"deepCount\\\\\\\\\\\\\\":1,\\\\\\\\\\\\\\"left\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"code\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"parseIpV2(ip)?.cityId\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"description\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"通过IP地址库解析IP所在的城市Code,例如,输入“42.120.74.211”,经过该变量运算,输出“330100”。\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"displayType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SYSTEM_BIND\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"fieldType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"STRING\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"functionCode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"functionName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"hasRightVariable\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"__ipLocationCityCode__\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"outputThreshold\\\\\\\\\\\\\\":{},\\\\\\\\\\\\\\"sourceType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SAF\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"title\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"IP所在地_城市Code\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SYSTEM_BIND\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"operatorCode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"equals\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"operatorName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"等于\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"parentId\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"right\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"code\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"deFunctionProcess(ip,\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"getCountry\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\")\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"description\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"通过IP地址库解析IP所在的城市名称,例如,输入“42.120.74.211”,经过该变量运算,输出“CN”。\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"displayType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SYSTEM_BIND\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"fieldType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"STRING\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"functionCode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"functionName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"__ipLocationCountryId__\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"outputThreshold\\\\\\\\\\\\\\":{},\\\\\\\\\\\\\\"rightVariableType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"variable\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"sourceType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SAF\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"title\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"IP所在地_国家Code\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SYSTEM_BIND\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"sequence\\\\\\\\\\\\\\":3},{\\\\\\\\\\\\\\"currentId\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"deepCount\\\\\\\\\\\\\\":1,\\\\\\\\\\\\\\"list\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"currentId\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"deepCount\\\\\\\\\\\\\\":1,\\\\\\\\\\\\\\"left\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"code\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"parseIpV2(ip)?.cityId\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"description\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"通过IP地址库解析IP所在的城市Code,例如,输入“42.120.74.211”,经过该变量运算,输出“330100”。\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"displayType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SYSTEM_BIND\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"fieldType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"STRING\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"functionCode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"functionName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"hasRightVariable\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"__ipLocationCityCode__\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"outputThreshold\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"$ref\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"$.ifStatement.condition.list[2].list[0].left.outputThreshold\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"sourceType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SAF\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"title\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"IP所在地_城市Code\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SYSTEM_BIND\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"operatorCode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"deInNameList\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"operatorName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"在名单中\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"parentId\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"right\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"code\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"nl_NsVwBD2s11e0\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"displayType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"NAME_LIST\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"nl_NsVwBD2s11e0\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"rightVariableType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"constant\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"sourceType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SAF\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"title\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"device_block_list\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"NAME_LIST\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"sequence\\\\\\\\\\\\\\":4}],\\\\\\\\\\\\\\"parentId\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"relationship\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"and\\\\\\\\\\\\\\"}],\\\\\\\\\\\\\\"parentId\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"relationship\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"and\\\\\\\\\\\\\\"}],\\\\\\\\\\\\\\"parentId\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"relationship\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"and\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"then\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"actionType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"TAG\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"code\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"addDeTags\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"description\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"打标签\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"displayType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ACTION\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"fieldType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"STRING\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"inputs\\\\\\\\\\\\\\":[\\\\\\\\\\\\\\"123\\\\\\\\\\\\\\"],\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"__addDeTags__\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"outputType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"const\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"sourceType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SAF\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"title\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"打标签\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ACTION\\\\\\\\\\\\\\"}]}}\\",\\n \\"ruleType\\": \\"DSL\\",\\n \\"ruleAuthType\\": \\"NOMAL\\",\\n \\"createType\\": \\"MORMAL\\",\\n \\"authType\\": \\"all\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'DescribeRuleHit' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -23082,73 +16824,40 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREsafT73ZWM',
- ],
+ 'abilityTreeNodes' => ['FEATUREsafT73ZWM'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
'name' => 'sRequestId',
'in' => 'query',
- 'schema' => [
- 'description' => '请求id。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '60C97040-D5D5-4906-9522-B9B413730CAA',
- ],
+ 'schema' => ['description' => '请求id。', 'type' => 'string', 'required' => false, 'example' => '60C97040-D5D5-4906-9522-B9B413730CAA'],
],
[
'name' => 'ruleId',
'in' => 'query',
- 'schema' => [
- 'description' => '策略ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '102059',
- ],
+ 'schema' => ['description' => '策略ID', 'type' => 'string', 'required' => false, 'example' => '102059'],
],
[
'name' => 'ruleSnapshotId',
'in' => 'query',
- 'schema' => [
- 'description' => '快照id。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '27',
- ],
+ 'schema' => ['description' => '快照id。', 'type' => 'string', 'required' => false, 'example' => '27'],
],
[
'name' => 'requestTime',
'in' => 'query',
- 'schema' => [
- 'description' => '执行时间',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1752571330000',
- ],
+ 'schema' => ['description' => '执行时间', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1752571330000'],
],
],
'responses' => [
@@ -23156,118 +16865,120 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'resultObject' => [
- 'description' => '返回对象',
- 'type' => 'object',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
+ 'resultObject' => ['description' => '返回对象', 'type' => 'object', 'example' => 'true'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
'title' => 'DescribeRuleHit',
- ],
- 'DescribeUsedService' => [
- 'summary' => '获取用户使用过服务列表。',
- 'methods' => [
- 'post',
- 'get',
+ 'summary' => '查询策略命中详情',
+ 'changeSet' => [
+ ['createdAt' => '2025-07-23T07:20:31.000Z', 'description' => '请求参数发生变更'],
+ ['createdAt' => '2022-05-11T07:23:08.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRuleHit'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeRuleListByEventCodesList' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'],
+ ],
+ [
+ 'name' => 'eventCodes',
+ 'in' => 'query',
+ 'schema' => ['description' => '事件编码,json数组字符串。', 'type' => 'string', 'required' => true, 'example' => '["de_asssce8122"]'],
],
],
'responses' => [
200 => [
- 'headers' => [],
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
- 'records' => [
- 'description' => '记录详情',
+ 'resultObject' => [
+ 'description' => '返回对象。',
'type' => 'array',
'items' => [
- 'description' => '记录详情。',
+ 'description' => '返回对象。',
'type' => 'object',
'properties' => [
- 'enName' => [
- 'description' => '英文名称',
- 'type' => 'string',
- 'example' => 'account_abuse',
- ],
- 'name' => [
- 'description' => '服务名称',
- 'type' => 'string',
- 'example' => '注册风险识别服务',
- ],
- 'serviceCode' => [
- 'description' => '服务code',
- 'type' => 'string',
- 'example' => 'account_abuse',
- ],
+ 'ruleId' => ['description' => '策略ID。', 'type' => 'string', 'example' => '4730'],
+ 'ruleName' => ['description' => '策略名称。', 'type' => 'string', 'example' => '营销风险识别'],
],
],
],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"records\\": [\\n {\\n \\"enName\\": \\"account_abuse\\",\\n \\"name\\": \\"注册风险识别服务\\",\\n \\"serviceCode\\": \\"account_abuse\\"\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '获取用户使用过服务列表',
- ],
- 'DescribeAuthEventNameList' => [
- 'summary' => '查询当前用户的事件名列表',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '通过eventCode 根据事件编码查询策略列表',
+ 'summary' => '查询策略列表。',
+ 'changeSet' => [
+ ['createdAt' => '2021-12-22T09:23:29.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRuleListByEventCodesList'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": [\\n {\\n \\"ruleId\\": \\"4730\\",\\n \\"ruleName\\": \\"营销风险识别\\"\\n }\\n ],\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeRulePageList' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -23276,100 +16987,64 @@
'operationType' => 'read',
'systemTags' => [
'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREsafBCGX2Z'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'regId',
+ 'name' => 'currentPage',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '当前页码。', 'type' => 'string', 'required' => false, 'example' => '1'],
],
- ],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'resultObject' => [
- 'description' => '返回对象',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'requestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2',
- ],
- ],
- ],
+ [
+ 'name' => 'pageSize',
+ 'in' => 'query',
+ 'schema' => ['description' => '每页大小,默认值为10。', 'type' => 'string', 'required' => false, 'example' => '10'],
],
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\"\\n}","type":"json"}]',
- 'title' => '查询当前用户的事件名列表',
- ],
- 'CreateAppKey' => [
- 'summary' => '创建appKey。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'eventCode',
+ 'in' => 'query',
+ 'schema' => ['description' => '事件编码。', 'type' => 'string', 'required' => false, 'example' => 'de_asssce8122'],
],
- ],
- 'operationType' => 'readAndWrite',
- 'systemTags' => [
- 'operationType' => 'create',
- 'abilityTreeCode' => '135917',
- 'abilityTreeNodes' => [
- 'FEATUREsaf64YRTV',
- 'FEATUREsaf6E3SDJ',
- 'FEATUREsafL5D4RG',
+ [
+ 'name' => 'ruleStatus',
+ 'in' => 'query',
+ 'schema' => ['description' => '策略状态。', 'type' => 'string', 'required' => false, 'example' => 'RUNNING'],
],
- ],
- 'parameters' => [
[
- 'name' => 'Lang',
+ 'name' => 'ruleName',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '策略名称。', 'type' => 'string', 'required' => false, 'example' => '营销风险识别评分'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
+ ],
+ [
+ 'name' => 'createType',
+ 'in' => 'query',
+ 'schema' => ['description' => '创建类型。', 'type' => 'string', 'required' => false, 'example' => 'NORMAL'],
+ ],
+ [
+ 'name' => 'ruleAuthType',
+ 'in' => 'query',
+ 'schema' => ['description' => '策略类型。', 'type' => 'string', 'required' => false, 'example' => 'NOMAL'],
+ ],
+ [
+ 'name' => 'sort',
+ 'in' => 'query',
+ 'schema' => ['description' => '排序方式,默认值为desc'."\n"
+ .'- desc:降序'."\n"
+ .'- asc:升序', 'type' => 'string', 'required' => false, 'example' => 'asc'],
],
],
'responses' => [
@@ -23377,33 +17052,100 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'data' => [
- 'description' => '数据对象',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
+ 'totalItem' => ['description' => '总条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '28'],
+ 'pageSize' => ['description' => '每页大小,默认值为10。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'requestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2'],
+ 'currentPage' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'totalPage' => ['description' => '总页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '3'],
+ 'resultObject' => [
+ 'description' => '返回对象。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '返回对象。',
+ 'type' => 'object',
+ 'properties' => [
+ 'eventCode' => ['description' => '事件编码。', 'type' => 'string', 'example' => 'de_arcehq4370'],
+ 'ruleId' => ['description' => '策略ID。', 'type' => 'string', 'example' => '102059'],
+ 'ruleStatus' => ['description' => '策略状态。', 'type' => 'string', 'example' => 'RUNNING'],
+ 'gmtModified' => ['description' => '修改时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1565701886000'],
+ 'gmtCreate' => ['description' => '创建时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1621578648000'],
+ 'templateId' => ['description' => '模版ID。', 'type' => 'integer', 'format' => 'int64', 'example' => 'register'],
+ 'priority' => ['description' => '策略优先级,数字越大优先级越高。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
+ 'ruleName' => ['description' => '策略名称。', 'type' => 'string', 'example' => '营销风险识别'],
+ 'ruleMemo' => ['description' => '策略描述。', 'type' => 'string', 'example' => '描述信息'],
+ 'eventName' => ['description' => '事件名称。', 'type' => 'string', 'example' => '注册风险'],
+ 'id' => ['description' => '策略主键ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '2793'],
+ 'version' => ['description' => '版本号。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'ruleVersionId' => ['description' => '策略版本号主键ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '11300'],
+ 'eventType' => ['description' => '事件类型。', 'type' => 'string', 'example' => 'MAIN'],
+ 'mainRuleId' => ['description' => '主策略ID。', 'type' => 'string', 'example' => '4399'],
+ 'consoleAudit' => [
+ 'description' => '审核对象。',
+ 'type' => 'object',
+ 'properties' => [
+ 'id' => ['description' => '主键ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '1728'],
+ 'applyUserId' => ['description' => '审核通过用户uid。', 'type' => 'string', 'example' => '用户uid'],
+ 'applyUserName' => ['description' => '审核通过用户名称。', 'type' => 'string', 'example' => 'root'],
+ 'auditUserId' => ['description' => '审核用户uid。', 'type' => 'string', 'example' => '1234xxxx'],
+ 'auditUserName' => ['description' => '审核用户name。', 'type' => 'string', 'example' => 'root'],
+ 'auditRealUserId' => ['description' => '最终审核用户uid。', 'type' => 'string', 'example' => '1728'],
+ 'auditRealUserName' => ['description' => '最终审核用户name。', 'type' => 'string', 'example' => 'root'],
+ 'auditStatus' => ['description' => '进件审核状态。', 'type' => 'string', 'example' => 'AGREE'],
+ 'auditTime' => ['description' => '审批时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1545726028000'],
+ 'gmtCreate' => ['description' => '创建时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1545726028000'],
+ 'relationId' => ['description' => '审批关联的事务ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '123'],
+ 'relationType' => ['description' => '审批的类型(如rule代表策略的审批)。', 'type' => 'string', 'example' => 'RULE'],
+ 'relationName' => ['description' => '审批关联的事务名称(可空)。', 'type' => 'string', 'example' => '策略1'."\n"],
+ 'relationExt' => ['description' => '关联的其他人信息(json结构)。', 'type' => 'string', 'example' => '{}'],
+ 'auditMsg' => ['description' => '审批意见。', 'type' => 'string', 'example' => '同意'],
+ 'auditRemark' => ['description' => '审批人备注。', 'type' => 'string', 'example' => '备注'],
+ ],
+ ],
+ 'externalRuleName' => ['description' => '策略对客名称。', 'type' => 'string', 'example' => '策略1'],
+ 'ruleAuthType' => ['description' => '策略类型。', 'type' => 'string', 'example' => 'NORMAL'],
+ 'authType' => ['description' => '服务授权类型。', 'type' => 'string', 'example' => 'all'],
+ 'hasNewVersion' => ['description' => '是否有新版本。', 'type' => 'boolean', 'example' => 'true'],
+ 'ruleType' => ['description' => '策略类型。', 'type' => 'string', 'example' => 'NORMAL'],
+ 'hasTesting' => ['type' => 'boolean'],
+ ],
+ ],
],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '创建appKey',
- ],
- 'DescribeRequestHit' => [
- 'summary' => '查询请求命中详情。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '策略分页列表',
+ 'summary' => '查询策略列表。',
+ 'changeSet' => [
+ ['createdAt' => '2025-07-22T08:12:51.000Z', 'description' => '响应参数发生变更'],
+ ['createdAt' => '2025-05-07T01:25:23.000Z', 'description' => '请求参数发生变更、响应参数发生变更'],
+ ['createdAt' => '2022-12-27T11:32:42.000Z', 'description' => '请求参数发生变更、响应参数发生变更'],
+ ['createdAt' => '2021-10-18T12:18:57.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRulePageList'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"totalItem\\": 28,\\n \\"pageSize\\": 10,\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\",\\n \\"currentPage\\": 1,\\n \\"totalPage\\": 3,\\n \\"resultObject\\": [\\n {\\n \\"eventCode\\": \\"de_arcehq4370\\",\\n \\"ruleId\\": \\"102059\\",\\n \\"ruleStatus\\": \\"RUNNING\\",\\n \\"gmtModified\\": 1565701886000,\\n \\"gmtCreate\\": 1621578648000,\\n \\"templateId\\": 0,\\n \\"priority\\": 10,\\n \\"ruleName\\": \\"营销风险识别\\",\\n \\"ruleMemo\\": \\"描述信息\\",\\n \\"eventName\\": \\"注册风险\\",\\n \\"id\\": 2793,\\n \\"version\\": 1,\\n \\"ruleVersionId\\": 11300,\\n \\"eventType\\": \\"MAIN\\",\\n \\"mainRuleId\\": \\"4399\\",\\n \\"consoleAudit\\": {\\n \\"id\\": 1728,\\n \\"applyUserId\\": \\"用户uid\\",\\n \\"applyUserName\\": \\"root\\",\\n \\"auditUserId\\": \\"1234xxxx\\",\\n \\"auditUserName\\": \\"root\\",\\n \\"auditRealUserId\\": \\"1728\\",\\n \\"auditRealUserName\\": \\"root\\",\\n \\"auditStatus\\": \\"AGREE\\",\\n \\"auditTime\\": 1545726028000,\\n \\"gmtCreate\\": 1545726028000,\\n \\"relationId\\": 123,\\n \\"relationType\\": \\"RULE\\",\\n \\"relationName\\": \\"策略1\\\\n\\",\\n \\"relationExt\\": \\"{}\\",\\n \\"auditMsg\\": \\"同意\\",\\n \\"auditRemark\\": \\"备注\\"\\n },\\n \\"externalRuleName\\": \\"策略1\\",\\n \\"ruleAuthType\\": \\"NORMAL\\",\\n \\"authType\\": \\"all\\",\\n \\"hasNewVersion\\": true,\\n \\"ruleType\\": \\"NORMAL\\",\\n \\"hasTesting\\": true\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'DescribeRuleSnapshot' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -23414,42 +17156,30 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREsafT73ZWM',
- ],
+ 'abilityTreeNodes' => ['FEATUREsafT73ZWM'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'sRequestId',
+ 'name' => 'ruleId',
'in' => 'query',
- 'schema' => [
- 'description' => '请求id。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '60C97040-D5D5-4906-9522-B9B413730CAA',
- ],
+ 'schema' => ['description' => '策略ID。', 'type' => 'string', 'required' => false, 'example' => '101544'],
+ ],
+ [
+ 'name' => 'snapshotVersion',
+ 'in' => 'query',
+ 'schema' => ['description' => '快照版本。', 'type' => 'string', 'required' => false, 'example' => '10'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
@@ -23457,123 +17187,62 @@
'schema' => [
'type' => 'object',
'properties' => [
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
'resultObject' => [
'description' => '返回对象。',
'type' => 'object',
'properties' => [
- 'sRequestId' => [
- 'description' => '请求id。',
- 'type' => 'string',
- 'example' => '60C97040-D5D5-4906-9522-B9B413730CAA'."\n",
- ],
- 'eventCode' => [
- 'description' => '事件编码。',
- 'type' => 'string',
- 'example' => 'de_aszbjb7236',
- ],
- 'eventName' => [
- 'description' => '事件名称。',
- 'type' => 'string',
- 'example' => '注册风险',
- ],
- 'requestTime' => [
- 'description' => '请求的时间戳。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1752571330000',
- ],
- 'totalCost' => [
- 'description' => '请求总量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '4',
- ],
- 'inputs' => [
- 'description' => '输入参数。',
- 'type' => 'string',
- 'example' => '{\\"eventCode\\":\\"de_afghcf6411\\",\\"ip\\":\\"196.168.0.1\\",\\"DEtest222\\":9007199254740999,\\"age\\":20}',
- ],
- 'outputs' => [
- 'description' => '输出参数。',
- 'type' => 'string',
- 'example' => '{\\"tags\\":\\"rm0102,test_tag,age\\",\\"score\\":\\"30.0\\",\\"extend\\":\\"{\\\\\\"OUT_V01\\\\\\":\\\\\\"Maritime\\\\\\",\\\\\\"OUT_V02\\\\\\":\\\\\\"Lome\\\\\\",\\\\\\"OUT_V03\\\\\\":\\\\\\"196.168.0.1_A\\\\\\"}\\",\\"finalDecision\\":\\"REJECT\\"}',
- ],
- 'ruleHitRecords' => [
- 'description' => '命令执行的规则详情。',
- 'type' => 'array',
- 'items' => [
- 'description' => '命令执行的规则详情。',
- 'type' => 'object',
- 'properties' => [
- 'order' => [
- 'description' => '顺序。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'ruleId' => [
- 'description' => '策略ID。',
- 'type' => 'string',
- 'example' => '101544',
- ],
- 'ruleSnapshotId' => [
- 'description' => '规则快照id。',
- 'type' => 'string',
- 'example' => '27',
- ],
- 'ruleName' => [
- 'description' => '策略名称。',
- 'type' => 'string',
- 'example' => '注册手机号是11位数字',
- ],
- 'ruleStatus' => [
- 'description' => '策略状态。',
- 'type' => 'string',
- 'example' => 'RUNNING',
- ],
- 'hitSuccessful' => [
- 'description' => '是否命中规则。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'cost' => [
- 'description' => '耗时。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'isShowDetail' => [
- 'description' => '是否显示详情。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- ],
- ],
- ],
+ 'eventCode' => ['description' => '事件编码。', 'type' => 'string', 'example' => 'de_aszbjb7236'],
+ 'ruleId' => ['description' => '策略ID', 'type' => 'string', 'example' => '101804'],
+ 'memo' => ['description' => '备注。', 'type' => 'string', 'example' => '备注'],
+ 'ruleActions' => ['description' => '规则动作。', 'type' => 'string', 'example' => '[{\\"inputs\\":[\\"LdShop\\"],\\"name\\":\\"__addDeTags__\\",\\"actionType\\":\\"TAG\\",\\"outputType\\":\\"const\\"}]'],
+ 'bizVersion' => ['description' => '业务版本。', 'type' => 'string', 'example' => '1'],
+ 'gmtCreate' => ['description' => '创建时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1621578648000'],
+ 'ruleStatus' => ['description' => '策略状态。', 'type' => 'string', 'example' => 'RUNNING'],
+ 'ruleExpressions' => ['description' => '表达式。', 'type' => 'string', 'example' => '[{\\"expressionName\\":\\"代下单_记录日志\\",\\"itemId\\":1,\\"left\\":{\\"name\\":\\"dhcfX2v7670\\"},\\"operatorCode\\":\\"gte\\",\\"operatorName\\":\\"大于等于\\",\\"right\\":{\\"fieldValue\\":\\"2\\"}}]'],
+ 'gmtModified' => ['description' => '修改时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1565701886000'],
+ 'eventName' => ['description' => '事件名称。', 'type' => 'string', 'example' => '注册风险'],
+ 'ruleName' => ['description' => '策略名称。', 'type' => 'string', 'example' => '营销风险识别'],
+ 'logicExpression' => ['description' => '分析结果的表达式。', 'type' => 'string', 'example' => '1&2'],
+ 'ruleType' => ['description' => '策略类型。', 'type' => 'string', 'example' => 'DSL'],
+ 'ruleBody' => ['description' => 'DSL策略表达式。ruleType为DSL时,此字段不为空。', 'type' => 'string', 'example' => '{\\"elseIfStatement\\":[{\\"condition\\":{\\"currentId\\":0,\\"deepCount\\":1,\\"list\\":[{\\"currentId\\":0,\\"deepCount\\":1,\\"left\\":{\\"code\\":\\"getLbsRegion(longitude, latitude)?.prov\\",\\"description\\":\\"根据经纬度得到省份信息,比如经度:111.878062,纬度:22.585409,则经过运算,输出”广东省“\\",\\"displayType\\":\\"SELF_BIND\\",\\"fieldType\\":\\"STRING\\",\\"functionCode\\":\\"\\",\\"functionName\\":\\"\\",\\"hasRightVariable\\":true,\\"name\\":\\"sl_S02sHLFT7818\\",\\"outputThreshold\\":{},\\"sourceType\\":\\"SAF\\",\\"title\\":\\"经纬度自定义系统变量\\",\\"type\\":\\"SELF_BIND\\"},\\"operatorCode\\":\\"equals\\",\\"operatorName\\":\\"等于\\",\\"parentId\\":0,\\"right\\":{\\"name\\":\\"cc\\",\\"rightVariableType\\":\\"constant\\"},\\"sequence\\":5}],\\"parentId\\":0,\\"relationship\\":\\"and\\"},\\"then\\":[{\\"actionType\\":\\"TAG\\",\\"code\\":\\"addDeTags\\",\\"description\\":\\"打标签\\",\\"displayType\\":\\"ACTION\\",\\"fieldType\\":\\"STRING\\",\\"inputs\\":[\\"332\\"],\\"name\\":\\"__addDeTags__\\",\\"outputType\\":\\"const\\",\\"sourceType\\":\\"SAF\\",\\"title\\":\\"打标签\\",\\"type\\":\\"ACTION\\"}]}],\\"elseStatement\\":{\\"then\\":[{\\"actionType\\":\\"TAG\\",\\"code\\":\\"addDeTags\\",\\"description\\":\\"打标签\\",\\"displayType\\":\\"ACTION\\",\\"fieldType\\":\\"STRING\\",\\"inputs\\":[\\"321\\"],\\"name\\":\\"__addDeTags__\\",\\"outputType\\":\\"const\\",\\"sourceType\\":\\"SAF\\",\\"title\\":\\"打标签\\",\\"type\\":\\"ACTION\\"}]},\\"ifStatement\\":{\\"condition\\":{\\"currentId\\":0,\\"deepCount\\":1,\\"list\\":[{\\"currentId\\":0,\\"deepCount\\":1,\\"left\\":{\\"code\\":\\"queryPhoneSimulatorInfo(deviceToken)?.brand\\",\\"description\\":\\"设备信息-终端品牌\\",\\"displayType\\":\\"DEVICE\\",\\"fieldType\\":\\"STRING\\",\\"functionCode\\":\\"\\",\\"functionName\\":\\"\\",\\"hasRightVariable\\":true,\\"name\\":\\"__device_brand__\\",\\"sourceType\\":\\"SAF\\",\\"title\\":\\"设备信息-终端品牌-brand\\",\\"type\\":\\"DEVICE\\"},\\"operatorCode\\":\\"deInNameList\\",\\"operatorName\\":\\"在名单中\\",\\"parentId\\":0,\\"right\\":{\\"code\\":\\"nl_UN8otElLb490\\",\\"description\\":\\"描述11\\",\\"displayType\\":\\"NAME_LIST\\",\\"name\\":\\"nl_UN8otElLb490\\",\\"rightVariableType\\":\\"constant\\",\\"sourceType\\":\\"SAF\\",\\"title\\":\\"wtz_名单新建测试02\\",\\"type\\":\\"NAME_LIST\\"},\\"sequence\\":1},{\\"currentId\\":0,\\"deepCount\\":1,\\"left\\":{\\"code\\":\\"deFunctionProcess(ip,\\\\\\"isIp\\\\\\")\\",\\"description\\":\\"判断是否符合IPv4标准\\",\\"displayType\\":\\"SYSTEM_BIND\\",\\"fieldType\\":\\"BOOLEAN\\",\\"functionCode\\":\\"\\",\\"functionName\\":\\"\\",\\"hasRightVariable\\":false,\\"name\\":\\"__isIpAddressV4__\\",\\"outputThreshold\\":{},\\"sourceType\\":\\"SAF\\",\\"title\\":\\"IP是否符合IPV4格式\\",\\"type\\":\\"SYSTEM_BIND\\"},\\"operatorCode\\":\\"boolIsTrue\\",\\"operatorName\\":\\"为true\\",\\"parentId\\":0,\\"right\\":{\\"name\\":\\"\\",\\"rightVariableType\\":\\"constant\\"},\\"sequence\\":2},{\\"currentId\\":0,\\"deepCount\\":1,\\"list\\":[{\\"currentId\\":0,\\"deepCount\\":1,\\"left\\":{\\"code\\":\\"parseIpV2(ip)?.cityId\\",\\"description\\":\\"通过IP地址库解析IP所在的城市Code,例如,输入“42.120.74.211”,经过该变量运算,输出“330100”。\\",\\"displayType\\":\\"SYSTEM_BIND\\",\\"fieldType\\":\\"STRING\\",\\"functionCode\\":\\"\\",\\"functionName\\":\\"\\",\\"hasRightVariable\\":true,\\"name\\":\\"__ipLocationCityCode__\\",\\"outputThreshold\\":{},\\"sourceType\\":\\"SAF\\",\\"title\\":\\"IP所在地_城市Code\\",\\"type\\":\\"SYSTEM_BIND\\"},\\"operatorCode\\":\\"equals\\",\\"operatorName\\":\\"等于\\",\\"parentId\\":0,\\"right\\":{\\"code\\":\\"deFunctionProcess(ip,\\\\\\"getCountry\\\\\\")\\",\\"description\\":\\"通过IP地址库解析IP所在的城市名称,例如,输入“42.120.74.211”,经过该变量运算,输出“CN”。\\",\\"displayType\\":\\"SYSTEM_BIND\\",\\"fieldType\\":\\"STRING\\",\\"functionCode\\":\\"\\",\\"functionName\\":\\"\\",\\"name\\":\\"__ipLocationCountryId__\\",\\"outputThreshold\\":{},\\"rightVariableType\\":\\"variable\\",\\"sourceType\\":\\"SAF\\",\\"title\\":\\"IP所在地_国家Code\\",\\"type\\":\\"SYSTEM_BIND\\"},\\"sequence\\":3},{\\"currentId\\":0,\\"deepCount\\":1,\\"list\\":[{\\"currentId\\":0,\\"deepCount\\":1,\\"left\\":{\\"code\\":\\"parseIpV2(ip)?.cityId\\",\\"description\\":\\"通过IP地址库解析IP所在的城市Code,例如,输入“42.120.74.211”,经过该变量运算,输出“330100”。\\",\\"displayType\\":\\"SYSTEM_BIND\\",\\"fieldType\\":\\"STRING\\",\\"functionCode\\":\\"\\",\\"functionName\\":\\"\\",\\"hasRightVariable\\":true,\\"name\\":\\"__ipLocationCityCode__\\",\\"outputThreshold\\":{\\"$ref\\":\\"$.ifStatement.condition.list[2].list[0].left.outputThreshold\\"},\\"sourceType\\":\\"SAF\\",\\"title\\":\\"IP所在地_城市Code\\",\\"type\\":\\"SYSTEM_BIND\\"},\\"operatorCode\\":\\"deInNameList\\",\\"operatorName\\":\\"在名单中\\",\\"parentId\\":0,\\"right\\":{\\"code\\":\\"nl_NsVwBD2s11e0\\",\\"displayType\\":\\"NAME_LIST\\",\\"name\\":\\"nl_NsVwBD2s11e0\\",\\"rightVariableType\\":\\"constant\\",\\"sourceType\\":\\"SAF\\",\\"title\\":\\"device_block_list\\",\\"type\\":\\"NAME_LIST\\"},\\"sequence\\":4}],\\"parentId\\":0,\\"relationship\\":\\"and\\"}],\\"parentId\\":0,\\"relationship\\":\\"and\\"}],\\"parentId\\":0,\\"relationship\\":\\"and\\"},\\"then\\":[{\\"actionType\\":\\"TAG\\",\\"code\\":\\"addDeTags\\",\\"description\\":\\"打标签\\",\\"displayType\\":\\"ACTION\\",\\"fieldType\\":\\"STRING\\",\\"inputs\\":[\\"123\\"],\\"name\\":\\"__addDeTags__\\",\\"outputType\\":\\"const\\",\\"sourceType\\":\\"SAF\\",\\"title\\":\\"打标签\\",\\"type\\":\\"ACTION\\"}]}}'],
],
],
- 'requestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2',
- ],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": {\\n \\"sRequestId\\": \\"60C97040-D5D5-4906-9522-B9B413730CAA\\\\n\\",\\n \\"eventCode\\": \\"de_aszbjb7236\\",\\n \\"eventName\\": \\"注册风险\\",\\n \\"requestTime\\": 1752571330000,\\n \\"totalCost\\": 4,\\n \\"inputs\\": \\"{\\\\\\\\\\\\\\"eventCode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"de_afghcf6411\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"ip\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"196.168.0.1\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"DEtest222\\\\\\\\\\\\\\":9007199254740999,\\\\\\\\\\\\\\"age\\\\\\\\\\\\\\":20}\\",\\n \\"outputs\\": \\"{\\\\\\\\\\\\\\"tags\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"rm0102,test_tag,age\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"score\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"30.0\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"extend\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"{\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"OUT_V01\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"Maritime\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"OUT_V02\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"Lome\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"OUT_V03\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"196.168.0.1_A\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"}\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"finalDecision\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"REJECT\\\\\\\\\\\\\\"}\\",\\n \\"ruleHitRecords\\": [\\n {\\n \\"order\\": 1,\\n \\"ruleId\\": \\"101544\\",\\n \\"ruleSnapshotId\\": \\"27\\",\\n \\"ruleName\\": \\"注册手机号是11位数字\\",\\n \\"ruleStatus\\": \\"RUNNING\\",\\n \\"hitSuccessful\\": true,\\n \\"cost\\": 1,\\n \\"isShowDetail\\": true\\n }\\n ]\\n },\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\"\\n}","type":"json"}]',
- 'title' => '查询请求命中详情',
- ],
- 'DescribeAllEventNameAndCode' => [
- 'summary' => '事件列表查询。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => 'DescribeRuleSnapshot',
+ 'summary' => '根据ruleId+version查询历史快照。',
+ 'changeSet' => [
+ ['createdAt' => '2025-09-11T01:46:39.000Z', 'description' => '响应参数发生变更'],
+ ['createdAt' => '2022-05-11T07:23:08.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRuleSnapshot'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"resultObject\\": {\\n \\"eventCode\\": \\"de_aszbjb7236\\",\\n \\"ruleId\\": \\"101804\\",\\n \\"memo\\": \\"备注\\",\\n \\"ruleActions\\": \\"[{\\\\\\\\\\\\\\"inputs\\\\\\\\\\\\\\":[\\\\\\\\\\\\\\"LdShop\\\\\\\\\\\\\\"],\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"__addDeTags__\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"actionType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"TAG\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"outputType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"const\\\\\\\\\\\\\\"}]\\",\\n \\"bizVersion\\": \\"1\\",\\n \\"gmtCreate\\": 1621578648000,\\n \\"ruleStatus\\": \\"RUNNING\\",\\n \\"ruleExpressions\\": \\"[{\\\\\\\\\\\\\\"expressionName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"代下单_记录日志\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"itemId\\\\\\\\\\\\\\":1,\\\\\\\\\\\\\\"left\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"dhcfX2v7670\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"operatorCode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"gte\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"operatorName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"大于等于\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"right\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"fieldValue\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"2\\\\\\\\\\\\\\"}}]\\",\\n \\"gmtModified\\": 1565701886000,\\n \\"eventName\\": \\"注册风险\\",\\n \\"ruleName\\": \\"营销风险识别\\",\\n \\"logicExpression\\": \\"1&2\\",\\n \\"ruleType\\": \\"DSL\\",\\n \\"ruleBody\\": \\"{\\\\\\\\\\\\\\"elseIfStatement\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"condition\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"currentId\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"deepCount\\\\\\\\\\\\\\":1,\\\\\\\\\\\\\\"list\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"currentId\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"deepCount\\\\\\\\\\\\\\":1,\\\\\\\\\\\\\\"left\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"code\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"getLbsRegion(longitude, latitude)?.prov\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"description\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"根据经纬度得到省份信息,比如经度:111.878062,纬度:22.585409,则经过运算,输出”广东省“\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"displayType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SELF_BIND\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"fieldType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"STRING\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"functionCode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"functionName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"hasRightVariable\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"sl_S02sHLFT7818\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"outputThreshold\\\\\\\\\\\\\\":{},\\\\\\\\\\\\\\"sourceType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SAF\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"title\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"经纬度自定义系统变量\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SELF_BIND\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"operatorCode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"equals\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"operatorName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"等于\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"parentId\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"right\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"cc\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"rightVariableType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"constant\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"sequence\\\\\\\\\\\\\\":5}],\\\\\\\\\\\\\\"parentId\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"relationship\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"and\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"then\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"actionType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"TAG\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"code\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"addDeTags\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"description\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"打标签\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"displayType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ACTION\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"fieldType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"STRING\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"inputs\\\\\\\\\\\\\\":[\\\\\\\\\\\\\\"332\\\\\\\\\\\\\\"],\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"__addDeTags__\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"outputType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"const\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"sourceType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SAF\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"title\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"打标签\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ACTION\\\\\\\\\\\\\\"}]}],\\\\\\\\\\\\\\"elseStatement\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"then\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"actionType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"TAG\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"code\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"addDeTags\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"description\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"打标签\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"displayType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ACTION\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"fieldType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"STRING\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"inputs\\\\\\\\\\\\\\":[\\\\\\\\\\\\\\"321\\\\\\\\\\\\\\"],\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"__addDeTags__\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"outputType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"const\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"sourceType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SAF\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"title\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"打标签\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ACTION\\\\\\\\\\\\\\"}]},\\\\\\\\\\\\\\"ifStatement\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"condition\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"currentId\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"deepCount\\\\\\\\\\\\\\":1,\\\\\\\\\\\\\\"list\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"currentId\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"deepCount\\\\\\\\\\\\\\":1,\\\\\\\\\\\\\\"left\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"code\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"queryPhoneSimulatorInfo(deviceToken)?.brand\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"description\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"设备信息-终端品牌\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"displayType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"DEVICE\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"fieldType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"STRING\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"functionCode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"functionName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"hasRightVariable\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"__device_brand__\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"sourceType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SAF\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"title\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"设备信息-终端品牌-brand\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"DEVICE\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"operatorCode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"deInNameList\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"operatorName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"在名单中\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"parentId\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"right\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"code\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"nl_UN8otElLb490\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"description\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"描述11\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"displayType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"NAME_LIST\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"nl_UN8otElLb490\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"rightVariableType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"constant\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"sourceType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SAF\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"title\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"wtz_名单新建测试02\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"NAME_LIST\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"sequence\\\\\\\\\\\\\\":1},{\\\\\\\\\\\\\\"currentId\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"deepCount\\\\\\\\\\\\\\":1,\\\\\\\\\\\\\\"left\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"code\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"deFunctionProcess(ip,\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"isIp\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\")\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"description\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"判断是否符合IPv4标准\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"displayType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SYSTEM_BIND\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"fieldType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"BOOLEAN\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"functionCode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"functionName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"hasRightVariable\\\\\\\\\\\\\\":false,\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"__isIpAddressV4__\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"outputThreshold\\\\\\\\\\\\\\":{},\\\\\\\\\\\\\\"sourceType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SAF\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"title\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"IP是否符合IPV4格式\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SYSTEM_BIND\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"operatorCode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"boolIsTrue\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"operatorName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"为true\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"parentId\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"right\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"rightVariableType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"constant\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"sequence\\\\\\\\\\\\\\":2},{\\\\\\\\\\\\\\"currentId\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"deepCount\\\\\\\\\\\\\\":1,\\\\\\\\\\\\\\"list\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"currentId\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"deepCount\\\\\\\\\\\\\\":1,\\\\\\\\\\\\\\"left\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"code\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"parseIpV2(ip)?.cityId\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"description\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"通过IP地址库解析IP所在的城市Code,例如,输入“42.120.74.211”,经过该变量运算,输出“330100”。\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"displayType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SYSTEM_BIND\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"fieldType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"STRING\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"functionCode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"functionName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"hasRightVariable\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"__ipLocationCityCode__\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"outputThreshold\\\\\\\\\\\\\\":{},\\\\\\\\\\\\\\"sourceType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SAF\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"title\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"IP所在地_城市Code\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SYSTEM_BIND\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"operatorCode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"equals\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"operatorName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"等于\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"parentId\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"right\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"code\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"deFunctionProcess(ip,\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"getCountry\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\")\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"description\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"通过IP地址库解析IP所在的城市名称,例如,输入“42.120.74.211”,经过该变量运算,输出“CN”。\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"displayType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SYSTEM_BIND\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"fieldType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"STRING\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"functionCode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"functionName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"__ipLocationCountryId__\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"outputThreshold\\\\\\\\\\\\\\":{},\\\\\\\\\\\\\\"rightVariableType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"variable\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"sourceType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SAF\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"title\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"IP所在地_国家Code\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SYSTEM_BIND\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"sequence\\\\\\\\\\\\\\":3},{\\\\\\\\\\\\\\"currentId\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"deepCount\\\\\\\\\\\\\\":1,\\\\\\\\\\\\\\"list\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"currentId\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"deepCount\\\\\\\\\\\\\\":1,\\\\\\\\\\\\\\"left\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"code\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"parseIpV2(ip)?.cityId\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"description\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"通过IP地址库解析IP所在的城市Code,例如,输入“42.120.74.211”,经过该变量运算,输出“330100”。\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"displayType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SYSTEM_BIND\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"fieldType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"STRING\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"functionCode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"functionName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"hasRightVariable\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"__ipLocationCityCode__\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"outputThreshold\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"$ref\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"$.ifStatement.condition.list[2].list[0].left.outputThreshold\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"sourceType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SAF\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"title\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"IP所在地_城市Code\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SYSTEM_BIND\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"operatorCode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"deInNameList\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"operatorName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"在名单中\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"parentId\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"right\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"code\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"nl_NsVwBD2s11e0\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"displayType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"NAME_LIST\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"nl_NsVwBD2s11e0\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"rightVariableType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"constant\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"sourceType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SAF\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"title\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"device_block_list\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"NAME_LIST\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"sequence\\\\\\\\\\\\\\":4}],\\\\\\\\\\\\\\"parentId\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"relationship\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"and\\\\\\\\\\\\\\"}],\\\\\\\\\\\\\\"parentId\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"relationship\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"and\\\\\\\\\\\\\\"}],\\\\\\\\\\\\\\"parentId\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"relationship\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"and\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"then\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"actionType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"TAG\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"code\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"addDeTags\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"description\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"打标签\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"displayType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ACTION\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"fieldType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"STRING\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"inputs\\\\\\\\\\\\\\":[\\\\\\\\\\\\\\"123\\\\\\\\\\\\\\"],\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"__addDeTags__\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"outputType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"const\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"sourceType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SAF\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"title\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"打标签\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ACTION\\\\\\\\\\\\\\"}]}}\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'DescribeRuleVersionList' => [
+ 'summary' => '查询策略版本列表。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -23582,39 +17251,42 @@
'operationType' => 'read',
'systemTags' => [
'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREsafBCGX2Z'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'createType',
+ 'name' => 'consoleRuleId',
'in' => 'query',
- 'schema' => [
- 'description' => '创建类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'NORMAL',
- ],
+ 'schema' => ['description' => '策略主键ID。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '6851'],
+ ],
+ [
+ 'name' => 'ruleId',
+ 'in' => 'query',
+ 'schema' => ['description' => '策略ID。', 'type' => 'string', 'required' => false, 'example' => '101804'],
+ ],
+ [
+ 'name' => 'currentPage',
+ 'in' => 'query',
+ 'schema' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
+ ],
+ [
+ 'name' => 'pageSize',
+ 'in' => 'query',
+ 'schema' => ['description' => '每页大小,默认值为10。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
],
'responses' => [
@@ -23622,31 +17294,11 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'requestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2',
- ],
- 'success' => [
- 'description' => '是否成功。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'code' => [
- 'description' => '状态码。',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'message' => [
- 'description' => '错误信息。',
- 'type' => 'string',
- 'example' => 'The input parameter data is not valid. order_storage_company_num component not found',
- ],
- 'httpStatusCode' => [
- 'description' => 'HTTP状态码。',
- 'type' => 'string',
- 'example' => '200',
- ],
+ 'totalItem' => ['description' => '总条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '3'],
+ 'pageSize' => ['description' => '每页大小,默认值为10。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'requestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2'],
+ 'currentPage' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'totalPage' => ['description' => '总页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '7'],
'resultObject' => [
'description' => '返回对象。',
'type' => 'array',
@@ -23654,177 +17306,203 @@
'description' => '返回对象。',
'type' => 'object',
'properties' => [
- 'eventCode' => [
- 'description' => '事件编码。',
- 'type' => 'string',
- 'example' => 'de_aszbjb7236',
- ],
- 'eventName' => [
- 'description' => '事件名称。',
- 'type' => 'string',
- 'example' => '注册风险',
- ],
- 'eventType' => [
- 'description' => '事件类型。',
- 'type' => 'string',
- 'example' => 'MAIN',
- ],
- 'createType' => [
- 'description' => '创建类型。',
- 'type' => 'string',
- 'example' => 'MORMAL',
- ],
- 'children' => [
- 'description' => '子字段列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '子字段列表。',
- 'type' => 'object',
- 'properties' => [
- 'eventCode' => [
- 'description' => '事件编码。',
- 'type' => 'string',
- 'example' => 'de_aamexg3015',
- ],
- 'eventName' => [
- 'description' => '事件名称。',
- 'type' => 'string',
- 'example' => '注册风险旁路',
- ],
- 'eventType' => [
- 'description' => '事件类型。',
- 'type' => 'string',
- 'example' => 'BYPASS',
- ],
- 'createType' => [
- 'description' => '创建类型。',
- 'type' => 'string',
- 'example' => 'NORMAL',
- ],
- ],
+ 'consoleAudit' => [
+ 'description' => '审核对象。',
+ 'type' => 'object',
+ 'properties' => [
+ 'applyUserId' => ['description' => '发起人uid。', 'type' => 'string', 'example' => '1519714049632764'],
+ 'applyUserName' => ['description' => '发起人name。', 'type' => 'string', 'example' => 'root'],
+ 'auditMsg' => ['description' => '审批意见。', 'type' => 'string', 'example' => '同意'],
+ 'auditRealUserId' => ['description' => '最终审核人uid。', 'type' => 'string', 'example' => '1519714049632764'],
+ 'auditRealUserName' => ['description' => '最终审核人name。', 'type' => 'string', 'example' => 'root'],
+ 'auditRemark' => ['description' => '审批人备注。', 'type' => 'string', 'example' => '备注'],
+ 'auditStatus' => ['description' => '审核状态。', 'type' => 'string', 'example' => 'AGREE'],
+ 'auditTime' => ['description' => '审批时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1545726028000'],
+ 'auditUserId' => ['description' => '指定审核uid。', 'type' => 'string', 'example' => '1519714049632764'],
+ 'auditUserName' => ['description' => '指定审核name。', 'type' => 'string', 'example' => 'root'],
+ 'gmtCreate' => ['description' => '创建时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1545726028000'],
+ 'id' => ['description' => '主键ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '1728'],
+ 'relationExt' => ['description' => '关联的其他人信息(json结构)。', 'type' => 'string', 'example' => '{}'],
+ 'relationId' => ['description' => '审批关联的事务ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '123'],
+ 'relationName' => ['description' => '审批关联名称。', 'type' => 'string', 'example' => '营销风险识别'],
+ 'relationType' => ['description' => '审批的类型(如rule代表策略的审批)。', 'type' => 'string', 'example' => 'RULE'],
],
],
+ 'consoleRuleId' => ['description' => '控制台规则ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '6715'],
+ 'ruleId' => ['description' => '策略ID。', 'type' => 'string', 'example' => '102224'],
+ 'consoleRuleName' => ['description' => '关联的策略名称。', 'type' => 'string', 'example' => '营销风险识别'."\n"],
+ 'consoleRuleMemo' => ['description' => '关联的策略备注。', 'type' => 'string', 'example' => '备注'],
+ 'eventCode' => ['description' => '事件编码。', 'type' => 'string', 'example' => 'de_aszbjb7236'],
+ 'gmtCreate' => ['description' => '创建时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1621578648000'],
+ 'gmtModified' => ['description' => '修改时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1565701886000'],
+ 'id' => ['description' => '策略主键ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '376773'],
+ 'priority' => ['description' => '策略优先级,数字越大优先级越高。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
+ 'ruleStatus' => ['description' => '策略状态。', 'type' => 'string', 'example' => 'RUNNING'],
+ 'version' => ['description' => '版本号。', 'type' => 'integer', 'format' => 'int64', 'example' => '2'],
+ 'lastOperator' => ['description' => '上一次操作的用户。', 'type' => 'string', 'example' => '1519714049632764'],
+ 'eventType' => ['description' => '事件类型。', 'type' => 'string', 'example' => 'MAIN'],
+ 'ruleType' => ['description' => '策略类型。', 'type' => 'string', 'example' => 'DEFAULT'],
],
],
],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\",\\n \\"success\\": true,\\n \\"code\\": \\"200\\",\\n \\"message\\": \\"The input parameter data is not valid. order_storage_company_num component not found\\",\\n \\"httpStatusCode\\": \\"200\\",\\n \\"resultObject\\": [\\n {\\n \\"eventCode\\": \\"de_aszbjb7236\\",\\n \\"eventName\\": \\"注册风险\\",\\n \\"eventType\\": \\"MAIN\\",\\n \\"createType\\": \\"MORMAL\\",\\n \\"children\\": [\\n {\\n \\"eventCode\\": \\"de_aamexg3015\\",\\n \\"eventName\\": \\"注册风险旁路\\",\\n \\"eventType\\": \\"BYPASS\\",\\n \\"createType\\": \\"NORMAL\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '事件名称code映射列表',
- ],
- 'CreateEvent' => [
- 'summary' => '创建事件。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '策略版本列表',
+ 'changeSet' => [
+ ['createdAt' => '2025-07-22T08:12:52.000Z', 'description' => '响应参数发生变更'],
+ ['createdAt' => '2025-05-07T01:25:23.000Z', 'description' => '请求参数发生变更、响应参数发生变更'],
+ ['createdAt' => '2021-10-18T12:18:57.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRuleVersionList'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"totalItem\\": 3,\\n \\"pageSize\\": 10,\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\",\\n \\"currentPage\\": 1,\\n \\"totalPage\\": 7,\\n \\"resultObject\\": [\\n {\\n \\"consoleAudit\\": {\\n \\"applyUserId\\": \\"1519714049632764\\",\\n \\"applyUserName\\": \\"root\\",\\n \\"auditMsg\\": \\"同意\\",\\n \\"auditRealUserId\\": \\"1519714049632764\\",\\n \\"auditRealUserName\\": \\"root\\",\\n \\"auditRemark\\": \\"备注\\",\\n \\"auditStatus\\": \\"AGREE\\",\\n \\"auditTime\\": 1545726028000,\\n \\"auditUserId\\": \\"1519714049632764\\",\\n \\"auditUserName\\": \\"root\\",\\n \\"gmtCreate\\": 1545726028000,\\n \\"id\\": 1728,\\n \\"relationExt\\": \\"{}\\",\\n \\"relationId\\": 123,\\n \\"relationName\\": \\"营销风险识别\\",\\n \\"relationType\\": \\"RULE\\"\\n },\\n \\"consoleRuleId\\": 6715,\\n \\"ruleId\\": \\"102224\\",\\n \\"consoleRuleName\\": \\"营销风险识别\\\\n\\",\\n \\"consoleRuleMemo\\": \\"备注\\",\\n \\"eventCode\\": \\"de_aszbjb7236\\",\\n \\"gmtCreate\\": 1621578648000,\\n \\"gmtModified\\": 1565701886000,\\n \\"id\\": 376773,\\n \\"priority\\": 10,\\n \\"ruleStatus\\": \\"RUNNING\\",\\n \\"version\\": 2,\\n \\"lastOperator\\": \\"1519714049632764\\",\\n \\"eventType\\": \\"MAIN\\",\\n \\"ruleType\\": \\"DEFAULT\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'DescribeSDKDownloadList' => [
+ 'summary' => 'sdk下载列表。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
+ 'operationType' => 'read',
'systemTags' => [
'operationType' => 'get',
+ 'abilityTreeCode' => '135929',
+ 'abilityTreeNodes' => ['FEATUREsaf64YRTV', 'FEATUREsaf6E3SDJ', 'FEATUREsafL5D4RG'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'eventName',
+ 'name' => 'deviceType',
'in' => 'query',
- 'schema' => [
- 'description' => '事件名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '登录事件'."\n",
- ],
+ 'schema' => ['description' => '设备类型。', 'type' => 'string', 'required' => false, 'example' => 'ANDROID'],
],
[
- 'name' => 'memo',
+ 'name' => 'listType',
'in' => 'query',
- 'schema' => [
- 'description' => '备注信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '登录事件描述',
- ],
+ 'schema' => ['description' => '下载类型', 'type' => 'string', 'required' => false, 'example' => 'OLD'],
],
[
- 'name' => 'templateCode',
+ 'name' => 'regId',
'in' => 'query',
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '入参字段模板类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'register',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ 'resultObject' => [
+ 'description' => '返回对象',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '返回对象',
+ 'type' => 'object',
+ 'properties' => [
+ 'description' => ['description' => '描述信息。', 'type' => 'string', 'example' => '描述'],
+ 'deviceType' => ['description' => '设备类型。', 'type' => 'string', 'example' => 'ANDROID'],
+ 'pushTime' => ['description' => '发版时间', 'type' => 'string', 'example' => '1751212800000'],
+ 'downloadUrl' => ['description' => '下载地址。', 'type' => 'string', 'example' => 'https://aliyun-xxxx.oss-cn-xxx.xxx.com/sdk/xxx/10056.1/Android-AliyunDeviceEnhance-10056.1-20250611.tgz'],
+ 'sdkVersion' => ['description' => 'sdk版本。', 'type' => 'string', 'example' => '1'],
+ 'developer' => ['description' => '开发者', 'type' => 'string', 'example' => '阿里云安全-风险识别'],
+ 'packageName' => ['description' => 'package名称', 'type' => 'string', 'example' => 'net.security.device'],
+ 'size' => ['description' => '大小', 'type' => 'string', 'example' => '4.12 MB'],
+ 'md5' => ['description' => '文件md5。', 'type' => 'string', 'example' => 'E582EEB6B4BC9B5CB168AA5A7DD0EE93'],
+ 'privacyLink' => ['description' => '风险识别SDK隐私权政策链接', 'type' => 'string', 'example' => 'https://terms.aliyun.com/legal-agreement/terms/suit_bu1_ali_cloud/suit_bu1_ali_cloud202111120818_92724.html'],
+ ],
+ ],
+ ],
+ ],
+ 'description' => '',
],
],
+ ],
+ 'title' => 'sdk下载列表',
+ 'changeSet' => [
+ ['createdAt' => '2023-10-26T15:02:54.000Z', 'description' => '响应参数发生变更'],
+ ['createdAt' => '2023-05-08T07:52:58.000Z', 'description' => '响应参数发生变更'],
+ ['createdAt' => '2022-05-11T07:23:07.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSDKDownloadList'],
+ ],
+ ],
+ 'ramActions' => [
[
- 'name' => 'regId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"resultObject\\": [\\n {\\n \\"description\\": \\"描述\\",\\n \\"deviceType\\": \\"ANDROID\\",\\n \\"pushTime\\": \\"1751212800000\\",\\n \\"downloadUrl\\": \\"https://aliyun-xxxx.oss-cn-xxx.xxx.com/sdk/xxx/10056.1/Android-AliyunDeviceEnhance-10056.1-20250611.tgz\\",\\n \\"sdkVersion\\": \\"1\\",\\n \\"developer\\": \\"阿里云安全-风险识别\\",\\n \\"packageName\\": \\"net.security.device\\",\\n \\"size\\": \\"4.12 MB\\",\\n \\"md5\\": \\"E582EEB6B4BC9B5CB168AA5A7DD0EE93\\",\\n \\"privacyLink\\": \\"https://terms.aliyun.com/legal-agreement/terms/suit_bu1_ali_cloud/suit_bu1_ali_cloud202111120818_92724.html\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'DescribeSafConsole' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'templateType',
- 'in' => 'query',
- 'schema' => [
- 'description' => '模板类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'TASK',
- ],
+ 'AK' => [],
],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '136795',
+ 'abilityTreeNodes' => ['FEATUREsafT73ZWM'],
+ ],
+ 'parameters' => [
[
- 'name' => 'createType',
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '创建类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'NORMAL',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'templateName',
+ 'name' => 'service',
'in' => 'query',
- 'schema' => [
- 'description' => '发布模板名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '注册事件模版',
- ],
+ 'schema' => ['description' => '调用服务。', 'type' => 'string', 'required' => true, 'example' => 'ei_riskLpInfo'],
],
[
- 'name' => 'inputFieldsStr',
+ 'name' => 'content',
'in' => 'query',
- 'schema' => [
- 'description' => '输入参数,json字符串。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[{"fieldCode":"accountId","description":"用户的账户ID,唯一标识一个账户的id","fieldRank":1,"title":"账户ID","fieldType":"STRING","fieldSource":"DEFAULT"},{"fieldCode":"hitRules","fieldRank":2,"title":"命中策略","fieldType":"STRING","fieldSource":"DEFAULT"},{"fieldCode":"age","description":"","fieldRank":3,"title":"年龄","fieldType":"INT","fieldSource":"DEFAULT"},{"fieldCode":"ip","description":"IP地址","fieldRank":4,"title":"IP地址","fieldType":"STRING","fieldSource":"DEFAULT"},{"fieldCode":"tags","fieldRank":5,"title":"风险标签","fieldType":"STRING","fieldSource":"DEFAULT"},{"fieldCode":"score","fieldRank":6,"title":"风险分值","fieldType":"DOUBLE","fieldSource":"DEFAULT"},{"fieldCode":"hitList","fieldRank":7}]',
- ],
+ 'schema' => ['description' => '查询内容。', 'type' => 'string', 'required' => false, 'example' => 'ei_riskLpInfo'."\n"],
],
],
'responses' => [
@@ -23832,33 +17510,46 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'data' => [
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ 'bizData' => [
'description' => '返回结果。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'requestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2',
+ 'type' => 'array',
+ 'items' => ['description' => '返回结果。', 'type' => 'string', 'example' => 'INDEBT_ERROR'],
],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": true,\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\"\\n}","type":"json"}]',
- 'title' => '创建事件',
+ 'title' => '查询saf权限',
+ 'summary' => '查询saf权限。',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:11:26.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSafConsole'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"bizData\\": [\\n \\"INDEBT_ERROR\\"\\n ]\\n}","type":"json"}]',
],
'DescribeSafDeOrder' => [
'summary' => '查询saf_de订单。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -23869,77 +17560,40 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREsafWH3N80',
- 'FEATUREsafBCGX2Z',
- 'FEATUREsafXYIHRP',
- 'FEATUREsafT73ZWM',
- ],
+ 'abilityTreeNodes' => ['FEATUREsafWH3N80', 'FEATUREsafBCGX2Z', 'FEATUREsafXYIHRP', 'FEATUREsafT73ZWM'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
'name' => 'pageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '每页大小,默认值为10。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '每页大小,默认值为10。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
[
'name' => 'currentPage',
'in' => 'query',
- 'schema' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'startDate',
'in' => 'query',
- 'schema' => [
- 'description' => '开始日期。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1728008155799',
- ],
+ 'schema' => ['description' => '开始日期。', 'type' => 'string', 'required' => false, 'example' => '1728008155799'],
],
[
'name' => 'endDate',
'in' => 'query',
- 'schema' => [
- 'description' => '结束时间。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1728008155799'."\n",
- ],
+ 'schema' => ['description' => '结束时间。', 'type' => 'string', 'required' => false, 'example' => '1728008155799'."\n"],
],
],
'responses' => [
@@ -23951,22 +17605,12 @@
'description' => '返回对象。',
'type' => 'object',
'properties' => [
- 'expirationDate' => [
- 'description' => '过期时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1728008155799'."\n",
- ],
- 'openUserType' => [
- 'description' => '根据客户开通的商品类型,将控制台权限分为3类:'."\n"
- ."\n"
- .' 1.新客:未购买/开通任何服务。'."\n"
- .' 2.老客(包年包月):购买商品saf的客户。'."\n"
- .' 3.按量付费:购买商品saf_bag或开通saf_pos的客户。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
+ 'expirationDate' => ['description' => '过期时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1728008155799'."\n"],
+ 'openUserType' => ['description' => '根据客户开通的商品类型,将控制台权限分为3类:'."\n"
+ ."\n"
+ .' 1.新客:未购买/开通任何服务。'."\n"
+ .' 2.老客(包年包月):购买商品saf的客户。'."\n"
+ .' 3.按量付费:购买商品saf_bag或开通saf_pos的客户。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
'regions' => [
'description' => '开通区域权限地址。',
'type' => 'array',
@@ -23974,359 +17618,97 @@
'description' => '开通地域及规格信息。',
'type' => 'object',
'properties' => [
- 'region' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'example' => 'cn-shanghai',
- ],
- 'specification' => [
- 'description' => '规格型号:'."\n"
- ."\n"
- .' 1:基础版'."\n"
- .' 2:进阶版'."\n"
- .' 3:高级版'."\n"
- .' 4:旗舰版',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'expirationDate' => [
- 'description' => '到期日(时间戳)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2117750400000',
- ],
+ 'region' => ['description' => '地域ID。', 'type' => 'string', 'example' => 'cn-shanghai'],
+ 'specification' => ['description' => '规格型号:'."\n"
+ ."\n"
+ .' 1:基础版'."\n"
+ .' 2:进阶版'."\n"
+ .' 3:高级版'."\n"
+ .' 4:旗舰版', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'expirationDate' => ['description' => '到期日(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'example' => '2117750400000'],
],
],
],
],
],
- 'requestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2',
- ],
+ 'requestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": {\\n \\"expirationDate\\": 1728008155799,\\n \\"openUserType\\": 2,\\n \\"regions\\": [\\n {\\n \\"region\\": \\"cn-shanghai\\",\\n \\"specification\\": 1,\\n \\"expirationDate\\": 2117750400000\\n }\\n ]\\n },\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\"\\n}","type":"json"}]',
'title' => '查询saf_de订单信息',
- ],
- 'DescribeRuleSnapshot' => [
- 'summary' => '根据ruleId+version查询历史快照。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'changeSet' => [
+ ['createdAt' => '2022-12-13T03:46:23.000Z', 'description' => '响应参数发生变更'],
+ ['createdAt' => '2022-05-11T07:23:08.000Z', 'description' => 'OpenAPI 下线'],
],
- 'security' => [
- [
- 'AK' => [],
- ],
- ],
- 'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREsafT73ZWM',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSafDeOrder'],
],
],
- 'parameters' => [
- [
- 'name' => 'Lang',
- 'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
- ],
- [
- 'name' => 'ruleId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '策略ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '101544',
- ],
- ],
+ 'ramActions' => [
[
- 'name' => 'snapshotVersion',
- 'in' => 'query',
- 'schema' => [
- 'description' => '快照版本。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '10',
- ],
- ],
- [
- 'name' => 'regId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
- ],
- ],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
- 'resultObject' => [
- 'description' => '返回对象。',
- 'type' => 'object',
- 'properties' => [
- 'eventCode' => [
- 'description' => '事件编码。',
- 'type' => 'string',
- 'example' => 'de_aszbjb7236',
- ],
- 'ruleId' => [
- 'description' => '策略ID',
- 'type' => 'string',
- 'example' => '101804',
- ],
- 'memo' => [
- 'description' => '备注。',
- 'type' => 'string',
- 'example' => '备注',
- ],
- 'ruleActions' => [
- 'description' => '规则动作。',
- 'type' => 'string',
- 'example' => '[{\\"inputs\\":[\\"LdShop\\"],\\"name\\":\\"__addDeTags__\\",\\"actionType\\":\\"TAG\\",\\"outputType\\":\\"const\\"}]',
- ],
- 'bizVersion' => [
- 'description' => '业务版本。',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'gmtCreate' => [
- 'description' => '创建时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1621578648000',
- ],
- 'ruleStatus' => [
- 'description' => '策略状态。',
- 'type' => 'string',
- 'example' => 'RUNNING',
- ],
- 'ruleExpressions' => [
- 'description' => '表达式。',
- 'type' => 'string',
- 'example' => '[{\\"expressionName\\":\\"代下单_记录日志\\",\\"itemId\\":1,\\"left\\":{\\"name\\":\\"dhcfX2v7670\\"},\\"operatorCode\\":\\"gte\\",\\"operatorName\\":\\"大于等于\\",\\"right\\":{\\"fieldValue\\":\\"2\\"}}]',
- ],
- 'gmtModified' => [
- 'description' => '修改时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1565701886000',
- ],
- 'eventName' => [
- 'description' => '事件名称。',
- 'type' => 'string',
- 'example' => '注册风险',
- ],
- 'ruleName' => [
- 'description' => '策略名称。',
- 'type' => 'string',
- 'example' => '营销风险识别',
- ],
- 'logicExpression' => [
- 'description' => '分析结果的表达式。',
- 'type' => 'string',
- 'example' => '1&2',
- ],
- 'ruleType' => [
- 'description' => '策略类型。',
- 'type' => 'string',
- 'example' => 'DSL',
- ],
- 'ruleBody' => [
- 'description' => 'DSL策略表达式。ruleType为DSL时,此字段不为空。',
- 'type' => 'string',
- 'example' => '{\\"elseIfStatement\\":[{\\"condition\\":{\\"currentId\\":0,\\"deepCount\\":1,\\"list\\":[{\\"currentId\\":0,\\"deepCount\\":1,\\"left\\":{\\"code\\":\\"getLbsRegion(longitude, latitude)?.prov\\",\\"description\\":\\"根据经纬度得到省份信息,比如经度:111.878062,纬度:22.585409,则经过运算,输出”广东省“\\",\\"displayType\\":\\"SELF_BIND\\",\\"fieldType\\":\\"STRING\\",\\"functionCode\\":\\"\\",\\"functionName\\":\\"\\",\\"hasRightVariable\\":true,\\"name\\":\\"sl_S02sHLFT7818\\",\\"outputThreshold\\":{},\\"sourceType\\":\\"SAF\\",\\"title\\":\\"经纬度自定义系统变量\\",\\"type\\":\\"SELF_BIND\\"},\\"operatorCode\\":\\"equals\\",\\"operatorName\\":\\"等于\\",\\"parentId\\":0,\\"right\\":{\\"name\\":\\"cc\\",\\"rightVariableType\\":\\"constant\\"},\\"sequence\\":5}],\\"parentId\\":0,\\"relationship\\":\\"and\\"},\\"then\\":[{\\"actionType\\":\\"TAG\\",\\"code\\":\\"addDeTags\\",\\"description\\":\\"打标签\\",\\"displayType\\":\\"ACTION\\",\\"fieldType\\":\\"STRING\\",\\"inputs\\":[\\"332\\"],\\"name\\":\\"__addDeTags__\\",\\"outputType\\":\\"const\\",\\"sourceType\\":\\"SAF\\",\\"title\\":\\"打标签\\",\\"type\\":\\"ACTION\\"}]}],\\"elseStatement\\":{\\"then\\":[{\\"actionType\\":\\"TAG\\",\\"code\\":\\"addDeTags\\",\\"description\\":\\"打标签\\",\\"displayType\\":\\"ACTION\\",\\"fieldType\\":\\"STRING\\",\\"inputs\\":[\\"321\\"],\\"name\\":\\"__addDeTags__\\",\\"outputType\\":\\"const\\",\\"sourceType\\":\\"SAF\\",\\"title\\":\\"打标签\\",\\"type\\":\\"ACTION\\"}]},\\"ifStatement\\":{\\"condition\\":{\\"currentId\\":0,\\"deepCount\\":1,\\"list\\":[{\\"currentId\\":0,\\"deepCount\\":1,\\"left\\":{\\"code\\":\\"queryPhoneSimulatorInfo(deviceToken)?.brand\\",\\"description\\":\\"设备信息-终端品牌\\",\\"displayType\\":\\"DEVICE\\",\\"fieldType\\":\\"STRING\\",\\"functionCode\\":\\"\\",\\"functionName\\":\\"\\",\\"hasRightVariable\\":true,\\"name\\":\\"__device_brand__\\",\\"sourceType\\":\\"SAF\\",\\"title\\":\\"设备信息-终端品牌-brand\\",\\"type\\":\\"DEVICE\\"},\\"operatorCode\\":\\"deInNameList\\",\\"operatorName\\":\\"在名单中\\",\\"parentId\\":0,\\"right\\":{\\"code\\":\\"nl_UN8otElLb490\\",\\"description\\":\\"描述11\\",\\"displayType\\":\\"NAME_LIST\\",\\"name\\":\\"nl_UN8otElLb490\\",\\"rightVariableType\\":\\"constant\\",\\"sourceType\\":\\"SAF\\",\\"title\\":\\"wtz_名单新建测试02\\",\\"type\\":\\"NAME_LIST\\"},\\"sequence\\":1},{\\"currentId\\":0,\\"deepCount\\":1,\\"left\\":{\\"code\\":\\"deFunctionProcess(ip,\\\\\\"isIp\\\\\\")\\",\\"description\\":\\"判断是否符合IPv4标准\\",\\"displayType\\":\\"SYSTEM_BIND\\",\\"fieldType\\":\\"BOOLEAN\\",\\"functionCode\\":\\"\\",\\"functionName\\":\\"\\",\\"hasRightVariable\\":false,\\"name\\":\\"__isIpAddressV4__\\",\\"outputThreshold\\":{},\\"sourceType\\":\\"SAF\\",\\"title\\":\\"IP是否符合IPV4格式\\",\\"type\\":\\"SYSTEM_BIND\\"},\\"operatorCode\\":\\"boolIsTrue\\",\\"operatorName\\":\\"为true\\",\\"parentId\\":0,\\"right\\":{\\"name\\":\\"\\",\\"rightVariableType\\":\\"constant\\"},\\"sequence\\":2},{\\"currentId\\":0,\\"deepCount\\":1,\\"list\\":[{\\"currentId\\":0,\\"deepCount\\":1,\\"left\\":{\\"code\\":\\"parseIpV2(ip)?.cityId\\",\\"description\\":\\"通过IP地址库解析IP所在的城市Code,例如,输入“42.120.74.211”,经过该变量运算,输出“330100”。\\",\\"displayType\\":\\"SYSTEM_BIND\\",\\"fieldType\\":\\"STRING\\",\\"functionCode\\":\\"\\",\\"functionName\\":\\"\\",\\"hasRightVariable\\":true,\\"name\\":\\"__ipLocationCityCode__\\",\\"outputThreshold\\":{},\\"sourceType\\":\\"SAF\\",\\"title\\":\\"IP所在地_城市Code\\",\\"type\\":\\"SYSTEM_BIND\\"},\\"operatorCode\\":\\"equals\\",\\"operatorName\\":\\"等于\\",\\"parentId\\":0,\\"right\\":{\\"code\\":\\"deFunctionProcess(ip,\\\\\\"getCountry\\\\\\")\\",\\"description\\":\\"通过IP地址库解析IP所在的城市名称,例如,输入“42.120.74.211”,经过该变量运算,输出“CN”。\\",\\"displayType\\":\\"SYSTEM_BIND\\",\\"fieldType\\":\\"STRING\\",\\"functionCode\\":\\"\\",\\"functionName\\":\\"\\",\\"name\\":\\"__ipLocationCountryId__\\",\\"outputThreshold\\":{},\\"rightVariableType\\":\\"variable\\",\\"sourceType\\":\\"SAF\\",\\"title\\":\\"IP所在地_国家Code\\",\\"type\\":\\"SYSTEM_BIND\\"},\\"sequence\\":3},{\\"currentId\\":0,\\"deepCount\\":1,\\"list\\":[{\\"currentId\\":0,\\"deepCount\\":1,\\"left\\":{\\"code\\":\\"parseIpV2(ip)?.cityId\\",\\"description\\":\\"通过IP地址库解析IP所在的城市Code,例如,输入“42.120.74.211”,经过该变量运算,输出“330100”。\\",\\"displayType\\":\\"SYSTEM_BIND\\",\\"fieldType\\":\\"STRING\\",\\"functionCode\\":\\"\\",\\"functionName\\":\\"\\",\\"hasRightVariable\\":true,\\"name\\":\\"__ipLocationCityCode__\\",\\"outputThreshold\\":{\\"$ref\\":\\"$.ifStatement.condition.list[2].list[0].left.outputThreshold\\"},\\"sourceType\\":\\"SAF\\",\\"title\\":\\"IP所在地_城市Code\\",\\"type\\":\\"SYSTEM_BIND\\"},\\"operatorCode\\":\\"deInNameList\\",\\"operatorName\\":\\"在名单中\\",\\"parentId\\":0,\\"right\\":{\\"code\\":\\"nl_NsVwBD2s11e0\\",\\"displayType\\":\\"NAME_LIST\\",\\"name\\":\\"nl_NsVwBD2s11e0\\",\\"rightVariableType\\":\\"constant\\",\\"sourceType\\":\\"SAF\\",\\"title\\":\\"device_block_list\\",\\"type\\":\\"NAME_LIST\\"},\\"sequence\\":4}],\\"parentId\\":0,\\"relationship\\":\\"and\\"}],\\"parentId\\":0,\\"relationship\\":\\"and\\"}],\\"parentId\\":0,\\"relationship\\":\\"and\\"},\\"then\\":[{\\"actionType\\":\\"TAG\\",\\"code\\":\\"addDeTags\\",\\"description\\":\\"打标签\\",\\"displayType\\":\\"ACTION\\",\\"fieldType\\":\\"STRING\\",\\"inputs\\":[\\"123\\"],\\"name\\":\\"__addDeTags__\\",\\"outputType\\":\\"const\\",\\"sourceType\\":\\"SAF\\",\\"title\\":\\"打标签\\",\\"type\\":\\"ACTION\\"}]}}',
- ],
- ],
- ],
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"resultObject\\": {\\n \\"eventCode\\": \\"de_aszbjb7236\\",\\n \\"ruleId\\": \\"101804\\",\\n \\"memo\\": \\"备注\\",\\n \\"ruleActions\\": \\"[{\\\\\\\\\\\\\\"inputs\\\\\\\\\\\\\\":[\\\\\\\\\\\\\\"LdShop\\\\\\\\\\\\\\"],\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"__addDeTags__\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"actionType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"TAG\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"outputType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"const\\\\\\\\\\\\\\"}]\\",\\n \\"bizVersion\\": \\"1\\",\\n \\"gmtCreate\\": 1621578648000,\\n \\"ruleStatus\\": \\"RUNNING\\",\\n \\"ruleExpressions\\": \\"[{\\\\\\\\\\\\\\"expressionName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"代下单_记录日志\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"itemId\\\\\\\\\\\\\\":1,\\\\\\\\\\\\\\"left\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"dhcfX2v7670\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"operatorCode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"gte\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"operatorName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"大于等于\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"right\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"fieldValue\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"2\\\\\\\\\\\\\\"}}]\\",\\n \\"gmtModified\\": 1565701886000,\\n \\"eventName\\": \\"注册风险\\",\\n \\"ruleName\\": \\"营销风险识别\\",\\n \\"logicExpression\\": \\"1&2\\",\\n \\"ruleType\\": \\"DSL\\",\\n \\"ruleBody\\": \\"{\\\\\\\\\\\\\\"elseIfStatement\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"condition\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"currentId\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"deepCount\\\\\\\\\\\\\\":1,\\\\\\\\\\\\\\"list\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"currentId\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"deepCount\\\\\\\\\\\\\\":1,\\\\\\\\\\\\\\"left\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"code\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"getLbsRegion(longitude, latitude)?.prov\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"description\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"根据经纬度得到省份信息,比如经度:111.878062,纬度:22.585409,则经过运算,输出”广东省“\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"displayType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SELF_BIND\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"fieldType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"STRING\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"functionCode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"functionName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"hasRightVariable\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"sl_S02sHLFT7818\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"outputThreshold\\\\\\\\\\\\\\":{},\\\\\\\\\\\\\\"sourceType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SAF\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"title\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"经纬度自定义系统变量\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SELF_BIND\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"operatorCode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"equals\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"operatorName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"等于\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"parentId\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"right\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"cc\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"rightVariableType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"constant\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"sequence\\\\\\\\\\\\\\":5}],\\\\\\\\\\\\\\"parentId\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"relationship\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"and\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"then\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"actionType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"TAG\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"code\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"addDeTags\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"description\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"打标签\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"displayType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ACTION\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"fieldType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"STRING\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"inputs\\\\\\\\\\\\\\":[\\\\\\\\\\\\\\"332\\\\\\\\\\\\\\"],\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"__addDeTags__\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"outputType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"const\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"sourceType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SAF\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"title\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"打标签\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ACTION\\\\\\\\\\\\\\"}]}],\\\\\\\\\\\\\\"elseStatement\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"then\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"actionType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"TAG\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"code\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"addDeTags\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"description\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"打标签\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"displayType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ACTION\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"fieldType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"STRING\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"inputs\\\\\\\\\\\\\\":[\\\\\\\\\\\\\\"321\\\\\\\\\\\\\\"],\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"__addDeTags__\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"outputType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"const\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"sourceType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SAF\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"title\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"打标签\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ACTION\\\\\\\\\\\\\\"}]},\\\\\\\\\\\\\\"ifStatement\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"condition\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"currentId\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"deepCount\\\\\\\\\\\\\\":1,\\\\\\\\\\\\\\"list\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"currentId\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"deepCount\\\\\\\\\\\\\\":1,\\\\\\\\\\\\\\"left\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"code\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"queryPhoneSimulatorInfo(deviceToken)?.brand\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"description\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"设备信息-终端品牌\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"displayType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"DEVICE\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"fieldType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"STRING\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"functionCode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"functionName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"hasRightVariable\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"__device_brand__\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"sourceType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SAF\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"title\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"设备信息-终端品牌-brand\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"DEVICE\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"operatorCode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"deInNameList\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"operatorName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"在名单中\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"parentId\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"right\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"code\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"nl_UN8otElLb490\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"description\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"描述11\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"displayType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"NAME_LIST\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"nl_UN8otElLb490\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"rightVariableType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"constant\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"sourceType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SAF\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"title\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"wtz_名单新建测试02\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"NAME_LIST\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"sequence\\\\\\\\\\\\\\":1},{\\\\\\\\\\\\\\"currentId\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"deepCount\\\\\\\\\\\\\\":1,\\\\\\\\\\\\\\"left\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"code\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"deFunctionProcess(ip,\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"isIp\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\")\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"description\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"判断是否符合IPv4标准\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"displayType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SYSTEM_BIND\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"fieldType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"BOOLEAN\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"functionCode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"functionName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"hasRightVariable\\\\\\\\\\\\\\":false,\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"__isIpAddressV4__\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"outputThreshold\\\\\\\\\\\\\\":{},\\\\\\\\\\\\\\"sourceType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SAF\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"title\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"IP是否符合IPV4格式\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SYSTEM_BIND\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"operatorCode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"boolIsTrue\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"operatorName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"为true\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"parentId\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"right\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"rightVariableType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"constant\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"sequence\\\\\\\\\\\\\\":2},{\\\\\\\\\\\\\\"currentId\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"deepCount\\\\\\\\\\\\\\":1,\\\\\\\\\\\\\\"list\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"currentId\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"deepCount\\\\\\\\\\\\\\":1,\\\\\\\\\\\\\\"left\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"code\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"parseIpV2(ip)?.cityId\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"description\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"通过IP地址库解析IP所在的城市Code,例如,输入“42.120.74.211”,经过该变量运算,输出“330100”。\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"displayType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SYSTEM_BIND\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"fieldType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"STRING\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"functionCode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"functionName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"hasRightVariable\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"__ipLocationCityCode__\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"outputThreshold\\\\\\\\\\\\\\":{},\\\\\\\\\\\\\\"sourceType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SAF\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"title\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"IP所在地_城市Code\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SYSTEM_BIND\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"operatorCode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"equals\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"operatorName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"等于\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"parentId\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"right\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"code\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"deFunctionProcess(ip,\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"getCountry\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\")\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"description\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"通过IP地址库解析IP所在的城市名称,例如,输入“42.120.74.211”,经过该变量运算,输出“CN”。\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"displayType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SYSTEM_BIND\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"fieldType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"STRING\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"functionCode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"functionName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"__ipLocationCountryId__\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"outputThreshold\\\\\\\\\\\\\\":{},\\\\\\\\\\\\\\"rightVariableType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"variable\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"sourceType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SAF\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"title\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"IP所在地_国家Code\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SYSTEM_BIND\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"sequence\\\\\\\\\\\\\\":3},{\\\\\\\\\\\\\\"currentId\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"deepCount\\\\\\\\\\\\\\":1,\\\\\\\\\\\\\\"list\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"currentId\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"deepCount\\\\\\\\\\\\\\":1,\\\\\\\\\\\\\\"left\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"code\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"parseIpV2(ip)?.cityId\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"description\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"通过IP地址库解析IP所在的城市Code,例如,输入“42.120.74.211”,经过该变量运算,输出“330100”。\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"displayType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SYSTEM_BIND\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"fieldType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"STRING\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"functionCode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"functionName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"hasRightVariable\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"__ipLocationCityCode__\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"outputThreshold\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"$ref\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"$.ifStatement.condition.list[2].list[0].left.outputThreshold\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"sourceType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SAF\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"title\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"IP所在地_城市Code\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SYSTEM_BIND\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"operatorCode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"deInNameList\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"operatorName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"在名单中\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"parentId\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"right\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"code\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"nl_NsVwBD2s11e0\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"displayType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"NAME_LIST\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"nl_NsVwBD2s11e0\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"rightVariableType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"constant\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"sourceType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SAF\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"title\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"device_block_list\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"NAME_LIST\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"sequence\\\\\\\\\\\\\\":4}],\\\\\\\\\\\\\\"parentId\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"relationship\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"and\\\\\\\\\\\\\\"}],\\\\\\\\\\\\\\"parentId\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"relationship\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"and\\\\\\\\\\\\\\"}],\\\\\\\\\\\\\\"parentId\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"relationship\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"and\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"then\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"actionType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"TAG\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"code\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"addDeTags\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"description\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"打标签\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"displayType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ACTION\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"fieldType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"STRING\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"inputs\\\\\\\\\\\\\\":[\\\\\\\\\\\\\\"123\\\\\\\\\\\\\\"],\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"__addDeTags__\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"outputType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"const\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"sourceType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SAF\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"title\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"打标签\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ACTION\\\\\\\\\\\\\\"}]}}\\"\\n }\\n}","type":"json"}]',
- 'title' => 'DescribeRuleSnapshot',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": {\\n \\"expirationDate\\": 1728008155799,\\n \\"openUserType\\": 2,\\n \\"regions\\": [\\n {\\n \\"region\\": \\"cn-shanghai\\",\\n \\"specification\\": 1,\\n \\"expirationDate\\": 2117750400000\\n }\\n ]\\n },\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\"\\n}","type":"json"}]',
],
- 'DescribeServiceList' => [
- 'summary' => '获取服务列表。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DescribeSafOrder' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'operationType' => 'read',
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'regId',
+ 'name' => 'pageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '每页大小,默认值为10', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
- ],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
- 'resultObject' => [
- 'description' => '返回对象。',
- 'type' => 'array',
- 'items' => [
- 'description' => '返回对象。',
- 'type' => 'object',
- 'properties' => [
- 'serviceCode' => [
- 'description' => '服务code。',
- 'type' => 'string',
- 'example' => 'coupon_abuse_detection',
- ],
- 'serviceName' => [
- 'description' => '服务名称。',
- 'type' => 'string',
- 'example' => 'coupon_abuse_detection',
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"resultObject\\": [\\n {\\n \\"serviceCode\\": \\"coupon_abuse_detection\\",\\n \\"serviceName\\": \\"coupon_abuse_detection\\"\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '获取服务列表',
- ],
- 'DescribePocTaskList' => [
- 'summary' => '获取poc任务列表。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
- ],
- ],
- 'systemTags' => [
- 'operationType' => 'get',
- ],
- 'parameters' => [
[
- 'name' => 'Lang',
+ 'name' => 'currentPage',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
- 'name' => 'currentPage',
+ 'name' => 'startDate',
'in' => 'query',
- 'schema' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '开始时间。', 'type' => 'string', 'required' => false, 'example' => '1752076800000'],
],
[
- 'name' => 'pageSize',
+ 'name' => 'endDate',
'in' => 'query',
- 'schema' => [
- 'description' => '每页大小,默认值为10。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '结束日期。', 'type' => 'string', 'required' => false, 'example' => '1755076800000'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'type',
+ 'name' => 'exactProductCode',
'in' => 'query',
- 'schema' => [
- 'description' => '查询类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'SAF_CONSOLE',
- ],
+ 'schema' => ['description' => '产品code', 'type' => 'string', 'required' => false, 'example' => 'saf_de'],
],
],
'responses' => [
@@ -24334,133 +17716,67 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'totalItem' => [
- 'description' => '总条数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '6',
- ],
- 'pageSize' => [
- 'description' => '每页大小,默认值为10。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
- 'currentPage' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'totalPage' => [
- 'description' => '总页数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
'resultObject' => [
- 'description' => '返回对象。',
- 'type' => 'array',
- 'items' => [
- 'description' => '返回对象。',
- 'type' => 'object',
- 'properties' => [
- 'fileType' => [
- 'description' => '文件类型。',
- 'type' => 'string',
- 'example' => 'EXCEL',
- ],
- 'taskId' => [
- 'description' => '任务ID。',
- 'type' => 'string',
- 'example' => '7',
- ],
- 'updateTime' => [
- 'description' => '最后修改时间。',
- 'type' => 'string',
- 'example' => '1753804800000',
- ],
- 'downloadUrl' => [
- 'description' => '下载地址。',
- 'type' => 'string',
- 'example' => 'https://xxxxx-oss-xxxxx.xxxxxx.aliyuncs.com/xx/xx/xxx/xxxxxx.csv?Expires=1753433384&OSSAccessKeyId=xxxxxxxxx&Signature=%2F%xxxxxxxxxxxx%3D',
- ],
- 'taskName' => [
- 'description' => '任务名称。',
- 'type' => 'string',
- 'example' => '任务',
- ],
- 'serviceName' => [
- 'description' => '服务名称。',
- 'type' => 'string',
- 'example' => '注册风险识别',
- ],
- 'createTime' => [
- 'description' => '创建时间。',
- 'type' => 'string',
- 'example' => '1753804800000',
- ],
- 'status' => [
- 'description' => '状态。',
- 'type' => 'string',
- 'example' => 'WAIT_CHECK',
- ],
- ],
+ 'description' => '返回对象',
+ 'type' => 'object',
+ 'properties' => [
+ 'expirationDate' => ['description' => '到期日(时间戳)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1755076800000'],
],
],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"totalItem\\": 6,\\n \\"pageSize\\": 10,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"currentPage\\": 1,\\n \\"totalPage\\": 1,\\n \\"resultObject\\": [\\n {\\n \\"fileType\\": \\"EXCEL\\",\\n \\"taskId\\": \\"7\\",\\n \\"updateTime\\": \\"1753804800000\\",\\n \\"downloadUrl\\": \\"https://xxxxx-oss-xxxxx.xxxxxx.aliyuncs.com/xx/xx/xxx/xxxxxx.csv?Expires=1753433384&OSSAccessKeyId=xxxxxxxxx&Signature=%2F%xxxxxxxxxxxx%3D\\",\\n \\"taskName\\": \\"任务\\",\\n \\"serviceName\\": \\"注册风险识别\\",\\n \\"createTime\\": \\"1753804800000\\",\\n \\"status\\": \\"WAIT_CHECK\\"\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '获取poc任务列表',
+ 'title' => '查询订单信息',
+ 'summary' => '查询订单信息。',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:23:06.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSafOrder'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"resultObject\\": {\\n \\"expirationDate\\": 1755076800000\\n }\\n}","type":"json"}]',
],
'DescribeSafStartConfig' => [
'summary' => '查询接入配置。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
@@ -24469,11 +17785,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
'resultObject' => [
'description' => '返回对象。',
'type' => 'object',
@@ -24481,58 +17793,58 @@
'eventCodes' => [
'description' => '事件code。',
'type' => 'array',
- 'items' => [
- 'description' => '事件code。',
- 'type' => 'string',
- 'example' => 'de_ahespg8137',
- ],
+ 'items' => ['description' => '事件code。', 'type' => 'string', 'example' => 'de_ahespg8137'],
],
'deviceTypes' => [
'description' => '设备类型列表。',
'type' => 'array',
- 'items' => [
- 'description' => '设备类型列表。',
- 'type' => 'string',
- 'example' => '__device_brand__',
- ],
+ 'items' => ['description' => '设备类型列表。', 'type' => 'string', 'example' => '__device_brand__'],
],
'languages' => [
'description' => '配置语言详情。',
'type' => 'array',
- 'items' => [
- 'description' => '配置语言详情。',
- 'type' => 'string',
- 'example' => 'zh',
- ],
+ 'items' => ['description' => '配置语言详情。', 'type' => 'string', 'example' => 'zh'],
],
'serverRegions' => [
'description' => '服务器所在区域。',
'type' => 'array',
- 'items' => [
- 'description' => '配置完成后返回的地域信息。',
- 'type' => 'string',
- 'example' => 'SH',
- ],
+ 'items' => ['description' => '配置完成后返回的地域信息。', 'type' => 'string', 'example' => 'SH'],
],
],
],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"resultObject\\": {\\n \\"eventCodes\\": [\\n \\"de_ahespg8137\\"\\n ],\\n \\"deviceTypes\\": [\\n \\"__device_brand__\\"\\n ],\\n \\"languages\\": [\\n \\"zh\\"\\n ],\\n \\"serverRegions\\": [\\n \\"SH\\"\\n ]\\n }\\n}","type":"json"}]',
'title' => '查询接入配置',
- ],
- 'DescribeEventCount' => [
- 'summary' => '查询事件总数量。',
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:23:07.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSafStartConfig'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"resultObject\\": {\\n \\"eventCodes\\": [\\n \\"de_ahespg8137\\"\\n ],\\n \\"deviceTypes\\": [\\n \\"__device_brand__\\"\\n ],\\n \\"languages\\": [\\n \\"zh\\"\\n ],\\n \\"serverRegions\\": [\\n \\"SH\\"\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'DescribeSafStartSteps' => [
+ 'summary' => '查询接入配置',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -24541,204 +17853,154 @@
'operationType' => 'read',
'systemTags' => [
'operationType' => 'get',
+ 'abilityTreeCode' => '135920',
+ 'abilityTreeNodes' => ['FEATUREsafT73ZWM'],
+ 'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
+ ],
+ [
+ 'name' => 'eventCode',
+ 'in' => 'query',
+ 'schema' => ['description' => '事件编码', 'type' => 'string', 'required' => false, 'example' => 'de_ahqido8038'],
+ ],
+ [
+ 'name' => 'language',
+ 'in' => 'query',
+ 'schema' => ['description' => '语言,可传参数'."\n"
+ .'- zh-CN:中文(默认)'."\n"
+ .'- en-US:英语'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh_CN'],
+ ],
+ [
+ 'name' => 'aliyunServer',
+ 'in' => 'query',
+ 'schema' => ['description' => '服务器是否为阿里云服务器'."\n"
+ ."\n"
+ .'true or false', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
+ ],
+ [
+ 'name' => 'serverRegion',
+ 'in' => 'query',
+ 'schema' => ['description' => '服务器所在区域', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'createType',
+ 'name' => 'deviceTypesStr',
'in' => 'query',
- 'schema' => [
- 'description' => '创建类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'NORMAL',
- ],
+ 'schema' => ['description' => '用于接收pop不能接收的前端传入集合字符串'."\n"
+ .' '."\n"
+ .'设备类型', 'type' => 'string', 'required' => false, 'example' => 'ios'],
],
],
'responses' => [
200 => [
+ 'headers' => [],
'schema' => [
'type' => 'object',
'properties' => [
- 'requestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2',
- ],
- 'success' => [
- 'description' => '请求是否成功。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'code' => [
- 'description' => '状态码。',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'message' => [
- 'description' => '错误详情。',
- 'type' => 'string',
- 'example' => 'The input parameter data is not valid. order_storage_company_num component not found',
- ],
- 'httpStatusCode' => [
- 'description' => 'HTTP状态码。',
- 'type' => 'string',
- 'example' => '200',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
'resultObject' => [
- 'description' => '返回对象。',
- 'type' => 'object',
- 'properties' => [
- 'totalItem' => [
- 'description' => '总个数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '101',
- ],
- 'maxTotalItem' => [
- 'description' => '最大创建条数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
- 'limit' => [
- 'description' => '是否超过最大数量。',
- 'type' => 'boolean',
- 'example' => 'true',
+ 'description' => '返回对象',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '返回对象',
+ 'type' => 'object',
+ 'properties' => [
+ 'content' => ['description' => 'step 内容', 'type' => 'string', 'example' => 'https://help.aliyun.com/document_detail/177689.html'],
+ 'type' => ['description' => '类型', 'type' => 'string', 'example' => 'URL'],
+ 'id' => ['description' => 'step标题', 'type' => 'string', 'example' => 'ios'],
],
],
],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\",\\n \\"success\\": true,\\n \\"code\\": \\"200\\",\\n \\"message\\": \\"The input parameter data is not valid. order_storage_company_num component not found\\",\\n \\"httpStatusCode\\": \\"200\\",\\n \\"resultObject\\": {\\n \\"totalItem\\": 101,\\n \\"maxTotalItem\\": 100,\\n \\"limit\\": true\\n }\\n}","type":"json"}]',
- 'title' => '查询事件总数量',
- ],
- 'DescribeEventPageList' => [
- 'summary' => '事件分页查询。',
- 'methods' => [
- 'post',
- 'get',
+ 'eventInfo' => [
+ 'enable' => false,
+ 'eventNames' => [],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'title' => '查询接入步骤详细信息',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:23:07.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSafStartSteps'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"resultObject\\": [\\n {\\n \\"content\\": \\"https://help.aliyun.com/document_detail/177689.html\\",\\n \\"type\\": \\"URL\\",\\n \\"id\\": \\"ios\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'DescribeSafTagList' => [
+ 'summary' => '获取风险标签列表',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
'systemTags' => [
'operationType' => 'get',
+ 'abilityTreeCode' => '135922',
+ 'abilityTreeNodes' => ['FEATUREsafWH3N80'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
- ],
- [
- 'name' => 'regId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'currentPage',
'in' => 'query',
- 'schema' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '当前页码。', 'type' => 'string', 'required' => false, 'example' => '1'],
],
[
'name' => 'pageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '每页大小,默认值为10。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
- ],
- [
- 'name' => 'eventName',
- 'in' => 'query',
- 'schema' => [
- 'description' => '事件名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '注册风险旁路',
- ],
+ 'schema' => ['description' => '每页大小,默认值为10', 'type' => 'string', 'required' => false, 'example' => '10'],
],
[
- 'name' => 'eventCode',
+ 'name' => 'apiId',
'in' => 'query',
- 'schema' => [
- 'description' => '事件编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'de_aikqxy3122',
- ],
+ 'schema' => ['description' => 'api服务id', 'type' => 'string', 'required' => false, 'example' => '34'],
],
[
- 'name' => 'eventStatus',
+ 'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '事件状态。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ONLINE',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'createType',
+ 'name' => 'TagName',
'in' => 'query',
- 'schema' => [
- 'description' => '创建类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'NORMAL',
- ],
+ 'schema' => ['description' => '标签名称。模糊查询', 'type' => 'string', 'required' => false, 'example' => 'rn0301'],
],
],
'responses' => [
@@ -24746,491 +18008,307 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'totalItem' => [
- 'description' => '总条数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '3',
- ],
- 'pageSize' => [
- 'description' => '每页大小,默认值为10。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
- 'currentPage' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'totalPage' => [
- 'description' => '总页数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '9',
- ],
+ 'totalItem' => ['description' => '总条数', 'type' => 'integer', 'format' => 'int32', 'example' => '6'],
+ 'pageSize' => ['description' => '每页大小,默认值为10', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ 'currentPage' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'totalPage' => ['description' => '总页数', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'resultObject' => [
- 'description' => '返回对象。',
+ 'description' => '返回对象',
'type' => 'array',
'items' => [
- 'description' => '返回对象。',
+ 'description' => '返回对象',
'type' => 'object',
'properties' => [
- 'eventCode' => [
- 'description' => '事件编码。',
- 'type' => 'string',
- 'example' => 'de_aszbjb7236',
- ],
- 'templateCode' => [
- 'description' => '模板code。',
- 'type' => 'string',
- 'example' => 'register',
- ],
- 'templateName' => [
- 'description' => '模板名称。',
- 'type' => 'string',
- 'example' => '注册模版',
- ],
- 'userCount' => [
- 'description' => '客户授权数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'templateType' => [
- 'description' => '模版类型。',
- 'type' => 'string',
- 'example' => 'UNIVERSAL',
- ],
- 'gmtModified' => [
- 'description' => '修改时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1565701886000',
- ],
- 'ruleCount' => [
- 'description' => '规则总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'gmtCreate' => [
- 'description' => '创建时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1621578648000',
- ],
- 'id' => [
- 'description' => '数据库id。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '497',
- ],
- 'eventStatus' => [
- 'description' => '事件状态。',
- 'type' => 'string',
- 'example' => 'ONLINE',
- ],
- 'eventName' => [
- 'description' => '事件名称。',
- 'type' => 'string',
- 'example' => '注册风险',
- ],
- 'eventType' => [
- 'description' => '事件类型。',
- 'type' => 'string',
- 'example' => 'MAIN',
- ],
- 'children' => [
- 'description' => '对象。',
- 'type' => 'array',
- 'items' => [
- 'description' => '对象。',
- 'type' => 'object',
- 'properties' => [
- 'eventCode' => [
- 'description' => '事件编码。',
- 'type' => 'string',
- 'example' => 'de_aamexg3015',
- ],
- 'gmtModified' => [
- 'description' => '修改时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1621578648000',
- ],
- 'ruleCount' => [
- 'description' => '规则总数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'eventStatus' => [
- 'description' => '事件状态。',
- 'type' => 'string',
- 'example' => 'ONLINE',
- ],
- 'eventName' => [
- 'description' => '事件名称。',
- 'type' => 'string',
- 'example' => '测试',
- ],
- 'eventType' => [
- 'description' => '事件类型。',
- 'type' => 'string',
- 'example' => 'BYPASS',
- ],
- 'id' => [
- 'description' => '主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '334',
- ],
- 'gmtCreate' => [
- 'description' => '创建时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1621578648000'."\n",
- ],
- ],
- ],
- ],
+ 'tagState' => ['description' => '标签标识', 'type' => 'string', 'example' => 'rn0301'],
+ 'updateTime' => ['description' => '更新时间。', 'type' => 'string', 'example' => '1684744034000'],
+ 'tagType' => ['description' => '标签类型', 'type' => 'string', 'example' => 'IP风险类'],
+ 'tagDesc' => ['description' => '标签描述。', 'type' => 'string', 'example' => '依赖IP画像模型识别输出风险高、中高、中的判定\\n数据来源主要基于IP的网络属性数据和对黑产行为轨迹的情报监控数据,涵盖可识别检测IP网络属性特征、恶意属性等特征\\n而模型评分的高中低主要是根据当前IP号段命中风险行为的恶意程度和种类来判定的\\n备注:以下rn0311、rn0312、rn0313、rn0314、rn0315属于IP画像模型针对当前请求IP识别出的风险类别'],
+ 'tagMean' => ['description' => '标签含义', 'type' => 'string', 'example' => 'IP风险评分高'],
+ 'tagUid' => ['description' => '标签键的唯一标识。', 'type' => 'string', 'example' => 'rn0301'],
+ 'tagName' => ['description' => '标签名称', 'type' => 'string', 'example' => 'rn0301'],
],
],
],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"totalItem\\": 3,\\n \\"pageSize\\": 10,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"currentPage\\": 1,\\n \\"totalPage\\": 9,\\n \\"resultObject\\": [\\n {\\n \\"eventCode\\": \\"de_aszbjb7236\\",\\n \\"templateCode\\": \\"register\\",\\n \\"templateName\\": \\"注册模版\\",\\n \\"userCount\\": 1,\\n \\"templateType\\": \\"UNIVERSAL\\",\\n \\"gmtModified\\": 1565701886000,\\n \\"ruleCount\\": 10,\\n \\"gmtCreate\\": 1621578648000,\\n \\"id\\": 497,\\n \\"eventStatus\\": \\"ONLINE\\",\\n \\"eventName\\": \\"注册风险\\",\\n \\"eventType\\": \\"MAIN\\",\\n \\"children\\": [\\n {\\n \\"eventCode\\": \\"de_aamexg3015\\",\\n \\"gmtModified\\": 1621578648000,\\n \\"ruleCount\\": 10,\\n \\"eventStatus\\": \\"ONLINE\\",\\n \\"eventName\\": \\"测试\\",\\n \\"eventType\\": \\"BYPASS\\",\\n \\"id\\": 334,\\n \\"gmtCreate\\": 1621578648000\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '事件列表分页查询',
- ],
- 'DescribeFieldById' => [
- 'summary' => '获取字段详情。',
- 'methods' => [
- 'post',
- 'get',
+ 'eventInfo' => [
+ 'enable' => false,
+ 'eventNames' => [],
+ ],
+ 'title' => '获取风险标签列表',
+ 'changeSet' => [
+ ['createdAt' => '2024-09-25T07:51:59.000Z', 'description' => '请求参数发生变更'],
+ ['createdAt' => '2022-05-11T07:23:07.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSafTagList'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"totalItem\\": 6,\\n \\"pageSize\\": 10,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"currentPage\\": 1,\\n \\"totalPage\\": 1,\\n \\"resultObject\\": [\\n {\\n \\"tagState\\": \\"rn0301\\",\\n \\"updateTime\\": \\"1684744034000\\",\\n \\"tagType\\": \\"IP风险类\\",\\n \\"tagDesc\\": \\"依赖IP画像模型识别输出风险高、中高、中的判定\\\\\\\\n数据来源主要基于IP的网络属性数据和对黑产行为轨迹的情报监控数据,涵盖可识别检测IP网络属性特征、恶意属性等特征\\\\\\\\n而模型评分的高中低主要是根据当前IP号段命中风险行为的恶意程度和种类来判定的\\\\\\\\n备注:以下rn0311、rn0312、rn0313、rn0314、rn0315属于IP画像模型针对当前请求IP识别出的风险类别\\",\\n \\"tagMean\\": \\"IP风险评分高\\",\\n \\"tagUid\\": \\"rn0301\\",\\n \\"tagName\\": \\"rn0301\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'DescribeSampleBatchOssPolicy' => [
+ 'summary' => '获取文件上传凭证。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREsafY3PCXI'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'id',
+ 'name' => 'batchName',
'in' => 'query',
- 'schema' => [
- 'description' => '主键id。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '223',
- ],
+ 'schema' => ['description' => '样本批次名称', 'type' => 'string', 'required' => false, 'example' => '白样本'],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'resultObject' => [
- 'description' => '返回对象。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ 'AccessId' => ['description' => '访问OSS的ID', 'type' => 'string', 'example' => 'LTAIxxxxxxxxxxxx'],
+ 'Signature' => ['description' => 'OSS签名', 'type' => 'string', 'example' => 'PoAUQ//RusJJFIvCrn36O3+mM/U='],
+ 'Host' => ['description' => 'OSS域名', 'type' => 'string', 'example' => '172.25.126.234'],
+ 'Key' => ['description' => '文件上传所需的Key。', 'type' => 'string', 'example' => 'saf/de/namelist/e924/ufzgsedX9bd3a7'],
+ 'Policy' => ['description' => 'OSS安全策略', 'type' => 'string', 'example' => 'eyJleHBpcmF0aW9uIjoiMjAyNS0wNy0zMFQwNjowNTo0OS45NTRaIiwiY29uZGl0aW9ucyI6W1siY29udGVudC1sZW5ndGgtcmFuZ2UiLDAsMTA0ODU3NjAwMF0sWyJlcSIsIiRrZXkiLCJzYWZcL2RlXC9uYW1lbGlzdFwvZTkyNFwvdWZ6Z3NlZFg5Ymxxxxxxxxxxx'],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '字段详情查询',
- ],
- 'SwitchExpressionVariable' => [
- 'summary' => '自定义变量开关。',
- 'methods' => [
- 'post',
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '获取文件上传凭证',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '2000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSampleBatchOssPolicy'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:DescribeSampleBatchOssPolicy',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"AccessId\\": \\"LTAIxxxxxxxxxxxx\\",\\n \\"Signature\\": \\"PoAUQ//RusJJFIvCrn36O3+mM/U=\\",\\n \\"Host\\": \\"172.25.126.234\\",\\n \\"Key\\": \\"saf/de/namelist/e924/ufzgsedX9bd3a7\\",\\n \\"Policy\\": \\"eyJleHBpcmF0aW9uIjoiMjAyNS0wNy0zMFQwNjowNTo0OS45NTRaIiwiY29uZGl0aW9ucyI6W1siY29udGVudC1sZW5ndGgtcmFuZ2UiLDAsMTA0ODU3NjAwMF0sWyJlcSIsIiRrZXkiLCJzYWZcL2RlXC9uYW1lbGlzdFwvZTkyNFwvdWZ6Z3NlZFg5Ymxxxxxxxxxxx\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeSampleDataByBatchUUidPage' => [
+ 'summary' => '样本名单列表。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'id',
+ 'name' => 'dataValue',
'in' => 'query',
- 'schema' => [
- 'description' => '变量id。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '2556',
- ],
+ 'schema' => ['description' => '文本框输入的名单内容', 'type' => 'string', 'required' => false, 'example' => '1770000000,1770000001'],
],
[
- 'name' => 'dataVersion',
+ 'name' => 'updateBeginTime',
'in' => 'query',
- 'schema' => [
- 'description' => '数据版本。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '开始时间', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1724986526000'],
],
[
- 'name' => 'status',
+ 'name' => 'updateEndTime',
'in' => 'query',
- 'schema' => [
- 'description' => '状态。',
- 'type' => 'string',
- 'required' => true,
- 'enumValueTitles' => [
- 'DISABLE' => '禁用',
- 'ENABLE' => '启用',
- ],
- 'example' => 'ENABLE',
- ],
+ 'schema' => ['description' => '结束时间', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1724986526000'],
+ ],
+ [
+ 'name' => 'currentPage',
+ 'in' => 'query',
+ 'schema' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
+ ],
+ [
+ 'name' => 'pageSize',
+ 'in' => 'query',
+ 'schema' => ['description' => '每页大小,默认值为10', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
+ ],
+ [
+ 'name' => 'batchUuid',
+ 'in' => 'query',
+ 'schema' => ['description' => '样本批uuid', 'type' => 'string', 'required' => false, 'example' => '203f1ae65c0a41a49dc4f8a47946caa2'],
],
],
'responses' => [
200 => [
- 'headers' => [],
'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' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ 'totalItem' => ['description' => '总条数', 'type' => 'integer', 'format' => 'int32', 'example' => '6'],
+ 'totalPage' => ['description' => '总页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'pageSize' => ['description' => '每页大小,默认值为10', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'currentPage' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'resultObject' => [
- 'description' => '返回对象。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
+ 'description' => '返回对象',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '返回对象',
+ 'type' => 'object',
+ 'properties' => [
+ 'uuid' => ['description' => '样本批uuid', 'type' => 'string', 'example' => '203f1ae65c0a41a49dc4f8a47946caa2'],
+ 'gmtCreate' => ['description' => '创建时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1621578648000'],
+ 'gmtModified' => ['description' => '修改时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1565701886000'],
+ 'batchName' => ['description' => '样本批次名称', 'type' => 'string', 'example' => '白样本'],
+ 'dataValue' => ['description' => '数据内容', 'type' => 'string', 'example' => '177000001'],
+ 'lastSourceType' => ['description' => '最后来源', 'type' => 'string', 'example' => 'Console-Text'],
+ 'version' => ['description' => '版本', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'dataTagType' => ['description' => '样本类型', 'type' => 'string', 'example' => 'pass'],
+ 'creator' => ['description' => '创建者', 'type' => 'string', 'example' => '1519714049632764'],
+ ],
+ ],
],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '修改自定义变量状态',
- ],
- 'DescribeFieldPage' => [
- 'summary' => '查询字段分页列表。',
- 'methods' => [
- 'get',
- 'post',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '样本名单列表',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '2000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSampleDataByBatchUUidPage'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:DescribeSampleDataByBatchUUidPage',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"totalItem\\": 6,\\n \\"totalPage\\": 1,\\n \\"pageSize\\": 10,\\n \\"currentPage\\": 1,\\n \\"resultObject\\": [\\n {\\n \\"uuid\\": \\"203f1ae65c0a41a49dc4f8a47946caa2\\",\\n \\"gmtCreate\\": 1621578648000,\\n \\"gmtModified\\": 1565701886000,\\n \\"batchName\\": \\"白样本\\",\\n \\"dataValue\\": \\"177000001\\",\\n \\"lastSourceType\\": \\"Console-Text\\",\\n \\"version\\": 1,\\n \\"dataTagType\\": \\"pass\\",\\n \\"creator\\": \\"1519714049632764\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'DescribeSampleDataList' => [
+ 'summary' => '样本列表分页查询。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- 'abilityTreeCode' => '134394',
- 'abilityTreeNodes' => [
- 'FEATUREsafWH3N80',
- ],
- 'tenantRelevance' => 'publicInformation',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'currentPage',
'in' => 'query',
- 'schema' => [
- 'description' => '当前页码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '当前页码。', 'type' => 'string', 'required' => false, 'example' => '1'],
],
[
'name' => 'pageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '每页大小,默认值为10。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '每页大小,默认值为10', 'type' => 'string', 'required' => false, 'example' => '10'],
],
[
- 'name' => 'type',
- 'in' => 'query',
- 'schema' => [
- 'description' => '字段类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'STRING',
- ],
- ],
- [
- 'name' => 'classify',
+ 'name' => 'sampleId',
'in' => 'query',
- 'schema' => [
- 'description' => '字段分类。',
- 'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [
- 'REQUEST_PARAM' => '业务字段',
- 'DEVICE_INFO' => '设备字段',
- ],
- 'example' => 'REQUEST_PARAM',
- ],
+ 'schema' => ['description' => '样例id。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '5467'],
],
[
- 'name' => 'source',
- 'in' => 'query',
- 'schema' => [
- 'description' => '字段来源。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'DEFINE',
- ],
- ],
- [
- 'name' => 'name',
+ 'name' => 'scene',
'in' => 'query',
- 'schema' => [
- 'description' => '字段name。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'age',
- ],
+ 'schema' => ['description' => '场景', 'type' => 'string', 'required' => false, 'example' => '1'],
],
[
- 'name' => 'title',
+ 'name' => 'queryContent',
'in' => 'query',
- 'schema' => [
- 'description' => '标题。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '年龄',
- ],
+ 'schema' => ['description' => '查询内容', 'type' => 'string', 'required' => false, 'example' => '手机号'],
],
[
'name' => 'status',
'in' => 'query',
- 'schema' => [
- 'description' => '状态。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ENABLE',
- ],
+ 'schema' => ['description' => '状态。', 'type' => 'string', 'required' => false, 'example' => 'CREATE'],
],
[
- 'name' => 'condition',
+ 'name' => 'deleteTag',
'in' => 'query',
- 'schema' => [
- 'description' => '查询入参name or title。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'age/年龄',
- ],
+ 'schema' => ['description' => '删除状态', 'type' => 'string', 'required' => false, 'example' => 'DELETE'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
@@ -25238,307 +18316,271 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'totalItem' => [
- 'description' => '总条数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '40',
- ],
- 'pageSize' => [
- 'description' => '每页大小,默认值为10。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
- 'currentPage' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'totalPage' => [
- 'description' => '总页数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '4',
- ],
+ 'totalItem' => ['description' => '总条数', 'type' => 'integer', 'format' => 'int32', 'example' => '6'],
+ 'pageSize' => ['description' => '每页大小,默认值为10', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ 'currentPage' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'totalPage' => ['description' => '总页数', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'resultObject' => [
- 'description' => '返回对象。',
+ 'description' => '返回对象',
'type' => 'array',
'items' => [
- 'description' => '返回对象。',
+ 'description' => '返回对象',
'type' => 'object',
'properties' => [
- 'classify' => [
- 'description' => '字段分类。',
- 'type' => 'string',
- 'example' => 'REQUEST_PARAM',
- ],
- 'type' => [
- 'description' => '字段类型',
- 'type' => 'string',
- 'example' => 'STRING',
- ],
- 'title' => [
- 'description' => '标题。',
- 'type' => 'string',
- 'example' => '年龄',
- ],
- 'description' => [
- 'description' => '描述信息。',
- 'type' => 'string',
- 'example' => '描述',
- ],
- 'status' => [
- 'description' => '状态。',
- 'type' => 'string',
- 'example' => 'ENABLE',
- ],
- 'source' => [
- 'description' => '文件来源。',
- 'type' => 'string',
- 'example' => 'DEFINE',
- ],
- 'enumData' => [
- 'description' => '枚举数据。',
- 'type' => 'string',
- 'example' => 'STATUS',
- ],
- 'name' => [
- 'description' => '字段name。',
- 'type' => 'string',
- 'example' => 'age',
- ],
- 'id' => [
- 'description' => '表唯一id。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '497',
- ],
+ 'classificationType' => ['description' => '分类类型,二分类、多分类', 'type' => 'string', 'example' => '二分类'],
+ 'recallConfig' => ['description' => '回溯配置', 'type' => 'string', 'example' => '{"variables":"a,b,c"}'],
+ 'userId' => ['description' => '用户uid', 'type' => 'integer', 'format' => 'int64', 'example' => '1519714049632764'],
+ 'storeType' => ['description' => '存储类型', 'type' => 'string', 'example' => 'OSS'],
+ 'sampleSize' => ['description' => '样本数量', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'],
+ 'status' => ['description' => '状态。', 'type' => 'string', 'example' => 'CREATE'],
+ 'scene' => ['description' => '场景code', 'type' => 'string', 'example' => 'account_abuse_detection'],
+ 'gmtCreate' => ['description' => '创建时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1621578648000'],
+ 'dataTitle' => ['description' => '样本数据首行。用于定义每列数据的值', 'type' => 'string', 'example' => '17700000000'],
+ 'id' => ['description' => '主键id', 'type' => 'integer', 'format' => 'int64', 'example' => '497'],
+ 'version' => ['description' => '版本', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'sampleLabelDetail' => ['description' => '样本标签详情', 'type' => 'string', 'example' => '[{"type":"positive","size":"2000","value":1},{"type":"negative","size":1900,"value":0}]'],
+ 'normalSize' => ['description' => '正常样本数', 'type' => 'integer', 'format' => 'int64', 'example' => '999'],
+ 'supportRecall' => ['description' => '是否支持回溯', 'type' => 'string', 'example' => 'true'],
+ 'description' => ['description' => '描述信息。', 'type' => 'string', 'example' => '描述'],
+ 'storePath' => ['description' => '存储路径', 'type' => 'string', 'example' => 'saf/de/sample/3dc2spspHKq4G3YI9d08'],
+ 'dataDistributed' => ['description' => '用于样本数据计算的评判标准值', 'type' => 'string', 'example' => '{"正样本":"1","负样本":"1"}'],
+ 'riskSize' => ['description' => '风险样本数', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'riskValue' => ['description' => '风险指定值', 'type' => 'string', 'example' => 'black'],
+ 'gmtModified' => ['description' => '修改时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1565701886000'],
+ 'deleteTag' => ['description' => '删除标签。', 'type' => 'string', 'example' => 'DELETE'],
+ 'name' => ['description' => '名称', 'type' => 'string', 'example' => '注册样本'],
],
],
],
],
+ 'description' => '',
],
],
],
- 'eventInfo' => [
- 'enable' => false,
- 'eventNames' => [],
+ 'title' => '样本列表分页查询',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:19:05.000Z', 'description' => 'OpenAPI 下线'],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"totalItem\\": 40,\\n \\"pageSize\\": 10,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"currentPage\\": 1,\\n \\"totalPage\\": 4,\\n \\"resultObject\\": [\\n {\\n \\"classify\\": \\"REQUEST_PARAM\\",\\n \\"type\\": \\"STRING\\",\\n \\"title\\": \\"年龄\\",\\n \\"description\\": \\"描述\\",\\n \\"status\\": \\"ENABLE\\",\\n \\"source\\": \\"DEFINE\\",\\n \\"enumData\\": \\"STATUS\\",\\n \\"name\\": \\"age\\",\\n \\"id\\": 497\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '字段分页列表',
- ],
- 'CheckUsageVariable' => [
- 'summary' => '校验变量引用。',
- 'methods' => [
- 'post',
- 'get',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSampleDataList'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"totalItem\\": 6,\\n \\"pageSize\\": 10,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"currentPage\\": 1,\\n \\"totalPage\\": 1,\\n \\"resultObject\\": [\\n {\\n \\"classificationType\\": \\"二分类\\",\\n \\"recallConfig\\": \\"{\\\\\\"variables\\\\\\":\\\\\\"a,b,c\\\\\\"}\\",\\n \\"userId\\": 1519714049632764,\\n \\"storeType\\": \\"OSS\\",\\n \\"sampleSize\\": 1000,\\n \\"status\\": \\"CREATE\\",\\n \\"scene\\": \\"account_abuse_detection\\",\\n \\"gmtCreate\\": 1621578648000,\\n \\"dataTitle\\": \\"17700000000\\",\\n \\"id\\": 497,\\n \\"version\\": 1,\\n \\"sampleLabelDetail\\": \\"[{\\\\\\"type\\\\\\":\\\\\\"positive\\\\\\",\\\\\\"size\\\\\\":\\\\\\"2000\\\\\\",\\\\\\"value\\\\\\":1},{\\\\\\"type\\\\\\":\\\\\\"negative\\\\\\",\\\\\\"size\\\\\\":1900,\\\\\\"value\\\\\\":0}]\\",\\n \\"normalSize\\": 999,\\n \\"supportRecall\\": \\"true\\",\\n \\"description\\": \\"描述\\",\\n \\"storePath\\": \\"saf/de/sample/3dc2spspHKq4G3YI9d08\\",\\n \\"dataDistributed\\": \\"{\\\\\\"正样本\\\\\\":\\\\\\"1\\\\\\",\\\\\\"负样本\\\\\\":\\\\\\"1\\\\\\"}\\",\\n \\"riskSize\\": 1,\\n \\"riskValue\\": \\"black\\",\\n \\"gmtModified\\": 1565701886000,\\n \\"deleteTag\\": \\"DELETE\\",\\n \\"name\\": \\"注册样本\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'DescribeSampleDataPage' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域Id。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'id',
+ 'name' => 'dataValue',
'in' => 'query',
- 'schema' => [
- 'description' => '主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '文本框输入的名单内容', 'type' => 'string', 'required' => false, 'example' => '1770000000'],
+ ],
+ [
+ 'name' => 'updateBeginTime',
+ 'in' => 'query',
+ 'schema' => ['description' => '开始时间', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1730429469000'],
+ ],
+ [
+ 'name' => 'updateEndTime',
+ 'in' => 'query',
+ 'schema' => ['description' => '结束时间', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1730429469000'],
+ ],
+ [
+ 'name' => 'currentPage',
+ 'in' => 'query',
+ 'schema' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
+ ],
+ [
+ 'name' => 'pageSize',
+ 'in' => 'query',
+ 'schema' => ['description' => '每页大小,默认值为10', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
],
'responses' => [
200 => [
- 'headers' => [],
'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' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ 'totalItem' => ['description' => '总条数', 'type' => 'integer', 'format' => 'int32', 'example' => '3'],
+ 'pageSize' => ['description' => '每页条数,默认10。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'currentPage' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'totalPage' => ['description' => '总页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'resultObject' => [
- 'description' => '是否成功。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => '请求id。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
+ 'description' => '返回对象',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '返回对象',
+ 'type' => 'object',
+ 'properties' => [
+ 'uuid' => ['description' => '样本批uuid', 'type' => 'string', 'example' => '48653f1372444c078f7b3d1c317d37dc'],
+ 'gmtCreate' => ['description' => '创建时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1621578648000'],
+ 'gmtModified' => ['description' => '修改时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1565701886000'],
+ 'dataValue' => ['description' => '文本框输入的名单内容', 'type' => 'string', 'example' => '1770000000'],
+ 'lastSourceType' => ['description' => '最后来源', 'type' => 'string', 'example' => 'Console-Text'],
+ 'version' => ['description' => '版本号', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'dataTagType' => ['description' => '样本类型', 'type' => 'string', 'example' => 'pass'],
+ 'creator' => ['description' => '创建人', 'type' => 'string', 'example' => '1519714049632764'],
+ 'updator' => ['description' => '修改人', 'type' => 'string', 'example' => '1519714049632764'],
+ ],
+ ],
],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '校验变量引用',
- ],
- 'DeleteNameList' => [
- 'summary' => '删除名单。',
- 'methods' => [
- 'post',
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '样本名单列表',
+ 'summary' => '样本名单列表。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '2000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSampleDataPage'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:DescribeSampleDataPage',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"totalItem\\": 3,\\n \\"pageSize\\": 10,\\n \\"currentPage\\": 1,\\n \\"totalPage\\": 1,\\n \\"resultObject\\": [\\n {\\n \\"uuid\\": \\"48653f1372444c078f7b3d1c317d37dc\\",\\n \\"gmtCreate\\": 1621578648000,\\n \\"gmtModified\\": 1565701886000,\\n \\"dataValue\\": \\"1770000000\\",\\n \\"lastSourceType\\": \\"Console-Text\\",\\n \\"version\\": 1,\\n \\"dataTagType\\": \\"pass\\",\\n \\"creator\\": \\"1519714049632764\\",\\n \\"updator\\": \\"1519714049632764\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'DescribeSampleDemoDownloadUrl' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'regId',
+ 'name' => 'scene',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '场景code', 'type' => 'string', 'required' => true, 'example' => 'coupon_abuse_detection'],
],
[
- 'name' => 'ids',
+ 'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '名单id,多个用逗号拼接。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '23,24,25',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
200 => [
- 'headers' => [],
'schema' => [
'type' => 'object',
'properties' => [
- 'resultObject' => [
- 'description' => '返回对象。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
+ 'resultObject' => ['description' => '返回对象', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '删除名单',
- ],
- 'DescribeExistName' => [
- 'summary' => '校验字段名是否重复(基于用户单位)。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '查询样本示例授权',
+ 'summary' => '查询样本示例授权。',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:19:05.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSampleDemoDownloadUrl'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeSampleDownloadUrl' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'name',
+ 'name' => 'sampleId',
'in' => 'query',
- 'schema' => [
- 'description' => '变量name。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'age',
- ],
+ 'schema' => ['description' => '样例id。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '5467'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
@@ -25546,444 +18588,160 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'resultObject' => [
- 'description' => '返回对象。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
+ 'resultObject' => ['description' => '返回对象', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '查询字段名是否重复',
- ],
- 'DescribeCustVariablePage' => [
- 'summary' => '查询自定义累计变量列表。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '查询样本下载授权信息',
+ 'summary' => '查询样本下载授权信息。',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:19:05.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSampleDownloadUrl'],
+ ],
],
- 'security' => [
+ 'ramActions' => [
[
- 'AK' => [],
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
],
- 'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREsafXYIHRP',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeSampleInfo' => [
+ 'summary' => '查询样本详情。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
],
],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
- ],
- [
- 'name' => 'regId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
- ],
- [
- 'name' => 'currentPage',
- 'in' => 'query',
- 'schema' => [
- 'description' => '分页参数,当前页码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'pageSize',
- 'in' => 'query',
- 'schema' => [
- 'description' => '每页记录数,默认值:10。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
- ],
- [
- 'name' => 'eventCode',
+ 'name' => 'id',
'in' => 'query',
- 'schema' => [
- 'description' => '事件编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'de_aheldm3876',
- ],
+ 'schema' => ['description' => '主键id', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '3144'],
],
[
- 'name' => 'description',
- 'in' => 'query',
- 'schema' => [
- 'description' => '描述。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '累计变量描述',
- ],
- ],
- [
- 'name' => 'createType',
+ 'name' => 'versions',
'in' => 'query',
- 'schema' => [
- 'description' => '创建类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'NORMAL',
- ],
+ 'schema' => ['description' => '版本号。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
- 'name' => 'status',
+ 'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '状态。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ENABLE',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
200 => [
- 'headers' => [],
'schema' => [
'type' => 'object',
'properties' => [
- 'totalItem' => [
- 'description' => '总条数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '6',
- ],
- 'pageSize' => [
- 'description' => '每页大小,默认值为10。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
- 'currentPage' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'totalPage' => [
- 'description' => '总页数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
'resultObject' => [
- 'description' => '返回对象。',
- 'type' => 'array',
- 'items' => [
- 'description' => '返回对象。',
- 'type' => 'object',
- 'properties' => [
- 'dataVersion' => [
- 'description' => '数据版本。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'title' => [
- 'description' => '标题。',
- 'type' => 'string',
- 'example' => '累计变量名称',
- ],
- 'description' => [
- 'description' => '描述信息。',
- 'type' => 'string',
- 'example' => '累计变量描述',
- ],
- 'gmtModified' => [
- 'description' => '修改时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1565701886000',
- ],
- 'name' => [
- 'description' => '累计变量name:由后端生成。',
- 'type' => 'string',
- 'example' => 'xLMfE9K161d',
- ],
- 'id' => [
- 'description' => '累计变量主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '497',
- ],
- 'status' => [
- 'title' => '数据状态',
- 'description' => '状态。',
- 'type' => 'string',
- 'example' => 'ENABLE',
- ],
- 'eventName' => [
- 'title' => '事件名称',
- 'description' => '事件名称。',
- 'type' => 'string',
- 'example' => '注册事件',
- ],
- 'ruleList' => [
- 'title' => '关联策略ruleId',
- 'description' => '关联策略ruleId。',
- 'type' => 'array',
- 'items' => [
- 'title' => '策略ruleId',
- 'description' => '策略ruleId。',
- 'type' => 'string',
- 'example' => '10235',
- ],
- ],
- ],
+ 'description' => '返回对象',
+ 'type' => 'object',
+ 'properties' => [
+ 'updateTime' => ['description' => '更新时间。', 'type' => 'string', 'example' => '1753804800000'],
+ 'sampleType' => ['description' => '样本类型', 'type' => 'string', 'example' => 'PHONE'],
+ 'sampleValue' => ['description' => '样例值。', 'type' => 'string', 'example' => '17700000000'],
+ 'sampleTags' => ['description' => '样例标签。', 'type' => 'string', 'example' => 'em0102'],
+ 'id' => ['description' => '主键id', 'type' => 'integer', 'format' => 'int64', 'example' => '3144'],
+ 'version' => ['description' => '版本号。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
],
],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"totalItem\\": 6,\\n \\"pageSize\\": 10,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"currentPage\\": 1,\\n \\"totalPage\\": 1,\\n \\"resultObject\\": [\\n {\\n \\"dataVersion\\": 1,\\n \\"title\\": \\"累计变量名称\\",\\n \\"description\\": \\"累计变量描述\\",\\n \\"gmtModified\\": 1565701886000,\\n \\"name\\": \\"xLMfE9K161d\\",\\n \\"id\\": 497,\\n \\"status\\": \\"ENABLE\\",\\n \\"eventName\\": \\"注册事件\\",\\n \\"ruleList\\": [\\n \\"10235\\"\\n ]\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '累计变量分页列表查询',
- 'description' => '累计变量列表查询',
- ],
- 'BindVariable' => [
- 'summary' => '变量绑定操作。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '查询样本详情',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:11:26.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSampleInfo'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"resultObject\\": {\\n \\"updateTime\\": \\"1753804800000\\",\\n \\"sampleType\\": \\"PHONE\\",\\n \\"sampleValue\\": \\"17700000000\\",\\n \\"sampleTags\\": \\"em0102\\",\\n \\"id\\": 3144,\\n \\"version\\": 1\\n }\\n}","type":"json"}]',
+ ],
+ 'DescribeSampleList' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n"
- .'。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'defineId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '关联变量定义主键id。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2438',
- ],
- ],
- [
- 'name' => 'id',
- 'in' => 'query',
- 'schema' => [
- 'description' => '变量主键id。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '106875',
- ],
- ],
- [
- 'name' => 'eventCode',
- 'in' => 'query',
- 'schema' => [
- 'description' => '事件编码。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'de_agbzfi5134',
- ],
- ],
- [
- 'name' => 'title',
- 'in' => 'query',
- 'schema' => [
- 'description' => '标题。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '变量title',
- ],
- ],
- [
- 'name' => 'params',
- 'in' => 'query',
- 'schema' => [
- 'description' => '绑定入参参数信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{"accountId":"accountId","mobile":""}',
- ],
- ],
- [
- 'name' => 'description',
- 'in' => 'query',
- 'schema' => [
- 'description' => '描述信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '变量描述',
- ],
- ],
- [
- 'name' => 'apiType',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'api类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'SELF',
- ],
- ],
- [
- 'name' => 'sourceType',
- 'in' => 'query',
- 'schema' => [
- 'description' => '变量来源。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'SAF',
- ],
- ],
- [
- 'name' => 'apiRegionId',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'api地域id。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
- ],
- [
- 'name' => 'outputField',
+ 'name' => 'sampleType',
'in' => 'query',
- 'schema' => [
- 'description' => '输出字段路径。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'BOOLEAN',
- ],
+ 'schema' => ['description' => '样本类型', 'type' => 'string', 'required' => false, 'example' => 'PHONE'],
],
[
- 'name' => 'outputType',
+ 'name' => 'sampleValue',
'in' => 'query',
- 'schema' => [
- 'description' => '输出类型。',
- 'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [
- 'DATE' => 'DATE',
- 'ENUM' => 'ENUM',
- 'STRING' => 'STRING',
- 'DOUBLE' => 'DOUBLE',
- 'INT' => 'INT',
- 'BOOLEAN' => 'BOOLEAN',
- 'LONG' => 'LONG',
- ],
- 'example' => 'STRING',
- ],
+ 'schema' => ['description' => '样例数据值。', 'type' => 'string', 'required' => false, 'example' => '1770000000'],
],
[
- 'name' => 'exceptionValue',
+ 'name' => 'currentPage',
'in' => 'query',
- 'schema' => [
- 'description' => '异常值。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'SYS_ERROR',
- ],
+ 'schema' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
- 'name' => 'paramsList',
+ 'name' => 'pageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '事件参数映射2.0 params与paramsList必须有一个不为空 List json结构。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[{"eventFieldName":"accountId","required":false}]',
- ],
+ 'schema' => ['description' => '每页大小,默认值为10', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
- ],
- [
- 'name' => 'createType',
- 'in' => 'query',
- 'schema' => [
- 'description' => '创建类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'NORMAL',
- ],
- ],
- [
- 'name' => 'defineIds',
- 'in' => 'query',
- 'schema' => [
- 'description' => '变量定义ids,可以是多个,如果是绑定多个id用逗号隔开。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1546, 1547',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
@@ -25991,86 +18749,78 @@
'schema' => [
'type' => 'object',
'properties' => [
+ 'totalItem' => ['description' => '总个数。', 'type' => 'integer', 'format' => 'int32', 'example' => '6'],
+ 'pageSize' => ['description' => '每页大小,默认值为10', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ 'currentPage' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'totalPage' => ['description' => '总页数', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'resultObject' => [
- 'description' => '返回对象。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => '请求id。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
+ 'description' => '返回对象',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '返回对象',
+ 'type' => 'object',
+ 'properties' => [
+ 'updateTime' => ['description' => '更新时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1699450018265'],
+ 'sampleType' => ['description' => '样本类型', 'type' => 'integer', 'format' => 'int32', 'example' => 'PHONE'],
+ 'sampleValue' => ['description' => '样本值。', 'type' => 'string', 'example' => '1770000000'],
+ 'sampleTags' => ['description' => '样本标签。', 'type' => 'string', 'example' => 'rm0102'],
+ 'id' => ['description' => '数据库id。', 'type' => 'integer', 'format' => 'int64', 'example' => '497'],
+ 'version' => ['description' => '版本号。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ ],
+ ],
],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '变量绑定',
- ],
- 'DeleteField' => [
- 'summary' => '删除字段。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '查询样本列表',
+ 'summary' => '查询样本列表。',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:11:26.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSampleList'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"totalItem\\": 6,\\n \\"pageSize\\": 10,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"currentPage\\": 1,\\n \\"totalPage\\": 1,\\n \\"resultObject\\": [\\n {\\n \\"updateTime\\": 1699450018265,\\n \\"sampleType\\": 0,\\n \\"sampleValue\\": \\"1770000000\\",\\n \\"sampleTags\\": \\"rm0102\\",\\n \\"id\\": 497,\\n \\"version\\": 1\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'DescribeSampleSceneList' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-hangzhou',
- ],
- ],
- [
- 'name' => 'id',
- 'in' => 'query',
- 'schema' => [
- 'description' => '字段主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '2556',
- ],
- ],
- [
- 'name' => 'name',
- 'in' => 'query',
- 'schema' => [
- 'description' => '字段name。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'age',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
@@ -26078,516 +18828,349 @@
'schema' => [
'type' => 'object',
'properties' => [
+ 'totalItem' => ['description' => '总个数。', 'type' => 'integer', 'format' => 'int32', 'example' => '6'],
+ 'pageSize' => ['description' => '每页大小,默认值为10', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ 'currentPage' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'totalPage' => ['description' => '总页数', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'resultObject' => [
- 'description' => '返回对象。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
+ 'description' => '返回对象',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '返回对象',
+ 'type' => 'object',
+ 'properties' => [
+ 'lastModifiedOperator' => ['description' => '最后修改者。', 'type' => 'string', 'example' => '1519714049632764'],
+ 'creator' => ['description' => '创建人。', 'type' => 'string', 'example' => '1519714049632764'],
+ 'configKey' => ['description' => '配置项key', 'type' => 'string', 'example' => 'account_abuse_detection'],
+ 'description' => ['description' => '描述信息。', 'type' => 'string', 'example' => '变量描述'],
+ 'gmtModified' => ['description' => '修改时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1565701886000'],
+ 'status' => ['description' => '状态。', 'type' => 'string', 'example' => 'ENABLE'],
+ 'configValue' => ['description' => '配置项值', 'type' => 'string', 'example' => '1'],
+ 'gmtCreate' => ['description' => '创建时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1621578648000'],
+ 'bizType' => ['description' => '业务类型', 'type' => 'string', 'example' => 'variable_scene'],
+ 'id' => ['description' => '任务Id', 'type' => 'integer', 'format' => 'int64', 'example' => '3144'],
+ ],
+ ],
],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '删除字段',
- ],
- 'DescribeNameListLimit' => [
- 'summary' => '查询名单限制数。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '查询场景列表',
+ 'summary' => '查询场景列表。',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:19:05.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSampleSceneList'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"totalItem\\": 6,\\n \\"pageSize\\": 10,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"currentPage\\": 1,\\n \\"totalPage\\": 1,\\n \\"resultObject\\": [\\n {\\n \\"lastModifiedOperator\\": \\"1519714049632764\\",\\n \\"creator\\": \\"1519714049632764\\",\\n \\"configKey\\": \\"account_abuse_detection\\",\\n \\"description\\": \\"变量描述\\",\\n \\"gmtModified\\": 1565701886000,\\n \\"status\\": \\"ENABLE\\",\\n \\"configValue\\": \\"1\\",\\n \\"gmtCreate\\": 1621578648000,\\n \\"bizType\\": \\"variable_scene\\",\\n \\"id\\": 3144\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'DescribeSampleTagList' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
- ],
- [
- 'name' => 'createType',
- 'in' => 'query',
- 'schema' => [
- 'description' => '创建类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'NORMAL',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
200 => [
- 'headers' => [],
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
- 'resultObject' => [
- 'description' => '返回对象。',
- 'type' => 'object',
- 'properties' => [
- 'totalItem' => [
- 'description' => '总条数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '101',
- ],
- 'maxTotalItem' => [
- 'description' => '最大创建条数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100',
- ],
- 'limit' => [
- 'description' => '是否超过最大数量。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- ],
- ],
+ 'resultObject' => ['description' => '返回对象', 'type' => 'boolean', 'example' => 'true'],
+ 'requestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"resultObject\\": {\\n \\"totalItem\\": 101,\\n \\"maxTotalItem\\": 100,\\n \\"limit\\": true\\n }\\n}","type":"json"}]',
- 'title' => '查询名单限制数',
- ],
- 'OperateFavoriteVariable' => [
- 'summary' => '操作收藏。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '获取标签列表',
+ 'summary' => '获取标签列表。',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:11:26.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSampleTagList'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeSampleUploadPolicy' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
- ],
- [
- 'name' => 'id',
- 'in' => 'query',
- 'schema' => [
- 'description' => '变量id。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '3144',
- ],
- ],
- [
- 'name' => 'operate',
- 'in' => 'query',
- 'schema' => [
- 'description' => '收藏操作。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ADD',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
200 => [
- 'headers' => [],
'schema' => [
'type' => 'object',
'properties' => [
- 'resultObject' => [
- 'description' => '返回对象。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
+ 'Key' => ['description' => 'oss上传策略的key。', 'type' => 'string', 'example' => 'saf/de/namelist/e924/ufzgsedX9bd3a7'],
+ 'Signature' => ['description' => '签名信息。', 'type' => 'string', 'example' => '3Es5j/9Xm/zwPcM9cwEr5pa0Wsc='],
+ 'Host' => ['description' => 'OSS域名。', 'type' => 'string', 'example' => 'emseu.cxy8uoq4aafx.eu-central-1.rds.amazonaws.com'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ 'Policy' => ['description' => 'oss上传策略。', 'type' => 'string', 'example' => 'eyJleHBpcmF0aW9uIjoiMjAyNS0wNy0zMFQwNjowNTo0OS45NTRaIiwiY29uZGl0aW9ucyI6W1siY29udGVudC1sZW5ndGgtcmFuZ2UiLDAsMTA0ODU3NjAwMF0sWyJlcSIsIiRrZXkiLCJzYWZcL2RlXC9uYW1lbGlzdFwvZTkyNFwvdWZ6Z3NlZFg5Ymxxxxxxxxxxx'],
+ 'AccessId' => ['description' => 'ossaccesskeyid。', 'type' => 'string', 'example' => 'LTAxxxxxxxxxxxxx'],
+ 'StsToken' => ['description' => '临时身份凭证。', 'type' => 'string', 'example' => 'tT44bMQxxxxxxxxxxxxxxx'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '收藏变量',
- ],
- 'ModifyField' => [
- 'summary' => '修改字段。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '查询样本上传授权信息',
+ 'summary' => '查询样本上传授权信息。',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:23:07.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSampleUploadPolicy'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Key\\": \\"saf/de/namelist/e924/ufzgsedX9bd3a7\\",\\n \\"Signature\\": \\"3Es5j/9Xm/zwPcM9cwEr5pa0Wsc=\\",\\n \\"Host\\": \\"emseu.cxy8uoq4aafx.eu-central-1.rds.amazonaws.com\\",\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"Policy\\": \\"eyJleHBpcmF0aW9uIjoiMjAyNS0wNy0zMFQwNjowNTo0OS45NTRaIiwiY29uZGl0aW9ucyI6W1siY29udGVudC1sZW5ndGgtcmFuZ2UiLDAsMTA0ODU3NjAwMF0sWyJlcSIsIiRrZXkiLCJzYWZcL2RlXC9uYW1lbGlzdFwvZTkyNFwvdWZ6Z3NlZFg5Ymxxxxxxxxxxx\\",\\n \\"AccessId\\": \\"LTAxxxxxxxxxxxxx\\",\\n \\"StsToken\\": \\"tT44bMQxxxxxxxxxxxxxxx\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeSamplebatchPage' => [
+ 'summary' => '样本批次列表。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
- ],
- [
- 'name' => 'id',
- 'in' => 'query',
- 'schema' => [
- 'description' => '变量id。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '376773',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'name',
+ 'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '变量name。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'age',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'title',
- 'in' => 'query',
- 'schema' => [
- 'description' => '标题。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '年龄',
- ],
- ],
- [
- 'name' => 'enumData',
+ 'name' => 'dataValue',
'in' => 'query',
- 'schema' => [
- 'description' => '枚举类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[{\\"name\\":\\"ENABLE\\",\\"value\\":\\"禁用\\"}]',
- ],
+ 'schema' => ['description' => '文本框输入的名单内容', 'type' => 'string', 'required' => false, 'example' => '1770000000'],
],
[
- 'name' => 'classify',
+ 'name' => 'pageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '字段分类。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'REQUEST_PARAM',
- ],
+ 'schema' => ['description' => '每页大小,默认值为10', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
[
- 'name' => 'description',
- 'in' => 'query',
- 'schema' => [
- 'description' => '描述信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '描述',
- ],
- ],
- [
- 'name' => 'regId',
+ 'name' => 'currentPage',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
],
'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' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ 'totalItem' => ['description' => '总条数', 'type' => 'integer', 'format' => 'int32', 'example' => '3'],
+ 'pageSize' => ['description' => '每页大小,默认值为10', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'currentPage' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'totalPage' => ['description' => '总页数', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'resultObject' => [
- 'description' => '返回对象。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
+ 'description' => '返回对象',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '返回对象',
+ 'type' => 'object',
+ 'properties' => [
+ 'uuid' => ['description' => '样本批uuid', 'type' => 'string', 'example' => '203f1ae65c0a41a49dc4f8a47946caa2'],
+ 'gmtCreate' => ['description' => '创建时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1621578648000'],
+ 'gmtModified' => ['description' => '修改时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1565701886000'],
+ 'batchName' => ['description' => '样本批次名称', 'type' => 'string', 'example' => '白样本'],
+ 'description' => ['description' => '描述。', 'type' => 'string', 'example' => '描述'],
+ 'dataType' => ['description' => '数据类型', 'type' => 'string', 'example' => 'mobile'],
+ 'sampleBatchType' => ['description' => '样本名单具体的类型', 'type' => 'string', 'example' => 'pass'],
+ 'updator' => ['description' => '修改人', 'type' => 'string', 'example' => '1519714049632764'],
+ 'creator' => ['description' => '创建者。', 'type' => 'string', 'example' => '1519714049632764'],
+ 'initValidFileRow' => ['description' => '有效样本内容数据', 'type' => 'integer', 'format' => 'int64', 'example' => '2'],
+ 'services' => ['description' => '服务ID', 'type' => 'string', 'example' => 'account_abuse'],
+ ],
+ ],
],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '修改字段',
- ],
- 'DescribeEventVariableTemplateBind' => [
- 'summary' => '查询事件模版。',
- 'methods' => [
- 'post',
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '样本批次列表',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '2000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSamplebatchPage'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:DescribeSamplebatchPage',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"totalItem\\": 3,\\n \\"pageSize\\": 10,\\n \\"currentPage\\": 1,\\n \\"totalPage\\": 1,\\n \\"resultObject\\": [\\n {\\n \\"uuid\\": \\"203f1ae65c0a41a49dc4f8a47946caa2\\",\\n \\"gmtCreate\\": 1621578648000,\\n \\"gmtModified\\": 1565701886000,\\n \\"batchName\\": \\"白样本\\",\\n \\"description\\": \\"描述\\",\\n \\"dataType\\": \\"mobile\\",\\n \\"sampleBatchType\\": \\"pass\\",\\n \\"updator\\": \\"1519714049632764\\",\\n \\"creator\\": \\"1519714049632764\\",\\n \\"initValidFileRow\\": 2,\\n \\"services\\": \\"account_abuse\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'DescribeSceneAllEventNameCodeList' => [
+ 'summary' => '场景化风控事件下拉列表。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'templateCode',
- 'in' => 'query',
- 'schema' => [
- 'description' => '模板code。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'register',
- ],
- ],
- [
- 'name' => 'type',
- 'in' => 'query',
- 'schema' => [
- 'description' => '类型。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'NATIVE',
- ],
- ],
- [
- 'name' => 'inputs',
+ 'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '输入参数多个用逗号隔开。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'age,ip',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'regId',
+ 'name' => 'createType',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '创建类型。', 'type' => 'string', 'required' => false, 'example' => 'NORMAL'],
],
],
'responses' => [
200 => [
'schema' => [
+ 'description' => '返回对象。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
+ 'requestId' => ['description' => '请求id,每次请求都是唯一值,便于后续排查问题。', 'type' => 'string', 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2'],
+ 'success' => ['description' => '本次操作是否成功,true表示成功。', 'type' => 'boolean', 'example' => 'true'],
+ 'code' => ['description' => '状态码。', 'type' => 'string', 'example' => '200'],
+ 'message' => ['description' => '错误详情。', 'type' => 'string', 'example' => 'The input parameter data is not valid. order_storage_company_num component not found'],
+ 'httpStatusCode' => ['description' => 'HTTP状态码。', 'type' => 'string', 'example' => '200'],
'resultObject' => [
'description' => '返回对象。',
- 'type' => 'object',
- 'properties' => [
- 'totalCount' => [
- 'description' => '总条数。',
- 'type' => 'string',
- 'example' => '38',
- ],
- 'templateCode' => [
- 'description' => '模板code。',
- 'type' => 'string',
- 'example' => 'register',
- ],
- 'freeVariables' => [
- 'description' => '免费变量列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '返回对象。',
- 'type' => 'object',
- 'properties' => [
- 'code' => [
- 'description' => '变量code。',
- 'type' => 'string',
- 'example' => 'age',
- ],
- 'title' => [
- 'description' => '标题。',
- 'type' => 'string',
- 'example' => '年龄',
- ],
- 'type' => [
- 'description' => '变量类型。',
- 'type' => 'string',
- 'example' => 'NATIVE',
- ],
- 'fieldType' => [
- 'description' => '字段类型。',
- 'type' => 'string',
- 'example' => 'STRING',
- ],
- 'description' => [
- 'description' => '变量描述。',
- 'type' => 'string',
- 'example' => '描述',
- ],
- 'name' => [
- 'description' => '变量name。',
- 'type' => 'string',
- 'example' => 'age',
- ],
- 'id' => [
- 'description' => '主键id。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '234',
- ],
- ],
- ],
- ],
- 'chargeVariables' => [
- 'description' => '收费变量列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '返回对象。',
- 'type' => 'object',
- 'properties' => [
- 'code' => [
- 'description' => '变量code。',
- 'type' => 'string',
- 'example' => 'ip',
- ],
- 'title' => [
- 'description' => '标题。',
- 'type' => 'string',
- 'example' => 'ip',
- ],
- 'type' => [
- 'description' => '变量类型。',
- 'type' => 'string',
- 'example' => 'NATIVE',
- ],
- 'fieldType' => [
- 'description' => '字段类型。',
- 'type' => 'string',
- 'example' => 'STRING',
- ],
- 'description' => [
- 'description' => '变量的描述。',
- 'type' => 'string',
- 'example' => '描述',
- ],
- 'name' => [
- 'description' => '变量name。',
- 'type' => 'string',
- 'example' => 'ip',
- ],
- 'id' => [
- 'description' => '主键id。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '456',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '返回对象。',
+ 'type' => 'object',
+ 'properties' => [
+ 'eventCode' => ['description' => '事件编码。', 'type' => 'string', 'example' => 'de_aszbjb7236'],
+ 'eventName' => ['description' => '事件名称。', 'type' => 'string', 'example' => '营销风险识别_增强版'],
+ 'eventType' => ['description' => '事件类型。', 'type' => 'string', 'example' => 'MAIN'],
+ 'createType' => ['description' => '创建类型。', 'type' => 'string', 'example' => 'MORMAL'],
+ 'children' => [
+ 'description' => '子类对象。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '对象。',
+ 'type' => 'object',
+ 'properties' => [
+ 'eventCode' => ['description' => '事件编码。', 'type' => 'string', 'example' => 'de_aamexg3015'],
+ 'eventName' => ['description' => '事件名称。', 'type' => 'string', 'example' => '测试'],
+ 'eventType' => ['description' => '事件类型。', 'type' => 'string', 'example' => 'BYPASS'],
+ 'createType' => ['description' => '创建类型。', 'type' => 'string', 'example' => 'NORMAL'],
],
],
],
@@ -26598,568 +19181,540 @@
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"resultObject\\": {\\n \\"totalCount\\": \\"38\\",\\n \\"templateCode\\": \\"register\\",\\n \\"freeVariables\\": [\\n {\\n \\"code\\": \\"age\\",\\n \\"title\\": \\"年龄\\",\\n \\"type\\": \\"NATIVE\\",\\n \\"fieldType\\": \\"STRING\\",\\n \\"description\\": \\"描述\\",\\n \\"name\\": \\"age\\",\\n \\"id\\": 234\\n }\\n ],\\n \\"chargeVariables\\": [\\n {\\n \\"code\\": \\"ip\\",\\n \\"title\\": \\"ip\\",\\n \\"type\\": \\"NATIVE\\",\\n \\"fieldType\\": \\"STRING\\",\\n \\"description\\": \\"描述\\",\\n \\"name\\": \\"ip\\",\\n \\"id\\": 456\\n }\\n ]\\n }\\n}","type":"json"}]',
- 'title' => '查询事件模板',
- ],
- 'DeleteNameListData' => [
- 'summary' => '删除(伪)名单变量数据。',
- 'methods' => [
- 'post',
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '场景化风控事件下拉',
+ 'description' => '场景化风控事件下拉列表',
+ 'requestParamsDescription' => '无',
+ 'responseParamsDescription' => '无',
+ 'extraInfo' => '无',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSceneAllEventNameCodeList'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\",\\n \\"success\\": true,\\n \\"code\\": \\"200\\",\\n \\"message\\": \\"The input parameter data is not valid. order_storage_company_num component not found\\",\\n \\"httpStatusCode\\": \\"200\\",\\n \\"resultObject\\": [\\n {\\n \\"eventCode\\": \\"de_aszbjb7236\\",\\n \\"eventName\\": \\"营销风险识别_增强版\\",\\n \\"eventType\\": \\"MAIN\\",\\n \\"createType\\": \\"MORMAL\\",\\n \\"children\\": [\\n {\\n \\"eventCode\\": \\"de_aamexg3015\\",\\n \\"eventName\\": \\"测试\\",\\n \\"eventType\\": \\"BYPASS\\",\\n \\"createType\\": \\"NORMAL\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'DescribeSceneEventPageList' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'operationType' => 'read',
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'variableId',
+ 'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '变量id。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '239',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'regId',
+ 'name' => 'currentPage',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '当前页码。', 'type' => 'string', 'required' => false, 'example' => '1'],
+ ],
+ [
+ 'name' => 'pageSize',
+ 'in' => 'query',
+ 'schema' => ['description' => '分页大小。', 'type' => 'string', 'required' => false, 'example' => '10'],
+ ],
+ [
+ 'name' => 'nameOrCode',
+ 'in' => 'query',
+ 'schema' => ['description' => '搜索的名称或服务code。', 'type' => 'string', 'required' => false, 'example' => 'servicer_code'],
],
],
'responses' => [
200 => [
- 'headers' => [],
'schema' => [
+ 'description' => '返回参数。',
'type' => 'object',
'properties' => [
'resultObject' => [
- 'description' => '返回对象。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
+ 'description' => '返回数组。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '返回对象。',
+ 'type' => 'object',
+ 'properties' => [
+ 'service' => ['description' => '服务编码。', 'type' => 'string', 'example' => 'device_risk'],
+ 'eventName' => ['description' => '事件名称。', 'type' => 'string', 'example' => '注册风险'],
+ 'eventCode' => ['description' => '事件编码。', 'type' => 'string', 'example' => 'de_aszbjb7236'],
+ 'commonRuleCount' => ['description' => '通用策略数量。', 'type' => 'string', 'example' => '10'],
+ 'whiteBoxRuleCount' => ['description' => '白盒化策略数量。', 'type' => 'string', 'example' => '10'],
+ 'customRuleCount' => ['description' => '定制策略数量。', 'type' => 'string', 'example' => '10'],
+ 'normalRuleCount' => ['description' => '自定义策略数量。', 'type' => 'string', 'example' => '10'],
+ 'useStatus' => [
+ 'description' => '使用状态。',
+ 'type' => 'string',
+ 'enumValueTitles' => ['IN_USE' => '使用', 'NOT_USED' => '未使用'],
+ 'example' => '使用/未使用',
+ ],
+ 'modifier' => ['description' => '修改人。', 'type' => 'string', 'example' => '公有云用户uid'],
+ 'gmtModified' => ['description' => '修改时间。', 'type' => 'string', 'example' => '1565701886000'],
+ ],
+ ],
],
+ 'requestId' => ['description' => '请求id,每次请求都是唯一值,便于后续排查问题。', 'type' => 'string', 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2'],
+ 'totalItem' => ['description' => '总条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '3'],
+ 'totalPage' => ['description' => '总页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '9'],
+ 'currentPage' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'pageSize' => ['description' => '返回结果的分页数。默认值:20,最小值:1,最大值:50。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '删除名单数据',
- ],
- 'CreateExpressionVariable' => [
- 'summary' => '创建自定义变量。',
- 'methods' => [
- 'post',
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '场景化事件风控事件列表',
+ 'summary' => '场景化事件风控事件列表查询。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSceneEventPageList'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": [\\n {\\n \\"service\\": \\"device_risk\\",\\n \\"eventName\\": \\"注册风险\\",\\n \\"eventCode\\": \\"de_aszbjb7236\\",\\n \\"commonRuleCount\\": \\"10\\",\\n \\"whiteBoxRuleCount\\": \\"10\\",\\n \\"customRuleCount\\": \\"10\\",\\n \\"normalRuleCount\\": \\"10\\",\\n \\"useStatus\\": \\"使用/未使用\\",\\n \\"modifier\\": \\"公有云用户uid\\",\\n \\"gmtModified\\": \\"1565701886000\\"\\n }\\n ],\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\",\\n \\"totalItem\\": 3,\\n \\"totalPage\\": 9,\\n \\"currentPage\\": 1,\\n \\"pageSize\\": 20\\n}","type":"json"}]',
+ ],
+ 'DescribeSceneRulePageList' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
+ 'operationType' => 'read',
'systemTags' => [
'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREsafBCGX2Z'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'regId',
+ 'name' => 'currentPage',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '当前页码。', 'type' => 'string', 'required' => false, 'example' => '1'],
],
[
- 'name' => 'eventCode',
+ 'name' => 'pageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '事件编码。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'de_ahpayh4121',
- ],
+ 'schema' => ['description' => '返回结果的分页数。默认值:20,最小值:1,最大值:50。', 'type' => 'string', 'required' => false, 'example' => '20'],
],
[
- 'name' => 'title',
- 'in' => 'query',
- 'schema' => [
- 'description' => '标题。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '获取手机号前7位',
- ],
- ],
- [
- 'name' => 'description',
+ 'name' => 'eventCode',
'in' => 'query',
- 'schema' => [
- 'description' => '描述信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '获取入参的手机号前7位',
- ],
+ 'schema' => ['description' => '事件编码。', 'type' => 'string', 'required' => false, 'example' => 'de_ahgctb7098'],
],
[
- 'name' => 'outputs',
+ 'name' => 'ruleStatus',
'in' => 'query',
- 'schema' => [
- 'description' => '变量返回类型。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'STRING',
- ],
+ 'schema' => ['description' => '策略状态。', 'type' => 'string', 'required' => false, 'example' => 'RUNNING'],
],
[
- 'name' => 'outlier',
+ 'name' => 'ruleName',
'in' => 'query',
- 'schema' => [
- 'description' => '异常值。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '-1',
- ],
+ 'schema' => ['description' => '策略名称。', 'type' => 'string', 'required' => false, 'example' => '营销风险识别'],
],
[
- 'name' => 'expression',
+ 'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '计算表达式。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '@ex_GX9rrlTq4b67 + 1001',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'expressionTitle',
+ 'name' => 'createType',
'in' => 'query',
- 'schema' => [
- 'description' => '计算表达式展示值。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '@selfvariable_02 + 1001',
- ],
+ 'schema' => ['description' => '创建类型。', 'type' => 'string', 'required' => false, 'example' => 'NOMAL'],
],
[
- 'name' => 'expressionVariable',
+ 'name' => 'ruleAuthType',
'in' => 'query',
- 'schema' => [
- 'description' => '计算表达式变量。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[{"name":"ex_GX9rrlTq4b67","code":"deInvokeSelfVariable(44659)","fieldType":"INT"}]',
- ],
+ 'schema' => ['description' => '策略类型。', 'type' => 'string', 'required' => false, 'example' => 'CUSTMER'],
],
],
'responses' => [
200 => [
- 'headers' => [],
'schema' => [
+ 'description' => '返回对象。',
'type' => 'object',
'properties' => [
+ 'totalItem' => ['description' => '总条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '3'],
+ 'pageSize' => ['description' => '返回结果的分页数。默认值:20,最小值:1,最大值:50。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
+ 'requestId' => ['description' => '请求id,每次请求都是唯一值,便于后续排查问题。', 'type' => 'string', 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2'],
+ 'currentPage' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'totalPage' => ['description' => '总页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '9'],
'resultObject' => [
'description' => '返回对象。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '返回对象。',
+ 'type' => 'object',
+ 'properties' => [
+ 'eventCode' => ['description' => '事件编码。', 'type' => 'string', 'example' => 'de_aszbjb7236'],
+ 'ruleId' => ['description' => '策略ID。', 'type' => 'string', 'example' => '4730'],
+ 'ruleStatus' => ['description' => '策略状态。', 'type' => 'string', 'example' => 'RUNNING'],
+ 'gmtModified' => ['description' => '修改时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1565701886000'],
+ 'gmtCreate' => ['description' => '创建时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1621578648000'],
+ 'templateId' => ['description' => '模版ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '6'],
+ 'priority' => ['description' => '策略优先级,数字越大优先级越高。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
+ 'ruleName' => ['description' => '策略名称。', 'type' => 'string', 'example' => '营销风险识别'],
+ 'ruleMemo' => ['description' => '策略描述。', 'type' => 'string', 'example' => '描述信息'],
+ 'eventName' => ['description' => '事件名称。', 'type' => 'string', 'example' => '注册风险'],
+ 'id' => ['description' => '策略主键ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '497'],
+ 'version' => ['description' => '版本号。', 'type' => 'integer', 'format' => 'int32', 'example' => '1.0'],
+ 'ruleVersionId' => ['description' => '策略版本号主键ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '3823'],
+ 'eventType' => [
+ 'description' => '事件类型。',
+ 'type' => 'string',
+ 'enumValueTitles' => ['BYPASS' => '旁路事件', 'SHUNT' => '分流', 'MAIN' => '主事件'],
+ 'example' => 'MAIN',
+ ],
+ 'mainRuleId' => ['description' => '主策略ID。', 'type' => 'string', 'example' => '4399'],
+ 'consoleAudit' => [
+ 'description' => '审核对象。',
+ 'type' => 'object',
+ 'properties' => [
+ 'id' => ['description' => '主键ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '1728'],
+ 'applyUserId' => ['description' => '发起人账号ID。', 'type' => 'string', 'example' => '1234567890999'],
+ 'applyUserName' => ['description' => '发起人账号名称。', 'type' => 'string', 'example' => '张三'],
+ 'auditUserId' => ['description' => '指定审核人账号ID(多个逗号分割)。', 'type' => 'string', 'example' => '123'],
+ 'auditUserName' => ['description' => '指定审核人账号名称(多个用逗号分割)。', 'type' => 'string', 'example' => '李四'],
+ 'auditRealUserId' => ['description' => '最终审批人ID。', 'type' => 'string', 'example' => '1234567890'],
+ 'auditRealUserName' => ['description' => '审批账号名称。', 'type' => 'string', 'example' => '王五'],
+ 'auditStatus' => ['description' => '状态。', 'type' => 'string', 'example' => 'AGREE'],
+ 'auditTime' => ['description' => '审批时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1545726028000'],
+ 'gmtCreate' => ['description' => '创建时间的UTC时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1545726028000'],
+ 'relationId' => ['description' => '审批关联的事务ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '123'],
+ 'relationType' => ['description' => '审批的类型(如rule代表策略的审批)。', 'type' => 'string', 'example' => 'RULE'],
+ 'relationName' => ['description' => '审批关联的事务名称(可空)。', 'type' => 'string', 'example' => 't'],
+ 'relationExt' => ['description' => '关联的其他人信息(json结构)。', 'type' => 'string', 'example' => '{}'],
+ 'auditMsg' => ['description' => '审批意见。', 'type' => 'string', 'example' => '同意'],
+ 'auditRemark' => ['description' => '申请审批备注。', 'type' => 'string', 'example' => '备注'],
+ ],
+ ],
+ 'externalRuleName' => ['description' => '策略对客名称。', 'type' => 'string', 'example' => '策略1'],
+ 'ruleAuthType' => ['description' => '策略类型。', 'type' => 'string', 'example' => 'CUSTMER'],
+ 'authType' => ['description' => '服务授权类型。', 'type' => 'string', 'example' => 'admin'],
+ 'ruleType' => ['description' => '规则类型。', 'type' => 'string', 'example' => 'DSL'],
+ 'hasTesting' => ['type' => 'boolean'],
+ ],
+ ],
],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '创建自定义变量',
- ],
- 'DescribeVariableList' => [
- 'summary' => '查询变量详情。',
- 'methods' => [
- 'post',
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '场景化风控事件策略列表',
+ 'summary' => '场景化风控事件策略列表。',
+ 'description' => '查询风控化场景事件策略列表',
+ 'responseParamsDescription' => '无',
+ 'extraInfo' => '无',
+ 'changeSet' => [
+ ['createdAt' => '2025-07-24T09:04:05.000Z', 'description' => '响应参数发生变更'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSceneRulePageList'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"totalItem\\": 3,\\n \\"pageSize\\": 20,\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\",\\n \\"currentPage\\": 1,\\n \\"totalPage\\": 9,\\n \\"resultObject\\": [\\n {\\n \\"eventCode\\": \\"de_aszbjb7236\\",\\n \\"ruleId\\": \\"4730\\",\\n \\"ruleStatus\\": \\"RUNNING\\",\\n \\"gmtModified\\": 1565701886000,\\n \\"gmtCreate\\": 1621578648000,\\n \\"templateId\\": 6,\\n \\"priority\\": 10,\\n \\"ruleName\\": \\"营销风险识别\\",\\n \\"ruleMemo\\": \\"描述信息\\",\\n \\"eventName\\": \\"注册风险\\",\\n \\"id\\": 497,\\n \\"version\\": 1,\\n \\"ruleVersionId\\": 3823,\\n \\"eventType\\": \\"MAIN\\",\\n \\"mainRuleId\\": \\"4399\\",\\n \\"consoleAudit\\": {\\n \\"id\\": 1728,\\n \\"applyUserId\\": \\"1234567890999\\",\\n \\"applyUserName\\": \\"张三\\",\\n \\"auditUserId\\": \\"123\\",\\n \\"auditUserName\\": \\"李四\\",\\n \\"auditRealUserId\\": \\"1234567890\\",\\n \\"auditRealUserName\\": \\"王五\\",\\n \\"auditStatus\\": \\"AGREE\\",\\n \\"auditTime\\": 1545726028000,\\n \\"gmtCreate\\": 1545726028000,\\n \\"relationId\\": 123,\\n \\"relationType\\": \\"RULE\\",\\n \\"relationName\\": \\"t\\",\\n \\"relationExt\\": \\"{}\\",\\n \\"auditMsg\\": \\"同意\\",\\n \\"auditRemark\\": \\"备注\\"\\n },\\n \\"externalRuleName\\": \\"策略1\\",\\n \\"ruleAuthType\\": \\"CUSTMER\\",\\n \\"authType\\": \\"admin\\",\\n \\"ruleType\\": \\"DSL\\",\\n \\"hasTesting\\": true\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'DescribeScoreList' => [
+ 'summary' => '评分分布。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
+ 'abilityTreeCode' => '139868',
+ 'abilityTreeNodes' => ['FEATUREsafT73ZWM'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '返回消息的语言类型。取值:'."\n"
+ ."\n"
+ .'- **zh**(默认):中文'."\n"
+ .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'currentPage',
+ 'name' => 'Id',
'in' => 'query',
+ 'schema' => ['description' => '主键ID。', 'type' => 'string', 'required' => false, 'example' => '300126'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '当前页码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => '请求id。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ 'ResultObject' => ['description' => '返回结果。', 'type' => 'string', 'example' => 'true'],
+ 'Code' => ['description' => '状态码。', 'type' => 'string', 'example' => '200'],
+ 'HttpStatusCode' => ['description' => 'http状态码。', 'type' => 'string', 'example' => '200'],
+ 'Message' => ['description' => '返回信息。', 'type' => 'string', 'example' => 'success'],
+ ],
+ 'description' => '',
],
],
+ ],
+ 'title' => '评分分布',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeScoreList'],
+ ],
+ ],
+ 'ramActions' => [
[
- 'name' => 'pageSize',
- 'in' => 'query',
- 'schema' => [
- 'description' => '每页大小,默认值为10。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '10',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"ResultObject\\": \\"true\\",\\n \\"Code\\": \\"200\\",\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"Message\\": \\"success\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeScoreSectionNumLineChart' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'type',
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => ['operationType' => 'get'],
+ 'parameters' => [
+ [
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'IDENTIFY_SERVICE',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'value',
+ 'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '模糊查询的值。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '注册',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'refObjId',
+ 'name' => 'mainEventCodes',
'in' => 'query',
- 'schema' => [
- 'description' => '关联事件id。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'de_avypfd8253',
- ],
+ 'schema' => ['description' => '主事件编码', 'type' => 'string', 'required' => false, 'example' => 'de_avcqzc3714'],
],
[
- 'name' => 'sourceType',
+ 'name' => 'byPassEventCodes',
'in' => 'query',
- 'schema' => [
- 'description' => '来源类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'SAF',
- ],
+ 'schema' => ['description' => '旁路事件编码', 'type' => 'string', 'required' => false, 'example' => 'de_amnhke2482'],
],
[
- 'name' => 'regId',
+ 'name' => 'shuntEventCodes',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '分流事件编码', 'type' => 'string', 'required' => false, 'example' => 'de_amnhke2488'],
],
[
- 'name' => 'createType',
+ 'name' => 'beginTime',
'in' => 'query',
- 'schema' => [
- 'description' => '创建类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'NORMAL',
- ],
+ 'schema' => ['description' => '开始时间戳,单位毫秒。', 'type' => 'string', 'required' => true, 'example' => '1751249559000'."\n"],
],
[
- 'name' => 'typesStr',
+ 'name' => 'endTime',
'in' => 'query',
- 'schema' => [
- 'description' => '类型json数组字符串。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[\\"coupon_abuse_detection\\"]',
- ],
+ 'schema' => ['description' => '结束时间戳,单位毫秒。', 'type' => 'string', 'required' => true, 'example' => '1751249559000'],
],
],
'responses' => [
200 => [
- 'headers' => [],
'schema' => [
'type' => 'object',
'properties' => [
- 'totalItem' => [
- 'description' => '总条数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '27',
- ],
- 'pageSize' => [
- 'description' => '每页大小,默认值为10。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
- 'currentPage' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'totalPage' => [
- 'description' => '总页数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '3',
- ],
'resultObject' => [
- 'description' => '返回对象。',
- 'type' => 'array',
- 'items' => [
- 'description' => '返回对象。',
- 'type' => 'object',
- 'properties' => [
- 'capacity' => [
- 'description' => '容量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100000',
+ 'description' => '返回对象',
+ 'type' => 'object',
+ 'properties' => [
+ 'xaxis' => [
+ 'description' => 'xaxis节点详情。',
+ 'type' => 'object',
+ 'properties' => [
+ 'data' => [
+ 'description' => '数据结构。',
+ 'type' => 'array',
+ 'items' => ['description' => '数据结构。', 'type' => 'string', 'example' => '['."\n"
+ .' "2025-07-19",'."\n"
+ .' "2025-07-20",'."\n"
+ .' "2025-07-21",'."\n"
+ .' "2025-07-22",'."\n"
+ .' "2025-07-23",'."\n"
+ .' "2025-07-24",'."\n"
+ .' "2025-07-25",'."\n"
+ .' "2025-07-26",'."\n"
+ .' "2025-07-27",'."\n"
+ .' "2025-07-28",'."\n"
+ .' "2025-07-29"'."\n"
+ .' ]'],
+ ],
],
- 'extendInfo' => [
- 'description' => '扩展信息。',
+ ],
+ 'series' => [
+ 'description' => '数据列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '数据列表',
'type' => 'object',
- 'example' => '暂无',
- ],
- 'leftCapacity' => [
- 'description' => '剩余容量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100000',
- ],
- 'type' => [
- 'description' => '变量类型。',
- 'type' => 'string',
- 'example' => 'NATIVE',
- ],
- 'title' => [
- 'description' => '标题。',
- 'type' => 'string',
- 'example' => '设备风险识别_标签',
- ],
- 'userId' => [
- 'description' => '数据归属用户uid。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100000',
- ],
- 'gmtCreate' => [
- 'description' => '创建时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1621578648000',
- ],
- 'id' => [
- 'description' => '变量id。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '497',
- ],
- 'defineId' => [
- 'description' => '变量定义id。',
- 'type' => 'string',
- 'example' => '10',
- ],
- 'refObjId' => [
- 'description' => '变量关联事件。',
- 'type' => 'string',
- 'example' => 'de_agdxgz0246',
- ],
- 'refObjName' => [
- 'description' => '变量关联事件名称。',
- 'type' => 'string',
- 'example' => '注册事件',
- ],
- 'description' => [
- 'description' => '描述信息。',
- 'type' => 'string',
- 'example' => '变量描述',
- ],
- 'outputsType' => [
- 'description' => '变量输出类型。',
- 'type' => 'string',
- 'example' => 'STRING',
- ],
- 'gmtModified' => [
- 'description' => '修改时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1565701886000',
- ],
- 'refObjType' => [
- 'description' => '变量关联类型。',
- 'type' => 'string',
- 'example' => 'EVENT',
- ],
- 'sourceType' => [
- 'description' => '来源类型。',
- 'type' => 'string',
- 'example' => 'SAF',
- ],
- 'name' => [
- 'description' => '变量name。',
- 'type' => 'string',
- 'example' => '__ipLocationCityCode__',
+ 'properties' => [
+ 'name' => ['description' => '分类名称。', 'type' => 'string', 'example' => '旁路事件'],
+ 'data' => [
+ 'description' => '当前分类结果列表。',
+ 'type' => 'array',
+ 'items' => ['description' => '响应数据。', 'type' => 'string', 'example' => '10'],
+ ],
+ ],
],
],
],
],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"totalItem\\": 27,\\n \\"pageSize\\": 10,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"currentPage\\": 1,\\n \\"totalPage\\": 3,\\n \\"resultObject\\": [\\n {\\n \\"capacity\\": 100000,\\n \\"extendInfo\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"leftCapacity\\": 100000,\\n \\"type\\": \\"NATIVE\\",\\n \\"title\\": \\"设备风险识别_标签\\",\\n \\"userId\\": 100000,\\n \\"gmtCreate\\": 1621578648000,\\n \\"id\\": 497,\\n \\"defineId\\": \\"10\\",\\n \\"refObjId\\": \\"de_agdxgz0246\\",\\n \\"refObjName\\": \\"注册事件\\",\\n \\"description\\": \\"变量描述\\",\\n \\"outputsType\\": \\"STRING\\",\\n \\"gmtModified\\": 1565701886000,\\n \\"refObjType\\": \\"EVENT\\",\\n \\"sourceType\\": \\"SAF\\",\\n \\"name\\": \\"__ipLocationCityCode__\\"\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '查询变量列表',
- ],
- 'DescribeHasRuleNameByEventCode' => [
- 'summary' => '查询事件名下的策略名是否存在。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '旁路/分流 - 分值区间数量分析',
+ 'summary' => '分值区间数量分析',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeScoreSectionNumLineChart'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": {\\n \\"xaxis\\": {\\n \\"data\\": [\\n \\"[\\\\n \\\\\\"2025-07-19\\\\\\",\\\\n \\\\\\"2025-07-20\\\\\\",\\\\n \\\\\\"2025-07-21\\\\\\",\\\\n \\\\\\"2025-07-22\\\\\\",\\\\n \\\\\\"2025-07-23\\\\\\",\\\\n \\\\\\"2025-07-24\\\\\\",\\\\n \\\\\\"2025-07-25\\\\\\",\\\\n \\\\\\"2025-07-26\\\\\\",\\\\n \\\\\\"2025-07-27\\\\\\",\\\\n \\\\\\"2025-07-28\\\\\\",\\\\n \\\\\\"2025-07-29\\\\\\"\\\\n ]\\"\\n ]\\n },\\n \\"series\\": [\\n {\\n \\"name\\": \\"旁路事件\\",\\n \\"data\\": [\\n \\"10\\"\\n ]\\n }\\n ]\\n },\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeScoreSectionPieChart' => [
+ 'summary' => '主事件/旁路事件/分流事件分值区间占比',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'ruleName',
+ 'name' => 'eventCodes',
'in' => 'query',
- 'schema' => [
- 'description' => '策略名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '非常见设备',
- ],
+ 'schema' => ['description' => '事件code。', 'type' => 'string', 'required' => false, 'example' => 'de_afghcf6411'],
],
[
- 'name' => 'eventCode',
+ 'name' => 'beginTime',
'in' => 'query',
- 'schema' => [
- 'description' => '事件编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'de_atvmlf7412',
- ],
+ 'schema' => ['description' => '开始时间,精确到毫秒(ms)。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1751249559000'],
],
[
- 'name' => 'excludeRuleId',
+ 'name' => 'endTime',
'in' => 'query',
- 'schema' => [
- 'description' => '排除的策略ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '10621',
- ],
+ 'schema' => ['description' => '结束时间,精确到毫秒(ms)。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1740535600000'],
+ ],
+ [
+ 'name' => 'eventType',
+ 'in' => 'query',
+ 'schema' => ['description' => '事件类型。', 'type' => 'string', 'required' => false, 'example' => 'MAIN'],
],
],
'responses' => [
@@ -27167,85 +19722,119 @@
'schema' => [
'type' => 'object',
'properties' => [
+ 'requestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2'],
'resultObject' => [
- 'description' => '返回对象。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
+ 'description' => '返回对象',
+ 'type' => 'object',
+ 'properties' => [
+ 'animation' => ['description' => '图表字段 默认true', 'type' => 'boolean', 'example' => 'true'],
+ 'grid' => [
+ 'description' => '所属网格。',
+ 'type' => 'object',
+ 'properties' => [
+ 'show' => ['description' => '图表字段 默认false', 'type' => 'boolean', 'example' => 'false'],
+ ],
+ ],
+ 'series' => [
+ 'description' => '数据列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '数据列表',
+ 'type' => 'object',
+ 'properties' => [
+ 'roseType' => ['description' => '图表字段 默认false', 'type' => 'boolean', 'example' => 'false'],
+ 'name' => ['description' => '分类名称。', 'type' => 'string', 'example' => '分值区间占比'],
+ 'data' => [
+ 'description' => '图表数据列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '图表数据列表',
+ 'type' => 'object',
+ 'properties' => [
+ 'name' => ['description' => '分类项名称。', 'type' => 'string', 'example' => '名称'],
+ 'value' => ['description' => '结果值。', 'type' => 'string', 'example' => '100'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '查询事件名下的策略名是否存在',
- ],
- 'DescribeFieldList' => [
- 'summary' => '查询字段列表。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '主事件/旁路事件/分流事件分值区间占比饼图',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeScoreSectionPieChart'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\",\\n \\"resultObject\\": {\\n \\"animation\\": true,\\n \\"grid\\": {\\n \\"show\\": false\\n },\\n \\"series\\": [\\n {\\n \\"roseType\\": false,\\n \\"name\\": \\"分值区间占比\\",\\n \\"data\\": [\\n {\\n \\"name\\": \\"名称\\",\\n \\"value\\": \\"100\\"\\n }\\n ]\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'DescribeScoreSectionRatioLineChart' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'condition',
+ 'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '查询入参name or title。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ip',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'inputs',
+ 'name' => 'mainEventCodes',
'in' => 'query',
- 'schema' => [
- 'description' => '已选字段。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'sex,ip,id',
- ],
+ 'schema' => ['description' => '主事件编码', 'type' => 'string', 'required' => false, 'example' => 'de_avcqzc3714'],
],
[
- 'name' => 'regId',
+ 'name' => 'byPassEventCodes',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '旁路事件编码', 'type' => 'string', 'required' => false, 'example' => 'de_amnhke2482'],
+ ],
+ [
+ 'name' => 'shuntEventCodes',
+ 'in' => 'query',
+ 'schema' => ['description' => '分流事件编码', 'type' => 'string', 'required' => false, 'example' => 'de_amnhke2488'],
+ ],
+ [
+ 'name' => 'beginTime',
+ 'in' => 'query',
+ 'schema' => ['description' => '开始时间,精确到毫秒(ms)。', 'type' => 'string', 'required' => true, 'example' => '1751249559000'],
+ ],
+ [
+ 'name' => 'endTime',
+ 'in' => 'query',
+ 'schema' => ['description' => '结束时间,精确到毫秒(ms)。', 'type' => 'string', 'required' => true, 'example' => '1748491200000'],
],
],
'responses' => [
@@ -27253,189 +19842,101 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'totalItem' => [
- 'description' => '总条数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '101',
- ],
- 'pageSize' => [
- 'description' => '每页大小,默认值为10。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
- 'currentPage' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'totalPage' => [
- 'description' => '总页数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '9',
- ],
'resultObject' => [
- 'description' => '返回对象。',
- 'type' => 'array',
- 'items' => [
- 'description' => '返回对象。',
- 'type' => 'object',
- 'properties' => [
- 'classify' => [
- 'description' => '字段分类。',
- 'type' => 'string',
- 'example' => 'REQUEST_PARAM',
- ],
- 'type' => [
- 'description' => '字段类型。',
- 'type' => 'string',
- 'example' => 'STRING',
- ],
- 'title' => [
- 'description' => '标题。',
- 'type' => 'string',
- 'example' => '年龄',
- ],
- 'description' => [
- 'description' => '描述信息。',
- 'type' => 'string',
- 'example' => '描述',
- ],
- 'status' => [
- 'description' => '状态。',
- 'type' => 'string',
- 'example' => 'ENABLE',
- ],
- 'source' => [
- 'description' => '字段来源。',
- 'type' => 'string',
- 'example' => 'DEFINE',
- ],
- 'enumData' => [
- 'description' => '枚举数据。',
- 'type' => 'string',
- 'example' => 'STATUS',
- ],
- 'name' => [
- 'description' => '字段name。',
- 'type' => 'string',
- 'example' => 'age',
+ 'description' => '返回对象',
+ 'type' => 'object',
+ 'properties' => [
+ 'xaxis' => [
+ 'description' => 'xaxis节点详情。',
+ 'type' => 'object',
+ 'properties' => [
+ 'data' => [
+ 'description' => '图表数据列表',
+ 'type' => 'array',
+ 'items' => ['description' => '图表X轴数据列表', 'type' => 'string', 'example' => '['."\n"
+ .' "2025-07-19",'."\n"
+ .' "2025-07-20",'."\n"
+ .' "2025-07-21",'."\n"
+ .' "2025-07-22",'."\n"
+ .' "2025-07-23",'."\n"
+ .' "2025-07-24",'."\n"
+ .' "2025-07-25",'."\n"
+ .' "2025-07-26",'."\n"
+ .' "2025-07-27",'."\n"
+ .' "2025-07-28",'."\n"
+ .' "2025-07-29"'."\n"
+ .' ]'],
+ ],
],
- 'id' => [
- 'description' => '字段id。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '497',
+ ],
+ 'series' => [
+ 'description' => '数据列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '数据列表',
+ 'type' => 'object',
+ 'properties' => [
+ 'name' => ['description' => '统计维度。', 'type' => 'string', 'example' => '旁路事件'],
+ 'data' => [
+ 'description' => '图表数据列表',
+ 'type' => 'array',
+ 'items' => ['description' => '图表数据列表', 'type' => 'string', 'example' => '100'],
+ ],
+ ],
],
],
],
],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"totalItem\\": 101,\\n \\"pageSize\\": 10,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"currentPage\\": 1,\\n \\"totalPage\\": 9,\\n \\"resultObject\\": [\\n {\\n \\"classify\\": \\"REQUEST_PARAM\\",\\n \\"type\\": \\"STRING\\",\\n \\"title\\": \\"年龄\\",\\n \\"description\\": \\"描述\\",\\n \\"status\\": \\"ENABLE\\",\\n \\"source\\": \\"DEFINE\\",\\n \\"enumData\\": \\"STATUS\\",\\n \\"name\\": \\"age\\",\\n \\"id\\": 497\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '字段列表',
- ],
- 'SwitchField' => [
- 'summary' => '字段开关。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '旁路/分流 - 分值区间占比分析',
+ 'summary' => '分值区间占比分析',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeScoreSectionRatioLineChart'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": {\\n \\"xaxis\\": {\\n \\"data\\": [\\n \\"[\\\\n \\\\\\"2025-07-19\\\\\\",\\\\n \\\\\\"2025-07-20\\\\\\",\\\\n \\\\\\"2025-07-21\\\\\\",\\\\n \\\\\\"2025-07-22\\\\\\",\\\\n \\\\\\"2025-07-23\\\\\\",\\\\n \\\\\\"2025-07-24\\\\\\",\\\\n \\\\\\"2025-07-25\\\\\\",\\\\n \\\\\\"2025-07-26\\\\\\",\\\\n \\\\\\"2025-07-27\\\\\\",\\\\n \\\\\\"2025-07-28\\\\\\",\\\\n \\\\\\"2025-07-29\\\\\\"\\\\n ]\\"\\n ]\\n },\\n \\"series\\": [\\n {\\n \\"name\\": \\"旁路事件\\",\\n \\"data\\": [\\n \\"100\\"\\n ]\\n }\\n ]\\n },\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeSelectItem' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
- ],
- [
- 'name' => 'id',
- 'in' => 'query',
- 'schema' => [
- 'description' => '主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '250002',
- ],
- ],
- [
- 'name' => 'status',
- 'in' => 'query',
- 'schema' => [
- 'description' => '状态。',
- 'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [
- 'DISABLE' => '禁用',
- 'ENABLE' => '启用',
- ],
- 'example' => 'ENABLE',
- ],
- ],
- [
- 'name' => 'source',
- 'in' => 'query',
- 'schema' => [
- 'description' => '字段来源。',
- 'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [
- 'DEFINE' => '自定义',
- 'DEFAULT' => '系统默认',
- ],
- 'example' => 'DEFINE',
- ],
- ],
- [
- 'name' => 'name',
- 'in' => 'query',
- 'schema' => [
- 'description' => '参数名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'age',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
@@ -27443,106 +19944,69 @@
'schema' => [
'type' => 'object',
'properties' => [
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
'resultObject' => [
- 'description' => '返回对象。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
+ 'description' => '返回对象',
+ 'type' => 'object',
+ 'properties' => [
+ 'taskIdList' => [
+ 'description' => '任务id列表。',
+ 'type' => 'array',
+ 'items' => ['description' => '任务id列表。', 'type' => 'string', 'example' => '2231'],
+ ],
+ 'monitorStatusList' => [
+ 'description' => '监控状态列表。',
+ 'type' => 'array',
+ 'items' => ['description' => '监控状态列表。', 'type' => 'string', 'example' => 'DOING'],
+ ],
+ ],
],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '上下线字段',
- ],
- 'SwitchVariable' => [
- 'summary' => '累计变量开关。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '查询任务ID列表',
+ 'summary' => '查询任务ID列表。',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:23:06.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSelectItem'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"resultObject\\": {\\n \\"taskIdList\\": [\\n \\"2231\\"\\n ],\\n \\"monitorStatusList\\": [\\n \\"DOING\\"\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'DescribeServiceAppKey' => [
+ 'summary' => 'ServiceAppkey下拉。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'operationType' => 'read',
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
- 'name' => 'Lang',
- 'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
- ],
- [
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
- ],
- [
- 'name' => 'id',
- 'in' => 'query',
- 'schema' => [
- 'description' => '累计变量主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '2557',
- ],
- ],
- [
- 'name' => 'dataVersion',
- 'in' => 'query',
- 'schema' => [
- 'description' => '数据版本。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1',
- ],
- ],
- [
- 'name' => 'name',
- 'in' => 'query',
- 'schema' => [
- 'description' => '累计变量name:由后端生成。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'hS6fn8Oe0c1',
- ],
- ],
- [
- 'name' => 'status',
- 'in' => 'query',
- 'schema' => [
- 'description' => '状态。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ENABLE',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
@@ -27551,518 +20015,468 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'resultObject' => [
- 'description' => '返回对象。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
+ 'uccess' => ['description' => '请求是否成功。', 'type' => 'boolean', 'example' => 'true'],
+ 'code' => ['description' => '状态码。', 'type' => 'string', 'example' => '200'],
+ 'message' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'The input parameter data is not valid. order_storage_company_num component not found'],
+ 'httpStatusCode' => ['description' => 'HTTP状态码。', 'type' => 'string', 'example' => '200'],
+ 'resultObject' => ['description' => '返回对象。', 'type' => 'boolean', 'example' => 'true'],
+ 'requestId' => ['description' => '请求ID 。', 'type' => 'string', 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '上下线累计变量',
- ],
- 'CheckCustVariableLimit' => [
- 'summary' => '校验累计变量数目是否超过限定值。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => 'service、AppKey下拉值',
+ 'changeSet' => [
+ ['createdAt' => '2021-11-12T04:29:04.000Z', 'description' => '请求参数发生变更、响应参数发生变更'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeServiceAppKey'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"uccess\\": true,\\n \\"code\\": \\"200\\",\\n \\"message\\": \\"The input parameter data is not valid. order_storage_company_num component not found\\",\\n \\"httpStatusCode\\": \\"200\\",\\n \\"resultObject\\": true,\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeServiceCodeName' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
+ 'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
+ 'abilityTreeCode' => '138839',
+ 'abilityTreeNodes' => ['FEATUREsafT73ZWM'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'regId',
+ 'name' => 'Tab',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
- ],
- [
- 'name' => 'createType',
- 'in' => 'query',
- 'schema' => [
- 'description' => '创建类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'NORMAL',
- ],
+ 'schema' => ['description' => '场景。', 'type' => 'string', 'required' => false, 'example' => 'FNAENIC'],
],
],
'responses' => [
200 => [
- 'headers' => [],
'schema' => [
'type' => 'object',
'properties' => [
- 'resultObject' => [
- 'description' => '返回对象。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => '请求id。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ 'ResultObject' => ['description' => '返回结果。', 'type' => 'string', 'example' => 'true'],
+ 'Code' => ['description' => '状态码。', 'type' => 'string', 'example' => '200'],
+ 'HttpStatusCode' => ['description' => 'http状态码。', 'type' => 'string', 'example' => '200'],
+ 'Message' => ['description' => '返回信息。', 'type' => 'string', 'example' => 'success'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '校验累计变量数目是否操过限定值',
- ],
- 'CheckExpressionVariableLimit' => [
- 'summary' => '校验创建变量是否超过上限。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '所有服务',
+ 'summary' => '查询所有服务。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeServiceCodeName'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"ResultObject\\": \\"true\\",\\n \\"Code\\": \\"200\\",\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"Message\\": \\"success\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeServiceList' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
200 => [
- 'headers' => [],
'schema' => [
'type' => 'object',
'properties' => [
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
'resultObject' => [
'description' => '返回对象。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => '请求id。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '返回对象。',
+ 'type' => 'object',
+ 'properties' => [
+ 'serviceCode' => ['description' => '服务code。', 'type' => 'string', 'example' => 'coupon_abuse_detection'],
+ 'serviceName' => ['description' => '服务名称。', 'type' => 'string', 'example' => 'coupon_abuse_detection'],
+ ],
+ ],
],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '校验创建自定义变量是否超过上限',
- ],
- 'CreateCustVariable' => [
- 'summary' => '创建累计变量。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '获取服务列表',
+ 'summary' => '获取服务列表。',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:23:07.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeServiceList'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"resultObject\\": [\\n {\\n \\"serviceCode\\": \\"coupon_abuse_detection\\",\\n \\"serviceName\\": \\"coupon_abuse_detection\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'DescribeSimulationPreditInfo' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
+ 'operationType' => 'read',
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREsafXYIHRP',
- ],
+ 'abilityTreeNodes' => ['FEATUREsafT73ZWM'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'regId',
+ 'name' => 'eventCode',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '事件编码', 'type' => 'string', 'required' => true, 'example' => 'de_azywkh7523'],
],
[
- 'name' => 'eventCodes',
+ 'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '事件编码。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'de_ahqhsw7665,de_agbzfi5134',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'velocityFC',
+ 'name' => 'rulesStr',
'in' => 'query',
+ 'schema' => ['description' => '策略列表', 'type' => 'string', 'required' => true, 'example' => '[\\"100244\\",\\"100245\\"]'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '变量类型。',
- 'type' => 'string',
- 'required' => true,
- 'enumValueTitles' => [
- 'AVG' => '平均值',
- 'MIN' => '最小',
- 'MAX' => '最大',
- 'DISTINCT' => '按客体去重函数',
- 'COUNT' => '主体在客体的累计次数',
- 'SUM' => '主体在客体下的操作总和',
- 'HISTORY' => '历史值',
+ 'type' => 'object',
+ 'properties' => [
+ 'resultObject' => ['description' => '返回对象', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
],
- 'example' => 'DISTINCT',
+ 'description' => '',
],
],
+ ],
+ 'title' => '预估调用信息',
+ 'summary' => '预估调用信息。',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:19:06.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSimulationPreditInfo'],
+ ],
+ ],
+ 'ramActions' => [
[
- 'name' => 'historyValueType',
- 'in' => 'query',
- 'schema' => [
- 'description' => '取值类型。',
- 'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [
- 'LAST' => '最近',
- 'EARLIEST' => '最早',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
],
- 'example' => 'EARLIEST',
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeSimulationTaskCount' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'outputs',
- 'in' => 'query',
- 'schema' => [
- 'description' => '变量返回类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'STRING',
- ],
+ 'AK' => [],
],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREsafT73ZWM'],
+ ],
+ 'parameters' => [
[
- 'name' => 'title',
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '标题。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ip调用次数累计',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'description',
+ 'name' => 'eventCode',
'in' => 'query',
- 'schema' => [
- 'description' => '描述信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ip调用次数累计描述',
- ],
+ 'schema' => ['description' => '事件编码', 'type' => 'string', 'required' => true, 'example' => 'de_ayfofy4941'],
],
[
- 'name' => 'timeType',
+ 'name' => 'startTime',
'in' => 'query',
- 'schema' => [
- 'description' => '时间切片类型。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'CURRENT',
- ],
+ 'schema' => ['description' => '任务开始时间。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1739496651000'],
],
[
- 'name' => 'twCount',
+ 'name' => 'endTime',
'in' => 'query',
- 'schema' => [
- 'description' => '时间数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '任务结束时间。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1740016411000'],
],
[
- 'name' => 'velocityTW',
+ 'name' => 'dataSourceType',
'in' => 'query',
- 'schema' => [
- 'description' => '时间切片单位。',
- 'type' => 'string',
- 'required' => true,
- 'enumValueTitles' => [
- 'DAY_1' => '1天',
- 'MONTH_1' => '1月',
- 'WEEK_1' => '1周',
- 'MINITE_30' => '30分钟',
- 'HOUR_12' => '12小时',
- 'HOUR_1' => '1小时',
- 'MINITE_5' => '5分钟',
- 'MINITE_1' => '1分钟',
- ],
- 'example' => 'DAY_1',
- ],
+ 'schema' => ['description' => '数据源类型', 'type' => 'string', 'required' => false, 'example' => 'SLS'],
],
[
- 'name' => 'subject',
+ 'name' => 'dataSourceConfig',
'in' => 'query',
- 'schema' => [
- 'description' => '主对象。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'name',
- ],
+ 'schema' => ['description' => '数据源配置', 'type' => 'string', 'required' => false, 'example' => '{}'],
],
[
- 'name' => 'object',
+ 'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '累计对象。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'age',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'createType',
+ 'name' => 'filtersStr',
'in' => 'query',
- 'schema' => [
- 'description' => '创建类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'NORMAL',
- ],
- ],
- [
- 'name' => 'condition',
- 'in' => 'query',
- 'schema' => [
- 'description' => '条件值。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{"relationship":"and","list":[{"deepCount":1,"left":{"hasRightVariable":true,"fieldType":"INT","functionName":"","leftVariableType":"NATIVE","name":"DEtest222","operatorCode":"equals"},"right":{"rightVariableType":"constant","name":"11","functionName":""},"operatorCode":"equals"}]}',
- ],
+ 'schema' => ['description' => '过滤器', 'type' => 'string', 'required' => false, 'example' => '{"left":"score","operate":"bw","right":"222,333"}'],
],
],
'responses' => [
200 => [
- 'headers' => [],
'schema' => [
'type' => 'object',
'properties' => [
- 'resultObject' => [
- 'description' => '返回对象。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => '请求id。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
+ 'resultObject' => ['description' => '返回对象', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
],
+ 'description' => '',
],
],
],
- 'errorCodes' => [
- 200 => [
- [
- 'errorCode' => '1202',
- 'errorMessage' => 'Data duplication.',
+ 'title' => '查询任务记录数',
+ 'summary' => '查询任务记录数。',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:19:06.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSimulationTaskCount'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '创建累计变量',
],
- 'CreateField' => [
- 'summary' => '新增字段。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DescribeSimulationTaskList' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
- 'deprecated' => false,
+ 'operationType' => 'read',
'systemTags' => [
'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREsafT73ZWM'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
+ ],
+ [
+ 'name' => 'id',
+ 'in' => 'query',
+ 'schema' => ['description' => '主键id', 'type' => 'string', 'required' => false, 'example' => '3144'],
],
[
'name' => 'name',
'in' => 'query',
- 'schema' => [
- 'description' => '字段name。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'age',
- ],
+ 'schema' => ['description' => '名称', 'type' => 'string', 'required' => false, 'example' => 'SIMULATION'],
],
[
'name' => 'title',
'in' => 'query',
- 'schema' => [
- 'description' => '标题。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '年龄',
- ],
+ 'schema' => ['description' => '标题。', 'type' => 'string', 'required' => false, 'example' => '仿真任务'],
],
[
- 'name' => 'type',
+ 'name' => 'currentPage',
'in' => 'query',
- 'schema' => [
- 'description' => '字段类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'STRING',
- ],
+ 'schema' => ['description' => '当前页码。', 'type' => 'string', 'required' => false, 'example' => '1'],
],
[
- 'name' => 'enumData',
+ 'name' => 'pageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '枚举数据。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'enum',
- ],
+ 'schema' => ['description' => '每页大小,默认值为10', 'type' => 'string', 'required' => false, 'example' => '10'],
],
[
- 'name' => 'classify',
+ 'name' => 'regId',
'in' => 'query',
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '字段分类。',
- 'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [
- 'REQUEST_PARAM' => '业务字段',
- 'DEVICE_INFO' => '设备字段',
+ 'type' => 'object',
+ 'properties' => [
+ 'totalItem' => ['description' => '总个数。', 'type' => 'integer', 'format' => 'int32', 'example' => '6'],
+ 'resultObject' => ['description' => '返回对象', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ 'totalPage' => ['description' => '总页数', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'pageSize' => ['description' => '每页大小,默认值为10', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'currentPage' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
],
- 'example' => 'REQUEST_PARAM',
+ 'description' => '',
],
],
+ ],
+ 'title' => '任务列表',
+ 'summary' => '任务列表。',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:19:06.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSimulationTaskList'],
+ ],
+ ],
+ 'ramActions' => [
[
- 'name' => 'description',
- 'in' => 'query',
- 'schema' => [
- 'description' => '描述信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '字段描述信息',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"totalItem\\": 6,\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"totalPage\\": 1,\\n \\"pageSize\\": 10,\\n \\"currentPage\\": 1\\n}","type":"json"}]',
+ ],
+ 'DescribeSlsUrlConfig' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'source',
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => ['operationType' => 'get'],
+ 'parameters' => [
+ [
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '业务来源。',
- 'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [
- 'DEFINE' => '自定义字段',
- 'DEFAULT' => '系统默认字段',
- ],
- 'example' => 'DEFINE',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
@@ -28070,534 +20484,509 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'resultObject' => [
- 'description' => '返回对象。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
+ 'resultObject' => ['description' => '返回对象', 'type' => 'string', 'example' => 'true'],
+ 'requestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '新建字段',
- ],
- 'DeleteCustVariable' => [
- 'summary' => '删除累计变量。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '获取project配置',
+ 'summary' => '获取project配置。',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:23:08.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSlsUrlConfig'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": \\"true\\",\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeSupportRuleList' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
+ 'operationType' => 'read',
'systemTags' => [
'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREsafT73ZWM'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'variableId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '变量id。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '235',
- ],
- ],
- [
- 'name' => 'dataVersion',
+ 'name' => 'eventCode',
'in' => 'query',
- 'schema' => [
- 'description' => '数据版本。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1',
- ],
- ],
- [
- 'name' => 'createType',
- 'in' => 'query',
- 'schema' => [
- 'description' => '创建类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'NORMAL',
- ],
+ 'schema' => ['description' => '事件编码', 'type' => 'string', 'required' => true, 'example' => 'de_ahpayh4121'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
200 => [
- 'headers' => [],
'schema' => [
'type' => 'object',
'properties' => [
- 'resultObject' => [
- 'description' => '返回对象。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
+ 'resultObject' => ['description' => '返回对象', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '删除累计变量',
- ],
- 'DeleteExpressionVariable' => [
- 'summary' => '删除自定义变量。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '查询支持仿真的策略列表',
+ 'summary' => '查询支持仿真的策略列表。',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:19:05.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSupportRuleList'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeTagList' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'operationType' => 'read',
+ 'systemTags' => ['operationType' => 'list'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'regId',
+ 'name' => 'RegId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'id',
+ 'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'description' => '变量id。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '2556',
- ],
- ],
- [
- 'name' => 'dataVersion',
- 'in' => 'query',
- 'schema' => [
- 'description' => '数据版本。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '主键id', 'type' => 'string', 'required' => false, 'example' => '433102'],
],
],
'responses' => [
200 => [
- 'headers' => [],
'schema' => [
'type' => 'object',
'properties' => [
- 'resultObject' => [
- 'description' => '返回对象。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ 'ResultObject' => ['description' => '结果对象。', 'type' => 'string', 'example' => 'true'],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'string', 'example' => '200'],
+ 'Message' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'success'],
+ 'Code' => ['description' => '状态码。', 'type' => 'string', 'example' => '200'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '删除自定义变量',
- ],
- 'DescribeCustVariableConfigList' => [
- 'summary' => '查询自定义累计变量的类型配置。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '标签列表',
+ 'summary' => '标签列表。',
+ 'changeSet' => [
+ ['createdAt' => '2022-06-10T02:15:44.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeTagList'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"ResultObject\\": \\"true\\",\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"Message\\": \\"success\\",\\n \\"Code\\": \\"200\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeTagsBarChart' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'bizType',
+ 'name' => 'eventCodes',
'in' => 'query',
- 'schema' => [
- 'description' => '配置类型。',
- 'type' => 'string',
- 'required' => true,
- 'enumValueTitles' => [
- 'HISTORY_VALUE_TYPE' => '历史取值类型',
- 'TIME_TYPE' => '时间单位',
- 'VELOCITYFC_TYPE' => '变量类型/处理函数',
- ],
- 'example' => 'TIME_TYPE',
- ],
+ 'schema' => ['description' => '事件code。', 'type' => 'string', 'required' => false, 'example' => 'de_afghcf6411'],
],
[
- 'name' => 'timeType',
+ 'name' => 'beginTime',
'in' => 'query',
- 'schema' => [
- 'description' => '时间类型。',
- 'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [
- 'NEAR' => '近',
- 'CURRENT' => '本',
- 'PREVIOUS' => '上一',
- ],
- 'example' => 'CURRENT',
- ],
+ 'schema' => ['description' => '开始时间,精确到毫秒(ms)。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1751249559000'],
+ ],
+ [
+ 'name' => 'endTime',
+ 'in' => 'query',
+ 'schema' => ['description' => '结束时间,精确到毫秒(ms)。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1751595912000'],
+ ],
+ [
+ 'name' => 'result',
+ 'in' => 'query',
+ 'schema' => ['description' => '策略执行结果', 'type' => 'string', 'required' => false, 'example' => 'PASS'],
],
],
'responses' => [
200 => [
- 'headers' => [],
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求id。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
+ 'requestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2'],
+ 'success' => ['description' => '请求是否成功。', 'type' => 'boolean', 'example' => 'true'],
+ 'code' => ['description' => '状态码。', 'type' => 'string', 'example' => '200'],
+ 'message' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'The input parameter data is not valid. order_storage_company_num component not found'],
+ 'httpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'string', 'example' => '200'],
'resultObject' => [
- 'description' => '返回对象。',
- 'type' => 'array',
- 'items' => [
- 'description' => '返回对象。',
- 'type' => 'object',
- 'properties' => [
- 'configKey' => [
- 'description' => '配置项key。',
- 'type' => 'string',
- 'example' => 'COUNT',
+ 'description' => '返回对象',
+ 'type' => 'object',
+ 'properties' => [
+ 'xaxis' => [
+ 'description' => 'xaxis接口配置。',
+ 'type' => 'object',
+ 'properties' => [
+ 'data' => [
+ 'description' => 'xaxis数据项',
+ 'type' => 'array',
+ 'items' => ['description' => 'xaxis数据项', 'type' => 'string', 'example' => '['."\n"
+ .' "2025-07-01",'."\n"
+ .' "2025-07-02",'."\n"
+ .' "2025-07-03",'."\n"
+ .' "2025-07-04",'."\n"
+ .' "2025-07-05",'."\n"
+ .' "2025-07-06",'."\n"
+ .' "2025-07-07",'."\n"
+ .' "2025-07-08",'."\n"
+ .' "2025-07-09",'."\n"
+ .' "2025-07-10"'."\n"
+ .' ]'],
+ ],
],
- 'configValue' => [
- 'description' => '配置项值。',
- 'type' => 'string',
- 'example' => '累计',
+ ],
+ 'series' => [
+ 'description' => '数据列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '数据列表',
+ 'type' => 'object',
+ 'properties' => [
+ 'name' => ['description' => '系列名称。', 'type' => 'string', 'example' => 'tag'],
+ 'stack' => ['description' => '图表字段,与name一致', 'type' => 'string', 'example' => 'tag'],
+ 'data' => [
+ 'description' => '图表数据列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '图表数据列表',
+ 'type' => 'object',
+ 'properties' => [
+ 'num' => ['description' => '数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '200'],
+ 'scale' => ['description' => '比例', 'type' => 'string', 'example' => '10%'],
+ ],
+ ],
+ ],
+ ],
],
],
],
],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"resultObject\\": [\\n {\\n \\"configKey\\": \\"COUNT\\",\\n \\"configValue\\": \\"累计\\"\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '累计变量配置查询',
- ],
- 'DescribeCustVariableDetail' => [
- 'summary' => '累计变量详情。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '标签概览列表',
+ 'summary' => '标签概览列表',
+ 'changeSet' => [
+ ['createdAt' => '2023-09-11T10:20:55.000Z', 'description' => '请求参数发生变更'],
+ ['createdAt' => '2022-03-02T06:01:06.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeTagsBarChart'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\",\\n \\"success\\": true,\\n \\"code\\": \\"200\\",\\n \\"message\\": \\"The input parameter data is not valid. order_storage_company_num component not found\\",\\n \\"httpStatusCode\\": \\"200\\",\\n \\"resultObject\\": {\\n \\"xaxis\\": {\\n \\"data\\": [\\n \\"[\\\\n \\\\\\"2025-07-01\\\\\\",\\\\n \\\\\\"2025-07-02\\\\\\",\\\\n \\\\\\"2025-07-03\\\\\\",\\\\n \\\\\\"2025-07-04\\\\\\",\\\\n \\\\\\"2025-07-05\\\\\\",\\\\n \\\\\\"2025-07-06\\\\\\",\\\\n \\\\\\"2025-07-07\\\\\\",\\\\n \\\\\\"2025-07-08\\\\\\",\\\\n \\\\\\"2025-07-09\\\\\\",\\\\n \\\\\\"2025-07-10\\\\\\"\\\\n ]\\"\\n ]\\n },\\n \\"series\\": [\\n {\\n \\"name\\": \\"tag\\",\\n \\"stack\\": \\"tag\\",\\n \\"data\\": [\\n {\\n \\"num\\": 200,\\n \\"scale\\": \\"10%\\"\\n }\\n ]\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'DescribeTagsFluctuation' => [
+ 'summary' => '标签波动检测',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'id',
+ 'name' => 'eventCodes',
'in' => 'query',
- 'schema' => [
- 'description' => '累计变量主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '2793',
- ],
+ 'schema' => ['description' => '事件code。', 'type' => 'string', 'required' => false, 'example' => 'de_afghcf6411'],
],
],
'responses' => [
200 => [
- 'headers' => [],
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求id。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
+ 'requestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2'],
+ 'success' => ['description' => '调用是否成功', 'type' => 'boolean', 'example' => 'true'],
+ 'code' => ['description' => '状态码。', 'type' => 'string', 'example' => '200'],
+ 'message' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'The input parameter data is not valid. order_storage_company_num component not found'],
+ 'httpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'string', 'example' => '200'],
'resultObject' => [
- 'description' => '返回对象。',
+ 'description' => '返回对象',
'type' => 'array',
'items' => [
- 'description' => '返回对象。',
+ 'description' => '返回对象',
'type' => 'object',
'properties' => [
- 'dataVersion' => [
- 'description' => '数据版本。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'twCount' => [
- 'description' => '时间数。',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'velocityTW' => [
- 'description' => '时间切片单位。',
- 'type' => 'string',
- 'example' => 'HOUR_1',
- ],
- 'title' => [
- 'description' => '标题。',
- 'type' => 'string',
- 'example' => '累计变量求平均值',
- ],
- 'historyValueType' => [
- 'description' => '取值类型。',
- 'type' => 'string',
- 'example' => 'EARLIEST',
- ],
- 'condition' => [
- 'description' => '条件值。',
- 'type' => 'string',
- 'example' => '{"currentId":1,"deepCount":0,"list":[{"currentId":2,"deepCount":1,"left":{"code":"accountId","fieldType":"STRING","functionName":"","hasRightVariable":false,"name":"accountId"},"operatorCode":"isNotEmptyWrapper","parentId":1,"right":{"code":"\'A\\nB\\nC\'","functionName":"","name":"","rightVariableType":"constant"}}],"parentId":0,"relationship":"and"}',
- ],
- 'id' => [
- 'description' => '累计变量主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2793',
- ],
- 'object' => [
- 'description' => '累计对象。',
- 'type' => 'string',
- 'example' => 'DEpage',
- ],
- 'outputs' => [
- 'description' => '变量返回类型。',
- 'type' => 'string',
- 'example' => 'DOUBLE',
- ],
- 'velocityFC' => [
- 'description' => '变量类型。',
- 'type' => 'string',
- 'example' => 'DISTINCT',
- ],
- 'description' => [
- 'description' => '描述信息。',
- 'type' => 'string',
- 'example' => '变量描述',
- ],
- 'eventCodes' => [
- 'description' => '事件code。',
- 'type' => 'string',
- 'example' => 'de_ahespg8137',
- ],
- 'subject' => [
- 'description' => '主对象。',
- 'type' => 'string',
- 'example' => 'DEpname',
- ],
- 'timeType' => [
- 'description' => '时间切片类型。',
- 'type' => 'string',
- 'example' => 'NEAR',
- ],
+ 'tableName' => ['description' => '标签名称', 'type' => 'string', 'example' => 'accountId'],
+ 'todayNum' => ['description' => '当天数据', 'type' => 'integer', 'format' => 'int64', 'example' => '100'],
+ 'yesterdayNum' => ['description' => '昨天数据', 'type' => 'integer', 'format' => 'int64', 'example' => '200'],
+ 'withinThreeDayNum' => ['description' => '近三天数据', 'type' => 'string', 'example' => '300'],
+ 'withinSevenDayNum' => ['description' => '近七天数据', 'type' => 'string', 'example' => '600'],
+ 'withinThirtyDayNum' => ['description' => '近一个月数据', 'type' => 'string', 'example' => '1200'],
],
],
],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"resultObject\\": [\\n {\\n \\"dataVersion\\": 1,\\n \\"twCount\\": \\"1\\",\\n \\"velocityTW\\": \\"HOUR_1\\",\\n \\"title\\": \\"累计变量求平均值\\",\\n \\"historyValueType\\": \\"EARLIEST\\",\\n \\"condition\\": \\"{\\\\\\"currentId\\\\\\":1,\\\\\\"deepCount\\\\\\":0,\\\\\\"list\\\\\\":[{\\\\\\"currentId\\\\\\":2,\\\\\\"deepCount\\\\\\":1,\\\\\\"left\\\\\\":{\\\\\\"code\\\\\\":\\\\\\"accountId\\\\\\",\\\\\\"fieldType\\\\\\":\\\\\\"STRING\\\\\\",\\\\\\"functionName\\\\\\":\\\\\\"\\\\\\",\\\\\\"hasRightVariable\\\\\\":false,\\\\\\"name\\\\\\":\\\\\\"accountId\\\\\\"},\\\\\\"operatorCode\\\\\\":\\\\\\"isNotEmptyWrapper\\\\\\",\\\\\\"parentId\\\\\\":1,\\\\\\"right\\\\\\":{\\\\\\"code\\\\\\":\\\\\\"\'A\\\\\\\\nB\\\\\\\\nC\'\\\\\\",\\\\\\"functionName\\\\\\":\\\\\\"\\\\\\",\\\\\\"name\\\\\\":\\\\\\"\\\\\\",\\\\\\"rightVariableType\\\\\\":\\\\\\"constant\\\\\\"}}],\\\\\\"parentId\\\\\\":0,\\\\\\"relationship\\\\\\":\\\\\\"and\\\\\\"}\\",\\n \\"id\\": 2793,\\n \\"object\\": \\"DEpage\\",\\n \\"outputs\\": \\"DOUBLE\\",\\n \\"velocityFC\\": \\"DISTINCT\\",\\n \\"description\\": \\"变量描述\\",\\n \\"eventCodes\\": \\"de_ahespg8137\\",\\n \\"subject\\": \\"DEpname\\",\\n \\"timeType\\": \\"NEAR\\"\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '累计变量详情查询',
- ],
- 'DescribeEventBaseInfoByEventCode' => [
- 'summary' => '查询事件详情。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '标签波动检测',
+ 'changeSet' => [
+ ['createdAt' => '2022-03-02T06:00:58.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeTagsFluctuation'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\",\\n \\"success\\": true,\\n \\"code\\": \\"200\\",\\n \\"message\\": \\"The input parameter data is not valid. order_storage_company_num component not found\\",\\n \\"httpStatusCode\\": \\"200\\",\\n \\"resultObject\\": [\\n {\\n \\"tableName\\": \\"accountId\\",\\n \\"todayNum\\": 100,\\n \\"yesterdayNum\\": 200,\\n \\"withinThreeDayNum\\": \\"300\\",\\n \\"withinSevenDayNum\\": \\"600\\",\\n \\"withinThirtyDayNum\\": \\"1200\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'DescribeTagsList' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
+ 'type' => 'object',
+ 'properties' => [
+ 'resultObject' => ['description' => '返回对象', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'title' => '获取标签列表',
+ 'summary' => '获取标签列表',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:23:06.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeTagsList'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeTagsNumLineChart' => [
+ 'summary' => '标签命中数量分析',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => ['operationType' => 'get'],
+ 'parameters' => [
[
- 'name' => 'eventCode',
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '事件编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'de_arcehq4370',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'createType',
+ 'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '创建类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'NORMAL',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
+ ],
+ [
+ 'name' => 'mainEventCodes',
+ 'in' => 'query',
+ 'schema' => ['description' => '主事件编码', 'type' => 'string', 'required' => false, 'example' => 'de_amnhke2482'],
+ ],
+ [
+ 'name' => 'byPassEventCodes',
+ 'in' => 'query',
+ 'schema' => ['description' => '旁路事件编码', 'type' => 'string', 'required' => false, 'example' => 'de_amnhke2482'],
+ ],
+ [
+ 'name' => 'shuntEventCodes',
+ 'in' => 'query',
+ 'schema' => ['description' => '分流事件编码', 'type' => 'string', 'required' => false, 'example' => 'de_amnhke2488'],
+ ],
+ [
+ 'name' => 'beginTime',
+ 'in' => 'query',
+ 'schema' => ['description' => '开始时间,精确到毫秒(ms)。', 'type' => 'string', 'required' => true, 'example' => '1751249559000'],
+ ],
+ [
+ 'name' => 'endTime',
+ 'in' => 'query',
+ 'schema' => ['description' => '结束时间,精确到毫秒(ms)。', 'type' => 'string', 'required' => true, 'example' => '1749002991000'],
],
],
'responses' => [
@@ -28605,894 +20994,745 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
'resultObject' => [
- 'description' => '返回对象。',
+ 'description' => '返回对象',
'type' => 'object',
'properties' => [
- 'eventCode' => [
- 'description' => '事件编码。',
- 'type' => 'string',
- 'example' => 'de_aszbjb7236',
- ],
- 'memo' => [
- 'description' => '备注。',
- 'type' => 'string',
- 'example' => '备注',
- ],
- 'templateCode' => [
- 'description' => '操作模板code。',
- 'type' => 'string',
- 'example' => 'register',
- ],
- 'templateName' => [
- 'description' => '模板名称。',
- 'type' => 'string',
- 'example' => '注册事件模板',
- ],
- 'templateType' => [
- 'description' => '模板类型。',
- 'type' => 'string',
- 'example' => 'TEMPLATE',
- ],
- 'bizVersion' => [
- 'description' => '业务版本号。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'eventStauts' => [
- 'description' => '事件状态。',
- 'type' => 'string',
- 'example' => 'ONLINE',
- ],
- 'eventName' => [
- 'description' => '事件名称。',
- 'type' => 'string',
- 'example' => '注册风险',
- ],
- 'inputFields' => [
- 'description' => '字段列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '字段列表。',
- 'type' => 'object',
- 'properties' => [
- 'fieldCode' => [
- 'description' => '字段code。',
- 'type' => 'string',
- 'example' => 'age',
- ],
- 'fieldSource' => [
- 'description' => '字段的来源。',
- 'type' => 'string',
- 'example' => 'DEFAULT',
- ],
- 'title' => [
- 'description' => '字段名称。',
- 'type' => 'string',
- 'example' => '年龄',
- ],
- 'fieldType' => [
- 'description' => '字段类型。',
- 'type' => 'string',
- 'example' => 'STRING',
- ],
- 'fieldRank' => [
- 'description' => '字段排序。',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'description' => [
- 'description' => '字段描述。',
- 'type' => 'string',
- 'example' => '描述',
- ],
+ 'xaxis' => [
+ 'description' => 'xaxis节点。',
+ 'type' => 'object',
+ 'properties' => [
+ 'data' => [
+ 'description' => '图表数据列表',
+ 'type' => 'array',
+ 'items' => ['description' => 'X轴数据', 'type' => 'string', 'example' => '['."\n"
+ .' "2025-07-19",'."\n"
+ .' "2025-07-20",'."\n"
+ .' "2025-07-21",'."\n"
+ .' "2025-07-22",'."\n"
+ .' "2025-07-23",'."\n"
+ .' "2025-07-24",'."\n"
+ .' "2025-07-25",'."\n"
+ .' "2025-07-26",'."\n"
+ .' "2025-07-27",'."\n"
+ .' "2025-07-28",'."\n"
+ .' "2025-07-29"'."\n"
+ .' ]'],
],
],
],
- 'ruleDetails' => [
- 'description' => '策略信息。',
+ 'series' => [
+ 'description' => '数据列表',
'type' => 'array',
'items' => [
- 'description' => '策略信息。',
+ 'description' => '数据列表',
'type' => 'object',
'properties' => [
- 'ruleId' => [
- 'description' => '策略ID。',
- 'type' => 'string',
- 'example' => '101544',
- ],
- 'memo' => [
- 'description' => '备注。',
- 'type' => 'string',
- 'example' => '描述',
- ],
- 'ruleActions' => [
- 'description' => '规则动作。',
- 'type' => 'string',
- 'example' => '[{\\"inputs\\":[\\"auto_accselist\\"],\\"name\\":\\"__addDeTags__\\",\\"actionType\\":\\"TAG\\",\\"outputType\\":\\"const\\"}]',
- ],
- 'ruleStatus' => [
- 'description' => '策略状态。',
- 'type' => 'string',
- 'example' => 'DRAFT',
- ],
- 'ruleExpressions' => [
- 'description' => '事件表达式。',
- 'type' => 'string',
- 'example' => '[{\\"expressionName\\":\\"同一设备同一IP上的注册用户数\\",\\"itemId\\":1,\\"left\\":{\\"name\\":\\"dK7EXHr490f\\"},\\"operatorCode\\":\\"gte\\",\\"operatorName\\":\\"大于等于\\",\\"right\\":{\\"fieldValue\\":\\"2\\"}}]',
- ],
- 'ruleName' => [
- 'description' => '策略名称。',
- 'type' => 'string',
- 'example' => '手机号MD5命中人脸测试名单',
- ],
- 'logicExpression' => [
- 'description' => '策略执行逻辑。',
- 'type' => 'string',
- 'example' => '3&((1&2&4)',
- ],
- 'ruleAuthType' => [
- 'description' => '策略类型。',
- 'type' => 'string',
- 'example' => 'DEFAULT',
+ 'name' => ['description' => '系列名称。', 'type' => 'string', 'example' => 'rn101'],
+ 'data' => [
+ 'description' => '图表数据列表',
+ 'type' => 'array',
+ 'items' => ['description' => '图表数据列表', 'type' => 'string', 'example' => '10'],
],
],
],
],
],
],
+ 'requestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"resultObject\\": {\\n \\"eventCode\\": \\"de_aszbjb7236\\",\\n \\"memo\\": \\"备注\\",\\n \\"templateCode\\": \\"register\\",\\n \\"templateName\\": \\"注册事件模板\\",\\n \\"templateType\\": \\"TEMPLATE\\",\\n \\"bizVersion\\": 1,\\n \\"eventStauts\\": \\"ONLINE\\",\\n \\"eventName\\": \\"注册风险\\",\\n \\"inputFields\\": [\\n {\\n \\"fieldCode\\": \\"age\\",\\n \\"fieldSource\\": \\"DEFAULT\\",\\n \\"title\\": \\"年龄\\",\\n \\"fieldType\\": \\"STRING\\",\\n \\"fieldRank\\": \\"1\\",\\n \\"description\\": \\"描述\\"\\n }\\n ],\\n \\"ruleDetails\\": [\\n {\\n \\"ruleId\\": \\"101544\\",\\n \\"memo\\": \\"描述\\",\\n \\"ruleActions\\": \\"[{\\\\\\\\\\\\\\"inputs\\\\\\\\\\\\\\":[\\\\\\\\\\\\\\"auto_accselist\\\\\\\\\\\\\\"],\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"__addDeTags__\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"actionType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"TAG\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"outputType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"const\\\\\\\\\\\\\\"}]\\",\\n \\"ruleStatus\\": \\"DRAFT\\",\\n \\"ruleExpressions\\": \\"[{\\\\\\\\\\\\\\"expressionName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"同一设备同一IP上的注册用户数\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"itemId\\\\\\\\\\\\\\":1,\\\\\\\\\\\\\\"left\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"dK7EXHr490f\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"operatorCode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"gte\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"operatorName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"大于等于\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"right\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"fieldValue\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"2\\\\\\\\\\\\\\"}}]\\",\\n \\"ruleName\\": \\"手机号MD5命中人脸测试名单\\",\\n \\"logicExpression\\": \\"3&((1&2&4)\\",\\n \\"ruleAuthType\\": \\"DEFAULT\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
- 'title' => '查询事件详情',
- ],
- 'DescribeEventsVariableList' => [
- 'summary' => '查询事件变量。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '旁路/分流 - 标签命中数量分析',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeTagsNumLineChart'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": {\\n \\"xaxis\\": {\\n \\"data\\": [\\n \\"[\\\\n \\\\\\"2025-07-19\\\\\\",\\\\n \\\\\\"2025-07-20\\\\\\",\\\\n \\\\\\"2025-07-21\\\\\\",\\\\n \\\\\\"2025-07-22\\\\\\",\\\\n \\\\\\"2025-07-23\\\\\\",\\\\n \\\\\\"2025-07-24\\\\\\",\\\\n \\\\\\"2025-07-25\\\\\\",\\\\n \\\\\\"2025-07-26\\\\\\",\\\\n \\\\\\"2025-07-27\\\\\\",\\\\n \\\\\\"2025-07-28\\\\\\",\\\\n \\\\\\"2025-07-29\\\\\\"\\\\n ]\\"\\n ]\\n },\\n \\"series\\": [\\n {\\n \\"name\\": \\"rn101\\",\\n \\"data\\": [\\n \\"10\\"\\n ]\\n }\\n ]\\n },\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeTagsRatioLineChart' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'createType',
+ 'name' => 'mainEventCodes',
'in' => 'query',
- 'schema' => [
- 'description' => '创建类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'NORMAL',
- ],
+ 'schema' => ['description' => '主事件编码', 'type' => 'string', 'required' => false, 'example' => 'de_amnhke2482'],
],
[
- 'name' => 'eventCodes',
+ 'name' => 'byPassEventCodes',
'in' => 'query',
- 'schema' => [
- 'description' => '事件code。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'de_afghcf6411',
- ],
+ 'schema' => ['description' => '旁路事件编码', 'type' => 'string', 'required' => false, 'example' => 'de_amnhke2482'],
],
[
- 'name' => 'scene',
+ 'name' => 'shuntEventCodes',
'in' => 'query',
- 'schema' => [
- 'description' => '适用场景code。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'VELOCITY',
- ],
+ 'schema' => ['description' => '分流事件编码', 'type' => 'string', 'required' => false, 'example' => 'de_amnhke2488'],
],
[
- 'name' => 'filterDTO',
+ 'name' => 'beginTime',
'in' => 'query',
- 'schema' => [
- 'description' => '过滤对象。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"type\\":\\"EXPRESSION\\",\\"name\\":\\"ex_NgR6nDVD821c\\"}',
- ],
+ 'schema' => ['description' => '开始时间,精确到毫秒(ms)。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1751249559000'],
+ ],
+ [
+ 'name' => 'endTime',
+ 'in' => 'query',
+ 'schema' => ['description' => '结束时间,精确到毫秒(ms)。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1751595912000'],
],
],
'responses' => [
200 => [
- 'headers' => [],
'schema' => [
'type' => 'object',
'properties' => [
+ 'requestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2'],
'resultObject' => [
- 'description' => '返回对象。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
+ 'description' => '返回对象',
+ 'type' => 'object',
+ 'properties' => [
+ 'xaxis' => [
+ 'description' => 'xaxis节点。',
+ 'type' => 'object',
+ 'properties' => [
+ 'data' => [
+ 'description' => 'X轴数据',
+ 'type' => 'array',
+ 'items' => ['description' => 'X轴数据', 'type' => 'string', 'example' => '['."\n"
+ .' "2025-07-19",'."\n"
+ .' "2025-07-20",'."\n"
+ .' "2025-07-21",'."\n"
+ .' "2025-07-22",'."\n"
+ .' "2025-07-23",'."\n"
+ .' "2025-07-24",'."\n"
+ .' "2025-07-25",'."\n"
+ .' "2025-07-26",'."\n"
+ .' "2025-07-27",'."\n"
+ .' "2025-07-28",'."\n"
+ .' "2025-07-29"'."\n"
+ .' ]'],
+ ],
+ ],
+ ],
+ 'series' => [
+ 'description' => '数据列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '数据列表',
+ 'type' => 'object',
+ 'properties' => [
+ 'name' => ['description' => '系列名称。', 'type' => 'string', 'example' => 'rn101'],
+ 'data' => [
+ 'description' => '结果数据。',
+ 'type' => 'array',
+ 'items' => ['description' => '结果数据。', 'type' => 'string', 'example' => '10%'],
+ ],
+ ],
+ ],
+ ],
+ ],
],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '查询事件变量',
- ],
- 'DescribeExpressionVariableDetail' => [
- 'summary' => '自定义变量详情。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '旁路/分流 - 标签命中占比分析',
+ 'summary' => '标签命中占比分析',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeTagsRatioLineChart'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\",\\n \\"resultObject\\": {\\n \\"xaxis\\": {\\n \\"data\\": [\\n \\"[\\\\n \\\\\\"2025-07-19\\\\\\",\\\\n \\\\\\"2025-07-20\\\\\\",\\\\n \\\\\\"2025-07-21\\\\\\",\\\\n \\\\\\"2025-07-22\\\\\\",\\\\n \\\\\\"2025-07-23\\\\\\",\\\\n \\\\\\"2025-07-24\\\\\\",\\\\n \\\\\\"2025-07-25\\\\\\",\\\\n \\\\\\"2025-07-26\\\\\\",\\\\n \\\\\\"2025-07-27\\\\\\",\\\\n \\\\\\"2025-07-28\\\\\\",\\\\n \\\\\\"2025-07-29\\\\\\"\\\\n ]\\"\\n ]\\n },\\n \\"series\\": [\\n {\\n \\"name\\": \\"rn101\\",\\n \\"data\\": [\\n \\"10%\\"\\n ]\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'DescribeTagsTrend' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'id',
+ 'name' => 'eventCodes',
'in' => 'query',
- 'schema' => [
- 'description' => '主键id。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '334',
- ],
+ 'schema' => ['description' => '事件code。', 'type' => 'string', 'required' => false, 'example' => 'de_afghcf6411'],
+ ],
+ [
+ 'name' => 'beginTime',
+ 'in' => 'query',
+ 'schema' => ['description' => '开始时间,精确到毫秒(ms)。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1751249559000'],
+ ],
+ [
+ 'name' => 'endTime',
+ 'in' => 'query',
+ 'schema' => ['description' => '结束时间,精确到毫秒(ms)。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1740298093000'],
+ ],
+ [
+ 'name' => 'result',
+ 'in' => 'query',
+ 'schema' => ['description' => '策略执行结果', 'type' => 'string', 'required' => false, 'example' => 'PASS'],
],
],
'responses' => [
200 => [
- 'headers' => [],
'schema' => [
'type' => 'object',
'properties' => [
+ 'requestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2'],
+ 'success' => ['description' => '请求是否成功。', 'type' => 'boolean', 'example' => 'true'],
+ 'code' => ['description' => '状态码', 'type' => 'string', 'example' => '200'],
+ 'message' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'The input parameter data is not valid. order_storage_company_num component not found'],
+ 'httpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'string', 'example' => '200'],
'resultObject' => [
- 'description' => '返回对象。',
+ 'description' => '返回对象',
'type' => 'object',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
+ 'properties' => [
+ 'xaxis' => [
+ 'description' => 'xaxis返回数据',
+ 'type' => 'object',
+ 'properties' => [
+ 'data' => [
+ 'description' => 'X轴数据',
+ 'type' => 'array',
+ 'items' => ['description' => 'X轴数据', 'type' => 'string', 'example' => '['."\n"
+ .' "2025-07-01",'."\n"
+ .' "2025-07-02",'."\n"
+ .' "2025-07-03",'."\n"
+ .' "2025-07-04",'."\n"
+ .' "2025-07-05",'."\n"
+ .' "2025-07-06",'."\n"
+ .' "2025-07-07",'."\n"
+ .' "2025-07-08",'."\n"
+ .' "2025-07-09",'."\n"
+ .' "2025-07-10"'."\n"
+ .' ]'],
+ ],
+ ],
+ ],
+ 'series' => [
+ 'description' => '数据列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '数据列表',
+ 'type' => 'object',
+ 'properties' => [
+ 'name' => ['description' => '品类名称。', 'type' => 'string', 'example' => 'rm0102'],
+ 'data' => [
+ 'description' => '图表数据列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '图表数据列表',
+ 'type' => 'object',
+ 'properties' => [
+ 'num' => ['description' => '该分类的数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '100'],
+ 'scale' => ['description' => '比例', 'type' => 'string', 'example' => '10%'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '自定义变量详情',
- ],
- 'DescribeExpressionVariableFunctionList' => [
- 'summary' => '函数列表。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '标签波动趋势',
+ 'summary' => '标签命中趋势',
+ 'changeSet' => [
+ ['createdAt' => '2022-03-02T06:00:58.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeTagsTrend'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\",\\n \\"success\\": true,\\n \\"code\\": \\"200\\",\\n \\"message\\": \\"The input parameter data is not valid. order_storage_company_num component not found\\",\\n \\"httpStatusCode\\": \\"200\\",\\n \\"resultObject\\": {\\n \\"xaxis\\": {\\n \\"data\\": [\\n \\"[\\\\n \\\\\\"2025-07-01\\\\\\",\\\\n \\\\\\"2025-07-02\\\\\\",\\\\n \\\\\\"2025-07-03\\\\\\",\\\\n \\\\\\"2025-07-04\\\\\\",\\\\n \\\\\\"2025-07-05\\\\\\",\\\\n \\\\\\"2025-07-06\\\\\\",\\\\n \\\\\\"2025-07-07\\\\\\",\\\\n \\\\\\"2025-07-08\\\\\\",\\\\n \\\\\\"2025-07-09\\\\\\",\\\\n \\\\\\"2025-07-10\\\\\\"\\\\n ]\\"\\n ]\\n },\\n \\"series\\": [\\n {\\n \\"name\\": \\"rm0102\\",\\n \\"data\\": [\\n {\\n \\"num\\": 100,\\n \\"scale\\": \\"10%\\"\\n }\\n ]\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'DescribeTaskList' => [
+ 'summary' => '任务列表。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
+ ],
+ [
+ 'name' => 'CurrentPage',
+ 'in' => 'query',
+ 'schema' => ['description' => '当前页。', 'type' => 'string', 'required' => false, 'example' => '1'],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => ['description' => '每页大小,默认值为10。', 'type' => 'string', 'required' => false, 'example' => '10'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
+ ],
+ [
+ 'name' => 'IsPage',
+ 'in' => 'query',
+ 'schema' => ['description' => '是否分页。', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
],
'responses' => [
200 => [
- 'headers' => [],
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '6E8817D5-5354-5953-84B1-D98379F036DC',
- ],
+ 'totalItem' => ['description' => '总条数', 'type' => 'integer', 'format' => 'int32', 'example' => '6'],
+ 'pageSize' => ['description' => '每页大小,默认值为10', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ 'currentPage' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'totalPage' => ['description' => '总页数', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'resultObject' => [
- 'description' => '返回对象。',
+ 'description' => '返回对象',
'type' => 'array',
'items' => [
- 'description' => '返回对象。',
+ 'description' => '返回对象',
'type' => 'object',
'properties' => [
- 'key' => [
- 'description' => '函数名。',
- 'type' => 'string',
- 'example' => 'concat',
- ],
- 'value' => [
- 'description' => '函数值。',
- 'type' => 'string',
- 'example' => 'concat',
- ],
- 'maxParamSize' => [
- 'description' => '入参个数max。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '4',
- ],
- 'description' => [
- 'description' => '描述信息。',
- 'type' => 'string',
- 'example' => '描述',
- ],
- 'returnTypes' => [
- 'description' => '方法返回类型。',
- 'type' => 'string',
- 'example' => 'STRING',
- ],
- 'redirect' => [
- 'description' => '是否直接调用的。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'minParamSize' => [
- 'description' => '入参个数min。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2',
- ],
- 'paramTypes' => [
- 'description' => '入参类型。',
- 'type' => 'string',
- 'example' => '*STRING',
- ],
+ 'sceneName' => ['description' => '场景名称', 'type' => 'string', 'example' => '样本调度'],
+ 'mark' => ['description' => '标记信息总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
+ 'taskType' => ['description' => '任务类型'."\n"
+ .'1:数据上传'."\n"
+ .'2:补充上传'."\n"
+ .'3:打标', 'type' => 'string', 'example' => '1'],
+ 'createTime' => ['description' => '创建时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1753804800000'],
+ 'status' => ['description' => '数据状态。'."\n"
+ ."\n"
+ .'-1:失败'."\n"
+ .'0:删除'."\n"
+ .'1:待完成'."\n"
+ .'2:成功', 'type' => 'string', 'example' => '2'],
+ 'remark' => ['description' => '备注。', 'type' => 'string', 'example' => '备注'],
+ 'taskLogId' => ['description' => '任务id。', 'type' => 'integer', 'format' => 'int64', 'example' => '1102'],
+ 'id' => ['description' => '任务id。', 'type' => 'integer', 'format' => 'int64', 'example' => '497'],
+ 'completionTime' => ['description' => '完成时间,单位为毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1753804800000'],
],
],
],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6E8817D5-5354-5953-84B1-D98379F036DC\\",\\n \\"resultObject\\": [\\n {\\n \\"key\\": \\"concat\\",\\n \\"value\\": \\"concat\\",\\n \\"maxParamSize\\": 4,\\n \\"description\\": \\"描述\\",\\n \\"returnTypes\\": \\"STRING\\",\\n \\"redirect\\": true,\\n \\"minParamSize\\": 2,\\n \\"paramTypes\\": \\"*STRING\\"\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '函数列表',
- ],
- 'DescribeExpressionVariablePage' => [
- 'summary' => '自定义变量分页查询。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '任务列表',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:19:05.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeTaskList'],
+ ],
],
- 'security' => [
+ 'ramActions' => [
[
- 'AK' => [],
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
],
- 'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREsafXYIHRP',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"totalItem\\": 6,\\n \\"pageSize\\": 10,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"currentPage\\": 1,\\n \\"totalPage\\": 1,\\n \\"resultObject\\": [\\n {\\n \\"sceneName\\": \\"样本调度\\",\\n \\"mark\\": 100,\\n \\"taskType\\": \\"1\\",\\n \\"createTime\\": 1753804800000,\\n \\"status\\": \\"2\\",\\n \\"remark\\": \\"备注\\",\\n \\"taskLogId\\": 1102,\\n \\"id\\": 497,\\n \\"completionTime\\": 1753804800000\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'DescribeTaskLogList' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
],
],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'regId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-hangzhou',
- ],
- ],
- [
- 'name' => 'currentPage',
+ 'name' => 'CurrentPage',
'in' => 'query',
- 'schema' => [
- 'description' => '当前页码。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '当前页。', 'type' => 'string', 'required' => false, 'example' => '1'],
],
[
- 'name' => 'pageSize',
+ 'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '每页大小,默认值为10。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '分页大小。', 'type' => 'string', 'required' => false, 'example' => '10'],
],
[
- 'name' => 'value',
+ 'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '变量名称/描述。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '自定义变量',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'eventCode',
+ 'name' => 'IsPage',
'in' => 'query',
- 'schema' => [
- 'description' => '事件编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'de_aamexg3015,de_aamexg3342',
- ],
+ 'schema' => ['description' => '是否分页。', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
- 'name' => 'status',
+ 'name' => 'TaskId',
'in' => 'query',
- 'schema' => [
- 'description' => '状态。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ENABLE',
- ],
+ 'schema' => ['description' => '任务id。', 'type' => 'string', 'required' => false, 'example' => '18044'],
],
[
- 'name' => 'outputs',
+ 'name' => 'TaskLogId',
'in' => 'query',
- 'schema' => [
- 'description' => '变量返回类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'STRING',
- ],
+ 'schema' => ['description' => '任务日志id', 'type' => 'string', 'required' => false, 'example' => '107'],
],
],
'responses' => [
200 => [
- 'headers' => [],
'schema' => [
'type' => 'object',
'properties' => [
- 'totalItem' => [
- 'description' => '总条数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '31',
- ],
- 'pageSize' => [
- 'description' => '每页大小,默认值为10。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
- 'currentPage' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'totalPage' => [
- 'description' => '总页数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '9',
- ],
+ 'totalItem' => ['description' => '总条数', 'type' => 'integer', 'format' => 'int32', 'example' => '6'],
+ 'pageSize' => ['description' => '每页大小,默认值为10', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ 'currentPage' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'totalPage' => ['description' => '总页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'resultObject' => [
- 'description' => '返回对象。',
+ 'description' => '返回对象',
'type' => 'array',
'items' => [
- 'description' => '返回对象。',
+ 'description' => '返回对象',
'type' => 'object',
'properties' => [
- 'outputs' => [
- 'description' => '变量返回类型。',
- 'type' => 'string',
- 'example' => 'DOUBLE',
- ],
- 'title' => [
- 'description' => '标题。',
- 'type' => 'string',
- 'example' => '获取手机号前7位自定义变量',
- ],
- 'description' => [
- 'description' => '描述信息。',
- 'type' => 'string',
- 'example' => '变量描述',
- ],
- 'gmtModified' => [
- 'description' => '修改时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1565701886000',
- ],
- 'status' => [
- 'description' => '状态。',
- 'type' => 'string',
- 'example' => 'ENABLE',
- ],
- 'eventName' => [
- 'description' => '事件名称。',
- 'type' => 'string',
- 'example' => '注册风险',
- ],
- 'id' => [
- 'description' => '自定义变量主键。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2793',
- ],
- 'version' => [
- 'description' => '版本信息。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'name' => [
- 'description' => '变量name。',
- 'type' => 'string',
- 'example' => 'ex_OERlw0Zqfb23',
- ],
- 'ruleList' => [
- 'description' => '关联策略ruleId。',
- 'type' => 'array',
- 'items' => [
- 'description' => 'ruleId。',
- 'type' => 'string',
- 'example' => '102318',
- ],
- ],
+ 'sceneName' => ['description' => '场景名称', 'type' => 'string', 'example' => 'coupon_abuse_detection'],
+ 'taskType' => ['description' => '任务类型'."\n"
+ ."\n"
+ .'1:数据上传'."\n"
+ .'2:补充上传'."\n"
+ .'3:打标', 'type' => 'string', 'example' => '1'],
+ 'createTime' => ['description' => '任务创建时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1753804800000'],
+ 'status' => ['description' => '状态。'."\n"
+ ."\n"
+ .'0:删除'."\n"
+ .'1:正常', 'type' => 'string', 'example' => '1'],
+ 'remark' => ['description' => '备注。', 'type' => 'string', 'example' => '备注'],
+ 'id' => ['description' => '日志id。', 'type' => 'integer', 'format' => 'int64', 'example' => '2793'],
+ 'completionTime' => ['description' => '完成时间,单位为毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1753804800000'],
],
],
],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"totalItem\\": 31,\\n \\"pageSize\\": 10,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"currentPage\\": 1,\\n \\"totalPage\\": 9,\\n \\"resultObject\\": [\\n {\\n \\"outputs\\": \\"DOUBLE\\",\\n \\"title\\": \\"获取手机号前7位自定义变量\\",\\n \\"description\\": \\"变量描述\\",\\n \\"gmtModified\\": 1565701886000,\\n \\"status\\": \\"ENABLE\\",\\n \\"eventName\\": \\"注册风险\\",\\n \\"id\\": 2793,\\n \\"version\\": 1,\\n \\"name\\": \\"ex_OERlw0Zqfb23\\",\\n \\"ruleList\\": [\\n \\"102318\\"\\n ]\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '自定义变量分页查询',
- ],
- 'DescribeNameList' => [
- 'summary' => '查询名单分页。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '任务日志列表',
+ 'summary' => '任务日志列表。',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:19:05.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeTaskLogList'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"totalItem\\": 6,\\n \\"pageSize\\": 10,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"currentPage\\": 1,\\n \\"totalPage\\": 1,\\n \\"resultObject\\": [\\n {\\n \\"sceneName\\": \\"coupon_abuse_detection\\",\\n \\"taskType\\": \\"1\\",\\n \\"createTime\\": 1753804800000,\\n \\"status\\": \\"1\\",\\n \\"remark\\": \\"备注\\",\\n \\"id\\": 2793,\\n \\"completionTime\\": 1753804800000\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'DescribeTemplateCount' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'currentPage',
+ 'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '当前页数。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
- [
- 'name' => 'pageSize',
- 'in' => 'query',
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '每页大小,默认值为10。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '10',
+ 'type' => 'object',
+ 'properties' => [
+ 'resultObject' => [
+ 'description' => '返回对象',
+ 'type' => 'object',
+ 'properties' => [
+ 'totalItem' => ['description' => '总个数。', 'type' => 'integer', 'format' => 'int32', 'example' => '13'],
+ 'maxTotalItem' => ['description' => '最大个数', 'type' => 'integer', 'format' => 'int32', 'example' => '1000'],
+ 'limit' => ['description' => '模板数量限制。', 'type' => 'boolean', 'example' => 'false'],
+ ],
+ ],
+ 'requestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2'],
+ ],
+ 'description' => '',
],
],
+ ],
+ 'title' => '查询事件总数量',
+ 'summary' => '查询事件总数量。',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:27:08.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeTemplateCount'],
+ ],
+ ],
+ 'ramActions' => [
[
- 'name' => 'variableId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '变量id。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '393314',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": {\\n \\"totalItem\\": 13,\\n \\"maxTotalItem\\": 1000,\\n \\"limit\\": false\\n },\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeTemplateDownload' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'value',
- 'in' => 'query',
- 'schema' => [
- 'description' => '搜索值。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '白名单',
- ],
+ 'AK' => [],
],
+ ],
+ 'systemTags' => ['operationType' => 'get'],
+ 'parameters' => [
[
- 'name' => 'regId',
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'createType',
+ 'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '创建类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'NORMAL',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
200 => [
- 'headers' => [],
'schema' => [
'type' => 'object',
'properties' => [
- 'totalItem' => [
- 'description' => '总条数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '6',
- ],
- 'pageSize' => [
- 'description' => '每页大小,默认值为10。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
- 'currentPage' => [
- 'description' => '当前页数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'totalPage' => [
- 'description' => '总页数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'resultObject' => [
- 'description' => '返回对象。',
- 'type' => 'array',
- 'items' => [
- 'description' => '返回对象。',
- 'type' => 'object',
- 'properties' => [
- 'variableId' => [
- 'description' => '变量id。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '393314',
- ],
- 'value' => [
- 'description' => '值。',
- 'type' => 'string',
- 'example' => '321311193502064288',
- ],
- 'title' => [
- 'description' => '标题。',
- 'type' => 'string',
- 'example' => '变量的title',
- ],
- 'identifier' => [
- 'description' => '变量标识。',
- 'type' => 'string',
- 'example' => 'NAME_LIST',
- ],
- 'gmtModified' => [
- 'description' => '修改时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1565701886000',
- ],
- 'gmtCreate' => [
- 'description' => '创建时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1621578648000',
- ],
- 'id' => [
- 'description' => '名单内容id。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '30',
- ],
- ],
- ],
- ],
+ 'data' => ['description' => '数据对象', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"totalItem\\": 6,\\n \\"pageSize\\": 10,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"currentPage\\": 1,\\n \\"totalPage\\": 1,\\n \\"resultObject\\": [\\n {\\n \\"variableId\\": 393314,\\n \\"value\\": \\"321311193502064288\\",\\n \\"title\\": \\"变量的title\\",\\n \\"identifier\\": \\"NAME_LIST\\",\\n \\"gmtModified\\": 1565701886000,\\n \\"gmtCreate\\": 1621578648000,\\n \\"id\\": 30\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '查询名单分页',
- ],
- 'DescribeOperatorList' => [
- 'summary' => '根据客户ID查询操作符映射列表。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '模版下载',
+ 'summary' => '模版下载。',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:19:05.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeTemplateDownload'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeTemplatePageList' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
+ ],
+ [
+ 'name' => 'currentPage',
+ 'in' => 'query',
+ 'schema' => ['description' => '当前页码。', 'type' => 'string', 'required' => false, 'example' => '1'],
+ ],
+ [
+ 'name' => 'pageSize',
+ 'in' => 'query',
+ 'schema' => ['description' => '每页大小,默认值为10', 'type' => 'string', 'required' => false, 'example' => '10'],
+ ],
+ [
+ 'name' => 'templateName',
+ 'in' => 'query',
+ 'schema' => ['description' => '事件名称', 'type' => 'string', 'required' => false, 'example' => '注册事件'],
+ ],
+ [
+ 'name' => 'templateStatus',
+ 'in' => 'query',
+ 'schema' => ['description' => '事件状态', 'type' => 'string', 'required' => false, 'example' => 'ONLINE'],
+ ],
+ [
+ 'name' => 'eventCodes',
+ 'in' => 'query',
+ 'schema' => ['description' => '事件code。', 'type' => 'string', 'required' => false, 'example' => 'd6_h1fe4cfa1g'],
+ ],
+ [
+ 'name' => 'templateType',
+ 'in' => 'query',
+ 'schema' => ['description' => '模板类型', 'type' => 'string', 'required' => false, 'example' => 'PUB_SERVICE'],
+ ],
+ [
+ 'name' => 'templateSearchItem',
+ 'in' => 'query',
+ 'schema' => ['description' => '事件模版搜索字段', 'type' => 'string', 'required' => false, 'example' => 'age'],
],
],
'responses' => [
@@ -29500,149 +21740,85 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
'resultObject' => [
- 'description' => '返回对象。',
+ 'description' => '返回对象',
'type' => 'array',
'items' => [
- 'description' => '返回对象。',
+ 'description' => '返回对象',
'type' => 'object',
'properties' => [
- 'fieldType' => [
- 'description' => '返回值类型。',
- 'type' => 'string',
- 'example' => 'STRING',
- ],
- 'operators' => [
- 'description' => '操作符列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '操作符列表。',
- 'type' => 'object',
- 'properties' => [
- 'hasRightVariable' => [
- 'description' => '是否含有右变量。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'code' => [
- 'description' => '操作符code。',
- 'type' => 'string',
- 'example' => 'equals',
- ],
- 'memo' => [
- 'description' => '描述。',
- 'type' => 'string',
- 'example' => '等于',
- ],
- 'name' => [
- 'description' => '操作符名称。',
- 'type' => 'string',
- 'example' => '等于',
- ],
- 'rightVariables' => [
- 'description' => '右变量对象。',
- 'type' => 'array',
- 'items' => [
- 'description' => '右变量对象。',
- 'type' => 'object',
- 'properties' => [
- 'fieldName' => [
- 'description' => '字段名称。',
- 'type' => 'string',
- 'example' => '年龄',
- ],
- 'fieldValue' => [
- 'description' => '字段值。',
- 'type' => 'string',
- 'example' => '20',
- ],
- 'fieldType' => [
- 'description' => '字段的类型。',
- 'type' => 'string',
- 'example' => 'INT',
- ],
- ],
- ],
- ],
- ],
- ],
- ],
+ 'id' => ['description' => '模板id。', 'type' => 'integer', 'format' => 'int64', 'example' => '497'],
+ 'gmtCreate' => ['description' => '创建时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1621578648000'],
+ 'gmtModified' => ['description' => '修改时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1565701886000'],
+ 'eventName' => ['description' => '事件名称。', 'type' => 'string', 'example' => '注册风险'],
+ 'eventCode' => ['description' => '事件编码', 'type' => 'string', 'example' => 'de_aszbjb7236'],
+ 'templateStatus' => ['description' => '事件状态', 'type' => 'string', 'example' => 'ONLINE'],
+ 'ruleCount' => ['description' => '策略数量', 'type' => 'integer', 'format' => 'int32', 'example' => '3'],
+ 'userCount' => ['description' => '客户授权数', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'templateName' => ['description' => '模板名称。', 'type' => 'string', 'example' => '注册事件'],
+ 'templateCode' => ['description' => '模板code。', 'type' => 'string', 'example' => 'register'],
+ 'templateType' => ['description' => '模版类型', 'type' => 'string', 'example' => 'PUB_SERVICE'],
+ 'description' => ['description' => '描述信息。', 'type' => 'string', 'example' => '描述'],
+ 'version' => ['description' => '版本号。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
],
],
],
+ 'requestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2'],
+ 'totalItem' => ['description' => '总条数', 'type' => 'integer', 'format' => 'int32', 'example' => '6'],
+ 'totalPage' => ['description' => '总页数', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'currentPage' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'pageSize' => ['description' => '每页大小,默认值为10', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"resultObject\\": [\\n {\\n \\"fieldType\\": \\"STRING\\",\\n \\"operators\\": [\\n {\\n \\"hasRightVariable\\": true,\\n \\"code\\": \\"equals\\",\\n \\"memo\\": \\"等于\\",\\n \\"name\\": \\"等于\\",\\n \\"rightVariables\\": [\\n {\\n \\"fieldName\\": \\"年龄\\",\\n \\"fieldValue\\": \\"20\\",\\n \\"fieldType\\": \\"INT\\"\\n }\\n ]\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '查询操作符映射列表',
- ],
- 'DescribeParamByEventCodes' => [
- 'summary' => '查询事件属性列表。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '根据事件名称查询事件列表',
+ 'summary' => '根据事件名称查询事件列表。',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:19:06.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeTemplatePageList'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": [\\n {\\n \\"id\\": 497,\\n \\"gmtCreate\\": 1621578648000,\\n \\"gmtModified\\": 1565701886000,\\n \\"eventName\\": \\"注册风险\\",\\n \\"eventCode\\": \\"de_aszbjb7236\\",\\n \\"templateStatus\\": \\"ONLINE\\",\\n \\"ruleCount\\": 3,\\n \\"userCount\\": 1,\\n \\"templateName\\": \\"注册事件\\",\\n \\"templateCode\\": \\"register\\",\\n \\"templateType\\": \\"PUB_SERVICE\\",\\n \\"description\\": \\"描述\\",\\n \\"version\\": 1\\n }\\n ],\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\",\\n \\"totalItem\\": 6,\\n \\"totalPage\\": 1,\\n \\"currentPage\\": 1,\\n \\"pageSize\\": 10\\n}","type":"json"}]',
+ ],
+ 'DescribeUsedService' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
- ],
- [
- 'name' => 'eventCodes',
- 'in' => 'query',
- 'schema' => [
- 'description' => '事件code。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'account_abuse_pro,account_abuse',
- ],
- ],
- [
- 'name' => 'parma',
- 'in' => 'query',
- 'schema' => [
- 'description' => '查询条件。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '标题/描述',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
@@ -29651,90 +21827,72 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
- 'resultObject' => [
- 'description' => '返回对象。',
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ 'records' => [
+ 'description' => '记录详情',
'type' => 'array',
'items' => [
- 'description' => '返回对象。',
+ 'description' => '记录详情。',
'type' => 'object',
'properties' => [
- 'code' => [
- 'description' => '返回码。',
- 'type' => 'string',
- 'example' => 'age',
- ],
- 'name' => [
- 'description' => '名称。',
- 'type' => 'string',
- 'example' => '年龄',
- ],
+ 'enName' => ['description' => '英文名称', 'type' => 'string', 'example' => 'account_abuse'],
+ 'name' => ['description' => '服务名称', 'type' => 'string', 'example' => '注册风险识别服务'],
+ 'serviceCode' => ['description' => '服务code', 'type' => 'string', 'example' => 'account_abuse'],
],
],
],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"resultObject\\": [\\n {\\n \\"code\\": \\"age\\",\\n \\"name\\": \\"年龄\\"\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '查询事件属性列表',
- ],
- 'DescribeRuleCountByUserId' => [
- 'summary' => '根据用户Id查询策略数。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '获取用户使用过服务列表',
+ 'summary' => '获取用户使用过服务列表。',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:23:07.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeUsedService'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"records\\": [\\n {\\n \\"enName\\": \\"account_abuse\\",\\n \\"name\\": \\"注册风险识别服务\\",\\n \\"serviceCode\\": \\"account_abuse\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'DescribeUserInfo' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-hangzhou',
- ],
- ],
- [
- 'name' => 'createType',
- 'in' => 'query',
- 'schema' => [
- 'description' => '创建类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'NORMAL',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
@@ -29742,104 +21900,83 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
+ 'success' => ['description' => '请求是否成功。', 'type' => 'boolean', 'example' => 'true'],
+ 'code' => ['description' => '状态码。', 'type' => 'string', 'example' => '200'],
+ 'message' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'The input parameter data is not valid. order_storage_company_num component not found'],
+ 'httpStatusCode' => ['description' => 'HTTP状态码。', 'type' => 'string', 'example' => '200'],
'resultObject' => [
'description' => '返回对象。',
'type' => 'object',
'properties' => [
- 'totalItem' => [
- 'description' => '总条数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '27',
- ],
- 'maxTotalItem' => [
- 'description' => '最大条数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
- 'limit' => [
- 'description' => '是否达到limit条件。取值:-**true**:是-**false**:否。',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
+ 'userId' => ['description' => '用户uid。', 'type' => 'integer', 'format' => 'int64', 'example' => '15633333331111'],
+ 'subId' => ['description' => '子账号ID。', 'type' => 'string', 'example' => '555666'],
+ 'userName' => ['description' => '用户名称。', 'type' => 'string', 'example' => 'root'],
+ 'clientIp' => ['description' => '客户端IP。', 'type' => 'string', 'example' => '192.168.0.1'],
],
],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"resultObject\\": {\\n \\"totalItem\\": 27,\\n \\"maxTotalItem\\": 100,\\n \\"limit\\": false\\n }\\n}","type":"json"}]',
- 'title' => '根据用户id查询策略数',
+ 'title' => '获取当前登录用户信息',
+ 'summary' => '获取当前登录用户信息。',
+ 'changeSet' => [
+ ['createdAt' => '2021-10-18T12:18:48.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeUserInfo'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"success\\": true,\\n \\"code\\": \\"200\\",\\n \\"message\\": \\"The input parameter data is not valid. order_storage_company_num component not found\\",\\n \\"httpStatusCode\\": \\"200\\",\\n \\"resultObject\\": {\\n \\"userId\\": 15633333331111,\\n \\"subId\\": \\"555666\\",\\n \\"userName\\": \\"root\\",\\n \\"clientIp\\": \\"192.168.0.1\\"\\n }\\n}","type":"json"}]',
],
'DescribeVariableBindDetail' => [
'summary' => '查询变量绑定信息。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'defineId',
'in' => 'query',
- 'schema' => [
- 'description' => '绑定的变量定义id。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '绑定的变量定义id。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10'],
],
[
'name' => 'id',
'in' => 'query',
- 'schema' => [
- 'description' => '变量主键id,如果是新增为空。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '3144',
- ],
+ 'schema' => ['description' => '变量主键id,如果是新增为空。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '3144'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
@@ -29848,52 +21985,18 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
'resultObject' => [
'description' => '返回对象。',
'type' => 'object',
'properties' => [
- 'defineId' => [
- 'description' => '变量定义id。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'eventCode' => [
- 'description' => '事件编码。',
- 'type' => 'string',
- 'example' => 'de_aszbjb7236',
- ],
- 'allowModify' => [
- 'description' => '是否允许修改,默认为false。',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'title' => [
- 'description' => '标题。',
- 'type' => 'string',
- 'example' => '变量title',
- ],
- 'description' => [
- 'description' => '变量描述信息。',
- 'type' => 'string',
- 'example' => '描述',
- ],
- 'defineTitle' => [
- 'description' => '变量定义标题。',
- 'type' => 'string',
- 'example' => 'IP所在地_城市Code',
- ],
- 'id' => [
- 'description' => '变量id。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '497',
- ],
+ 'defineId' => ['description' => '变量定义id。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
+ 'eventCode' => ['description' => '事件编码。', 'type' => 'string', 'example' => 'de_aszbjb7236'],
+ 'allowModify' => ['description' => '是否允许修改,默认为false。', 'type' => 'boolean', 'example' => 'false'],
+ 'title' => ['description' => '标题。', 'type' => 'string', 'example' => '变量title'],
+ 'description' => ['description' => '变量描述信息。', 'type' => 'string', 'example' => '描述'],
+ 'defineTitle' => ['description' => '变量定义标题。', 'type' => 'string', 'example' => 'IP所在地_城市Code'],
+ 'id' => ['description' => '变量id。', 'type' => 'integer', 'format' => 'int64', 'example' => '497'],
'relationRules' => [
'description' => '关联的策略列表。',
'type' => 'array',
@@ -29901,16 +22004,8 @@
'description' => '关联的策略列表。',
'type' => 'object',
'properties' => [
- 'key' => [
- 'description' => '策略略ruleId。',
- 'type' => 'string',
- 'example' => '104566',
- ],
- 'value' => [
- 'description' => '策略名称。',
- 'type' => 'string',
- 'example' => '营销风险识别',
- ],
+ 'key' => ['description' => '策略略ruleId。', 'type' => 'string', 'example' => '104566'],
+ 'value' => ['description' => '策略名称。', 'type' => 'string', 'example' => '营销风险识别'],
],
],
],
@@ -29921,85 +22016,71 @@
'description' => '绑定的参数。',
'type' => 'object',
'properties' => [
- 'eventFieldName' => [
- 'description' => '事件字段name。',
- 'type' => 'string',
- 'example' => 'ip',
- ],
- 'variableName' => [
- 'description' => '绑定的变量name。',
- 'type' => 'string',
- 'example' => 'ip',
- ],
- 'required' => [
- 'description' => '是否必填,默认false。',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
+ 'eventFieldName' => ['description' => '事件字段name。', 'type' => 'string', 'example' => 'ip'],
+ 'variableName' => ['description' => '绑定的变量name。', 'type' => 'string', 'example' => 'ip'],
+ 'required' => ['description' => '是否必填,默认false。', 'type' => 'boolean', 'example' => 'false'],
],
],
],
],
],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"resultObject\\": {\\n \\"defineId\\": 10,\\n \\"eventCode\\": \\"de_aszbjb7236\\",\\n \\"allowModify\\": false,\\n \\"title\\": \\"变量title\\",\\n \\"description\\": \\"描述\\",\\n \\"defineTitle\\": \\"IP所在地_城市Code\\",\\n \\"id\\": 497,\\n \\"relationRules\\": [\\n {\\n \\"key\\": \\"104566\\",\\n \\"value\\": \\"营销风险识别\\"\\n }\\n ],\\n \\"params\\": [\\n {\\n \\"eventFieldName\\": \\"ip\\",\\n \\"variableName\\": \\"ip\\",\\n \\"required\\": false\\n }\\n ]\\n }\\n}","type":"json"}]',
'title' => '查询变量绑定信息',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:27:47.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVariableBindDetail'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"resultObject\\": {\\n \\"defineId\\": 10,\\n \\"eventCode\\": \\"de_aszbjb7236\\",\\n \\"allowModify\\": false,\\n \\"title\\": \\"变量title\\",\\n \\"description\\": \\"描述\\",\\n \\"defineTitle\\": \\"IP所在地_城市Code\\",\\n \\"id\\": 497,\\n \\"relationRules\\": [\\n {\\n \\"key\\": \\"104566\\",\\n \\"value\\": \\"营销风险识别\\"\\n }\\n ],\\n \\"params\\": [\\n {\\n \\"eventFieldName\\": \\"ip\\",\\n \\"variableName\\": \\"ip\\",\\n \\"required\\": false\\n }\\n ]\\n }\\n}","type":"json"}]',
],
'DescribeVariableDetail' => [
'summary' => '查询变量详情。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'id',
'in' => 'query',
- 'schema' => [
- 'description' => '变量id。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '3144',
- ],
+ 'schema' => ['description' => '变量id。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '3144'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
@@ -30008,11 +22089,7 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
'resultObject' => [
'description' => '返回对象。',
'type' => 'object',
@@ -30021,269 +22098,127 @@
'description' => '基本属性。',
'type' => 'object',
'properties' => [
- 'typeDesc' => [
- 'description' => '分类描述。',
- 'type' => 'string',
- 'example' => '事件字段',
- ],
- 'invokeKey' => [
- 'description' => '调用key。',
- 'type' => 'string',
- 'example' => 'onlineScamDetectionTags_v',
- ],
- 'lastModifiedOperator' => [
- 'description' => '最后修改者。',
- 'type' => 'string',
- 'example' => 'root',
- ],
- 'showOrder' => [
- 'description' => '展示顺序。',
- 'type' => 'string',
- 'example' => '10',
- ],
- 'yLabel' => [
- 'description' => '数据分布展示纵坐标label。',
- 'type' => 'string',
- 'example' => '10',
- ],
- 'title' => [
- 'description' => '标题。',
- 'type' => 'string',
- 'example' => '诈骗引流识别_标签',
- ],
- 'dataDisplay' => [
- 'description' => '数据分布展示,json格式。',
- 'type' => 'string',
- 'example' => '{}',
- ],
+ 'typeDesc' => ['description' => '分类描述。', 'type' => 'string', 'example' => '事件字段'],
+ 'invokeKey' => ['description' => '调用key。', 'type' => 'string', 'example' => 'onlineScamDetectionTags_v'],
+ 'lastModifiedOperator' => ['description' => '最后修改者。', 'type' => 'string', 'example' => 'root'],
+ 'showOrder' => ['description' => '展示顺序。', 'type' => 'string', 'example' => '10'],
+ 'yLabel' => ['description' => '数据分布展示纵坐标label。', 'type' => 'string', 'example' => '10'],
+ 'title' => ['description' => '标题。', 'type' => 'string', 'example' => '诈骗引流识别_标签'],
+ 'dataDisplay' => ['description' => '数据分布展示,json格式。', 'type' => 'string', 'example' => '{}'],
'chargingMode' => [
'description' => '收费模式。',
'type' => 'string',
- 'enumValueTitles' => [
- 'PAY_PER_VIEW' => '收费',
- 'FREE' => '免费',
- ],
+ 'enumValueTitles' => ['PAY_PER_VIEW' => '收费', 'FREE' => '免费'],
'example' => 'FREE',
],
'frontAllowBind' => [
'description' => '前台允许绑定。',
'type' => 'string',
- 'enumValueTitles' => [
- 'DISABLE' => '不允许',
- 'ENABLE' => '允许',
- ],
- 'example' => 'ENABLE',
- ],
- 'id' => [
- 'description' => '主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '3144',
- ],
- 'inputs' => [
- 'description' => '输入参数。',
- 'type' => 'string',
- 'example' => 'ip,age,mobile',
- ],
- 'chargingModeDesc' => [
- 'description' => '收费模式描述。',
- 'type' => 'string',
- 'example' => '免费',
- ],
- 'outputs' => [
- 'description' => '输出。',
- 'type' => 'string',
- 'example' => 'STRING',
- ],
- 'invokeRt' => [
- 'description' => '调用rt,单位,毫秒。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'sourceDesc' => [
- 'description' => '来源描述。',
- 'type' => 'string',
- 'example' => '风险识别',
- ],
- 'xLabel' => [
- 'description' => '数据分布展示横坐标label。',
- 'type' => 'string',
- 'example' => '10',
- ],
- 'gmtModified' => [
- 'description' => '修改时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1698143758000',
- ],
- 'invokeTimes' => [
- 'description' => '调用次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '100000',
- ],
- 'name' => [
- 'description' => '变量name。',
- 'type' => 'string',
- 'example' => '__onlineScamDetectionTags__',
- ],
- 'type' => [
- 'description' => '类型。',
- 'type' => 'string',
- 'example' => 'NATIVE',
- ],
- 'invokeSuccessRate' => [
- 'description' => '调用成功率。',
- 'type' => 'string',
- 'example' => '100',
- ],
- 'inputRequired' => [
- 'description' => '必须的参数'."\n"
- .' '."\n"
- .' 当inputRequired=__all__时,表示所有参数必须'."\n"
- .' 当inputRequired=__one__时,表示只要一个输入即可'."\n"
- .' 所需字段用逗号间隔,比如:mobile,ip,email。',
- 'type' => 'string',
- 'example' => '__one__',
- ],
- 'deductionFactor' => [
- 'description' => '抵扣系数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'status' => [
- 'description' => '状态。',
- 'type' => 'string',
+ 'enumValueTitles' => ['DISABLE' => '不允许', 'ENABLE' => '允许'],
'example' => 'ENABLE',
],
+ 'id' => ['description' => '主键ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '3144'],
+ 'inputs' => ['description' => '输入参数。', 'type' => 'string', 'example' => 'ip,age,mobile'],
+ 'chargingModeDesc' => ['description' => '收费模式描述。', 'type' => 'string', 'example' => '免费'],
+ 'outputs' => ['description' => '输出。', 'type' => 'string', 'example' => 'STRING'],
+ 'invokeRt' => ['description' => '调用rt,单位,毫秒。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'sourceDesc' => ['description' => '来源描述。', 'type' => 'string', 'example' => '风险识别'],
+ 'xLabel' => ['description' => '数据分布展示横坐标label。', 'type' => 'string', 'example' => '10'],
+ 'gmtModified' => ['description' => '修改时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1698143758000'],
+ 'invokeTimes' => ['description' => '调用次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '100000'],
+ 'name' => ['description' => '变量name。', 'type' => 'string', 'example' => '__onlineScamDetectionTags__'],
+ 'type' => ['description' => '类型。', 'type' => 'string', 'example' => 'NATIVE'],
+ 'invokeSuccessRate' => ['description' => '调用成功率。', 'type' => 'string', 'example' => '100'],
+ 'inputRequired' => ['description' => '必须的参数'."\n"
+ .' '."\n"
+ .' 当inputRequired=__all__时,表示所有参数必须'."\n"
+ .' 当inputRequired=__one__时,表示只要一个输入即可'."\n"
+ .' 所需字段用逗号间隔,比如:mobile,ip,email。', 'type' => 'string', 'example' => '__one__'],
+ 'deductionFactor' => ['description' => '抵扣系数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'status' => ['description' => '状态。', 'type' => 'string', 'example' => 'ENABLE'],
'allowBind' => [
'description' => '是否允许变量绑定。',
'type' => 'string',
- 'enumValueTitles' => [
- 'DISABLE' => '不可用',
- 'ALL' => '全部',
- 'ENABLE' => '可用',
- 'PART_ENABLE' => '部分可用',
- ],
+ 'enumValueTitles' => ['DISABLE' => '不可用', 'ALL' => '全部', 'ENABLE' => '可用', 'PART_ENABLE' => '部分可用'],
'example' => 'ENABLE',
],
- 'gmtCreate' => [
- 'description' => '创建时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1698143758000',
- ],
- 'outputsDesc' => [
- 'description' => '输出描述。',
- 'type' => 'string',
- 'example' => '字符串',
- ],
- 'creator' => [
- 'description' => '创建人。',
- 'type' => 'string',
- 'example' => '176020',
- ],
- 'inputsDesc' => [
- 'description' => '输入参数描述。',
- 'type' => 'string',
- 'example' => 'ip,年龄,手机号',
- ],
- 'dataThreshold' => [
- 'description' => '数据有效区间,左闭右闭。',
- 'type' => 'string',
- 'example' => '(0,10)',
- ],
- 'description' => [
- 'description' => '描述。',
- 'type' => 'string',
- 'example' => '描述',
- ],
- 'source' => [
- 'description' => '来源。',
- 'type' => 'string',
- 'example' => 'SAF',
- ],
+ 'gmtCreate' => ['description' => '创建时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1698143758000'],
+ 'outputsDesc' => ['description' => '输出描述。', 'type' => 'string', 'example' => '字符串'],
+ 'creator' => ['description' => '创建人。', 'type' => 'string', 'example' => '176020'],
+ 'inputsDesc' => ['description' => '输入参数描述。', 'type' => 'string', 'example' => 'ip,年龄,手机号'],
+ 'dataThreshold' => ['description' => '数据有效区间,左闭右闭。', 'type' => 'string', 'example' => '(0,10)'],
+ 'description' => ['description' => '描述。', 'type' => 'string', 'example' => '描述'],
+ 'source' => ['description' => '来源。', 'type' => 'string', 'example' => 'SAF'],
'sceneDesc' => [
'description' => '适用场景描述。',
'type' => 'array',
- 'items' => [
- 'description' => '适用场景描述。',
- 'type' => 'string',
- 'example' => '通用',
- ],
+ 'items' => ['description' => '适用场景描述。', 'type' => 'string', 'example' => '通用'],
],
'scene' => [
'description' => '适用场景code。',
'type' => 'array',
- 'items' => [
- 'description' => '适用场景code。',
- 'type' => 'string',
- 'example' => 'suitable_for_all',
- ],
+ 'items' => ['description' => '适用场景code。', 'type' => 'string', 'example' => 'suitable_for_all'],
],
'supportRegions' => [
'description' => '支持的地域列表。',
'type' => 'array',
- 'items' => [
- 'description' => '支持的地域列表。',
- 'type' => 'string',
- 'example' => 'cn',
- ],
+ 'items' => ['description' => '支持的地域列表。', 'type' => 'string', 'example' => 'cn'],
],
],
],
],
],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"resultObject\\": {\\n \\"baseInfo\\": {\\n \\"typeDesc\\": \\"事件字段\\",\\n \\"invokeKey\\": \\"onlineScamDetectionTags_v\\",\\n \\"lastModifiedOperator\\": \\"root\\",\\n \\"showOrder\\": \\"10\\",\\n \\"yLabel\\": \\"10\\",\\n \\"title\\": \\"诈骗引流识别_标签\\",\\n \\"dataDisplay\\": \\"{}\\",\\n \\"chargingMode\\": \\"FREE\\",\\n \\"frontAllowBind\\": \\"ENABLE\\",\\n \\"id\\": 3144,\\n \\"inputs\\": \\"ip,age,mobile\\",\\n \\"chargingModeDesc\\": \\"免费\\",\\n \\"outputs\\": \\"STRING\\",\\n \\"invokeRt\\": 10,\\n \\"sourceDesc\\": \\"风险识别\\",\\n \\"xLabel\\": \\"10\\",\\n \\"gmtModified\\": 1698143758000,\\n \\"invokeTimes\\": 100000,\\n \\"name\\": \\"__onlineScamDetectionTags__\\",\\n \\"type\\": \\"NATIVE\\",\\n \\"invokeSuccessRate\\": \\"100\\",\\n \\"inputRequired\\": \\"__one__\\",\\n \\"deductionFactor\\": 10,\\n \\"status\\": \\"ENABLE\\",\\n \\"allowBind\\": \\"ENABLE\\",\\n \\"gmtCreate\\": 1698143758000,\\n \\"outputsDesc\\": \\"字符串\\",\\n \\"creator\\": \\"176020\\",\\n \\"inputsDesc\\": \\"ip,年龄,手机号\\",\\n \\"dataThreshold\\": \\"(0,10)\\",\\n \\"description\\": \\"描述\\",\\n \\"source\\": \\"SAF\\",\\n \\"sceneDesc\\": [\\n \\"通用\\"\\n ],\\n \\"scene\\": [\\n \\"suitable_for_all\\"\\n ],\\n \\"supportRegions\\": [\\n \\"cn\\"\\n ]\\n }\\n }\\n}","type":"json"}]',
'title' => '变量详情查询',
- ],
- 'DescribeVariableFee' => [
- 'summary' => '查询变量收费信息。',
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:27:47.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVariableDetail'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"resultObject\\": {\\n \\"baseInfo\\": {\\n \\"typeDesc\\": \\"事件字段\\",\\n \\"invokeKey\\": \\"onlineScamDetectionTags_v\\",\\n \\"lastModifiedOperator\\": \\"root\\",\\n \\"showOrder\\": \\"10\\",\\n \\"yLabel\\": \\"10\\",\\n \\"title\\": \\"诈骗引流识别_标签\\",\\n \\"dataDisplay\\": \\"{}\\",\\n \\"chargingMode\\": \\"FREE\\",\\n \\"frontAllowBind\\": \\"ENABLE\\",\\n \\"id\\": 3144,\\n \\"inputs\\": \\"ip,age,mobile\\",\\n \\"chargingModeDesc\\": \\"免费\\",\\n \\"outputs\\": \\"STRING\\",\\n \\"invokeRt\\": 10,\\n \\"sourceDesc\\": \\"风险识别\\",\\n \\"xLabel\\": \\"10\\",\\n \\"gmtModified\\": 1698143758000,\\n \\"invokeTimes\\": 100000,\\n \\"name\\": \\"__onlineScamDetectionTags__\\",\\n \\"type\\": \\"NATIVE\\",\\n \\"invokeSuccessRate\\": \\"100\\",\\n \\"inputRequired\\": \\"__one__\\",\\n \\"deductionFactor\\": 10,\\n \\"status\\": \\"ENABLE\\",\\n \\"allowBind\\": \\"ENABLE\\",\\n \\"gmtCreate\\": 1698143758000,\\n \\"outputsDesc\\": \\"字符串\\",\\n \\"creator\\": \\"176020\\",\\n \\"inputsDesc\\": \\"ip,年龄,手机号\\",\\n \\"dataThreshold\\": \\"(0,10)\\",\\n \\"description\\": \\"描述\\",\\n \\"source\\": \\"SAF\\",\\n \\"sceneDesc\\": [\\n \\"通用\\"\\n ],\\n \\"scene\\": [\\n \\"suitable_for_all\\"\\n ],\\n \\"supportRegions\\": [\\n \\"cn\\"\\n ]\\n }\\n }\\n}","type":"json"}]',
+ ],
+ 'DescribeVariableFee' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
'name' => 'ids',
@@ -30292,13 +22227,7 @@
'schema' => [
'description' => '变量id。',
'type' => 'array',
- 'items' => [
- 'description' => '变量id。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '23',
- ],
+ 'items' => ['description' => '变量id。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '23'],
'required' => true,
'maxItems' => 201,
],
@@ -30310,148 +22239,235 @@
'schema' => [
'type' => 'object',
'properties' => [
+ 'resultObject' => ['description' => '返回对象。', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'title' => '查询变量收费信息',
+ 'summary' => '查询变量收费信息。',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:27:47.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVariableFee'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'DescribeVariableList' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => ['operationType' => 'get'],
+ 'parameters' => [
+ [
+ 'name' => 'Lang',
+ 'in' => 'query',
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
+ ],
+ [
+ 'name' => 'currentPage',
+ 'in' => 'query',
+ 'schema' => ['description' => '当前页码。', 'type' => 'string', 'required' => false, 'example' => '1'],
+ ],
+ [
+ 'name' => 'pageSize',
+ 'in' => 'query',
+ 'schema' => ['description' => '每页大小,默认值为10。', 'type' => 'string', 'required' => false, 'example' => '10'],
+ ],
+ [
+ 'name' => 'type',
+ 'in' => 'query',
+ 'schema' => ['description' => '类型。', 'type' => 'string', 'required' => false, 'example' => 'IDENTIFY_SERVICE'],
+ ],
+ [
+ 'name' => 'value',
+ 'in' => 'query',
+ 'schema' => ['description' => '模糊查询的值。', 'type' => 'string', 'required' => false, 'example' => '注册'],
+ ],
+ [
+ 'name' => 'refObjId',
+ 'in' => 'query',
+ 'schema' => ['description' => '关联事件id。', 'type' => 'string', 'required' => false, 'example' => 'de_avypfd8253'],
+ ],
+ [
+ 'name' => 'sourceType',
+ 'in' => 'query',
+ 'schema' => ['description' => '来源类型。', 'type' => 'string', 'required' => false, 'example' => 'SAF'],
+ ],
+ [
+ 'name' => 'regId',
+ 'in' => 'query',
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
+ ],
+ [
+ 'name' => 'createType',
+ 'in' => 'query',
+ 'schema' => ['description' => '创建类型。', 'type' => 'string', 'required' => false, 'example' => 'NORMAL'],
+ ],
+ [
+ 'name' => 'typesStr',
+ 'in' => 'query',
+ 'schema' => ['description' => '类型json数组字符串。', 'type' => 'string', 'required' => false, 'example' => '[\\"coupon_abuse_detection\\"]'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'headers' => [],
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'totalItem' => ['description' => '总条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '27'],
+ 'pageSize' => ['description' => '每页大小,默认值为10。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ 'currentPage' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'totalPage' => ['description' => '总页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '3'],
'resultObject' => [
'description' => '返回对象。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '返回对象。',
+ 'type' => 'object',
+ 'properties' => [
+ 'capacity' => ['description' => '容量。', 'type' => 'integer', 'format' => 'int64', 'example' => '100000'],
+ 'extendInfo' => ['description' => '扩展信息。', 'type' => 'object', 'example' => '暂无'],
+ 'leftCapacity' => ['description' => '剩余容量。', 'type' => 'integer', 'format' => 'int64', 'example' => '100000'],
+ 'type' => ['description' => '变量类型。', 'type' => 'string', 'example' => 'NATIVE'],
+ 'title' => ['description' => '标题。', 'type' => 'string', 'example' => '设备风险识别_标签'],
+ 'userId' => ['description' => '数据归属用户uid。', 'type' => 'integer', 'format' => 'int64', 'example' => '100000'],
+ 'gmtCreate' => ['description' => '创建时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1621578648000'],
+ 'id' => ['description' => '变量id。', 'type' => 'integer', 'format' => 'int64', 'example' => '497'],
+ 'defineId' => ['description' => '变量定义id。', 'type' => 'string', 'example' => '10'],
+ 'refObjId' => ['description' => '变量关联事件。', 'type' => 'string', 'example' => 'de_agdxgz0246'],
+ 'refObjName' => ['description' => '变量关联事件名称。', 'type' => 'string', 'example' => '注册事件'],
+ 'description' => ['description' => '描述信息。', 'type' => 'string', 'example' => '变量描述'],
+ 'outputsType' => ['description' => '变量输出类型。', 'type' => 'string', 'example' => 'STRING'],
+ 'gmtModified' => ['description' => '修改时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1565701886000'],
+ 'refObjType' => ['description' => '变量关联类型。', 'type' => 'string', 'example' => 'EVENT'],
+ 'sourceType' => ['description' => '来源类型。', 'type' => 'string', 'example' => 'SAF'],
+ 'name' => ['description' => '变量name。', 'type' => 'string', 'example' => '__ipLocationCityCode__'],
+ ],
+ ],
],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '查询变量收费信息',
+ 'title' => '查询变量列表',
+ 'summary' => '查询变量详情。',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:28:04.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVariableList'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"totalItem\\": 27,\\n \\"pageSize\\": 10,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"currentPage\\": 1,\\n \\"totalPage\\": 3,\\n \\"resultObject\\": [\\n {\\n \\"capacity\\": 100000,\\n \\"extendInfo\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"leftCapacity\\": 100000,\\n \\"type\\": \\"NATIVE\\",\\n \\"title\\": \\"设备风险识别_标签\\",\\n \\"userId\\": 100000,\\n \\"gmtCreate\\": 1621578648000,\\n \\"id\\": 497,\\n \\"defineId\\": \\"10\\",\\n \\"refObjId\\": \\"de_agdxgz0246\\",\\n \\"refObjName\\": \\"注册事件\\",\\n \\"description\\": \\"变量描述\\",\\n \\"outputsType\\": \\"STRING\\",\\n \\"gmtModified\\": 1565701886000,\\n \\"refObjType\\": \\"EVENT\\",\\n \\"sourceType\\": \\"SAF\\",\\n \\"name\\": \\"__ipLocationCityCode__\\"\\n }\\n ]\\n}","type":"json"}]',
],
'DescribeVariableMarketList' => [
'summary' => '查询变量定义。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'scenesStr',
'in' => 'query',
- 'schema' => [
- 'description' => '场景。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[\\"coupon_abuse_detection\\"]'."\n",
- ],
+ 'schema' => ['description' => '场景。', 'type' => 'string', 'required' => false, 'example' => '[\\"coupon_abuse_detection\\"]'."\n"],
],
[
'name' => 'currentPage',
'in' => 'query',
- 'schema' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'pageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '每页大小,默认值为10。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '每页大小,默认值为10。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
[
'name' => 'queryContent',
'in' => 'query',
- 'schema' => [
- 'description' => '查询内容,模糊查询内容'."\n"
- ."\n"
- .' 标题/描述。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '手机号',
- ],
+ 'schema' => ['description' => '查询内容,模糊查询内容'."\n"
+ ."\n"
+ .' 标题/描述。', 'type' => 'string', 'required' => false, 'example' => '手机号'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
'name' => 'chargingMode',
'in' => 'query',
- 'schema' => [
- 'description' => '收费模式。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'FREE',
- ],
+ 'schema' => ['description' => '收费模式。', 'type' => 'string', 'required' => false, 'example' => 'FREE'],
],
[
'name' => 'title',
'in' => 'query',
- 'schema' => [
- 'description' => '标题。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '设备风险识别_标签',
- ],
+ 'schema' => ['description' => '标题。', 'type' => 'string', 'required' => false, 'example' => '设备风险识别_标签'],
],
[
'name' => 'source',
'in' => 'query',
- 'schema' => [
- 'description' => '来源。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'SAF',
- ],
+ 'schema' => ['description' => '来源。', 'type' => 'string', 'required' => false, 'example' => 'SAF'],
],
[
'name' => 'paging',
'in' => 'query',
- 'schema' => [
- 'description' => '是否分页标识,默认true。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '是否分页标识,默认true。', 'type' => 'string', 'required' => false, 'example' => 'true'],
],
],
'responses' => [
@@ -30460,138 +22476,90 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'totalItem' => [
- 'description' => '总条数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '6',
- ],
- 'resultObject' => [
- 'description' => '返回对象。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
- 'totalPage' => [
- 'description' => '总页数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '9',
- ],
- 'pageSize' => [
- 'description' => '每页大小,默认值为10。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'currentPage' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'totalItem' => ['description' => '总条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '6'],
+ 'resultObject' => ['description' => '返回对象。', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ 'totalPage' => ['description' => '总页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '9'],
+ 'pageSize' => ['description' => '每页大小,默认值为10。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'currentPage' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"totalItem\\": 6,\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"totalPage\\": 9,\\n \\"pageSize\\": 10,\\n \\"currentPage\\": 1\\n}","type":"json"}]',
'title' => '变量定义列表查询',
+ 'changeSet' => [
+ ['createdAt' => '2022-06-21T09:25:04.000Z', 'description' => '请求参数发生变更'],
+ ['createdAt' => '2022-05-11T07:28:11.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVariableMarketList'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"totalItem\\": 6,\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"totalPage\\": 9,\\n \\"pageSize\\": 10,\\n \\"currentPage\\": 1\\n}","type":"json"}]',
],
'DescribeVariableSceneList' => [
'summary' => '查询配置信息。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'currentPage',
'in' => 'query',
- 'schema' => [
- 'description' => '当前页码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '当前页码。', 'type' => 'string', 'required' => false, 'example' => '1'],
],
[
'name' => 'pageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '每页大小,默认值为10。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '每页大小,默认值为10。', 'type' => 'string', 'required' => false, 'example' => '10'],
],
[
'name' => 'bizType',
'in' => 'query',
- 'schema' => [
- 'description' => '业务类型。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'variable_scene',
- ],
+ 'schema' => ['description' => '业务类型。', 'type' => 'string', 'required' => true, 'example' => 'variable_scene'],
],
[
'name' => 'configKey',
'in' => 'query',
- 'schema' => [
- 'description' => '配置key。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'account_abuse_detection',
- ],
+ 'schema' => ['description' => '配置key。', 'type' => 'string', 'required' => false, 'example' => 'account_abuse_detection'],
],
[
'name' => 'paging',
'in' => 'query',
- 'schema' => [
- 'description' => '是否分页标识,默认true。',
- 'type' => 'boolean',
- 'required' => true,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '是否分页标识,默认true。', 'type' => 'boolean', 'required' => true, 'example' => 'true'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
@@ -30600,35 +22568,11 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'totalItem' => [
- 'description' => '总条数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '6',
- ],
- 'pageSize' => [
- 'description' => '每页大小,默认值为10。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
- 'currentPage' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'totalPage' => [
- 'description' => '总页数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'totalItem' => ['description' => '总条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '6'],
+ 'pageSize' => ['description' => '每页大小,默认值为10。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ 'currentPage' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'totalPage' => ['description' => '总页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'resultObject' => [
'description' => '返回对象。',
'type' => 'array',
@@ -30636,351 +22580,240 @@
'description' => '返回对象。',
'type' => 'object',
'properties' => [
- 'lastModifiedOperator' => [
- 'description' => '最后修改者。',
- 'type' => 'string',
- 'example' => '1519714049632764',
- ],
- 'creator' => [
- 'description' => '创建人。',
- 'type' => 'string',
- 'example' => '1519714049632764',
- ],
- 'configKey' => [
- 'description' => '配置项key。',
- 'type' => 'string',
- 'example' => 'account_abuse_detection',
- ],
- 'description' => [
- 'description' => '描述信息。',
- 'type' => 'string',
- 'example' => '配置描述信息',
- ],
- 'gmtModified' => [
- 'description' => '修改时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1565701886000',
- ],
- 'status' => [
- 'description' => '状态。',
- 'type' => 'string',
- 'example' => 'ENABLE',
- ],
- 'configValue' => [
- 'description' => '配置项值。',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'gmtCreate' => [
- 'description' => '创建时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1621578648000',
- ],
- 'bizType' => [
- 'description' => '业务分类标识。',
- 'type' => 'string',
- 'example' => 'variable_scene',
- ],
- 'id' => [
- 'description' => '配置主键id。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '497',
- ],
+ 'lastModifiedOperator' => ['description' => '最后修改者。', 'type' => 'string', 'example' => '1519714049632764'],
+ 'creator' => ['description' => '创建人。', 'type' => 'string', 'example' => '1519714049632764'],
+ 'configKey' => ['description' => '配置项key。', 'type' => 'string', 'example' => 'account_abuse_detection'],
+ 'description' => ['description' => '描述信息。', 'type' => 'string', 'example' => '配置描述信息'],
+ 'gmtModified' => ['description' => '修改时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1565701886000'],
+ 'status' => ['description' => '状态。', 'type' => 'string', 'example' => 'ENABLE'],
+ 'configValue' => ['description' => '配置项值。', 'type' => 'string', 'example' => '1'],
+ 'gmtCreate' => ['description' => '创建时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1621578648000'],
+ 'bizType' => ['description' => '业务分类标识。', 'type' => 'string', 'example' => 'variable_scene'],
+ 'id' => ['description' => '配置主键id。', 'type' => 'integer', 'format' => 'int64', 'example' => '497'],
],
],
],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"totalItem\\": 6,\\n \\"pageSize\\": 10,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"currentPage\\": 1,\\n \\"totalPage\\": 1,\\n \\"resultObject\\": [\\n {\\n \\"lastModifiedOperator\\": \\"1519714049632764\\",\\n \\"creator\\": \\"1519714049632764\\",\\n \\"configKey\\": \\"account_abuse_detection\\",\\n \\"description\\": \\"配置描述信息\\",\\n \\"gmtModified\\": 1565701886000,\\n \\"status\\": \\"ENABLE\\",\\n \\"configValue\\": \\"1\\",\\n \\"gmtCreate\\": 1621578648000,\\n \\"bizType\\": \\"variable_scene\\",\\n \\"id\\": 497\\n }\\n ]\\n}","type":"json"}]',
'title' => '查询配置信息',
- ],
- 'ImportNameList' => [
- 'summary' => '创建或导入名单。',
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:28:11.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVariableSceneList'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"totalItem\\": 6,\\n \\"pageSize\\": 10,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"currentPage\\": 1,\\n \\"totalPage\\": 1,\\n \\"resultObject\\": [\\n {\\n \\"lastModifiedOperator\\": \\"1519714049632764\\",\\n \\"creator\\": \\"1519714049632764\\",\\n \\"configKey\\": \\"account_abuse_detection\\",\\n \\"description\\": \\"配置描述信息\\",\\n \\"gmtModified\\": 1565701886000,\\n \\"status\\": \\"ENABLE\\",\\n \\"configValue\\": \\"1\\",\\n \\"gmtCreate\\": 1621578648000,\\n \\"bizType\\": \\"variable_scene\\",\\n \\"id\\": 497\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'DescribeVariableVersionDetail' => [
+ 'summary' => '累计变量版本详情查询。',
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
+ 'operationType' => 'read',
+ 'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREsafXYIHRP',
- ],
+ 'abilityTreeNodes' => ['FEATUREsafBCGX2Z'],
+ 'tenantRelevance' => 'tenant',
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
- ],
- [
- 'name' => 'variableId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '变量id。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '393314',
- ],
- ],
- [
- 'name' => 'title',
- 'in' => 'query',
- 'schema' => [
- 'description' => '标题。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '变量title',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'description',
+ 'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '描述信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'description',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'importType',
+ 'name' => 'type',
'in' => 'query',
- 'schema' => [
- 'description' => '文档导入类型:'."\n"
- ."\n\n"
- .'INPUT:文本输入'."\n"
- .'CSV:CSV上传'."\n"
- .'NONE:暂不上传。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'CSV',
- ],
+ 'schema' => ['description' => '类型。', 'type' => 'string', 'required' => false, 'example' => 'VELOCITY'],
],
[
- 'name' => 'data',
- 'in' => 'query',
- 'schema' => [
- 'description' => '导入名称列表。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'aa\\nbb\\ncc',
- ],
- ],
- [
- 'name' => 'regId',
+ 'name' => 'objectId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '关联变量id。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '3434'],
],
[
- 'name' => 'createType',
+ 'name' => 'objectCode',
'in' => 'query',
- 'schema' => [
- 'description' => '创建类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'NORMAL',
- ],
+ 'schema' => ['description' => '关联变量name。', 'type' => 'string', 'required' => false, 'example' => 'dHSi2zf5bb8'],
],
[
- 'name' => 'nameListType',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'nameListType。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'accountId',
- ],
- ],
- [
- 'name' => 'memo',
+ 'name' => 'version',
'in' => 'query',
- 'schema' => [
- 'description' => '描述。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
+ 'schema' => ['description' => '版本。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '2'],
],
],
'responses' => [
200 => [
- 'headers' => [],
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
'resultObject' => [
'description' => '返回对象。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
+ 'type' => 'object',
+ 'properties' => [
+ 'id' => ['description' => '版本主键ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '3434'],
+ 'eventCodes' => ['description' => '事件code。', 'type' => 'string', 'example' => 'de_awkhwh0314'],
+ 'velocityFC' => ['description' => '累计指标处理函数。', 'type' => 'string', 'example' => 'COUNT'],
+ 'title' => ['description' => '标题。', 'type' => 'string', 'example' => '累计个数'],
+ 'description' => ['description' => '变量描述信息。', 'type' => 'string', 'example' => '变量描述'],
+ 'timeType' => ['description' => '时间片类型。', 'type' => 'string', 'example' => 'CURRENT'],
+ 'twCount' => ['description' => '时间片个数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'velocityTW' => ['description' => '累计指标时间窗口。', 'type' => 'string', 'example' => 'MONTH_1'],
+ 'historyValueType' => ['description' => '历史值参数类型。', 'type' => 'string', 'example' => 'COUNT'],
+ 'subject' => ['description' => '主属性(多个逗号分隔,最多5个,来源自查询事件属性列表code)。', 'type' => 'string', 'example' => 'age'],
+ 'object' => ['description' => '从属性(单选,来源自查询事件属性列表code)。', 'type' => 'string', 'example' => 'name'],
+ 'dataVersion' => ['description' => '数据版本。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'condition' => ['description' => '条件值。', 'type' => 'string', 'example' => '{"currentId":1,"deepCount":0,"list":[{"currentId":2,"deepCount":1,"left":{"code":"accountId","fieldType":"STRING","functionName":"","hasRightVariable":false,"name":"accountId"},"operatorCode":"isNotEmptyWrapper","parentId":1,"right":{"code":"\'A\\nB\\nC\'","functionName":"","name":"","rightVariableType":"constant"}}],"parentId":0,"relationship":"and"}'],
+ 'topN' => ['description' => 'topN。', 'type' => 'integer', 'format' => 'int64', 'example' => 'topN累计'],
+ 'global' => ['description' => '全局累计。暂时不对外。', 'type' => 'boolean', 'example' => 'false'],
+ 'status' => ['description' => '状态。', 'type' => 'string', 'example' => 'ENABLE'],
+ ],
],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '创建或者导入名单',
- ],
- 'ModifyCustVariable' => [
- 'summary' => '编辑累计变量。',
- 'methods' => [
- 'post',
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '累计变量版本详情',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:CompareRule',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"resultObject\\": {\\n \\"id\\": 3434,\\n \\"eventCodes\\": \\"de_awkhwh0314\\",\\n \\"velocityFC\\": \\"COUNT\\",\\n \\"title\\": \\"累计个数\\",\\n \\"description\\": \\"变量描述\\",\\n \\"timeType\\": \\"CURRENT\\",\\n \\"twCount\\": 1,\\n \\"velocityTW\\": \\"MONTH_1\\",\\n \\"historyValueType\\": \\"COUNT\\",\\n \\"subject\\": \\"age\\",\\n \\"object\\": \\"name\\",\\n \\"dataVersion\\": 1,\\n \\"condition\\": \\"{\\\\\\"currentId\\\\\\":1,\\\\\\"deepCount\\\\\\":0,\\\\\\"list\\\\\\":[{\\\\\\"currentId\\\\\\":2,\\\\\\"deepCount\\\\\\":1,\\\\\\"left\\\\\\":{\\\\\\"code\\\\\\":\\\\\\"accountId\\\\\\",\\\\\\"fieldType\\\\\\":\\\\\\"STRING\\\\\\",\\\\\\"functionName\\\\\\":\\\\\\"\\\\\\",\\\\\\"hasRightVariable\\\\\\":false,\\\\\\"name\\\\\\":\\\\\\"accountId\\\\\\"},\\\\\\"operatorCode\\\\\\":\\\\\\"isNotEmptyWrapper\\\\\\",\\\\\\"parentId\\\\\\":1,\\\\\\"right\\\\\\":{\\\\\\"code\\\\\\":\\\\\\"\'A\\\\\\\\nB\\\\\\\\nC\'\\\\\\",\\\\\\"functionName\\\\\\":\\\\\\"\\\\\\",\\\\\\"name\\\\\\":\\\\\\"\\\\\\",\\\\\\"rightVariableType\\\\\\":\\\\\\"constant\\\\\\"}}],\\\\\\"parentId\\\\\\":0,\\\\\\"relationship\\\\\\":\\\\\\"and\\\\\\"}\\",\\n \\"topN\\": 0,\\n \\"global\\": false,\\n \\"status\\": \\"ENABLE\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'DescribeVersionPageList' => [
+ 'summary' => '变量版本列表查询。',
+ 'path' => '',
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
+ 'operationType' => 'read',
+ 'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREsafXYIHRP'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'id',
+ 'name' => 'currentPage',
'in' => 'query',
- 'schema' => [
- 'description' => '变量id。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '376773',
- ],
+ 'schema' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
- 'name' => 'dataVersion',
+ 'name' => 'pageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '数据版本。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '6',
- ],
+ 'schema' => ['description' => '每页大小,默认值为10。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
[
- 'name' => 'name',
+ 'name' => 'objectId',
'in' => 'query',
- 'schema' => [
- 'description' => '变量name。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'dxkkLw8fe18',
- ],
+ 'schema' => ['description' => '变量主键ID。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '392023'],
],
[
- 'name' => 'eventCodes',
+ 'name' => 'objectCode',
'in' => 'query',
- 'schema' => [
- 'description' => '事件code。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'account_abuse_pro,account_abuse',
- ],
+ 'schema' => ['description' => '变量的name。', 'type' => 'string', 'required' => false, 'example' => 'ex_OERlw0Zqfb23'],
],
[
- 'name' => 'description',
+ 'name' => 'type',
'in' => 'query',
- 'schema' => [
- 'description' => '描述信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '描述',
- ],
+ 'schema' => ['description' => '类型。', 'type' => 'string', 'required' => false, 'example' => 'EXPRESSION'],
],
[
- 'name' => 'condition',
+ 'name' => 'paging',
'in' => 'query',
- 'schema' => [
- 'description' => '条件值。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"currentId\\":1,\\"deepCount\\":0,\\"list\\":[{\\"currentId\\":2,\\"deepCount\\":1,\\"left\\":{\\"code\\":\\"__hit_rules\\",\\"fieldType\\":\\"STRING\\",\\"functionName\\":\\"\\",\\"hasRightVariable\\":true,\\"name\\":\\"hitRules\\",\\"operatorCode\\":\\"deNotInNameList\\"},\\"operatorCode\\":\\"deNotInNameList\\",\\"parentId\\":1,\\"right\\":{\\"code\\":\\"\'nl_Xcufc8wV6624\'\\",\\"name\\":\\"nl_Xcufc8wV6624\\",\\"rightVariableType\\":\\"variable\\"}},{\\"currentId\\":3,\\"deepCount\\":1,\\"list\\":[{\\"currentId\\":4,\\"deepCount\\":2,\\"left\\":{\\"code\\":\\"__v_safde\\",\\"fieldType\\":\\"DOUBLE\\",\\"functionName\\":\\"\\",\\"hasRightVariable\\":true,\\"name\\":\\"score\\",\\"operatorCode\\":\\"equals\\"},\\"operatorCode\\":\\"equals\\",\\"parentId\\":3,\\"right\\":{\\"code\\":\\"\'99\'\\",\\"name\\":\\"99\\",\\"rightVariableType\\":\\"constant\\"}},{\\"currentId\\":5,\\"deepCount\\":2,\\"left\\":{\\"code\\":\\"queryPhoneSimulatorInfo(deviceToken)?\\",\\"fieldType\\":\\"STRING\\",\\"functionName\\":\\"\\",\\"hasRightVariable\\":false,\\"name\\":\\"__device-test01__\\",\\"operatorCode\\":\\"isNotEmptyWrapper\\"},\\"operatorCode\\":\\"isNotEmptyWrapper\\",\\"parentId\\":3,\\"right\\":{\\"functionName\\":\\"\\",\\"name\\":\\"\\",\\"rightVariableType\\":\\"constant\\"}}],\\"parentId\\":1,\\"relationship\\":\\"and\\"}],\\"parentId\\":0,\\"relationship\\":\\"and\\"}',
- ],
+ 'schema' => ['description' => '是否分页标识,默认true。', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
- 'name' => 'outputs',
+ 'name' => 'MaxResults',
'in' => 'query',
- 'schema' => [
- 'description' => '输出。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'STRING',
- ],
+ 'schema' => ['description' => '本次读取的最大数据量,默认值为10。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
+ ],
+ [
+ 'name' => 'NextToken',
+ 'in' => 'query',
+ 'schema' => ['description' => '用来标记当前开始读取的位置。置空表示从头开始。', 'type' => 'string', 'required' => false, 'example' => '1'],
],
],
'responses' => [
200 => [
'headers' => [],
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
+ 'totalItem' => ['description' => '总条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'pageSize' => ['description' => '每页大小,默认值为10。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ 'currentPage' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'totalPage' => ['description' => '总页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'resultObject' => [
'description' => '返回对象。',
'type' => 'array',
@@ -30988,41 +22821,52 @@
'description' => '返回对象。',
'type' => 'object',
'properties' => [
- 'success' => [
- 'description' => '操作是否成功。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'failType' => [
- 'description' => '失败类型。',
- 'type' => 'string',
- 'example' => 'rule',
- ],
- 'message' => [
- 'description' => '详细信息。',
- 'type' => 'string',
- 'example' => 'ok',
- ],
+ 'gmtModified' => ['description' => '修改时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1565701886000'],
+ 'creator' => ['description' => '创建人。', 'type' => 'string', 'example' => 'root'],
+ 'objectCode' => ['description' => '变量的name。', 'type' => 'string', 'example' => 'ex_OERlw0Zqfb23'],
+ 'modifier' => ['title' => '数据状态', 'description' => '修改人。', 'type' => 'string', 'example' => 'root'],
+ 'description' => ['description' => '变量描述。', 'type' => 'string', 'example' => '变量描述'],
+ 'gmtCreate' => ['description' => '创建时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1621578648000'],
+ 'type' => ['description' => '变量类型。', 'type' => 'string', 'example' => 'EXPRESSION'],
+ 'userId' => ['description' => '用户uid。', 'type' => 'integer', 'format' => 'int64', 'example' => '151222222222226'],
+ 'version' => ['description' => '版本号。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'content' => ['description' => '变更内容。', 'type' => 'string', 'example' => '{\\"description\\":\\"自定义变量\\",\\"expression\\":\\"1\\",\\"expressionTitle\\":\\"1\\",\\"expressionVariable\\":\\"\\",\\"fieldRank\\":0,\\"id\\":392023,\\"name\\":\\"ex_OERlw0Zqfb23\\",\\"outlier\\":\\"SYS_ERROR\\",\\"outputs\\":\\"STRING\\",\\"refObjId\\":\\"de_auevox0336\\",\\"region\\":\\"SH\\",\\"title\\":\\"自定义变量\\",\\"version\\":4}'],
+ 'id' => ['description' => '版本主键ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '808'],
+ 'region' => ['description' => '地域ID。', 'type' => 'string', 'example' => 'cn-hangzhou'],
+ 'objectId' => ['description' => '变量主键ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '392023'],
],
],
],
+ 'MaxResults' => ['description' => '本次读取的最大数据量,默认值为10。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'NextToken' => ['description' => '用来表示当前调用返回读取到的位置。空代表数据已经读取完毕。', 'type' => 'string', 'example' => '1'],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"resultObject\\": [\\n {\\n \\"success\\": true,\\n \\"failType\\": \\"rule\\",\\n \\"message\\": \\"ok\\"\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '修改累计变量',
- ],
- 'ModifyExpressionVariable' => [
- 'summary' => '编辑自定义变量。',
- 'methods' => [
- 'post',
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '变量版本列表查询',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"totalItem\\": 10,\\n \\"pageSize\\": 10,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"currentPage\\": 1,\\n \\"totalPage\\": 1,\\n \\"resultObject\\": [\\n {\\n \\"gmtModified\\": 1565701886000,\\n \\"creator\\": \\"root\\",\\n \\"objectCode\\": \\"ex_OERlw0Zqfb23\\",\\n \\"modifier\\": \\"root\\",\\n \\"description\\": \\"变量描述\\",\\n \\"gmtCreate\\": 1621578648000,\\n \\"type\\": \\"EXPRESSION\\",\\n \\"userId\\": 151222222222226,\\n \\"version\\": 1,\\n \\"content\\": \\"{\\\\\\\\\\\\\\"description\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"自定义变量\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"expression\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"1\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"expressionTitle\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"1\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"expressionVariable\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"fieldRank\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"id\\\\\\\\\\\\\\":392023,\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ex_OERlw0Zqfb23\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"outlier\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SYS_ERROR\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"outputs\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"STRING\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"refObjId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"de_auevox0336\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"region\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SH\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"title\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"自定义变量\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"version\\\\\\\\\\\\\\":4}\\",\\n \\"id\\": 808,\\n \\"region\\": \\"cn-hangzhou\\",\\n \\"objectId\\": 392023\\n }\\n ],\\n \\"MaxResults\\": 10,\\n \\"NextToken\\": \\"1\\"\\n}","type":"json"}]',
+ ],
+ 'DownloadSampleFile' => [
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -31031,304 +22875,284 @@
'operationType' => 'readAndWrite',
'systemTags' => [
'operationType' => 'get',
- 'abilityTreeCode' => '134355',
- 'abilityTreeNodes' => [
- 'FEATUREsafXYIHRP',
- ],
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '138403',
+ 'abilityTreeNodes' => ['FEATUREsafT73ZWM'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
- ],
- [
- 'name' => 'regId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-hangzhou',
- ],
- ],
- [
- 'name' => 'id',
- 'in' => 'query',
- 'schema' => [
- 'description' => '变量id。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '3144',
- ],
- ],
- [
- 'name' => 'dataVersion',
- 'in' => 'query',
- 'schema' => [
- 'description' => '数据版本。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '5',
- ],
+ 'schema' => ['description' => '接口返回错误信息语言。取值:zh:中文。 en:英文。 默认值为en。', 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'eventCode',
+ 'name' => 'Tab',
'in' => 'query',
- 'schema' => [
- 'description' => '事件编码。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'de_acytyt7036',
- ],
+ 'schema' => ['description' => '场景。', 'type' => 'string', 'required' => false, 'example' => 'INTERNET'],
],
[
- 'name' => 'title',
+ 'name' => 'SampleId',
'in' => 'query',
- 'schema' => [
- 'description' => '标题。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '变量标题',
- ],
+ 'schema' => ['description' => '样本ID。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
- 'name' => 'description',
+ 'name' => 'RegId',
'in' => 'query',
- 'schema' => [
- 'description' => '描述信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '描述',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
- [
- 'name' => 'outputs',
- 'in' => 'query',
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '输出。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'STRING',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ 'ResultObject' => [
+ 'description' => '返回结果。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Url' => ['description' => 'OSS下载地址。', 'type' => 'string', 'example' => 'https://pic.zfp.cn/image/2026/02/06/45b5fee18baf4b99b13025987486319c.jpg'],
+ 'Status' => ['description' => '模型状态。', 'type' => 'string', 'example' => 'Success'],
+ ],
+ ],
+ 'Code' => ['description' => '状态码。', 'type' => 'string', 'example' => '200'],
+ 'HttpStatusCode' => ['description' => 'http状态码。', 'type' => 'string', 'example' => '200'],
+ 'Message' => ['description' => '返回信息。', 'type' => 'string', 'example' => 'success'],
+ ],
+ 'description' => '',
],
],
+ ],
+ 'title' => '下载样本文件',
+ 'summary' => '下载样本文件',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
[
- 'name' => 'outlier',
- 'in' => 'query',
- 'schema' => [
- 'description' => '异常值。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '-1',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:DownloadSampleFile',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"ResultObject\\": {\\n \\"Url\\": \\"https://pic.zfp.cn/image/2026/02/06/45b5fee18baf4b99b13025987486319c.jpg\\",\\n \\"Status\\": \\"Success\\"\\n },\\n \\"Code\\": \\"200\\",\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"Message\\": \\"success\\"\\n}","type":"json"}]',
+ ],
+ 'DownloadSmapleBatch' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'expression',
- 'in' => 'query',
- 'schema' => [
- 'description' => '表达式。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '@ex_GX9rrlTq4b67 + 1001',
- ],
+ 'AK' => [],
],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '206061',
+ 'abilityTreeNodes' => ['FEATUREsafT73ZWM'],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
[
- 'name' => 'expressionTitle',
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '表达式展示。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '@selfvariable_02 + 1001',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'expressionVariable',
+ 'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '计算表达式变量。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ex_GX9rrlTq4b67',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'name',
+ 'name' => 'batchUuid',
'in' => 'query',
- 'schema' => [
- 'description' => '变量name。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ex_NgR6nDVD821c',
- ],
+ 'schema' => ['description' => '样本批uuid', 'type' => 'string', 'required' => false, 'example' => '203f1ae65c0a41a49dc4f8a47946caa2'],
],
],
'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' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
'resultObject' => [
- 'description' => '返回对象。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
+ 'description' => '返回对象',
+ 'type' => 'object',
+ 'properties' => [
+ 'fileDownloadURL' => ['description' => '下载地址', 'type' => 'string', 'example' => 'https://xxxxx-oss-xxxxx.xxxxxx.aliyuncs.com/xx/xx/xxx/xxxxxx.csv?Expires=1753433384&OSSAccessKeyId=xxxxxxxxx&Signature=%2F%xxxxxxxxxxxx%3D'],
+ ],
],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '修改自定义变量',
- ],
- 'CreatePocEv' => [
- 'summary' => '创建poc。',
- 'methods' => [
- 'post',
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'eventInfo' => [
+ 'enable' => false,
+ 'eventNames' => [],
+ ],
+ 'title' => '样本名单数据下载',
+ 'summary' => '样本名单数据下载。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '2000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DownloadSmapleBatch'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:DownloadSmapleBatch',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => 'SampleBatch', 'arn' => 'acs:yundun-saf::{#accountId}:samplebatch/{#SampleBatchId}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"resultObject\\": {\\n \\"fileDownloadURL\\": \\"https://xxxxx-oss-xxxxx.xxxxxx.aliyuncs.com/xx/xx/xxx/xxxxxx.csv?Expires=1753433384&OSSAccessKeyId=xxxxxxxxx&Signature=%2F%xxxxxxxxxxxx%3D\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'DownloadSubTaskResult' => [
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'readAndWrite',
'systemTags' => [
'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
'abilityTreeCode' => '138403',
- 'abilityTreeNodes' => [
- 'FEATUREsafT73ZWM',
- ],
+ 'abilityTreeNodes' => ['FEATUREsafT73ZWM'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '接口返回错误信息语言。取值:zh:中文。 en:英文。 默认为en。', 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'Tab',
+ 'name' => 'RegId',
'in' => 'query',
- 'schema' => [
- 'description' => '场景。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'INTERNET',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'Type',
+ 'name' => 'SubTaskId',
'in' => 'query',
+ 'schema' => ['description' => '子任务ID。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '访问类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'SAF_CONSOLE',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'E01E1B4A-6747-5329-9046-B6D6B2D91349'],
+ 'ResultObject' => [
+ 'description' => '返回结果。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Url' => ['description' => 'OSS下载地址。', 'type' => 'string', 'example' => 'https://mass.alipay.com/enhance/afts/file/n5XnQounknwAAAAAZfAAAAgAhvocAAFr?t=2hrPX0at3hhaRjlScory9JzLGiLchaonac5suH-Z1BgDAAAAZAABHPpobI2j'],
+ 'Status' => ['description' => '状态。', 'type' => 'string', 'example' => 'Running'],
+ ],
+ ],
+ 'Code' => ['description' => '状态码。', 'type' => 'string', 'example' => '200'],
+ 'HttpStatusCode' => ['description' => 'http状态码。', 'type' => 'string', 'example' => '200'],
+ 'Message' => ['description' => '返回信息。', 'type' => 'string', 'example' => 'success'],
+ ],
+ 'description' => '',
],
],
+ ],
+ 'title' => '下载子任务结果',
+ 'summary' => '下载子任务结果',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
[
- 'name' => 'TaskName',
- 'in' => 'query',
- 'schema' => [
- 'description' => '任务名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'er-log-s3',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:DownloadSubTaskResult',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E01E1B4A-6747-5329-9046-B6D6B2D91349\\",\\n \\"ResultObject\\": {\\n \\"Url\\": \\"https://mass.alipay.com/enhance/afts/file/n5XnQounknwAAAAAZfAAAAgAhvocAAFr?t=2hrPX0at3hhaRjlScory9JzLGiLchaonac5suH-Z1BgDAAAAZAABHPpobI2j\\",\\n \\"Status\\": \\"Running\\"\\n },\\n \\"Code\\": \\"200\\",\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"Message\\": \\"success\\"\\n}","type":"json"}]',
+ ],
+ 'ExpressionTest' => [
+ 'summary' => '自定义变量测试。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'FileName',
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'get'],
+ 'parameters' => [
+ [
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '文件名称。'."\n"
- .'> 文件名称需要以txt、sql结尾。例如test.txt、test.sql。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test.csv',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'FileUrl',
+ 'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '文件URL。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'saf/cpoc/953c883cde33b2e21d722eb661d26375/测试文件模板-通用.csv',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'FileType',
+ 'name' => 'id',
'in' => 'query',
- 'schema' => [
- 'description' => '文件类型',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'CSV',
- ],
+ 'schema' => ['description' => '变量ID。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '3144'],
],
[
- 'name' => 'ServiceCode',
+ 'name' => 'expressionVariableIds',
'in' => 'query',
- 'schema' => [
- 'description' => '服务code。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'anti_fraud_v2',
- ],
+ 'schema' => ['description' => '关联变量ID。', 'type' => 'string', 'required' => false, 'example' => '[44659]'],
],
[
- 'name' => 'ServiceName',
+ 'name' => 'scene',
'in' => 'query',
- 'schema' => [
- 'description' => '服务名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '注册风险',
- ],
+ 'schema' => ['description' => '场景。', 'type' => 'string', 'required' => true, 'example' => 'EXPRESSION'],
],
[
- 'name' => 'RegId',
+ 'name' => 'expression',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '测试表达式。', 'type' => 'string', 'required' => true, 'example' => '@ex_GX9rrlTq4b67 + 1001'],
],
[
- 'name' => 'DateFormat',
+ 'name' => 'expressionVariable',
'in' => 'query',
- 'schema' => [
- 'description' => '日期格式类型',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'yyyyMMdd',
- ],
+ 'schema' => ['description' => '计算表达式变量。', 'type' => 'string', 'required' => true, 'example' => '[{\\"name\\":\\"age\\",\\"code\\":\\"age\\",\\"fieldType\\":\\"INT\\",\\"id\\":44809,\\"value\\":\\"1\\"}]'],
],
],
'responses' => [
@@ -31336,139 +23160,75 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
- 'ResultObject' => [
- 'description' => '返回结果',
- 'type' => 'string',
- 'example' => 'True',
- ],
- 'Code' => [
- 'description' => '响应码。',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'HttpStatusCode' => [
- 'description' => 'http状态码',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'Message' => [
- 'description' => '返回消息。',
- 'type' => 'string',
- 'example' => 'successful',
- ],
+ 'resultObject' => ['description' => '返回对象。', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"ResultObject\\": \\"True\\",\\n \\"Code\\": \\"200\\",\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"Message\\": \\"successful\\"\\n}","type":"json"}]',
- 'title' => '创建POC',
- ],
- 'DescribeListPoc' => [
- 'summary' => '任务列表。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '自定义变量测试',
+ 'changeSet' => [
+ ['createdAt' => '2021-10-28T08:19:10.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ExpressionTest'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'FileUpload' => [
+ 'summary' => '文件上传。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '138565',
- 'abilityTreeNodes' => [
- 'FEATUREsafT73ZWM',
- ],
+ 'abilityTreeCode' => '138535',
+ 'abilityTreeNodes' => ['FEATUREsafT73ZWM'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
- ],
- [
- 'name' => 'Type',
- 'in' => 'query',
- 'schema' => [
- 'description' => '类型',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'SAF_CONSOLE',
- ],
- ],
- [
- 'name' => 'PageSize',
- 'in' => 'query',
- 'schema' => [
- 'description' => '分页大小。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '30',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'CurrentPage',
+ 'name' => 'Tab',
'in' => 'query',
- 'schema' => [
- 'description' => '当前页数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '场景。', 'type' => 'string', 'required' => false, 'example' => 'FNNCIEA'],
],
[
- 'name' => 'RegId',
+ 'name' => 'FileName',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '文件名称。', 'type' => 'string', 'required' => false, 'example' => 'P4911_2707.csv'],
],
[
- 'name' => 'TaskName',
- 'in' => 'query',
- 'schema' => [
- 'description' => '任务名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'task1',
- ],
- ],
- [
- 'name' => 'TaskStatus',
+ 'name' => 'FileUrl',
'in' => 'query',
- 'schema' => [
- 'description' => '导入任务的执行状态:'."\n"
- .'- DOING:运行中'."\n"
- .'- FINISH:执行完成',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'DOING',
- ],
+ 'schema' => ['description' => '文件地址', 'type' => 'string', 'required' => false, 'example' => 'https://res-v1.cupl-fdfs.com/direct/79886bdc-9855-4ff4-aa34-eb5b21cd43a7'],
],
],
'responses' => [
@@ -31476,109 +23236,73 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求id。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
- 'ResultObject' => [
- 'description' => '返回结果。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'TotalItem' => [
- 'description' => '返回总个数。',
- 'type' => 'string',
- 'example' => '0',
- ],
- 'TotalPage' => [
- 'description' => '总页数。',
- 'type' => 'string',
- 'example' => '0',
- ],
- 'CurrentPage' => [
- 'description' => '当前页。',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'description' => '分页大小。',
- 'type' => 'string',
- 'example' => '10',
- ],
- 'Code' => [
- 'description' => '状态码。',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'HttpStatusCode' => [
- 'description' => 'http状态码。',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'Message' => [
- 'description' => '返回信息。',
- 'type' => 'string',
- 'example' => 'successful',
- ],
+ 'RequestId' => ['description' => '请求id。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ 'ResultObject' => ['description' => '返回结果。', 'type' => 'string', 'example' => 'true'],
+ 'Code' => ['description' => '状态码。', 'type' => 'string', 'example' => '200'],
+ 'HttpStatusCode' => ['description' => 'http状态码。', 'type' => 'string', 'example' => '200'],
+ 'Message' => ['description' => '接口请求返回的信息。', 'type' => 'string', 'example' => 'success'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"ResultObject\\": true,\\n \\"TotalItem\\": \\"0\\",\\n \\"TotalPage\\": \\"0\\",\\n \\"CurrentPage\\": \\"1\\",\\n \\"PageSize\\": \\"10\\",\\n \\"Code\\": \\"200\\",\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"Message\\": \\"successful\\"\\n}","type":"json"}]',
- 'title' => 'POC任务列表',
- ],
- 'DescribeTagList' => [
- 'summary' => '标签列表。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '文件上传',
+ 'changeSet' => [
+ ['createdAt' => '2024-06-19T12:22:11.000Z', 'description' => '请求参数发生变更'],
+ ['createdAt' => '2022-06-10T02:15:44.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'FileUpload'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"ResultObject\\": \\"true\\",\\n \\"Code\\": \\"200\\",\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"Message\\": \\"success\\"\\n}","type":"json"}]',
+ ],
+ 'GetSampleDetail' => [
+ 'summary' => '创建样本记录',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'readAndWrite',
'systemTags' => [
- 'operationType' => 'list',
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '138403',
+ 'abilityTreeNodes' => ['FEATUREsafT73ZWM'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '接口返回错误信息语言。取值:zh:中文; en:英文。 默认为en。', 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'RegId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'Id',
+ 'name' => 'SampleId',
'in' => 'query',
- 'schema' => [
- 'description' => '主键id',
- 'type' => 'string',
- 'required' => false,
- 'example' => '433102',
- ],
+ 'schema' => ['description' => '样本ID。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
],
'responses' => [
@@ -31586,104 +23310,121 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
'ResultObject' => [
- 'description' => '结果对象。',
- 'type' => 'string',
- 'example' => 'true',
- ],
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'Message' => [
- 'description' => '错误信息。',
- 'type' => 'string',
- 'example' => 'success',
- ],
- 'Code' => [
- 'description' => '状态码。',
- 'type' => 'string',
- 'example' => '200',
+ 'description' => '请求结果。',
+ 'type' => 'object',
+ 'properties' => [
+ 'SampleId' => ['description' => '样本ID。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'SampleName' => ['description' => '样本名称。', 'type' => 'string', 'example' => 'SampleTest'],
+ 'Tab' => ['description' => '场景。', 'type' => 'string', 'example' => 'FINANCE'],
+ 'UploadTime' => ['description' => '文件上传时间。', 'type' => 'string', 'example' => '2024-09-27 10:23:40'],
+ 'UploadUserName' => ['description' => '上传人。', 'type' => 'string', 'example' => 'dsg'],
+ 'Remark' => ['description' => '备注信息。', 'type' => 'string', 'example' => 'ios_fb'],
+ 'FileName' => ['description' => '文件名称。'."\n"
+ .'> 文件名称需要以txt、sql结尾。例如test.txt、test.sql。', 'type' => 'string', 'example' => '回溯朴道_建模样本_样本量694049_part_01-(定制增强版).csv'],
+ 'FileSize' => ['description' => '文件大小(字节)。', 'type' => 'integer', 'format' => 'int32', 'example' => '199'],
+ 'RowCount' => ['description' => '返回的结果记录数。', 'type' => 'integer', 'format' => 'int32', 'example' => '325'],
+ 'DateType' => ['description' => '筛选时间类型 支持按最近7天、最近30天、最近半年、自定义等方式进行时间的筛选。', 'type' => 'string', 'example' => 'month'],
+ 'ColumnStats' => [
+ 'description' => '列。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'FieldName' => ['description' => '字段名。', 'type' => 'string', 'example' => 'repoName'],
+ 'RowNumber' => ['description' => '记录所在行。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
+ 'DistinctNumber' => ['description' => '去重数。', 'type' => 'integer', 'format' => 'int32', 'example' => '23'],
+ 'DistinctRate' => ['description' => '去重率。', 'type' => 'string', 'example' => '23.87%'],
+ 'MissNumber' => ['description' => '缺失数。', 'type' => 'integer', 'format' => 'int32', 'example' => '3'],
+ 'MissRate' => ['description' => '缺失率。', 'type' => 'string', 'example' => '25.32%'],
+ ],
+ 'description' => '',
+ ],
+ ],
+ 'PreviewData' => [
+ 'description' => '表格数据。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Headers' => [
+ 'description' => '返回头信息。',
+ 'type' => 'array',
+ 'items' => ['description' => '返回头信息。', 'type' => 'string', 'example' => 'assigned_users_current_user'],
+ ],
+ 'Rows' => [
+ 'description' => '行数据。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '行数。',
+ 'type' => 'array',
+ 'items' => ['description' => '行数据。', 'type' => 'string', 'example' => '[]'],
+ ],
+ ],
+ ],
+ ],
+ 'DownloadUrl' => ['description' => '下载文件地址。', 'type' => 'string', 'example' => 'https://cas-documents-service.oss-cn-shanghai.aliyuncs.com/Batch_Upload_Monitor_Domain.xlsx?Expires=1753755419&OSSAccessKeyId=****&Signature=****'],
+ ],
],
+ 'Code' => ['description' => '状态码。', 'type' => 'string', 'example' => '200'],
+ 'HttpStatusCode' => ['description' => 'http状态码。', 'type' => 'string', 'example' => '200'],
+ 'Message' => ['description' => '返回信息。', 'type' => 'string', 'example' => 'success'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"ResultObject\\": \\"true\\",\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"Message\\": \\"success\\",\\n \\"Code\\": \\"200\\"\\n}","type":"json"}]',
- 'title' => '标签列表',
- ],
- 'FileUpload' => [
- 'summary' => '文件上传。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '获取样本详情',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:GetSampleDetail',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"ResultObject\\": {\\n \\"SampleId\\": 1,\\n \\"SampleName\\": \\"SampleTest\\",\\n \\"Tab\\": \\"FINANCE\\",\\n \\"UploadTime\\": \\"2024-09-27 10:23:40\\",\\n \\"UploadUserName\\": \\"dsg\\",\\n \\"Remark\\": \\"ios_fb\\",\\n \\"FileName\\": \\"回溯朴道_建模样本_样本量694049_part_01-(定制增强版).csv\\",\\n \\"FileSize\\": 199,\\n \\"RowCount\\": 325,\\n \\"DateType\\": \\"month\\",\\n \\"ColumnStats\\": [\\n {\\n \\"FieldName\\": \\"repoName\\",\\n \\"RowNumber\\": 2,\\n \\"DistinctNumber\\": 23,\\n \\"DistinctRate\\": \\"23.87%\\",\\n \\"MissNumber\\": 3,\\n \\"MissRate\\": \\"25.32%\\"\\n }\\n ],\\n \\"PreviewData\\": {\\n \\"Headers\\": [\\n \\"assigned_users_current_user\\"\\n ],\\n \\"Rows\\": [\\n [\\n \\"[]\\"\\n ]\\n ]\\n },\\n \\"DownloadUrl\\": \\"https://cas-documents-service.oss-cn-shanghai.aliyuncs.com/Batch_Upload_Monitor_Domain.xlsx?Expires=1753755419&OSSAccessKeyId=****&Signature=****\\"\\n },\\n \\"Code\\": \\"200\\",\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"Message\\": \\"success\\"\\n}","type":"json"}]',
+ ],
+ 'GetSubTaskResult' => [
+ 'summary' => '查看子任务结果',
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
- 'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
- 'abilityTreeCode' => '138535',
- 'abilityTreeNodes' => [
- 'FEATUREsafT73ZWM',
- ],
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '138403',
+ 'abilityTreeNodes' => ['FEATUREsafT73ZWM'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '接口返回错误信息语言。取值:zh:中文。 en:英文。 默认为en。', 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'Tab',
+ 'name' => 'RegId',
'in' => 'query',
- 'schema' => [
- 'description' => '场景。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'FNNCIEA',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'FileName',
+ 'name' => 'SubTaskId',
'in' => 'query',
- 'schema' => [
- 'description' => '文件名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'P4911_2707.csv',
- ],
- ],
- [
- 'name' => 'FileUrl',
- 'in' => 'query',
- 'schema' => [
- 'description' => '文件地址',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'https://res-v1.cupl-fdfs.com/direct/79886bdc-9855-4ff4-aa34-eb5b21cd43a7',
- ],
+ 'schema' => ['description' => '子任务ID。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2'],
],
],
'responses' => [
@@ -31691,83 +23432,155 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求id。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '0A519CFA-0EEC-580A-A5C1-F9C653FB2354'],
'ResultObject' => [
'description' => '返回结果。',
- 'type' => 'string',
- 'example' => 'true',
- ],
- 'Code' => [
- 'description' => '状态码。',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'HttpStatusCode' => [
- 'description' => 'http状态码。',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'Message' => [
- 'description' => '接口请求返回的信息。',
- 'type' => 'string',
- 'example' => 'success',
+ 'type' => 'object',
+ 'properties' => [
+ 'TaskId' => ['description' => '任务ID。', 'type' => 'string', 'example' => '19150'],
+ 'TaskName' => ['description' => '任务名称。', 'type' => 'string', 'example' => 'icekredit_model_A_2025a_508185'],
+ 'FileType' => ['description' => '文件类型。', 'type' => 'string', 'example' => 'CSV'],
+ 'FileName' => ['description' => '文件名称。', 'type' => 'string', 'example' => 'enorl-20w-0926.csv'],
+ 'Status' => ['description' => '状态。', 'type' => 'string', 'example' => 'CLASS_CHANGING'],
+ 'ServiceCode' => ['description' => '服务code。', 'type' => 'string', 'example' => 'anti_fraud_customed_v3'],
+ 'ServiceName' => ['description' => '服务名称。', 'type' => 'string', 'example' => '申请反欺诈(定制增强版)'],
+ 'Config' => [
+ 'description' => '输出列表设置。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '输出列表设置。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Item' => ['description' => '服务支持字段。', 'type' => 'string', 'example' => 'repl_lag'],
+ 'SampleItems' => [
+ 'description' => '样本对应字段列表。',
+ 'type' => 'array',
+ 'items' => ['description' => '样本对应字段。', 'type' => 'string', 'example' => 'test'],
+ ],
+ 'SampleItem' => ['description' => '样本。', 'type' => 'string', 'example' => 'sample'],
+ 'ItemDesc' => ['description' => '商品描述信息。', 'type' => 'string', 'example' => 'des'],
+ ],
+ ],
+ ],
+ 'Reason' => ['description' => '原因。', 'type' => 'string', 'example' => 'managed.by.apig'],
+ 'FileUrl' => ['description' => '文件URL。', 'type' => 'string', 'example' => 'saf/cpoc/34cd7959590ef568086035b956210495/1760580976089_XN_test_1016_100000.csv'],
+ 'ExtraInfo' => ['description' => '其他扩展信息。', 'type' => 'string', 'example' => '{\\"approveNodeInfo\\":[{\\"approver\\":[\\"325337\\",\\"270729\\",\\"290278\\",\\"371000\\",\\"175234\\",\\"237109\\"],\\"nodeName\\":\\"团队审批人\\",\\"nodeCode\\":1,\\"approveRule\\":\\"ONE\\"}]}'],
+ 'Log' => [
+ 'description' => '日志内容。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'test。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Time' => ['description' => '时间。单位:毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1760408725312'],
+ 'OperateType' => ['description' => '处理类型。', 'type' => 'string', 'example' => 'RELEASE'],
+ 'Reason' => ['description' => '服务的状态原因。', 'type' => 'string', 'example' => 'PasswordExpired'],
+ ],
+ ],
+ ],
+ 'File' => [
+ 'description' => '文件。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Title' => [
+ 'description' => '变量标题。',
+ 'type' => 'array',
+ 'items' => ['description' => '变量标题。', 'type' => 'string', 'example' => 'MSA20230324000020'],
+ ],
+ 'Col' => [
+ 'description' => '列的名称。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '列的名称。',
+ 'type' => 'object',
+ 'properties' => [
+ 'A0' => ['description' => 'A0。', 'type' => 'string', 'example' => 'A0'],
+ 'A1' => ['description' => 'A1。', 'type' => 'string', 'example' => 'A1'],
+ 'A2' => ['description' => 'A2。', 'type' => 'string', 'example' => 'A2'],
+ 'A3' => ['description' => 'A3。', 'type' => 'string', 'example' => 'A3'],
+ 'A4' => ['description' => 'A4。', 'type' => 'string', 'example' => 'A4'],
+ 'A5' => ['description' => 'A5。', 'type' => 'string', 'example' => 'A5'],
+ 'A6' => ['description' => 'A6。', 'type' => 'string', 'example' => 'A6'],
+ 'A7' => ['description' => 'A7。', 'type' => 'string', 'example' => 'A7'],
+ 'A8' => ['description' => 'A8。', 'type' => 'string', 'example' => 'A8'],
+ 'A9' => ['description' => 'A9。', 'type' => 'string', 'example' => 'A9'],
+ 'A10' => ['description' => 'A10。', 'type' => 'string', 'example' => 'A10'],
+ 'A11' => ['description' => 'A11。', 'type' => 'string', 'example' => 'A11'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'ScheduleType' => ['description' => '定时类型。', 'type' => 'string', 'example' => 'rate'],
+ 'ResultUrl' => ['description' => '结果地址。', 'type' => 'string', 'example' => 'http://shuanglu-prod.oss-cn-shanghai-finance-1-pub.aliyuncs.com/idrs/24/local/remoteresult?Expires=1756436489&OSSAccessKeyId=****&Signature=****'],
+ 'UserId' => ['description' => '用户id。', 'type' => 'integer', 'format' => 'int64', 'example' => '5129547232'],
+ 'IsCharge' => ['description' => '是否收费。', 'type' => 'boolean', 'example' => '是否收费'],
+ ],
],
+ 'Code' => ['description' => '状态码。', 'type' => 'string', 'example' => '200'],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码。', 'type' => 'string', 'example' => '200'],
+ 'Message' => ['description' => '返回消息。', 'type' => 'string', 'example' => 'success'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"ResultObject\\": \\"true\\",\\n \\"Code\\": \\"200\\",\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"Message\\": \\"success\\"\\n}","type":"json"}]',
- 'title' => '文件上传',
- ],
- 'PermissionCheck' => [
- 'summary' => '前置条件判断。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '获取子任务结果',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:GetSubTaskResult',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0A519CFA-0EEC-580A-A5C1-F9C653FB2354\\",\\n \\"ResultObject\\": {\\n \\"TaskId\\": \\"19150\\",\\n \\"TaskName\\": \\"icekredit_model_A_2025a_508185\\",\\n \\"FileType\\": \\"CSV\\",\\n \\"FileName\\": \\"enorl-20w-0926.csv\\",\\n \\"Status\\": \\"CLASS_CHANGING\\",\\n \\"ServiceCode\\": \\"anti_fraud_customed_v3\\",\\n \\"ServiceName\\": \\"申请反欺诈(定制增强版)\\",\\n \\"Config\\": [\\n {\\n \\"Item\\": \\"repl_lag\\",\\n \\"SampleItems\\": [\\n \\"test\\"\\n ],\\n \\"SampleItem\\": \\"sample\\",\\n \\"ItemDesc\\": \\"des\\"\\n }\\n ],\\n \\"Reason\\": \\"managed.by.apig\\",\\n \\"FileUrl\\": \\"saf/cpoc/34cd7959590ef568086035b956210495/1760580976089_XN_test_1016_100000.csv\\",\\n \\"ExtraInfo\\": \\"{\\\\\\\\\\\\\\"approveNodeInfo\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"approver\\\\\\\\\\\\\\":[\\\\\\\\\\\\\\"325337\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"270729\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"290278\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"371000\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"175234\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"237109\\\\\\\\\\\\\\"],\\\\\\\\\\\\\\"nodeName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"团队审批人\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"nodeCode\\\\\\\\\\\\\\":1,\\\\\\\\\\\\\\"approveRule\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ONE\\\\\\\\\\\\\\"}]}\\",\\n \\"Log\\": [\\n {\\n \\"Time\\": 1760408725312,\\n \\"OperateType\\": \\"RELEASE\\",\\n \\"Reason\\": \\"PasswordExpired\\"\\n }\\n ],\\n \\"File\\": {\\n \\"Title\\": [\\n \\"MSA20230324000020\\"\\n ],\\n \\"Col\\": [\\n {\\n \\"A0\\": \\"A0\\",\\n \\"A1\\": \\"A1\\",\\n \\"A2\\": \\"A2\\",\\n \\"A3\\": \\"A3\\",\\n \\"A4\\": \\"A4\\",\\n \\"A5\\": \\"A5\\",\\n \\"A6\\": \\"A6\\",\\n \\"A7\\": \\"A7\\",\\n \\"A8\\": \\"A8\\",\\n \\"A9\\": \\"A9\\",\\n \\"A10\\": \\"A10\\",\\n \\"A11\\": \\"A11\\"\\n }\\n ]\\n },\\n \\"ScheduleType\\": \\"rate\\",\\n \\"ResultUrl\\": \\"http://shuanglu-prod.oss-cn-shanghai-finance-1-pub.aliyuncs.com/idrs/24/local/remoteresult?Expires=1756436489&OSSAccessKeyId=****&Signature=****\\",\\n \\"UserId\\": 5129547232,\\n \\"IsCharge\\": true\\n },\\n \\"Code\\": \\"200\\",\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"Message\\": \\"success\\"\\n}","type":"json"}]',
+ ],
+ 'ImportField' => [
+ 'summary' => '批量导入',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
- 'abilityTreeCode' => '139243',
- 'abilityTreeNodes' => [
- 'FEATUREsafT73ZWM',
- ],
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '173080',
+ 'abilityTreeNodes' => ['FEATUREsafWH3N80'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
+ ],
+ [
+ 'name' => 'FileUrl',
+ 'in' => 'query',
+ 'schema' => ['description' => '附件下载地址。', 'type' => 'string', 'required' => true, 'example' => 'filed/data/text.csv'],
],
[
'name' => 'RegId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
@@ -31775,32 +23588,22 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求id。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ 'Success' => ['description' => '请求成功与否标识。', 'type' => 'boolean', 'example' => 'true'],
+ 'Code' => ['description' => '接口状态码。', 'type' => 'string', 'example' => '200'],
+ 'Message' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'successful'],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'string', 'example' => '200'],
'ResultObject' => [
- 'description' => '返回结果。',
- 'type' => 'string',
- 'example' => 'true',
- ],
- 'HttpStatusCode' => [
- 'description' => 'http状态码。',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'Code' => [
- 'description' => '返回码。',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'Message' => [
- 'description' => '返回信息。',
- 'type' => 'string',
- 'example' => 'success',
+ 'description' => '返回的结果',
+ 'type' => 'object',
+ 'properties' => [
+ 'TotalNum' => ['description' => '总记录数。', 'type' => 'integer', 'format' => 'int32', 'example' => '7'],
+ 'SuccessNum' => ['description' => '执行成功数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '7'],
+ 'FailFieldNames' => ['description' => '未上传成功字段名', 'type' => 'string', 'example' => 'test'],
+ ],
],
],
+ 'description' => '',
],
],
],
@@ -31808,161 +23611,168 @@
'enable' => false,
'eventNames' => [],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"ResultObject\\": \\"true\\",\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"success\\"\\n}","type":"json"}]',
- 'title' => '前置条件判断',
- ],
- 'SampleFileDownload' => [
- 'summary' => '模板下载。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '批量导入字段',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ImportField'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"successful\\",\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"ResultObject\\": {\\n \\"TotalNum\\": 7,\\n \\"SuccessNum\\": 7,\\n \\"FailFieldNames\\": \\"test\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'ImportNameList' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'readAndWrite',
'systemTags' => [
'operationType' => 'get',
- 'abilityTreeCode' => '138558',
- 'abilityTreeNodes' => [
- 'FEATUREsafT73ZWM',
- ],
- 'tenantRelevance' => 'publicInformation',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREsafXYIHRP'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'RegId',
+ 'name' => 'variableId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '变量id。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '393314'],
],
[
- 'name' => 'Tab',
+ 'name' => 'title',
'in' => 'query',
- 'schema' => [
- 'description' => '场景。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'FINANCE',
- ],
+ 'schema' => ['description' => '标题。', 'type' => 'string', 'required' => true, 'example' => '变量title'],
+ ],
+ [
+ 'name' => 'description',
+ 'in' => 'query',
+ 'schema' => ['description' => '描述信息。', 'type' => 'string', 'required' => false, 'example' => 'description'],
+ ],
+ [
+ 'name' => 'importType',
+ 'in' => 'query',
+ 'schema' => ['description' => '文档导入类型:'."\n"
+ ."\n\n"
+ .'INPUT:文本输入'."\n"
+ .'CSV:CSV上传'."\n"
+ .'NONE:暂不上传。', 'type' => 'string', 'required' => true, 'example' => 'CSV'],
+ ],
+ [
+ 'name' => 'data',
+ 'in' => 'query',
+ 'schema' => ['description' => '导入名称列表。', 'type' => 'string', 'required' => false, 'example' => 'aa\\nbb\\ncc'],
+ ],
+ [
+ 'name' => 'regId',
+ 'in' => 'query',
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
+ ],
+ [
+ 'name' => 'createType',
+ 'in' => 'query',
+ 'schema' => ['description' => '创建类型。', 'type' => 'string', 'required' => false, 'example' => 'NORMAL'],
+ ],
+ [
+ 'name' => 'nameListType',
+ 'in' => 'query',
+ 'schema' => ['description' => 'nameListType。', 'type' => 'string', 'required' => false, 'example' => 'accountId'],
+ ],
+ [
+ 'name' => 'memo',
+ 'in' => 'query',
+ 'schema' => ['description' => '描述。', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
],
'responses' => [
200 => [
+ 'headers' => [],
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求id。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
- 'ResultObject' => [
- 'description' => '请求结果。',
- 'type' => 'string',
- 'example' => 'true',
- ],
- 'HttpStatusCode' => [
- 'description' => 'http状态码。',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'Message' => [
- 'description' => '返回信息。',
- 'type' => 'string',
- 'example' => 'success',
- ],
- 'Code' => [
- 'description' => '状态码。',
- 'type' => 'string',
- 'example' => '200',
- ],
+ 'resultObject' => ['description' => '返回对象。', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
],
+ 'description' => '',
],
],
],
- 'eventInfo' => [
- 'enable' => false,
- 'eventNames' => [],
+ 'title' => '创建或者导入名单',
+ 'summary' => '创建或导入名单。',
+ 'changeSet' => [
+ ['createdAt' => '2025-07-30T01:39:51.000Z', 'description' => '请求参数发生变更'],
+ ['createdAt' => '2022-07-20T02:36:33.000Z', 'description' => '请求参数发生变更'],
+ ['createdAt' => '2022-05-11T07:27:46.000Z', 'description' => 'OpenAPI 下线'],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"ResultObject\\": \\"true\\",\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"Message\\": \\"success\\",\\n \\"Code\\": \\"200\\"\\n}","type":"json"}]',
- 'title' => '模板下载',
- ],
- 'TaskNameByUserId' => [
- 'summary' => '判断任务名是否重复。',
- 'methods' => [
- 'post',
- 'get',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ImportNameList'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'ImportTemplateEvent' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'get',
- 'abilityTreeCode' => '138560',
- 'abilityTreeNodes' => [
- 'FEATUREsafT73ZWM',
- ],
- ],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'RegId',
+ 'name' => 'eventTemplateIds',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '事件的模板id。', 'type' => 'string', 'required' => false, 'example' => 'register'],
],
[
- 'name' => 'TaskName',
+ 'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '任务名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Methylation_node_5_3',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
@@ -31970,887 +23780,718 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
- 'ResultObject' => [
- 'description' => '返回结果。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'HttpStatusCode' => [
- 'description' => 'http状态码。',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'Code' => [
- 'description' => '响应码。',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'Message' => [
- 'description' => '返回消息。',
- 'type' => 'string',
- 'example' => 'success',
- ],
+ 'data' => ['description' => '返回数据对象', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"ResultObject\\": true,\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"success\\"\\n}","type":"json"}]',
- 'title' => '任务名是否重复',
- ],
- 'DescribeNameListVariablePageList' => [
- 'summary' => '名单列表。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '导入模板事件',
+ 'summary' => '导入模板事件',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:19:05.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ImportTemplateEvent'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'ListSample' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'readAndWrite',
'systemTags' => [
'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '138403',
+ 'abilityTreeNodes' => ['FEATUREsafT73ZWM'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '接口返回错误信息语言。取值:zh:中文。 en:英文。 默认为en。', 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'regId',
+ 'name' => 'Tab',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '场景。', 'type' => 'string', 'required' => false, 'example' => 'FINANCE'],
],
[
- 'name' => 'nameListType',
+ 'name' => 'SampleName',
'in' => 'query',
- 'schema' => [
- 'description' => '变量类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'accountId',
- ],
+ 'schema' => ['description' => '样本名称。', 'type' => 'string', 'required' => false, 'example' => 'SampleTest'],
],
[
- 'name' => 'name',
+ 'name' => 'UploadTimeStart',
'in' => 'query',
- 'schema' => [
- 'description' => '变量name。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'age',
- ],
+ 'schema' => ['description' => '上传开始时间。', 'type' => 'string', 'required' => false, 'example' => '2023-03-09 14:45:23'],
],
[
- 'name' => 'value',
+ 'name' => 'UploadTimeEnd',
'in' => 'query',
- 'schema' => [
- 'description' => '名单值。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'valuexxx',
- ],
+ 'schema' => ['description' => '上传结束时间。', 'type' => 'string', 'required' => false, 'example' => '2023-03-09 14:45:26'],
],
[
- 'name' => 'currentPage',
+ 'name' => 'RegId',
'in' => 'query',
- 'schema' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'pageSize',
+ 'name' => 'Type',
'in' => 'query',
- 'schema' => [
- 'description' => '每页大小,默认值为10。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '访问类型。', 'type' => 'string', 'required' => false, 'example' => 'SAF_CONSOLE'],
+ ],
+ [
+ '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'],
],
],
'responses' => [
200 => [
- 'headers' => [],
'schema' => [
'type' => 'object',
'properties' => [
- 'resultObject' => [
- 'description' => '返回对象。',
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ 'ResultObject' => [
+ 'description' => '返回结果。',
'type' => 'array',
'items' => [
- 'description' => '返回对象。',
+ 'description' => '返回结果。',
'type' => 'object',
'properties' => [
- 'leftCapacity' => [
- 'description' => '剩余容量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '99997',
- ],
- 'sourceType' => [
- 'description' => '数据来源。',
- 'type' => 'string',
- 'example' => 'SAF',
- ],
- 'name' => [
- 'description' => '参数名称。',
- 'type' => 'string',
- 'example' => 'nl_UN8otElLb490',
- ],
- 'nameListType' => [
- 'description' => '名单类型。',
- 'type' => 'string',
- 'example' => '手机号',
- ],
- 'id' => [
- 'description' => '名单id。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '497',
- ],
- 'type' => [
- 'description' => '变量类型。',
- 'type' => 'string',
- 'example' => 'NAME_LIST',
- ],
- 'title' => [
- 'description' => '标题。',
- 'type' => 'string',
- 'example' => '白名单',
- ],
- 'userId' => [
- 'description' => '用户uid。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '180650758xxxxxxx',
- ],
- 'refObjId' => [
- 'description' => '关联事件eventCode。',
- 'type' => 'string',
- 'example' => '-1',
- ],
- 'capacity' => [
- 'description' => '使用容量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '3',
- ],
- 'refObjType' => [
- 'description' => '关联类型。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => 'EVENT',
- ],
- 'gmtCreate' => [
- 'description' => '创建时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1621578648000',
- ],
- 'gmtModified' => [
- 'description' => '修改时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1565701886000',
- ],
- 'description' => [
- 'description' => '描述信息。',
- 'type' => 'string',
- 'example' => '变量描述',
- ],
+ 'SampleId' => ['description' => '样本ID。', 'type' => 'integer', 'format' => 'int32', 'example' => '7'],
+ 'SampleName' => ['description' => '样本名称。', 'type' => 'string', 'example' => 'TEst'],
+ 'Tab' => ['description' => '场景。', 'type' => 'string', 'example' => 'FINANCE'],
+ 'UploadTime' => ['description' => '文件上传时间。', 'type' => 'string', 'example' => '2023-04-09 12:45:23'],
+ 'UploadUserName' => ['description' => '上传人。', 'type' => 'string', 'example' => 'mest'],
+ 'Remark' => ['description' => '备注信息。', 'type' => 'string', 'example' => 'vpc-gw8hs2m7qiiy4onxnjf7x'],
+ 'FileName' => ['description' => '文件名。', 'type' => 'string', 'example' => '202604016426_2_MOB_10W.csv'],
+ 'FileSize' => ['description' => '文件大小。单位:字节。', 'type' => 'integer', 'format' => 'int32', 'example' => '78'],
+ 'RowCount' => ['description' => '表行数。', 'type' => 'integer', 'format' => 'int32', 'example' => '284'],
],
],
],
- 'totalItem' => [
- 'description' => '总条数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '101',
- ],
- 'totalPage' => [
- 'description' => '总页数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'pageSize' => [
- 'description' => '每页大小,默认值为10。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'currentPage' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'requestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2',
- ],
+ 'Code' => ['description' => '状态码。', 'type' => 'string', 'example' => '200'],
+ 'HttpStatusCode' => ['description' => 'http状态码。', 'type' => 'string', 'example' => '200'],
+ 'Message' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'successful'],
+ 'TotalItem' => ['description' => '返回总个数。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'TotalPage' => ['description' => '总页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'CurrentPage' => ['description' => '当前页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'PageSize' => ['description' => '分页大小。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": [\\n {\\n \\"leftCapacity\\": 99997,\\n \\"sourceType\\": \\"SAF\\",\\n \\"name\\": \\"nl_UN8otElLb490\\",\\n \\"nameListType\\": \\"手机号\\",\\n \\"id\\": 497,\\n \\"type\\": \\"NAME_LIST\\",\\n \\"title\\": \\"白名单\\",\\n \\"userId\\": 0,\\n \\"refObjId\\": \\"-1\\",\\n \\"capacity\\": 3,\\n \\"refObjType\\": 0,\\n \\"gmtCreate\\": 1621578648000,\\n \\"gmtModified\\": 1565701886000,\\n \\"description\\": \\"变量描述\\"\\n }\\n ],\\n \\"totalItem\\": 101,\\n \\"totalPage\\": 1,\\n \\"pageSize\\": 10,\\n \\"currentPage\\": 1,\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\"\\n}","type":"json"}]',
- 'title' => '名单列表查询',
- ],
- 'DescribeNameListPageList' => [
- 'summary' => '名单内容查询。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '样本列表',
+ 'summary' => '样本列表查询',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:ListSample',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"ResultObject\\": [\\n {\\n \\"SampleId\\": 7,\\n \\"SampleName\\": \\"TEst\\",\\n \\"Tab\\": \\"FINANCE\\",\\n \\"UploadTime\\": \\"2023-04-09 12:45:23\\",\\n \\"UploadUserName\\": \\"mest\\",\\n \\"Remark\\": \\"vpc-gw8hs2m7qiiy4onxnjf7x\\",\\n \\"FileName\\": \\"202604016426_2_MOB_10W.csv\\",\\n \\"FileSize\\": 78,\\n \\"RowCount\\": 284\\n }\\n ],\\n \\"Code\\": \\"200\\",\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"Message\\": \\"successful\\",\\n \\"TotalItem\\": 0,\\n \\"TotalPage\\": 1,\\n \\"CurrentPage\\": 1,\\n \\"PageSize\\": 10\\n}","type":"json"}]',
+ ],
+ 'ListTaskGroup' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'readAndWrite',
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREsafXYIHRP',
- ],
+ 'abilityTreeCode' => '138403',
+ 'abilityTreeNodes' => ['FEATUREsafT73ZWM'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
- ],
- [
- 'name' => 'regId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '接口返回错误信息语言。取值:zh:中文; en:英文。 默认为en。', 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'variableId',
+ 'name' => 'SampleName',
'in' => 'query',
- 'schema' => [
- 'description' => '变量id。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '762',
- ],
+ 'schema' => ['description' => '样本名称。', 'type' => 'string', 'required' => false, 'example' => 'TEst'],
],
[
- 'name' => 'value',
+ 'name' => 'Type',
'in' => 'query',
- 'schema' => [
- 'description' => '变量名称/描述。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '白名单',
- ],
+ 'schema' => ['description' => '访问类型。', 'type' => 'string', 'required' => false, 'example' => 'SAF_CONSOLE'],
],
[
- 'name' => 'updateBeginTime',
+ 'name' => 'TaskGroupName',
'in' => 'query',
- 'schema' => [
- 'description' => '更新开始时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1753372800000',
- ],
+ 'schema' => ['description' => '任务组名称。', 'type' => 'string', 'required' => false, 'example' => 'TeskGroupTest'],
],
[
- 'name' => 'updateEndTime',
+ 'name' => 'RegId',
'in' => 'query',
- 'schema' => [
- 'description' => '更新结束时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1753459199059',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'currentPage',
+ 'name' => 'CurrentPage',
'in' => 'query',
- 'schema' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '3',
- ],
+ 'schema' => ['description' => '当前页数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
- 'name' => 'pageSize',
+ 'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '每页大小,默认值为10。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '分页大小。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
],
'responses' => [
200 => [
- 'headers' => [],
'schema' => [
'type' => 'object',
'properties' => [
- 'resultObject' => [
- 'description' => '返回对象。',
+ 'RequestId' => ['description' => '请求 ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ 'ResultObject' => [
+ 'description' => '请求结果。',
'type' => 'array',
'items' => [
- 'description' => '返回对象。',
+ 'description' => '返回结果。',
'type' => 'object',
'properties' => [
- 'id' => [
- 'description' => '名单变量内容数据id。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '497',
- ],
- 'name' => [
- 'description' => '变量name。',
- 'type' => 'string',
- 'example' => 'nl_UN8otElLb490',
- ],
- 'nameListType' => [
- 'description' => '变量类型。',
- 'type' => 'string',
- 'example' => 'accountId',
- ],
- 'title' => [
- 'description' => '标题。',
- 'type' => 'string',
- 'example' => '白名单',
- ],
- 'variableId' => [
- 'description' => '变量id。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '762',
- ],
- 'value' => [
- 'description' => '变量值。',
- 'type' => 'string',
- 'example' => '130433202307074287',
- ],
- 'gmtModified' => [
- 'description' => '修改时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1565701886000',
- ],
- 'gmtCreate' => [
- 'description' => '创建时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1621578648000',
- ],
- 'userId' => [
- 'description' => '用户uid。',
- 'type' => 'string',
- 'example' => '130433202307074287',
+ 'TaskGroupId' => ['description' => '任务组 ID。', 'type' => 'integer', 'format' => 'int32', 'example' => 'g-uf62fwvw2f8dx88xo2lt'],
+ 'TaskGroupName' => ['description' => '任务组名称。', 'type' => 'string', 'example' => 'GroupTest'],
+ 'SubTaskCount' => ['description' => '任务解析, 拆分出来子任务个数。', 'type' => 'integer', 'format' => 'int32', 'example' => '4'],
+ 'GroupStatus' => ['description' => '群组状态。', 'type' => 'string', 'example' => 'RUNNING'],
+ 'SampleNames' => [
+ 'description' => '任务组名称。',
+ 'type' => 'array',
+ 'items' => ['description' => '任务组名称。', 'type' => 'string', 'example' => 'tsgds'],
],
- 'memo' => [
- 'description' => '备注。',
- 'type' => 'string',
- 'example' => '本迭代测试',
+ 'CreatorUserId' => ['description' => '创建人。', 'type' => 'integer', 'format' => 'int64', 'example' => '324253'],
+ 'CreateTime' => ['description' => '创建时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1588820785212'],
+ 'Tab' => ['description' => '场景。', 'type' => 'string', 'example' => 'FINANCE'],
+ 'SubTaskList' => [
+ 'description' => '子任务。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'SubTaskId' => ['description' => '子任务ID。', 'type' => 'integer', 'format' => 'int32', 'example' => '3'],
+ 'TaskGroupId' => ['description' => '任务组 ID。', 'type' => 'integer', 'format' => 'int32', 'example' => '4'],
+ 'SampleId' => ['description' => '样本ID。', 'type' => 'integer', 'format' => 'int32', 'example' => '4'],
+ 'SampleName' => ['description' => '样本名称。', 'type' => 'string', 'example' => 'fs'],
+ 'ServiceCode' => ['description' => '服务code。', 'type' => 'string', 'example' => 'anti_fraud_riskscreening'],
+ 'ServiceName' => ['description' => '服务名称。', 'type' => 'string', 'example' => '申请反欺诈V5(分值版)'],
+ 'ModelScene' => ['description' => '模型场景。', 'type' => 'string', 'example' => 'rfs'],
+ 'TaskStatus' => ['description' => '导入任务的执行状态:'."\n"
+ .'- DOING:运行中'."\n"
+ .'- FINISH:执行完成。', 'type' => 'string', 'example' => 'Finished'],
+ 'FinishTime' => ['description' => '任务结束时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '2026-01-12 15:47:23'],
+ 'Tab' => ['description' => '场景。', 'type' => 'string', 'example' => 'FINANCE'],
+ 'SupportDownload' => ['description' => '支持下载。', 'type' => 'boolean', 'example' => 'true'],
+ 'SupportView' => ['description' => '支持查看。', 'type' => 'boolean', 'example' => 'true'],
+ 'SupportCancel' => ['description' => '是否可以取消任务。取值范围: '."\n"
+ .' '."\n"
+ .'- true:可以取消 '."\n"
+ .'- false:无法取消 。', 'type' => 'boolean', 'example' => 'true'],
+ 'SupportMergeSelect' => ['description' => '支持合并下载。', 'type' => 'boolean', 'example' => 'false'],
+ 'HideViewResultButton' => ['description' => '是否隐藏。', 'type' => 'boolean', 'example' => 'true'],
+ 'IsCharge' => ['description' => '是否收费。', 'type' => 'boolean', 'example' => 'true'],
+ 'GroupName' => ['description' => '用户组名称。', 'type' => 'string', 'example' => 'pts-demo'],
+ ],
+ 'description' => '',
+ ],
],
],
],
],
- 'requestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2',
- ],
- 'totalItem' => [
- 'description' => '总条数。',
- 'type' => 'string',
- 'example' => '101',
- ],
- 'totalPage' => [
- 'description' => '总页数。',
- 'type' => 'string',
- 'example' => '9',
- ],
- 'pageSize' => [
- 'description' => '每页大小,默认值为10。',
- 'type' => 'string',
- 'example' => '10',
- ],
- 'currentPage' => [
- 'description' => '当前页码。',
- 'type' => 'string',
- 'example' => '1',
- ],
+ 'Code' => ['description' => '状态码。', 'type' => 'string', 'example' => '200'],
+ 'HttpStatusCode' => ['description' => 'http状态码。', 'type' => 'string', 'example' => '200'],
+ 'Message' => ['description' => '返回消息。', 'type' => 'string', 'example' => 'success'],
+ 'TotalItem' => ['description' => '返回总个数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'TotalPage' => ['description' => '总页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'CurrentPage' => ['description' => '当前页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
+ 'PageSize' => ['description' => '分页大小。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": [\\n {\\n \\"id\\": 497,\\n \\"name\\": \\"nl_UN8otElLb490\\",\\n \\"nameListType\\": \\"accountId\\",\\n \\"title\\": \\"白名单\\",\\n \\"variableId\\": 762,\\n \\"value\\": \\"130433202307074287\\",\\n \\"gmtModified\\": 1565701886000,\\n \\"gmtCreate\\": 1621578648000,\\n \\"userId\\": \\"130433202307074287\\",\\n \\"memo\\": \\"本迭代测试\\"\\n }\\n ],\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\",\\n \\"totalItem\\": \\"101\\",\\n \\"totalPage\\": \\"9\\",\\n \\"pageSize\\": \\"10\\",\\n \\"currentPage\\": \\"1\\"\\n}","type":"json"}]',
- 'title' => '分页查询名单',
- ],
- 'DescribeNameListTypeList' => [
- 'summary' => '名单类型列表。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '任务组列表',
+ 'summary' => '任务组列表查询',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:ListTaskGroup',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"ResultObject\\": [\\n {\\n \\"TaskGroupId\\": 0,\\n \\"TaskGroupName\\": \\"GroupTest\\",\\n \\"SubTaskCount\\": 4,\\n \\"GroupStatus\\": \\"RUNNING\\",\\n \\"SampleNames\\": [\\n \\"tsgds\\"\\n ],\\n \\"CreatorUserId\\": 324253,\\n \\"CreateTime\\": 1588820785212,\\n \\"Tab\\": \\"FINANCE\\",\\n \\"SubTaskList\\": [\\n {\\n \\"SubTaskId\\": 3,\\n \\"TaskGroupId\\": 4,\\n \\"SampleId\\": 4,\\n \\"SampleName\\": \\"fs\\",\\n \\"ServiceCode\\": \\"anti_fraud_riskscreening\\",\\n \\"ServiceName\\": \\"申请反欺诈V5(分值版)\\",\\n \\"ModelScene\\": \\"rfs\\",\\n \\"TaskStatus\\": \\"Finished\\",\\n \\"FinishTime\\": 0,\\n \\"Tab\\": \\"FINANCE\\",\\n \\"SupportDownload\\": true,\\n \\"SupportView\\": true,\\n \\"SupportCancel\\": true,\\n \\"SupportMergeSelect\\": false,\\n \\"HideViewResultButton\\": true,\\n \\"IsCharge\\": true,\\n \\"GroupName\\": \\"pts-demo\\"\\n }\\n ]\\n }\\n ],\\n \\"Code\\": \\"200\\",\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"Message\\": \\"success\\",\\n \\"TotalItem\\": 1,\\n \\"TotalPage\\": 1,\\n \\"CurrentPage\\": 2,\\n \\"PageSize\\": 10\\n}","type":"json"}]',
+ ],
+ 'ListVariableDefine' => [
+ 'summary' => '查询变量定义',
+ 'path' => '',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
+ 'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREsafBCGX2Z'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'],
+ ],
+ [
+ 'name' => 'scenesStr',
+ 'in' => 'query',
+ 'schema' => ['description' => '场景', 'type' => 'string', 'required' => false, 'example' => '[\\"EVENT_ACTION\\"]'],
+ ],
+ [
+ 'name' => 'currentPage',
+ 'in' => 'query',
+ 'schema' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
+ ],
+ [
+ 'name' => 'pageSize',
+ 'in' => 'query',
+ 'schema' => ['description' => '每页大小,默认值为10', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
+ ],
+ [
+ 'name' => 'queryContent',
+ 'in' => 'query',
+ 'schema' => ['description' => '查询内容', 'type' => 'string', 'required' => false, 'example' => 'age'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
+ ],
+ [
+ 'name' => 'chargingMode',
+ 'in' => 'query',
+ 'schema' => ['description' => '收费模式', 'type' => 'string', 'required' => false, 'example' => 'FREE'],
+ ],
+ [
+ 'name' => 'title',
+ 'in' => 'query',
+ 'schema' => ['description' => '标题。', 'type' => 'string', 'required' => false, 'example' => '变量的title'],
+ ],
+ [
+ 'name' => 'source',
+ 'in' => 'query',
+ 'schema' => ['description' => '来源', 'type' => 'string', 'required' => false, 'example' => 'SAF'],
+ ],
+ [
+ 'name' => 'paging',
+ 'in' => 'query',
+ 'schema' => ['description' => '分页标识', 'type' => 'string', 'required' => false, 'example' => 'false'],
+ ],
+ [
+ 'name' => 'typesStr',
+ 'in' => 'query',
+ 'schema' => ['description' => '类型', 'type' => 'string', 'required' => false, 'example' => '[\\"IDENTIFY_SERVICE\\"]'."\n"],
+ ],
+ [
+ 'name' => 'allowBind',
+ 'in' => 'query',
+ 'schema' => ['description' => '是否允许绑定,默认为ENABLE', 'type' => 'string', 'required' => false, 'example' => 'ENABLE'],
+ ],
+ [
+ 'name' => 'status',
+ 'in' => 'query',
+ 'schema' => ['description' => '状态。', 'type' => 'string', 'required' => false, 'example' => 'ENABLE'],
+ ],
+ [
+ 'name' => 'roleType',
+ 'in' => 'query',
+ 'schema' => ['description' => '授权类型', 'type' => 'string', 'required' => false, 'example' => '1'],
],
],
'responses' => [
200 => [
'headers' => [],
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'resultObject' => [
- 'description' => '返回对象。',
- 'type' => 'array',
- 'items' => [
- 'description' => '返回对象。',
- 'type' => 'object',
- 'properties' => [
- 'key' => [
- 'description' => '匹配Key。',
- 'type' => 'string',
- 'example' => 'accountId',
- ],
- 'value' => [
- 'description' => '变量值。',
- 'type' => 'string',
- 'example' => '账号ID',
- ],
- ],
- ],
- ],
- 'requestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2',
- ],
+ 'totalItem' => ['description' => '总条数', 'type' => 'integer', 'format' => 'int32', 'example' => '27'],
+ 'resultObject' => ['description' => '返回对象', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ 'totalPage' => ['description' => '总页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '4'],
+ 'pageSize' => ['description' => '每页大小,默认值为10', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'currentPage' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": [\\n {\\n \\"key\\": \\"accountId\\",\\n \\"value\\": \\"账号ID\\"\\n }\\n ],\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\"\\n}","type":"json"}]',
- 'title' => '名单类型列表',
- ],
- 'DescribeNameListDownloadUrl' => [
- 'summary' => '下载名单列表。',
- 'methods' => [
- 'post',
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '查询变量定义',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListVariableDefine'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"totalItem\\": 27,\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"totalPage\\": 4,\\n \\"pageSize\\": 10,\\n \\"currentPage\\": 1\\n}","type":"json"}]',
+ ],
+ 'MergeDownload' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'readAndWrite',
'systemTags' => [
'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '138403',
+ 'abilityTreeNodes' => ['FEATUREsafT73ZWM'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '接口返回错误信息语言。取值:zh:中文。 en:英文。 默认为en。', 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'regId',
+ 'name' => 'RegId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'variableId',
+ 'name' => 'SubTaskIds',
'in' => 'query',
- 'schema' => [
- 'description' => '变量id。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '762',
- ],
+ 'schema' => ['description' => '任务IDS。', 'type' => 'string', 'required' => false, 'example' => '1,2'],
],
],
'responses' => [
200 => [
- 'headers' => [],
'schema' => [
'type' => 'object',
'properties' => [
- 'resultObject' => [
- 'description' => '返回对象。',
+ 'RequestId' => ['description' => '请求 ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ 'ResultObject' => [
+ 'description' => '返回结果。',
'type' => 'object',
'properties' => [
- 'downloadFileUrl' => [
- 'description' => '下载地址。',
- 'type' => 'string',
- 'example' => 'https://xxxxx-oss-xxxxx.xxxxxx.aliyuncs.com/xx/xx/xxx/xxxxxx.csv?Expires=1753433384&OSSAccessKeyId=xxxxxxxxx&Signature=%2F%xxxxxxxxxxxx%3D',
- ],
+ 'Url' => ['description' => 'OSS下载地址。', 'type' => 'string', 'example' => 'rtmp://push-live.gaotime.com/jiaenguang789/21645251932448?auth_key=1768357031-0-0-6e2a4815fe4e2287a86be1105d42bf53'],
+ 'Status' => ['description' => '状态。', 'type' => 'string', 'example' => 'Success'],
],
],
- 'requestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2',
- ],
+ 'Code' => ['description' => '状态码。', 'type' => 'string', 'example' => '200'],
+ 'HttpStatusCode' => ['description' => 'http状态码。', 'type' => 'string', 'example' => '200'],
+ 'Message' => ['description' => '返回信息。', 'type' => 'string', 'example' => 'success'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": {\\n \\"downloadFileUrl\\": \\"https://xxxxx-oss-xxxxx.xxxxxx.aliyuncs.com/xx/xx/xxx/xxxxxx.csv?Expires=1753433384&OSSAccessKeyId=xxxxxxxxx&Signature=%2F%xxxxxxxxxxxx%3D\\"\\n },\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\"\\n}","type":"json"}]',
- 'title' => '下载名单内容',
- ],
- 'DescribePrivateStack' => [
- 'summary' => '判断是否开通Stack私域模式。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '合并下载',
+ 'summary' => '合并下载',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:MergeDownload',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"ResultObject\\": {\\n \\"Url\\": \\"rtmp://push-live.gaotime.com/jiaenguang789/21645251932448?auth_key=1768357031-0-0-6e2a4815fe4e2287a86be1105d42bf53\\",\\n \\"Status\\": \\"Success\\"\\n },\\n \\"Code\\": \\"200\\",\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"Message\\": \\"success\\"\\n}","type":"json"}]',
+ ],
+ 'ModelDelete' => [
+ 'summary' => '删除模型。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
- 'deprecated' => false,
+ 'operationType' => 'readAndWrite',
'systemTags' => [
'operationType' => 'get',
+ 'abilityTreeCode' => '155842',
+ 'abilityTreeNodes' => ['FEATUREsafT73ZWM'],
],
'parameters' => [
[
- 'name' => 'regId',
+ 'name' => 'RegId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
+ ],
+ [
+ 'name' => 'ModelName',
+ 'in' => 'query',
+ 'schema' => ['description' => '模型名称。', 'type' => 'string', 'required' => true, 'example' => 'qwen-max'],
],
],
'responses' => [
200 => [
+ 'headers' => [],
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
- 'resultObject' => [
- 'description' => '返回对象。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ 'ResultObject' => ['description' => '删除结果。', 'type' => 'boolean', 'example' => 'true'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"resultObject\\": true\\n}","type":"json"}]',
- 'title' => '判断该用户是否开通privateStack模式',
- ],
- 'DescribeSceneEventPageList' => [
- 'summary' => '场景化事件风控事件列表查询。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '删除模型',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModelDelete'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"ResultObject\\": true\\n}","type":"json"}]',
+ ],
+ 'ModelFileUpload' => [
+ 'summary' => '文件上传校验。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'readAndWrite',
'systemTags' => [
'operationType' => 'get',
+ 'abilityTreeCode' => '155881',
+ 'abilityTreeNodes' => ['FEATUREsafT73ZWM'],
],
'parameters' => [
[
- 'name' => 'Lang',
+ 'name' => 'RegId',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'regId',
+ 'name' => 'ObjectName',
'in' => 'query',
+ 'schema' => ['description' => '文件名称。', 'type' => 'string', 'required' => true, 'example' => '2023-07-10/商品信息批量导出-20230710132028'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'headers' => [],
'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => '请求id。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ 'ResultObject' => ['description' => '返回结果。', 'type' => 'boolean', 'example' => 'true'],
+ ],
+ 'description' => '',
],
],
+ ],
+ 'title' => '文件上传校验',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModelFileUpload'],
+ ],
+ ],
+ 'ramActions' => [
[
- 'name' => 'currentPage',
- 'in' => 'query',
- 'schema' => [
- 'description' => '当前页码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"ResultObject\\": true\\n}","type":"json"}]',
+ ],
+ 'ModelIsUsing' => [
+ 'summary' => '启用、停用。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'pageSize',
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '155843',
+ 'abilityTreeNodes' => ['FEATUREsafT73ZWM'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'RegId',
'in' => 'query',
- 'schema' => [
- 'description' => '分页大小。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'nameOrCode',
+ 'name' => 'ModelId',
'in' => 'query',
- 'schema' => [
- 'description' => '搜索的名称或服务code。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'servicer_code',
- ],
+ 'schema' => ['description' => '模型id。', 'type' => 'string', 'required' => true, 'example' => '27269'],
+ ],
+ [
+ 'name' => 'ModelName',
+ 'in' => 'query',
+ 'schema' => ['description' => '模型名称。', 'type' => 'string', 'required' => true, 'example' => 'text-embedding-v1'],
+ ],
+ [
+ 'name' => 'Status',
+ 'in' => 'query',
+ 'schema' => ['description' => '模型状态。', 'type' => 'string', 'required' => true, 'example' => 'Disabled'],
+ ],
+ [
+ 'name' => 'ModelCode',
+ 'in' => 'query',
+ 'schema' => ['description' => '模型编码。', 'type' => 'string', 'required' => true, 'example' => 'ebgdsa'],
],
],
'responses' => [
200 => [
'schema' => [
- 'description' => '返回参数。',
'type' => 'object',
'properties' => [
- 'resultObject' => [
- 'description' => '返回数组。',
- 'type' => 'array',
- 'items' => [
- 'description' => '返回对象。',
- 'type' => 'object',
- 'properties' => [
- 'service' => [
- 'description' => '服务编码。',
- 'type' => 'string',
- 'example' => 'device_risk',
- ],
- 'eventName' => [
- 'description' => '事件名称。',
- 'type' => 'string',
- 'example' => '注册风险',
- ],
- 'eventCode' => [
- 'description' => '事件编码。',
- 'type' => 'string',
- 'example' => 'de_aszbjb7236',
- ],
- 'commonRuleCount' => [
- 'description' => '通用策略数量。',
- 'type' => 'string',
- 'example' => '10',
- ],
- 'whiteBoxRuleCount' => [
- 'description' => '白盒化策略数量。',
- 'type' => 'string',
- 'example' => '10',
- ],
- 'customRuleCount' => [
- 'description' => '定制策略数量。',
- 'type' => 'string',
- 'example' => '10',
- ],
- 'normalRuleCount' => [
- 'description' => '自定义策略数量。',
- 'type' => 'string',
- 'example' => '10',
- ],
- 'useStatus' => [
- 'description' => '使用状态。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'IN_USE' => '使用',
- 'NOT_USED' => '未使用',
- ],
- 'example' => '使用/未使用',
- ],
- 'modifier' => [
- 'description' => '修改人。',
- 'type' => 'string',
- 'example' => '公有云用户uid',
- ],
- 'gmtModified' => [
- 'description' => '修改时间。',
- 'type' => 'string',
- 'example' => '1565701886000',
- ],
- ],
- ],
- ],
- 'requestId' => [
- 'description' => '请求id,每次请求都是唯一值,便于后续排查问题。',
- 'type' => 'string',
- 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2',
- ],
- 'totalItem' => [
- 'description' => '总条数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '3',
- ],
- 'totalPage' => [
- 'description' => '总页数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '9',
- ],
- 'currentPage' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'pageSize' => [
- 'description' => '返回结果的分页数。默认值:20,最小值:1,最大值:50。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '20',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ 'ResultObject' => ['description' => '结果对象。', 'type' => 'boolean', 'example' => 'true'],
],
+ 'description' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": [\\n {\\n \\"service\\": \\"device_risk\\",\\n \\"eventName\\": \\"注册风险\\",\\n \\"eventCode\\": \\"de_aszbjb7236\\",\\n \\"commonRuleCount\\": \\"10\\",\\n \\"whiteBoxRuleCount\\": \\"10\\",\\n \\"customRuleCount\\": \\"10\\",\\n \\"normalRuleCount\\": \\"10\\",\\n \\"useStatus\\": \\"使用/未使用\\",\\n \\"modifier\\": \\"公有云用户uid\\",\\n \\"gmtModified\\": \\"1565701886000\\"\\n }\\n ],\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\",\\n \\"totalItem\\": 3,\\n \\"totalPage\\": 9,\\n \\"currentPage\\": 1,\\n \\"pageSize\\": 20\\n}","type":"json"}]',
- 'title' => '场景化事件风控事件列表',
- ],
- 'DescribeSceneAllEventNameCodeList' => [
- 'summary' => '场景化风控事件下拉列表。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '启用/禁用',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModelIsUsing'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"ResultObject\\": true\\n}","type":"json"}]',
+ ],
+ 'ModelNameIsDuplication' => [
+ 'summary' => '模型名是否重复。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -32859,299 +24500,255 @@
'operationType' => 'read',
'systemTags' => [
'operationType' => 'get',
+ 'abilityTreeCode' => '155859',
+ 'abilityTreeNodes' => ['FEATUREsafT73ZWM'],
],
'parameters' => [
[
- 'name' => 'Lang',
+ 'name' => 'RegId',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'regId',
+ 'name' => 'ModelName',
'in' => 'query',
+ 'schema' => ['description' => '模型名称。', 'type' => 'string', 'required' => true, 'example' => 'text-embedding-v2'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'headers' => [],
'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => '请求id。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ 'ResultObject' => ['description' => '返回结果。', 'type' => 'boolean', 'example' => 'true'],
+ ],
+ 'description' => '',
],
],
+ ],
+ 'title' => '模型名是否重复',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModelNameIsDuplication'],
+ ],
+ ],
+ 'ramActions' => [
[
- 'name' => 'createType',
- 'in' => 'query',
- 'schema' => [
- 'description' => '创建类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'NORMAL',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"ResultObject\\": true\\n}","type":"json"}]',
+ ],
+ 'ModelSampleDownload' => [
+ 'summary' => '模板下载',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '155933',
+ 'abilityTreeNodes' => ['FEATUREsafT73ZWM'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'RegId',
+ 'in' => 'query',
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
+ ],
+ ],
'responses' => [
200 => [
+ 'headers' => [],
'schema' => [
- 'description' => '返回对象。',
'type' => 'object',
'properties' => [
- 'requestId' => [
- 'description' => '请求id,每次请求都是唯一值,便于后续排查问题。',
- 'type' => 'string',
- 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2',
- ],
- 'success' => [
- 'description' => '本次操作是否成功,true表示成功。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'code' => [
- 'description' => '状态码。',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'message' => [
- 'description' => '错误详情。',
- 'type' => 'string',
- 'example' => 'The input parameter data is not valid. order_storage_company_num component not found',
- ],
- 'httpStatusCode' => [
- 'description' => 'HTTP状态码。',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'resultObject' => [
- 'description' => '返回对象。',
- 'type' => 'array',
- 'items' => [
- 'description' => '返回对象。',
- 'type' => 'object',
- 'properties' => [
- 'eventCode' => [
- 'description' => '事件编码。',
- 'type' => 'string',
- 'example' => 'de_aszbjb7236',
- ],
- 'eventName' => [
- 'description' => '事件名称。',
- 'type' => 'string',
- 'example' => '营销风险识别_增强版',
- ],
- 'eventType' => [
- 'description' => '事件类型。',
- 'type' => 'string',
- 'example' => 'MAIN',
- ],
- 'createType' => [
- 'description' => '创建类型。',
- 'type' => 'string',
- 'example' => 'MORMAL',
- ],
- 'children' => [
- 'description' => '子类对象。',
- 'type' => 'array',
- 'items' => [
- 'description' => '对象。',
- 'type' => 'object',
- 'properties' => [
- 'eventCode' => [
- 'description' => '事件编码。',
- 'type' => 'string',
- 'example' => 'de_aamexg3015',
- ],
- 'eventName' => [
- 'description' => '事件名称。',
- 'type' => 'string',
- 'example' => '测试',
- ],
- 'eventType' => [
- 'description' => '事件类型。',
- 'type' => 'string',
- 'example' => 'BYPASS',
- ],
- 'createType' => [
- 'description' => '创建类型。',
- 'type' => 'string',
- 'example' => 'NORMAL',
- ],
- ],
- ],
- ],
- ],
- ],
- ],
+ 'RequestId' => ['description' => '请求id。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ 'ResultObject' => ['description' => '请求结果。', 'type' => 'boolean', 'example' => 'true'],
],
+ 'description' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\",\\n \\"success\\": true,\\n \\"code\\": \\"200\\",\\n \\"message\\": \\"The input parameter data is not valid. order_storage_company_num component not found\\",\\n \\"httpStatusCode\\": \\"200\\",\\n \\"resultObject\\": [\\n {\\n \\"eventCode\\": \\"de_aszbjb7236\\",\\n \\"eventName\\": \\"营销风险识别_增强版\\",\\n \\"eventType\\": \\"MAIN\\",\\n \\"createType\\": \\"MORMAL\\",\\n \\"children\\": [\\n {\\n \\"eventCode\\": \\"de_aamexg3015\\",\\n \\"eventName\\": \\"测试\\",\\n \\"eventType\\": \\"BYPASS\\",\\n \\"createType\\": \\"NORMAL\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '场景化风控事件下拉',
- 'description' => '场景化风控事件下拉列表',
- 'requestParamsDescription' => '无',
- 'responseParamsDescription' => '无',
- 'extraInfo' => '无',
- ],
- 'DescribeSceneRulePageList' => [
- 'summary' => '场景化风控事件策略列表。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '模板下载',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModelSampleDownload'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"ResultObject\\": true\\n}","type":"json"}]',
+ ],
+ 'ModifyAppKey' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'readAndWrite',
'systemTags' => [
'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREsafBCGX2Z',
- ],
+ 'abilityTreeCode' => '136128',
+ 'abilityTreeNodes' => ['FEATUREsaf64YRTV', 'FEATUREsaf6E3SDJ', 'FEATUREsafL5D4RG'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'currentPage',
+ 'name' => 'appKey',
'in' => 'query',
- 'schema' => [
- 'description' => '当前页码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => 'appkey信息。', 'type' => 'string', 'required' => false, 'example' => '***'],
],
[
- 'name' => 'pageSize',
+ 'name' => 'memo',
'in' => 'query',
- 'schema' => [
- 'description' => '返回结果的分页数。默认值:20,最小值:1,最大值:50。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '20',
- ],
+ 'schema' => ['description' => '应用的备注信息。', 'type' => 'string', 'required' => false, 'example' => '备注'],
],
[
- 'name' => 'eventCode',
+ 'name' => 'regId',
'in' => 'query',
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '事件编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'de_ahgctb7098',
+ 'type' => 'object',
+ 'properties' => [
+ 'data' => ['description' => '返回数据对象。', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ ],
+ 'description' => '',
],
],
+ ],
+ 'title' => '更新备注',
+ 'summary' => '更新备注。',
+ 'changeSet' => [
+ ['createdAt' => '2024-12-20T06:03:01.000Z', 'description' => '响应参数发生变更'],
+ ['createdAt' => '2022-05-11T07:11:26.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyAppKey'],
+ ],
+ ],
+ 'ramActions' => [
[
- 'name' => 'ruleStatus',
- 'in' => 'query',
- 'schema' => [
- 'description' => '策略状态。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'RUNNING',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'ModifyCustVariable' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'ruleName',
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => ['operationType' => 'get'],
+ 'parameters' => [
+ [
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '策略名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '营销风险识别',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'createType',
+ 'name' => 'id',
'in' => 'query',
- 'schema' => [
- 'description' => '创建类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'NOMAL',
- ],
+ 'schema' => ['description' => '变量id。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '376773'],
],
[
- 'name' => 'ruleAuthType',
+ 'name' => 'dataVersion',
'in' => 'query',
- 'schema' => [
- 'description' => '策略类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'CUSTMER',
- ],
+ 'schema' => ['description' => '数据版本。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '6'],
+ ],
+ [
+ 'name' => 'name',
+ 'in' => 'query',
+ 'schema' => ['description' => '变量name。', 'type' => 'string', 'required' => true, 'example' => 'dxkkLw8fe18'],
+ ],
+ [
+ 'name' => 'eventCodes',
+ 'in' => 'query',
+ 'schema' => ['description' => '事件code。', 'type' => 'string', 'required' => false, 'example' => 'account_abuse_pro,account_abuse'],
+ ],
+ [
+ 'name' => 'description',
+ 'in' => 'query',
+ 'schema' => ['description' => '描述信息。', 'type' => 'string', 'required' => false, 'example' => '描述'],
+ ],
+ [
+ 'name' => 'condition',
+ 'in' => 'query',
+ 'schema' => ['description' => '条件值。', 'type' => 'string', 'required' => false, 'example' => '{\\"currentId\\":1,\\"deepCount\\":0,\\"list\\":[{\\"currentId\\":2,\\"deepCount\\":1,\\"left\\":{\\"code\\":\\"__hit_rules\\",\\"fieldType\\":\\"STRING\\",\\"functionName\\":\\"\\",\\"hasRightVariable\\":true,\\"name\\":\\"hitRules\\",\\"operatorCode\\":\\"deNotInNameList\\"},\\"operatorCode\\":\\"deNotInNameList\\",\\"parentId\\":1,\\"right\\":{\\"code\\":\\"\'nl_Xcufc8wV6624\'\\",\\"name\\":\\"nl_Xcufc8wV6624\\",\\"rightVariableType\\":\\"variable\\"}},{\\"currentId\\":3,\\"deepCount\\":1,\\"list\\":[{\\"currentId\\":4,\\"deepCount\\":2,\\"left\\":{\\"code\\":\\"__v_safde\\",\\"fieldType\\":\\"DOUBLE\\",\\"functionName\\":\\"\\",\\"hasRightVariable\\":true,\\"name\\":\\"score\\",\\"operatorCode\\":\\"equals\\"},\\"operatorCode\\":\\"equals\\",\\"parentId\\":3,\\"right\\":{\\"code\\":\\"\'99\'\\",\\"name\\":\\"99\\",\\"rightVariableType\\":\\"constant\\"}},{\\"currentId\\":5,\\"deepCount\\":2,\\"left\\":{\\"code\\":\\"queryPhoneSimulatorInfo(deviceToken)?\\",\\"fieldType\\":\\"STRING\\",\\"functionName\\":\\"\\",\\"hasRightVariable\\":false,\\"name\\":\\"__device-test01__\\",\\"operatorCode\\":\\"isNotEmptyWrapper\\"},\\"operatorCode\\":\\"isNotEmptyWrapper\\",\\"parentId\\":3,\\"right\\":{\\"functionName\\":\\"\\",\\"name\\":\\"\\",\\"rightVariableType\\":\\"constant\\"}}],\\"parentId\\":1,\\"relationship\\":\\"and\\"}],\\"parentId\\":0,\\"relationship\\":\\"and\\"}'],
+ ],
+ [
+ 'name' => 'outputs',
+ 'in' => 'query',
+ 'schema' => ['description' => '输出。', 'type' => 'string', 'required' => false, 'example' => 'STRING'],
],
],
'responses' => [
200 => [
+ 'headers' => [],
'schema' => [
- 'description' => '返回对象。',
'type' => 'object',
'properties' => [
- 'totalItem' => [
- 'description' => '总条数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '3',
- ],
- 'pageSize' => [
- 'description' => '返回结果的分页数。默认值:20,最小值:1,最大值:50。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '20',
- ],
- 'requestId' => [
- 'description' => '请求id,每次请求都是唯一值,便于后续排查问题。',
- 'type' => 'string',
- 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2',
- ],
- 'currentPage' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'totalPage' => [
- 'description' => '总页数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '9',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
'resultObject' => [
'description' => '返回对象。',
'type' => 'array',
@@ -33159,229 +24756,46 @@
'description' => '返回对象。',
'type' => 'object',
'properties' => [
- 'eventCode' => [
- 'description' => '事件编码。',
- 'type' => 'string',
- 'example' => 'de_aszbjb7236',
- ],
- 'ruleId' => [
- 'description' => '策略ID。',
- 'type' => 'string',
- 'example' => '4730',
- ],
- 'ruleStatus' => [
- 'description' => '策略状态。',
- 'type' => 'string',
- 'example' => 'RUNNING',
- ],
- 'gmtModified' => [
- 'description' => '修改时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1565701886000',
- ],
- 'gmtCreate' => [
- 'description' => '创建时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1621578648000',
- ],
- 'templateId' => [
- 'description' => '模版ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '6',
- ],
- 'priority' => [
- 'description' => '策略优先级,数字越大优先级越高。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'ruleName' => [
- 'description' => '策略名称。',
- 'type' => 'string',
- 'example' => '营销风险识别',
- ],
- 'ruleMemo' => [
- 'description' => '策略描述。',
- 'type' => 'string',
- 'example' => '描述信息',
- ],
- 'eventName' => [
- 'description' => '事件名称。',
- 'type' => 'string',
- 'example' => '注册风险',
- ],
- 'id' => [
- 'description' => '策略主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '497',
- ],
- 'version' => [
- 'description' => '版本号。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1.0',
- ],
- 'ruleVersionId' => [
- 'description' => '策略版本号主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '3823',
- ],
- 'eventType' => [
- 'description' => '事件类型。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'BYPASS' => '旁路事件',
- 'SHUNT' => '分流',
- 'MAIN' => '主事件',
- ],
- 'example' => 'MAIN',
- ],
- 'mainRuleId' => [
- 'description' => '主策略ID。',
- 'type' => 'string',
- 'example' => '4399',
- ],
- 'consoleAudit' => [
- 'description' => '审核对象。',
- 'type' => 'object',
- 'properties' => [
- 'id' => [
- 'description' => '主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1728',
- ],
- 'applyUserId' => [
- 'description' => '发起人账号ID。',
- 'type' => 'string',
- 'example' => '1234567890999',
- ],
- 'applyUserName' => [
- 'description' => '发起人账号名称。',
- 'type' => 'string',
- 'example' => '张三',
- ],
- 'auditUserId' => [
- 'description' => '指定审核人账号ID(多个逗号分割)。',
- 'type' => 'string',
- 'example' => '123',
- ],
- 'auditUserName' => [
- 'description' => '指定审核人账号名称(多个用逗号分割)。',
- 'type' => 'string',
- 'example' => '李四',
- ],
- 'auditRealUserId' => [
- 'description' => '最终审批人ID。',
- 'type' => 'string',
- 'example' => '1234567890',
- ],
- 'auditRealUserName' => [
- 'description' => '审批账号名称。',
- 'type' => 'string',
- 'example' => '王五',
- ],
- 'auditStatus' => [
- 'description' => '状态。',
- 'type' => 'string',
- 'example' => 'AGREE',
- ],
- 'auditTime' => [
- 'description' => '审批时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1545726028000',
- ],
- 'gmtCreate' => [
- 'description' => '创建时间的UTC时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1545726028000',
- ],
- 'relationId' => [
- 'description' => '审批关联的事务ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '123',
- ],
- 'relationType' => [
- 'description' => '审批的类型(如rule代表策略的审批)。',
- 'type' => 'string',
- 'example' => 'RULE',
- ],
- 'relationName' => [
- 'description' => '审批关联的事务名称(可空)。',
- 'type' => 'string',
- 'example' => 't',
- ],
- 'relationExt' => [
- 'description' => '关联的其他人信息(json结构)。',
- 'type' => 'string',
- 'example' => '{}',
- ],
- 'auditMsg' => [
- 'description' => '审批意见。',
- 'type' => 'string',
- 'example' => '同意',
- ],
- 'auditRemark' => [
- 'description' => '申请审批备注。',
- 'type' => 'string',
- 'example' => '备注',
- ],
- ],
- ],
- 'externalRuleName' => [
- 'description' => '策略对客名称。',
- 'type' => 'string',
- 'example' => '策略1',
- ],
- 'ruleAuthType' => [
- 'description' => '策略类型。',
- 'type' => 'string',
- 'example' => 'CUSTMER',
- ],
- 'authType' => [
- 'description' => '服务授权类型。',
- 'type' => 'string',
- 'example' => 'admin',
- ],
- 'ruleType' => [
- 'description' => '规则类型。',
- 'type' => 'string',
- 'example' => 'DSL',
- ],
+ 'success' => ['description' => '操作是否成功。', 'type' => 'boolean', 'example' => 'true'],
+ 'failType' => ['description' => '失败类型。', 'type' => 'string', 'example' => 'rule'],
+ 'message' => ['description' => '详细信息。', 'type' => 'string', 'example' => 'ok'],
],
],
],
],
+ 'description' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'title' => '修改累计变量',
+ 'summary' => '编辑累计变量。',
+ 'changeSet' => [
+ ['createdAt' => '2023-01-09T06:11:43.000Z', 'description' => '响应参数发生变更'],
+ ['createdAt' => '2022-05-11T07:27:47.000Z', 'description' => 'OpenAPI 下线'],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"totalItem\\": 3,\\n \\"pageSize\\": 20,\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\",\\n \\"currentPage\\": 1,\\n \\"totalPage\\": 9,\\n \\"resultObject\\": [\\n {\\n \\"eventCode\\": \\"de_aszbjb7236\\",\\n \\"ruleId\\": \\"4730\\",\\n \\"ruleStatus\\": \\"RUNNING\\",\\n \\"gmtModified\\": 1565701886000,\\n \\"gmtCreate\\": 1621578648000,\\n \\"templateId\\": 6,\\n \\"priority\\": 10,\\n \\"ruleName\\": \\"营销风险识别\\",\\n \\"ruleMemo\\": \\"描述信息\\",\\n \\"eventName\\": \\"注册风险\\",\\n \\"id\\": 497,\\n \\"version\\": 1,\\n \\"ruleVersionId\\": 3823,\\n \\"eventType\\": \\"MAIN\\",\\n \\"mainRuleId\\": \\"4399\\",\\n \\"consoleAudit\\": {\\n \\"id\\": 1728,\\n \\"applyUserId\\": \\"1234567890999\\",\\n \\"applyUserName\\": \\"张三\\",\\n \\"auditUserId\\": \\"123\\",\\n \\"auditUserName\\": \\"李四\\",\\n \\"auditRealUserId\\": \\"1234567890\\",\\n \\"auditRealUserName\\": \\"王五\\",\\n \\"auditStatus\\": \\"AGREE\\",\\n \\"auditTime\\": 1545726028000,\\n \\"gmtCreate\\": 1545726028000,\\n \\"relationId\\": 123,\\n \\"relationType\\": \\"RULE\\",\\n \\"relationName\\": \\"t\\",\\n \\"relationExt\\": \\"{}\\",\\n \\"auditMsg\\": \\"同意\\",\\n \\"auditRemark\\": \\"备注\\"\\n },\\n \\"externalRuleName\\": \\"策略1\\",\\n \\"ruleAuthType\\": \\"CUSTMER\\",\\n \\"authType\\": \\"admin\\",\\n \\"ruleType\\": \\"DSL\\"\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '场景化风控事件策略列表',
- 'description' => '查询风控化场景事件策略列表',
- 'responseParamsDescription' => '无',
- 'extraInfo' => '无',
- ],
- 'CreateSampleApi' => [
- 'summary' => '用户级别单API创建样本批',
- 'methods' => [
- 'post',
- 'get',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyCustVariable'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"resultObject\\": [\\n {\\n \\"success\\": true,\\n \\"failType\\": \\"rule\\",\\n \\"message\\": \\"ok\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'ModifyEvent' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -33389,171 +24803,140 @@
],
'operationType' => 'readAndWrite',
'systemTags' => [
- 'operationType' => 'create',
- 'abilityTreeCode' => '206993',
- 'abilityTreeNodes' => [
- 'FEATUREsaf6MRPQF',
- ],
- 'tenantRelevance' => 'publicInformation',
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREsafWH3N80'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'RegId',
+ 'name' => 'eventCode',
'in' => 'query',
- 'schema' => [
- 'description' => 'regionId',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-shanghai',
- ],
+ 'schema' => ['description' => '事件编码', 'type' => 'string', 'required' => false, 'example' => 'de_ambiby3420'],
],
[
- 'name' => 'SampleBatchType',
+ 'name' => 'memo',
'in' => 'query',
- 'schema' => [
- 'description' => '样本批次类型',
- 'type' => 'string',
- 'required' => false,
- 'example' => '白名单/黑名单/混合',
- ],
+ 'schema' => ['description' => '备注。', 'type' => 'string', 'required' => false, 'example' => '备注'],
],
[
- 'name' => 'DataType',
+ 'name' => 'bizVersion',
'in' => 'query',
- 'schema' => [
- 'description' => '与入参相同',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ip/accountID',
- ],
+ 'schema' => ['description' => '版本号(最新)。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
- 'name' => 'ServiceList',
+ 'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '服务列表。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '同参数',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'DataValue',
+ 'name' => 'createType',
'in' => 'query',
- 'schema' => [
- 'description' => '具体数据值',
- 'type' => 'string',
- 'required' => false,
- 'example' => '同参数',
- ],
+ 'schema' => ['description' => '创建类型', 'type' => 'string', 'required' => false, 'example' => 'NORMAL'],
+ ],
+ [
+ 'name' => 'templateType',
+ 'in' => 'query',
+ 'schema' => ['description' => '模版类型', 'type' => 'string', 'required' => false, 'example' => '暂无'],
+ ],
+ [
+ 'name' => 'inputFieldsStr',
+ 'in' => 'query',
+ 'schema' => ['description' => '输入参数,json字符串。', 'type' => 'string', 'required' => false, 'example' => '[{\\"fieldCode\\":\\"sessionId\\",\\"description\\":\\"会话ID\\",\\"fieldRank\\":0,\\"title\\":\\"会话ID\\",\\"fieldType\\":\\"STRING\\",\\"fieldSource\\":\\"DEFAULT\\"},{\\"fieldCode\\":\\"tags\\",\\"fieldRank\\":1,\\"title\\":\\"风险标签\\",\\"fieldType\\":\\"STRING\\",\\"fieldSource\\":\\"DEFAULT\\"},{\\"fieldCode\\":\\"score\\",\\"fieldRank\\":2,\\"title\\":\\"风险分值\\",\\"fieldType\\":\\"DOUBLE\\",\\"fieldSource\\":\\"DEFAULT\\"},{\\"fieldCode\\":\\"hitRules\\",\\"fieldRank\\":3,\\"title\\":\\"命中策略\\",\\"fieldType\\":\\"STRING\\",\\"fieldSource\\":\\"DEFAULT\\"}]'],
+ ],
+ [
+ 'name' => 'eventName',
+ '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' => 'Id of the request',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
- 'Code' => [
- 'description' => '接口状态码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Message' => [
- 'description' => '返回信息。',
- 'type' => 'string',
- 'example' => 'success',
- ],
+ 'resultObject' => ['description' => '返回对象', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
],
+ 'description' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'eventInfo' => [
- 'enable' => false,
- 'eventNames' => [],
+ 'title' => '修改事件',
+ 'summary' => '编辑事件',
+ 'changeSet' => [
+ ['createdAt' => '2025-06-30T08:42:19.000Z', 'description' => '请求参数发生变更'],
+ ['createdAt' => '2022-05-11T07:23:08.000Z', 'description' => 'OpenAPI 下线'],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\"\\n}","type":"json"}]',
- 'title' => '通过API上传样本的接口',
- ],
- 'DescribeOperatorListByScene' => [
- 'summary' => 'Query Operator Mapping List',
- 'methods' => [
- 'post',
- 'get',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyEvent'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'ModifyEventStatus' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
+ ],
+ [
+ 'name' => 'fromEventSatus',
+ 'in' => 'query',
+ 'schema' => ['description' => '起始事件状态,避免重复提交或历史回放', 'type' => 'string', 'required' => false, 'example' => 'ONLINE'],
+ ],
+ [
+ 'name' => 'toEventSatus',
+ 'in' => 'query',
+ 'schema' => ['description' => '更新为事件状态', 'type' => 'string', 'required' => false, 'example' => 'OFFLINE'],
+ ],
+ [
+ 'name' => 'eventCode',
+ 'in' => 'query',
+ 'schema' => ['description' => '事件编码', 'type' => 'string', 'required' => false, 'example' => 'de_aamexg3015'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'scene',
+ 'name' => 'createType',
'in' => 'query',
- 'schema' => [
- 'description' => '场景类型。',
- 'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [
- 'VELOCITY' => '累计变量',
- 'RULE' => '策略',
- 'EXPRESSION' => '自定义变量',
- ],
- 'example' => 'VELOCITY',
- ],
+ 'schema' => ['description' => '创建类型', 'type' => 'string', 'required' => false, 'example' => 'NORMAL'],
],
],
'responses' => [
@@ -33561,159 +24944,119 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'resultObject' => [
- 'description' => '返回对象',
- 'type' => 'array',
- 'items' => [
- 'description' => '返回对象',
- 'type' => 'object',
- 'properties' => [
- 'fieldType' => [
- 'description' => '返回值类型',
- 'type' => 'string',
- 'example' => 'STRING',
- ],
- 'operators' => [
- 'description' => '操作符列表',
- 'type' => 'array',
- 'items' => [
- 'description' => '操作符列表',
- 'type' => 'object',
- 'properties' => [
- 'name' => [
- 'description' => '操作符名称',
- 'type' => 'string',
- 'example' => '等于',
- ],
- 'memo' => [
- 'description' => '描述',
- 'type' => 'string',
- 'example' => '等于',
- ],
- 'code' => [
- 'description' => '操作符code',
- 'type' => 'string',
- 'example' => 'equals',
- ],
- 'hasRightVariable' => [
- 'description' => '是否含有右变量',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'rightVariables' => [
- 'description' => '右变量对象',
- 'type' => 'array',
- 'items' => [
- 'description' => '右变量',
- 'type' => 'object',
- 'properties' => [
- 'fieldValue' => [
- 'description' => '字段值。',
- 'type' => 'string',
- 'example' => '20',
- ],
- 'fieldType' => [
- 'description' => '字段类型。',
- 'type' => 'string',
- 'example' => 'INT',
- ],
- 'fieldName' => [
- 'description' => '字段名称。',
- 'type' => 'string',
- 'example' => '年龄',
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- 'requestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2',
- ],
+ 'resultObject' => ['description' => '返回对象', 'type' => 'boolean', 'example' => 'true'],
+ 'requestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": [\\n {\\n \\"fieldType\\": \\"STRING\\",\\n \\"operators\\": [\\n {\\n \\"name\\": \\"等于\\",\\n \\"memo\\": \\"等于\\",\\n \\"code\\": \\"equals\\",\\n \\"hasRightVariable\\": true,\\n \\"rightVariables\\": [\\n {\\n \\"fieldValue\\": \\"20\\",\\n \\"fieldType\\": \\"INT\\",\\n \\"fieldName\\": \\"年龄\\"\\n }\\n ]\\n }\\n ]\\n }\\n ],\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\"\\n}","type":"json"}]',
- 'title' => 'Query Operator Mapping List by Scene',
- ],
- 'DescribeEventVariableTemplateList' => [
- 'summary' => '查询事件模版',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '修改事件状态',
+ 'summary' => '修改事件状态',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:23:08.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyEventStatus'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\"\\n}","type":"json"}]',
+ ],
+ 'ModifyExpressionVariable' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'readAndWrite',
'systemTags' => [
'operationType' => 'get',
+ 'abilityTreeCode' => '134355',
+ 'abilityTreeNodes' => ['FEATUREsafXYIHRP'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'templateCode',
+ 'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '模板code。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'register',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'type',
+ 'name' => 'id',
'in' => 'query',
- 'schema' => [
- 'description' => '模板类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'NATIVE',
- ],
+ 'schema' => ['description' => '变量id。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '3144'],
],
[
- 'name' => 'inputs',
+ 'name' => 'dataVersion',
'in' => 'query',
- 'schema' => [
- 'description' => '输入参数多个用逗号隔开',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'age,ip',
- ],
+ 'schema' => ['description' => '数据版本。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '5'],
],
[
- 'name' => 'regId',
+ 'name' => 'eventCode',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '事件编码。', 'type' => 'string', 'required' => true, 'example' => 'de_acytyt7036'],
+ ],
+ [
+ 'name' => 'title',
+ 'in' => 'query',
+ 'schema' => ['description' => '标题。', 'type' => 'string', 'required' => true, 'example' => '变量标题'],
+ ],
+ [
+ 'name' => 'description',
+ 'in' => 'query',
+ 'schema' => ['description' => '描述信息。', 'type' => 'string', 'required' => false, 'example' => '描述'],
+ ],
+ [
+ 'name' => 'outputs',
+ 'in' => 'query',
+ 'schema' => ['description' => '输出。', 'type' => 'string', 'required' => true, 'example' => 'STRING'],
+ ],
+ [
+ 'name' => 'outlier',
+ 'in' => 'query',
+ 'schema' => ['description' => '异常值。', 'type' => 'string', 'required' => true, 'example' => '-1'],
+ ],
+ [
+ 'name' => 'expression',
+ 'in' => 'query',
+ 'schema' => ['description' => '表达式。', 'type' => 'string', 'required' => true, 'example' => '@ex_GX9rrlTq4b67 + 1001'],
+ ],
+ [
+ 'name' => 'expressionTitle',
+ 'in' => 'query',
+ 'schema' => ['description' => '表达式展示。', 'type' => 'string', 'required' => true, 'example' => '@selfvariable_02 + 1001'],
+ ],
+ [
+ 'name' => 'expressionVariable',
+ 'in' => 'query',
+ 'schema' => ['description' => '计算表达式变量。', 'type' => 'string', 'required' => false, 'example' => 'ex_GX9rrlTq4b67'],
+ ],
+ [
+ 'name' => 'name',
+ 'in' => 'query',
+ 'schema' => ['description' => '变量name。', 'type' => 'string', 'required' => false, 'example' => 'ex_NgR6nDVD821c'],
],
],
'responses' => [
@@ -33721,145 +25064,92 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
- 'resultObject' => [
- 'description' => '返回对象',
- 'type' => 'array',
- 'items' => [
- 'description' => '返回对象',
- 'type' => 'object',
- 'properties' => [
- 'templateCode' => [
- 'description' => '模板编码。',
- 'type' => 'string',
- 'example' => 'register',
- ],
- 'templateName' => [
- 'description' => '模板名称。',
- 'type' => 'string',
- 'example' => '注册模版',
- ],
- 'variables' => [
- 'description' => '变量列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '变量列表',
- 'type' => 'object',
- 'properties' => [
- 'code' => [
- 'description' => '变量code',
- 'type' => 'string',
- 'example' => 'age',
- ],
- 'title' => [
- 'description' => '标题。',
- 'type' => 'string',
- 'example' => '年龄',
- ],
- 'type' => [
- 'description' => '变量类型。',
- 'type' => 'string',
- 'example' => 'NATIVE',
- ],
- 'fieldType' => [
- 'description' => '变量输入类型',
- 'type' => 'string',
- 'example' => 'STRING',
- ],
- 'description' => [
- 'description' => '描述信息。',
- 'type' => 'string',
- 'example' => '描述',
- ],
- 'name' => [
- 'description' => '变量name',
- 'type' => 'string',
- 'example' => 'age',
- ],
- 'id' => [
- 'description' => '主键ID',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '454',
- ],
- ],
- ],
- ],
- ],
- ],
- ],
+ 'resultObject' => ['description' => '返回对象。', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"resultObject\\": [\\n {\\n \\"templateCode\\": \\"register\\",\\n \\"templateName\\": \\"注册模版\\",\\n \\"variables\\": [\\n {\\n \\"code\\": \\"age\\",\\n \\"title\\": \\"年龄\\",\\n \\"type\\": \\"NATIVE\\",\\n \\"fieldType\\": \\"STRING\\",\\n \\"description\\": \\"描述\\",\\n \\"name\\": \\"age\\",\\n \\"id\\": 454\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '查询事件模板',
- ],
- 'DescribeInputFeildCountByEventCode' => [
- 'summary' => '查询事件总数量',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '修改自定义变量',
+ 'summary' => '编辑自定义变量。',
+ 'changeSet' => [
+ ['createdAt' => '2024-08-27T09:31:13.000Z', 'description' => '请求参数发生变更、响应参数发生变更'],
+ ['createdAt' => '2022-05-11T07:27:35.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyExpressionVariable'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'ModifyField' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'regId',
+ 'name' => 'id',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '变量id。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '376773'],
],
[
- 'name' => 'createType',
+ 'name' => 'name',
'in' => 'query',
- 'schema' => [
- 'description' => '创建类型',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'NORMAL',
- ],
+ 'schema' => ['description' => '变量name。', 'type' => 'string', 'required' => false, 'example' => 'age'],
],
[
- 'name' => 'eventCode',
+ 'name' => 'title',
'in' => 'query',
- 'schema' => [
- 'description' => '事件编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'de_ahqido8038',
- ],
+ 'schema' => ['description' => '标题。', 'type' => 'string', 'required' => false, 'example' => '年龄'],
+ ],
+ [
+ 'name' => 'enumData',
+ 'in' => 'query',
+ 'schema' => ['description' => '枚举类型。', 'type' => 'string', 'required' => false, 'example' => '[{\\"name\\":\\"ENABLE\\",\\"value\\":\\"禁用\\"}]'],
+ ],
+ [
+ 'name' => 'classify',
+ 'in' => 'query',
+ 'schema' => ['description' => '字段分类。', 'type' => 'string', 'required' => false, 'example' => 'REQUEST_PARAM'],
+ ],
+ [
+ 'name' => 'description',
+ 'in' => 'query',
+ 'schema' => ['description' => '描述信息。', 'type' => 'string', 'required' => false, 'example' => '描述'],
+ ],
+ [
+ 'name' => 'regId',
+ 'in' => 'query',
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
@@ -33867,111 +25157,75 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
- 'resultObject' => [
- 'description' => '返回对象',
- 'type' => 'object',
- 'properties' => [
- 'totalItem' => [
- 'description' => '总条数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '8',
- ],
- 'maxTotalItem' => [
- 'description' => '最大创建条数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
- 'limit' => [
- 'description' => '是否超过最大数量',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- ],
- ],
+ 'resultObject' => ['description' => '返回对象。', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"resultObject\\": {\\n \\"totalItem\\": 8,\\n \\"maxTotalItem\\": 100,\\n \\"limit\\": true\\n }\\n}","type":"json"}]',
- 'title' => '查询事件总数量',
- ],
- 'DescribeTaskList' => [
- 'summary' => '任务列表。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '修改字段',
+ 'summary' => '修改字段。',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:27:23.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyField'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'ModifyRulePriority' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'CurrentPage',
+ 'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '当前页。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'PageSize',
+ 'name' => 'ruleId',
'in' => 'query',
- 'schema' => [
- 'description' => '每页大小,默认值为10。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '策略ID。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '101796'],
],
[
- 'name' => 'regId',
+ 'name' => 'consoleRuleId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '策略主键ID。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '3581'],
],
[
- 'name' => 'IsPage',
+ 'name' => 'priority',
'in' => 'query',
- 'schema' => [
- 'description' => '是否分页。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '策略优先级,数字越大优先级越高。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
],
'responses' => [
@@ -33979,150 +25233,110 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'totalItem' => [
- 'description' => '总条数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '6',
- ],
- 'pageSize' => [
- 'description' => '每页大小,默认值为10',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
- 'currentPage' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'totalPage' => [
- 'description' => '总页数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'resultObject' => [
- 'description' => '返回对象',
- 'type' => 'array',
- 'items' => [
- 'description' => '返回对象',
- 'type' => 'object',
- 'properties' => [
- 'sceneName' => [
- 'description' => '场景名称',
- 'type' => 'string',
- 'example' => '样本调度',
- ],
- 'mark' => [
- 'description' => '标记信息总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
- 'taskType' => [
- 'description' => '任务类型'."\n"
- .'1:数据上传'."\n"
- .'2:补充上传'."\n"
- .'3:打标',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'createTime' => [
- 'description' => '创建时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1753804800000',
- ],
- 'status' => [
- 'description' => '数据状态。'."\n"
- ."\n"
- .'-1:失败'."\n"
- .'0:删除'."\n"
- .'1:待完成'."\n"
- .'2:成功',
- 'type' => 'string',
- 'example' => '2',
- ],
- 'remark' => [
- 'description' => '备注。',
- 'type' => 'string',
- 'example' => '备注',
- ],
- 'taskLogId' => [
- 'description' => '任务id。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1102',
- ],
- 'id' => [
- 'description' => '任务id。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '497',
- ],
- 'completionTime' => [
- 'description' => '完成时间,单位为毫秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1753804800000',
- ],
- ],
- ],
- ],
+ 'resultObject' => ['description' => '返回对象。', 'type' => 'boolean', 'example' => 'true'],
+ 'requestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"totalItem\\": 6,\\n \\"pageSize\\": 10,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"currentPage\\": 1,\\n \\"totalPage\\": 1,\\n \\"resultObject\\": [\\n {\\n \\"sceneName\\": \\"样本调度\\",\\n \\"mark\\": 100,\\n \\"taskType\\": \\"1\\",\\n \\"createTime\\": 1753804800000,\\n \\"status\\": \\"2\\",\\n \\"remark\\": \\"备注\\",\\n \\"taskLogId\\": 1102,\\n \\"id\\": 497,\\n \\"completionTime\\": 1753804800000\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '任务列表',
- ],
- 'DescribePocOssToken' => [
- 'summary' => '获取文件上传凭证。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '修改策略优先级',
+ 'summary' => '策略修改优先级。',
+ 'changeSet' => [
+ ['createdAt' => '2021-10-18T12:18:57.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyRulePriority'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\"\\n}","type":"json"}]',
+ ],
+ 'ModifyRuleStatus' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
+ ],
+ [
+ 'name' => 'applyUserId',
+ 'in' => 'query',
+ 'schema' => ['description' => '审核发起人uid。', 'type' => 'string', 'required' => false, 'example' => '1519714049632764'],
+ ],
+ [
+ 'name' => 'applyUserName',
+ 'in' => 'query',
+ 'schema' => ['description' => '审核发起人name。', 'type' => 'string', 'required' => false, 'example' => 'root'],
+ ],
+ [
+ 'name' => 'auditUserId',
+ 'in' => 'query',
+ 'schema' => ['description' => '审核人uid。', 'type' => 'string', 'required' => false, 'example' => '1519714049632764'],
+ ],
+ [
+ 'name' => 'auditUserName',
+ 'in' => 'query',
+ 'schema' => ['description' => '审核人name。', 'type' => 'string', 'required' => false, 'example' => 'root'],
+ ],
+ [
+ 'name' => 'ruleAuditType',
+ 'in' => 'query',
+ 'schema' => ['description' => '审核状态。', 'type' => 'string', 'required' => false, 'example' => 'DRAFT_TO_RUNNING'],
+ ],
+ [
+ 'name' => 'auditRemark',
+ 'in' => 'query',
+ 'schema' => ['description' => '申请审批备注。', 'type' => 'string', 'required' => false, 'example' => '申请发布上线'],
+ ],
+ [
+ 'name' => 'ruleId',
+ 'in' => 'query',
+ 'schema' => ['description' => '策略ID。', 'type' => 'string', 'required' => false, 'example' => '101544'],
+ ],
+ [
+ 'name' => 'ruleVersionId',
+ 'in' => 'query',
+ 'schema' => ['description' => '策略版本号主键ID。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '11519'],
+ ],
+ [
+ 'name' => 'consoleRuleId',
+ 'in' => 'query',
+ 'schema' => ['description' => '策略主键id。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '6843'],
+ ],
+ [
+ 'name' => 'eventType',
+ 'in' => 'query',
+ 'schema' => ['description' => '事件类型。', 'type' => 'string', 'required' => false, 'example' => 'MAIN'],
],
],
'responses' => [
@@ -34130,58 +25344,42 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Key' => [
- 'description' => '文件上传所需的Key。',
- 'type' => 'string',
- 'example' => 'saf/de/namelist/e924/ufzgsedX9bd3a7',
- ],
- 'resultObject' => [
- 'description' => '返回结果。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Signature' => [
- 'description' => '上传的签名信息。',
- 'type' => 'string',
- 'example' => '0lxQEWM0BqHd476JJE0fNXdS3UA=',
- ],
- 'Host' => [
- 'description' => '主机地址。',
- 'type' => 'string',
- 'example' => '192.168.34.191',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
- 'Policy' => [
- 'description' => 'OSS安全策略。',
- 'type' => 'string',
- 'example' => 'eyJleHBpcmF0aW9uIjoiMjAyNS0wNy0zMFQwNjowNTo0OS45NTRaIiwiY29uZGl0aW9ucyI6W1siY29udGVudC1sZW5ndGgtcmFuZ2UiLDAsMTA0ODU3NjAwMF0sWyJlcSIsIiRrZXkiLCJzYWZcL2RlXC9uYW1lbGlzdFwvZTkyNFwvdWZ6Z3NlZFg5Ymxxxxxxxxxxx',
- ],
- 'AccessId' => [
- 'description' => 'OSS上传文件的AccessKeyId',
- 'type' => 'string',
- 'example' => 'LTAI5tE7sActovY6Hvpu5oTh',
- ],
+ 'resultObject' => ['description' => '返回对象。', 'type' => 'boolean', 'example' => 'true'],
+ 'requestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Key\\": \\"saf/de/namelist/e924/ufzgsedX9bd3a7\\",\\n \\"resultObject\\": true,\\n \\"Signature\\": \\"0lxQEWM0BqHd476JJE0fNXdS3UA=\\",\\n \\"Host\\": \\"192.168.34.191\\",\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"Policy\\": \\"eyJleHBpcmF0aW9uIjoiMjAyNS0wNy0zMFQwNjowNTo0OS45NTRaIiwiY29uZGl0aW9ucyI6W1siY29udGVudC1sZW5ndGgtcmFuZ2UiLDAsMTA0ODU3NjAwMF0sWyJlcSIsIiRrZXkiLCJzYWZcL2RlXC9uYW1lbGlzdFwvZTkyNFwvdWZ6Z3NlZFg5Ymxxxxxxxxxxx\\",\\n \\"AccessId\\": \\"LTAI5tE7sActovY6Hvpu5oTh\\"\\n}","type":"json"}]',
- 'title' => '获取文件上传凭证',
- ],
- 'DescribeTagsList' => [
- 'summary' => '获取标签列表',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '修改策略状态',
+ 'summary' => '策略版本申请状态变更。',
+ 'changeSet' => [
+ ['createdAt' => '2021-10-18T12:18:48.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyRuleStatus'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\"\\n}","type":"json"}]',
+ ],
+ 'OpenConsoleSls' => [
+ 'summary' => '开通服务',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -34190,29 +25388,26 @@
'operationType' => 'read',
'systemTags' => [
'operationType' => 'get',
+ 'abilityTreeCode' => '134645',
+ 'abilityTreeNodes' => ['FEATUREsafT73ZWM'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
+ ],
+ [
+ 'name' => 'scene',
+ 'in' => 'query',
+ 'schema' => ['description' => '场景', 'type' => 'string', 'required' => false, 'example' => 'SAF_DE_SERVICE'],
],
],
'responses' => [
@@ -34220,153 +25415,145 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'resultObject' => [
- 'description' => '返回对象',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
+ 'resultObject' => ['description' => '返回对象', 'type' => 'string', 'example' => 'true'],
+ 'requestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '获取标签列表',
- ],
- 'DescribeTemplateCount' => [
- 'summary' => '查询事件总数量。',
- 'methods' => [
- 'post',
- 'get',
+ 'errorCodes' => [
+ 400 => [
+ ['errorCode' => '1403', 'errorMessage' => 'user no data power', 'description' => '用户无数据权限'],
+ ],
+ 500 => [
+ ['errorCode' => '1101', 'errorMessage' => 'system error', 'description' => '系统错误'],
+ ],
+ ],
+ 'title' => '开通服务',
+ 'changeSet' => [
+ ['createdAt' => '2025-01-06T09:06:11.000Z', 'description' => '错误码发生变更'],
+ ['createdAt' => '2022-05-11T07:23:08.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'OpenConsoleSls'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": \\"true\\",\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\"\\n}","type":"json"}]',
+ ],
+ 'OperateFavoriteVariable' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
+ ],
+ [
+ 'name' => 'id',
+ 'in' => 'query',
+ 'schema' => ['description' => '变量id。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '3144'],
+ ],
+ [
+ 'name' => 'operate',
+ 'in' => 'query',
+ 'schema' => ['description' => '收藏操作。', 'type' => 'string', 'required' => true, 'example' => 'ADD'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
200 => [
+ 'headers' => [],
'schema' => [
'type' => 'object',
'properties' => [
- 'resultObject' => [
- 'description' => '返回对象',
- 'type' => 'object',
- 'properties' => [
- 'totalItem' => [
- 'description' => '总个数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '13',
- ],
- 'maxTotalItem' => [
- 'description' => '最大个数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1000',
- ],
- 'limit' => [
- 'description' => '模板数量限制。',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- ],
- ],
- 'requestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2',
- ],
+ 'resultObject' => ['description' => '返回对象。', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": {\\n \\"totalItem\\": 13,\\n \\"maxTotalItem\\": 1000,\\n \\"limit\\": false\\n },\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\"\\n}","type":"json"}]',
- 'title' => '查询事件总数量',
- ],
- 'DescribeScoreList' => [
- 'summary' => '评分分布。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '收藏变量',
+ 'summary' => '操作收藏。',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:27:47.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'OperateFavoriteVariable'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'PermissionCheck' => [
+ 'summary' => '前置条件判断。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
- 'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
- 'abilityTreeCode' => '139868',
- 'abilityTreeNodes' => [
- 'FEATUREsafT73ZWM',
- ],
+ 'abilityTreeCode' => '139243',
+ 'abilityTreeNodes' => ['FEATUREsafT73ZWM'],
+ 'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '返回消息的语言类型。取值:'."\n"
- ."\n"
- .'- **zh**(默认):中文'."\n"
- .'- **en**:英文',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'Id',
+ 'name' => 'RegId',
'in' => 'query',
- 'schema' => [
- 'description' => '主键ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '300126',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
@@ -34374,84 +25561,86 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求id。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
- 'ResultObject' => [
- 'description' => '返回结果。',
- 'type' => 'string',
- 'example' => 'true',
- ],
- 'Code' => [
- 'description' => '状态码。',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'HttpStatusCode' => [
- 'description' => 'http状态码。',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'Message' => [
- 'description' => '返回信息。',
- 'type' => 'string',
- 'example' => 'success',
- ],
+ 'RequestId' => ['description' => '请求id。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ 'ResultObject' => ['description' => '返回结果。', 'type' => 'string', 'example' => 'true'],
+ 'HttpStatusCode' => ['description' => 'http状态码。', 'type' => 'string', 'example' => '200'],
+ 'Code' => ['description' => '返回码。', 'type' => 'string', 'example' => '200'],
+ 'Message' => ['description' => '返回信息。', 'type' => 'string', 'example' => 'success'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"ResultObject\\": \\"true\\",\\n \\"Code\\": \\"200\\",\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"Message\\": \\"success\\"\\n}","type":"json"}]',
- 'title' => '评分分布',
- ],
- 'DescribeServiceCodeName' => [
- 'summary' => '查询所有服务。',
- 'methods' => [
- 'post',
- 'get',
+ 'eventInfo' => [
+ 'enable' => false,
+ 'eventNames' => [],
+ ],
+ 'title' => '前置条件判断',
+ 'changeSet' => [
+ ['createdAt' => '2022-06-10T02:15:44.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'PermissionCheck'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"ResultObject\\": \\"true\\",\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"success\\"\\n}","type":"json"}]',
+ ],
+ 'PocCreateTask' => [
+ 'summary' => '创建POC任务。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
- 'deprecated' => false,
+ 'operationType' => 'readAndWrite',
'systemTags' => [
'operationType' => 'get',
- 'abilityTreeCode' => '138839',
- 'abilityTreeNodes' => [
- 'FEATUREsafT73ZWM',
- ],
+ 'abilityTreeCode' => '158650',
+ 'abilityTreeNodes' => ['FEATUREsafT73ZWM'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'Tab',
+ 'name' => 'Token',
'in' => 'query',
- 'schema' => [
- 'description' => '场景。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'FNAENIC',
- ],
+ 'schema' => ['description' => '任务token。', 'type' => 'string', 'required' => true, 'example' => '68ce949aff6be7f1201eb2f9095ac95f'],
+ ],
+ [
+ 'name' => 'DateFormat',
+ 'in' => 'query',
+ 'schema' => ['description' => '日期格式', 'type' => 'string', 'required' => false, 'example' => 'yyyyMMdd'],
+ ],
+ [
+ 'name' => 'TaskName',
+ 'in' => 'query',
+ 'schema' => ['description' => '任务名称。', 'type' => 'string', 'required' => false, 'example' => 'o32d1pktx4t'],
+ ],
+ [
+ 'name' => 'RegId',
+ 'in' => 'query',
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
@@ -34459,167 +25648,115 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
- 'ResultObject' => [
- 'description' => '返回结果。',
- 'type' => 'string',
- 'example' => 'true',
- ],
- 'Code' => [
- 'description' => '状态码。',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'HttpStatusCode' => [
- 'description' => 'http状态码。',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'Message' => [
- 'description' => '返回信息。',
- 'type' => 'string',
- 'example' => 'success',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ 'Data' => ['description' => '任务创建结果', 'type' => 'string', 'example' => '{\'Values\': {\'status\': {\'value\': 4, \'label\': u\'\\u5904\\u7406\\u4e2d\'}, \'bbs_ticket\': True, \'description\': u\'[LV-ERROR '],
+ 'Code' => ['description' => '状态码。', 'type' => 'string', 'example' => '200'],
+ 'HttpStatusCode' => ['description' => 'http状态码', 'type' => 'string', 'example' => '200'],
+ 'Message' => ['description' => '返回消息。', 'type' => 'string', 'example' => 'successful'],
+ 'Success' => ['description' => '任务是否成功。**true**表示成功,**false**表示失败。', 'type' => 'string', 'example' => 'true'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"ResultObject\\": \\"true\\",\\n \\"Code\\": \\"200\\",\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"Message\\": \\"success\\"\\n}","type":"json"}]',
- 'title' => '所有服务',
- ],
- 'PocCreateTask' => [
- 'summary' => '创建POC任务。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '创建POC任务',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'PocCreateTask'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"Data\\": \\"{\'Values\': {\'status\': {\'value\': 4, \'label\': u\'\\\\\\\\u5904\\\\\\\\u7406\\\\\\\\u4e2d\'}, \'bbs_ticket\': True, \'description\': u\'[LV-ERROR \\",\\n \\"Code\\": \\"200\\",\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"Message\\": \\"successful\\",\\n \\"Success\\": \\"true\\"\\n}","type":"json"}]',
+ ],
+ 'PocGetDownloadUrl' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
+ 'operationType' => 'read',
+ 'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
- 'abilityTreeCode' => '158650',
- 'abilityTreeNodes' => [
- 'FEATUREsafT73ZWM',
- ],
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '168985',
+ 'abilityTreeNodes' => ['FEATUREsafT73ZWM'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'Token',
'in' => 'query',
- 'schema' => [
- 'description' => '任务token。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '68ce949aff6be7f1201eb2f9095ac95f',
- ],
- ],
- [
- 'name' => 'DateFormat',
- 'in' => 'query',
- 'schema' => [
- 'description' => '日期格式',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'yyyyMMdd',
- ],
- ],
- [
- 'name' => 'TaskName',
- 'in' => 'query',
- 'schema' => [
- 'description' => '任务名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'o32d1pktx4t',
- ],
- ],
- [
- 'name' => 'RegId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '任务token。', 'type' => 'string', 'required' => false, 'example' => 'd83221f51752805880'],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
- 'Data' => [
- 'description' => '任务创建结果',
- 'type' => 'string',
- 'example' => '{\'Values\': {\'status\': {\'value\': 4, \'label\': u\'\\u5904\\u7406\\u4e2d\'}, \'bbs_ticket\': True, \'description\': u\'[LV-ERROR ',
- ],
- 'Code' => [
- 'description' => '状态码。',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'HttpStatusCode' => [
- 'description' => 'http状态码',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'Message' => [
- 'description' => '返回消息。',
- 'type' => 'string',
- 'example' => 'successful',
- ],
- 'Success' => [
- 'description' => '任务是否成功。**true**表示成功,**false**表示失败。',
- 'type' => 'string',
- 'example' => 'true',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ 'Data' => ['description' => '数据', 'type' => 'string', 'example' => '{\'searchResult\': [], \'searchTotalNum\': 0, \'searchTime\': 0.012349}'],
+ 'Code' => ['description' => '状态码。', 'type' => 'string', 'example' => '200'],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'string', 'example' => '200'],
+ 'Message' => ['description' => '返回结果消息', 'type' => 'string', 'example' => 'successful'],
+ 'Success' => ['description' => '是否调用成功。true:调用成功。false:调用失败。', 'type' => 'string', 'example' => 'True'],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"Data\\": \\"{\'Values\': {\'status\': {\'value\': 4, \'label\': u\'\\\\\\\\u5904\\\\\\\\u7406\\\\\\\\u4e2d\'}, \'bbs_ticket\': True, \'description\': u\'[LV-ERROR \\",\\n \\"Code\\": \\"200\\",\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"Message\\": \\"successful\\",\\n \\"Success\\": \\"true\\"\\n}","type":"json"}]',
- 'title' => '创建POC任务',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '获取下载地址',
+ 'summary' => '获取下载URL。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'PocGetDownloadUrl'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"Data\\": \\"{\'searchResult\': [], \'searchTotalNum\': 0, \'searchTime\': 0.012349}\\",\\n \\"Code\\": \\"200\\",\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"Message\\": \\"successful\\",\\n \\"Success\\": \\"True\\"\\n}","type":"json"}]',
],
'PocGetToken' => [
'summary' => '申请令牌。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -34629,42 +25766,25 @@
'systemTags' => [
'operationType' => 'get',
'abilityTreeCode' => '158648',
- 'abilityTreeNodes' => [
- 'FEATUREsafT73ZWM',
- ],
+ 'abilityTreeNodes' => ['FEATUREsafT73ZWM'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'ServiceCode',
'in' => 'query',
- 'schema' => [
- 'description' => '服务code。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'alinlp',
- ],
+ 'schema' => ['description' => '服务code。', 'type' => 'string', 'required' => true, 'example' => 'alinlp'],
],
[
'name' => 'RegId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
@@ -34672,53 +25792,43 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
- 'Data' => [
- 'description' => '返回数据',
- 'type' => 'string',
- 'example' => 'true',
- ],
- 'Code' => [
- 'description' => '状态码',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'HttpStatusCode' => [
- 'description' => 'http状态码',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'Message' => [
- 'description' => '返回消息',
- 'type' => 'string',
- 'example' => 'success',
- ],
- 'Success' => [
- 'description' => '是否调用成功。true:调用成功。false:调用失败。',
- 'type' => 'string',
- 'example' => 'true',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ 'Data' => ['description' => '返回数据', 'type' => 'string', 'example' => 'true'],
+ 'Code' => ['description' => '状态码', 'type' => 'string', 'example' => '200'],
+ 'HttpStatusCode' => ['description' => 'http状态码', 'type' => 'string', 'example' => '200'],
+ 'Message' => ['description' => '返回消息', 'type' => 'string', 'example' => 'success'],
+ 'Success' => ['description' => '是否调用成功。true:调用成功。false:调用失败。', 'type' => 'string', 'example' => 'true'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"Data\\": \\"true\\",\\n \\"Code\\": \\"200\\",\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"Message\\": \\"success\\",\\n \\"Success\\": \\"true\\"\\n}","type":"json"}]',
'title' => '申请令牌',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'PocGetToken'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"Data\\": \\"true\\",\\n \\"Code\\": \\"200\\",\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"Message\\": \\"success\\",\\n \\"Success\\": \\"true\\"\\n}","type":"json"}]',
],
'PocSendData' => [
'summary' => '批次上传。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -34728,63 +25838,35 @@
'systemTags' => [
'operationType' => 'get',
'abilityTreeCode' => '158649',
- 'abilityTreeNodes' => [
- 'FEATUREsafT73ZWM',
- ],
+ 'abilityTreeNodes' => ['FEATUREsafT73ZWM'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'Token',
'in' => 'query',
- 'schema' => [
- 'description' => '任务token。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'a471aa421752633438',
- ],
+ 'schema' => ['description' => '任务token。', 'type' => 'string', 'required' => true, 'example' => 'a471aa421752633438'],
],
[
'name' => 'ParamsList',
'in' => 'query',
- 'schema' => [
- 'description' => '返回参数,json格式。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'c222460c',
- ],
+ 'schema' => ['description' => '返回参数,json格式。', 'type' => 'string', 'required' => true, 'example' => 'c222460c'],
],
[
'name' => 'BatchNo',
'in' => 'query',
- 'schema' => [
- 'description' => '批量操作的起始位置,从0开始。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => 'd0',
- ],
+ 'schema' => ['description' => '批量操作的起始位置,从0开始。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => 'd0'],
],
[
'name' => 'RegId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
@@ -34792,53 +25874,43 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
- 'Data' => [
- 'description' => '返回数据结果。',
- 'type' => 'string',
- 'example' => 'true',
- ],
- 'Code' => [
- 'description' => '接口状态码。',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'HttpStatusCode' => [
- 'description' => 'http状态码。',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'Message' => [
- 'description' => '返回信息。',
- 'type' => 'string',
- 'example' => 'success',
- ],
- 'Success' => [
- 'description' => '是否成功。',
- 'type' => 'string',
- 'example' => 'true',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ 'Data' => ['description' => '返回数据结果。', 'type' => 'string', 'example' => 'true'],
+ 'Code' => ['description' => '接口状态码。', 'type' => 'string', 'example' => '200'],
+ 'HttpStatusCode' => ['description' => 'http状态码。', 'type' => 'string', 'example' => '200'],
+ 'Message' => ['description' => '返回信息。', 'type' => 'string', 'example' => 'success'],
+ 'Success' => ['description' => '是否成功。', 'type' => 'string', 'example' => 'true'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"Data\\": \\"true\\",\\n \\"Code\\": \\"200\\",\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"Message\\": \\"success\\",\\n \\"Success\\": \\"true\\"\\n}","type":"json"}]',
'title' => '批次上传',
- ],
- 'DescribeModelDetailsById' => [
- 'summary' => '查看结果。',
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'PocSendData'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"Data\\": \\"true\\",\\n \\"Code\\": \\"200\\",\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"Message\\": \\"success\\",\\n \\"Success\\": \\"true\\"\\n}","type":"json"}]',
+ ],
+ 'QueryAuthRuleDetailByRuleId' => [
+ 'summary' => '白盒化策略详情查询。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -34848,31 +25920,37 @@
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
- 'abilityTreeCode' => '156209',
- 'abilityTreeNodes' => [
- 'FEATUREsafT73ZWM',
- ],
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREsafBCGX2Z'],
],
'parameters' => [
[
- 'name' => 'RegId',
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'ModelId',
+ 'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '模型id。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '20619',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'],
+ ],
+ [
+ 'name' => 'ruleId',
+ 'in' => 'query',
+ 'schema' => ['description' => '策略ID。', 'type' => 'string', 'required' => false, 'example' => '102224'],
+ ],
+ [
+ 'name' => 'consoleRuleId',
+ 'in' => 'query',
+ 'schema' => ['description' => '策略主键ID。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '6843'],
+ ],
+ [
+ 'name' => 'ruleVersionId',
+ 'in' => 'query',
+ 'schema' => ['description' => '策略版本号主键ID。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '11519'],
],
],
'responses' => [
@@ -34880,312 +25958,375 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
- 'ResultObject' => [
- 'description' => '返回的结果信息',
- 'type' => 'array',
- 'items' => [
- 'description' => '返回的结果信息',
- 'type' => 'object',
- 'properties' => [
- 'modelEffectEvaluation' => [
- 'description' => '模型预测结果。',
- 'type' => 'string',
- 'example' => '{\\"AUC\\":0.9895246624946594,\\"Count\\":2489,\\"DecisionMark\\":[0.0,0.0010000000474974513,0.05287817938420348,0.0]}',
- ],
- ],
+ 'resultObject' => [
+ 'description' => '返回对象。',
+ 'type' => 'object',
+ 'properties' => [
+ 'consoleRuleId' => ['description' => '策略主键ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '6843'],
+ 'ruleId' => ['description' => '策略ID。', 'type' => 'string', 'example' => '102224'],
+ 'ruleVersionId' => ['description' => '策略版本号主键ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '11519'],
+ 'gmtCreate' => ['description' => '创建时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1621578648000'],
+ 'gmtModified' => ['description' => '修改时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1565701886000'],
+ 'version' => ['description' => '版本号。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'eventName' => ['description' => '事件名称。', 'type' => 'string', 'example' => '注册风险'],
+ 'eventCode' => ['description' => '事件编码。', 'type' => 'string', 'example' => 'de_aszbjb7236'],
+ 'ruleName' => ['description' => '策略名称。', 'type' => 'string', 'example' => '营销风险识别'],
+ 'ruleStatus' => ['description' => '策略状态。', 'type' => 'string', 'example' => 'RUNNING'],
+ 'memo' => ['description' => '描述。', 'type' => 'string', 'example' => '描述'],
+ 'ruleExpressions' => ['description' => '规则表达式。', 'type' => 'string', 'example' => '[{\\"expressionName\\":\\"同一设备同一IP上的注册用户数\\",\\"itemId\\":1,\\"left\\":{\\"name\\":\\"dK7EXHr490f\\"},\\"operatorCode\\":\\"gte\\",\\"operatorName\\":\\"大于等于\\",\\"right\\":{\\"fieldValue\\":\\"2\\"}}]'],
+ 'logicExpression' => ['description' => '执行逻辑。', 'type' => 'string', 'example' => '1&2'],
+ 'ruleActions' => ['description' => '输出动作。', 'type' => 'string', 'example' => '[{\\"inputs\\":[\\"unusualBrand\\"],\\"name\\":\\"__addDeTags__\\",\\"actionType\\":\\"TAG\\",\\"outputType\\":\\"const\\"}]'],
+ 'ruleActionMap' => [
+ 'description' => '返回的规则动作结构体。',
+ 'type' => 'object',
+ 'additionalProperties' => ['type' => 'string', 'description' => '返回的规则动作结构体。', 'example' => '{'."\n"
+ .' "VARIABLE": ['."\n"
+ .' {'."\n"
+ .' "actionType": "VARIABLE",'."\n"
+ .' "code": "deCallCipProcessorService(\\"nickname_detection\\", \\"\\")?.labels",'."\n"
+ .' "sourceType": "SAF",'."\n"
+ .' "inputs": ['."\n"
+ .' "labels"'."\n"
+ .' ],'."\n"
+ .' "name": "__nickname_detection_labels__",'."\n"
+ .' "description": "文本审核_增强版_用户昵称_标签",'."\n"
+ .' "type": "PUB_SERVICE",'."\n"
+ .' "title": "[底层]文本审核_增强版_用户昵称_标签",'."\n"
+ .' "fieldType": "STRING"'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "actionType": "VARIABLE",'."\n"
+ .' "code": "deCallCipProcessorService(\\"nickname_detection\\", \\"\\")?.reason?.riskTips",'."\n"
+ .' "sourceType": "SAF",'."\n"
+ .' "inputs": ['."\n"
+ .' "riskTips"'."\n"
+ .' ],'."\n"
+ .' "name": "__nickname_detection_reason_riskTips__",'."\n"
+ .' "description": "文本审核_增强版_用户昵称_细分标签",'."\n"
+ .' "type": "PUB_SERVICE",'."\n"
+ .' "title": "[底层]文本审核_增强版_用户昵称_细分标签",'."\n"
+ .' "fieldType": "STRING"'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "actionType": "VARIABLE",'."\n"
+ .' "code": "deCallCipProcessorService(\\"nickname_detection\\", \\"\\")?.reason?.adNums",'."\n"
+ .' "sourceType": "SAF",'."\n"
+ .' "inputs": ['."\n"
+ .' "adNums"'."\n"
+ .' ],'."\n"
+ .' "name": "__nickname_detection_reason_adNums__",'."\n"
+ .' "description": "文本审核_增强版_用户昵称_命中广告号",'."\n"
+ .' "type": "PUB_SERVICE",'."\n"
+ .' "title": "[底层]文本审核_增强版_用户昵称_命中广告号",'."\n"
+ .' "fieldType": "STRING"'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "actionType": "VARIABLE",'."\n"
+ .' "code": "deCallCipProcessorService(\\"nickname_detection\\", \\"\\")?.reason?.riskWords",'."\n"
+ .' "sourceType": "SAF",'."\n"
+ .' "inputs": ['."\n"
+ .' "riskWords"'."\n"
+ .' ],'."\n"
+ .' "name": "__nickname_detection_reason_riskWords__",'."\n"
+ .' "description": "文本审核_增强版_用户昵称_命中风险片段",'."\n"
+ .' "type": "PUB_SERVICE",'."\n"
+ .' "title": "[底层]文本审核_增强版_用户昵称_命中风险片段",'."\n"
+ .' "fieldType": "STRING"'."\n"
+ .' }'."\n"
+ .' ]'."\n"
+ .' }'],
+ ],
+ 'authType' => ['description' => '授权类型。', 'type' => 'string', 'example' => 'all'],
+ 'authUsers' => ['description' => '授权用户uid。', 'type' => 'string', 'example' => '*'],
+ 'templateType' => ['description' => '模版类型。', 'type' => 'string', 'example' => 'PUB_SERVICE'],
+ 'priority' => ['description' => '策略优先级,数字越大优先级越高。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
+ 'auditId' => ['description' => '审批ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '225'],
+ 'ruleAuthType' => ['description' => '策略类型。', 'type' => 'string', 'example' => 'WHITE_BOX'],
+ 'ruleType' => ['description' => '策略类型。', 'type' => 'string', 'example' => 'DEFAULT'],
],
],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"ResultObject\\": [\\n {\\n \\"modelEffectEvaluation\\": \\"{\\\\\\\\\\\\\\"AUC\\\\\\\\\\\\\\":0.9895246624946594,\\\\\\\\\\\\\\"Count\\\\\\\\\\\\\\":2489,\\\\\\\\\\\\\\"DecisionMark\\\\\\\\\\\\\\":[0.0,0.0010000000474974513,0.05287817938420348,0.0]}\\"\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '查看详情',
- ],
- 'CreateModel' => [
- 'summary' => '创建模型。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '白盒化策略详情查询',
+ 'changeSet' => [
+ ['createdAt' => '2025-07-24T09:04:05.000Z', 'description' => '响应参数发生变更'],
+ ['createdAt' => '2022-12-27T11:32:42.000Z', 'description' => '响应参数发生变更'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryAuthRuleDetailByRuleId'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": {\\n \\"consoleRuleId\\": 6843,\\n \\"ruleId\\": \\"102224\\",\\n \\"ruleVersionId\\": 11519,\\n \\"gmtCreate\\": 1621578648000,\\n \\"gmtModified\\": 1565701886000,\\n \\"version\\": 1,\\n \\"eventName\\": \\"注册风险\\",\\n \\"eventCode\\": \\"de_aszbjb7236\\",\\n \\"ruleName\\": \\"营销风险识别\\",\\n \\"ruleStatus\\": \\"RUNNING\\",\\n \\"memo\\": \\"描述\\",\\n \\"ruleExpressions\\": \\"[{\\\\\\\\\\\\\\"expressionName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"同一设备同一IP上的注册用户数\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"itemId\\\\\\\\\\\\\\":1,\\\\\\\\\\\\\\"left\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"dK7EXHr490f\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"operatorCode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"gte\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"operatorName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"大于等于\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"right\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"fieldValue\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"2\\\\\\\\\\\\\\"}}]\\",\\n \\"logicExpression\\": \\"1&2\\",\\n \\"ruleActions\\": \\"[{\\\\\\\\\\\\\\"inputs\\\\\\\\\\\\\\":[\\\\\\\\\\\\\\"unusualBrand\\\\\\\\\\\\\\"],\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"__addDeTags__\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"actionType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"TAG\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"outputType\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"const\\\\\\\\\\\\\\"}]\\",\\n \\"ruleActionMap\\": {\\n \\"key\\": \\"{\\\\n \\\\\\"VARIABLE\\\\\\": [\\\\n {\\\\n \\\\\\"actionType\\\\\\": \\\\\\"VARIABLE\\\\\\",\\\\n \\\\\\"code\\\\\\": \\\\\\"deCallCipProcessorService(\\\\\\\\\\\\\\"nickname_detection\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"\\\\\\\\\\\\\\")?.labels\\\\\\",\\\\n \\\\\\"sourceType\\\\\\": \\\\\\"SAF\\\\\\",\\\\n \\\\\\"inputs\\\\\\": [\\\\n \\\\\\"labels\\\\\\"\\\\n ],\\\\n \\\\\\"name\\\\\\": \\\\\\"__nickname_detection_labels__\\\\\\",\\\\n \\\\\\"description\\\\\\": \\\\\\"文本审核_增强版_用户昵称_标签\\\\\\",\\\\n \\\\\\"type\\\\\\": \\\\\\"PUB_SERVICE\\\\\\",\\\\n \\\\\\"title\\\\\\": \\\\\\"[底层]文本审核_增强版_用户昵称_标签\\\\\\",\\\\n \\\\\\"fieldType\\\\\\": \\\\\\"STRING\\\\\\"\\\\n },\\\\n {\\\\n \\\\\\"actionType\\\\\\": \\\\\\"VARIABLE\\\\\\",\\\\n \\\\\\"code\\\\\\": \\\\\\"deCallCipProcessorService(\\\\\\\\\\\\\\"nickname_detection\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"\\\\\\\\\\\\\\")?.reason?.riskTips\\\\\\",\\\\n \\\\\\"sourceType\\\\\\": \\\\\\"SAF\\\\\\",\\\\n \\\\\\"inputs\\\\\\": [\\\\n \\\\\\"riskTips\\\\\\"\\\\n ],\\\\n \\\\\\"name\\\\\\": \\\\\\"__nickname_detection_reason_riskTips__\\\\\\",\\\\n \\\\\\"description\\\\\\": \\\\\\"文本审核_增强版_用户昵称_细分标签\\\\\\",\\\\n \\\\\\"type\\\\\\": \\\\\\"PUB_SERVICE\\\\\\",\\\\n \\\\\\"title\\\\\\": \\\\\\"[底层]文本审核_增强版_用户昵称_细分标签\\\\\\",\\\\n \\\\\\"fieldType\\\\\\": \\\\\\"STRING\\\\\\"\\\\n },\\\\n {\\\\n \\\\\\"actionType\\\\\\": \\\\\\"VARIABLE\\\\\\",\\\\n \\\\\\"code\\\\\\": \\\\\\"deCallCipProcessorService(\\\\\\\\\\\\\\"nickname_detection\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"\\\\\\\\\\\\\\")?.reason?.adNums\\\\\\",\\\\n \\\\\\"sourceType\\\\\\": \\\\\\"SAF\\\\\\",\\\\n \\\\\\"inputs\\\\\\": [\\\\n \\\\\\"adNums\\\\\\"\\\\n ],\\\\n \\\\\\"name\\\\\\": \\\\\\"__nickname_detection_reason_adNums__\\\\\\",\\\\n \\\\\\"description\\\\\\": \\\\\\"文本审核_增强版_用户昵称_命中广告号\\\\\\",\\\\n \\\\\\"type\\\\\\": \\\\\\"PUB_SERVICE\\\\\\",\\\\n \\\\\\"title\\\\\\": \\\\\\"[底层]文本审核_增强版_用户昵称_命中广告号\\\\\\",\\\\n \\\\\\"fieldType\\\\\\": \\\\\\"STRING\\\\\\"\\\\n },\\\\n {\\\\n \\\\\\"actionType\\\\\\": \\\\\\"VARIABLE\\\\\\",\\\\n \\\\\\"code\\\\\\": \\\\\\"deCallCipProcessorService(\\\\\\\\\\\\\\"nickname_detection\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"\\\\\\\\\\\\\\")?.reason?.riskWords\\\\\\",\\\\n \\\\\\"sourceType\\\\\\": \\\\\\"SAF\\\\\\",\\\\n \\\\\\"inputs\\\\\\": [\\\\n \\\\\\"riskWords\\\\\\"\\\\n ],\\\\n \\\\\\"name\\\\\\": \\\\\\"__nickname_detection_reason_riskWords__\\\\\\",\\\\n \\\\\\"description\\\\\\": \\\\\\"文本审核_增强版_用户昵称_命中风险片段\\\\\\",\\\\n \\\\\\"type\\\\\\": \\\\\\"PUB_SERVICE\\\\\\",\\\\n \\\\\\"title\\\\\\": \\\\\\"[底层]文本审核_增强版_用户昵称_命中风险片段\\\\\\",\\\\n \\\\\\"fieldType\\\\\\": \\\\\\"STRING\\\\\\"\\\\n }\\\\n ]\\\\n }\\"\\n },\\n \\"authType\\": \\"all\\",\\n \\"authUsers\\": \\"*\\",\\n \\"templateType\\": \\"PUB_SERVICE\\",\\n \\"priority\\": 10,\\n \\"auditId\\": 225,\\n \\"ruleAuthType\\": \\"WHITE_BOX\\",\\n \\"ruleType\\": \\"DEFAULT\\"\\n },\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'RecallRuleAudit' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
- 'systemTags' => [
- 'operationType' => 'get',
- 'abilityTreeCode' => '155724',
- 'abilityTreeNodes' => [
- 'FEATUREsafT73ZWM',
- ],
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
- 'name' => 'RegId',
+ 'name' => 'regId',
'in' => 'query',
'schema' => [
- 'description' => '区域编码',
+ 'description' => '区域编码。',
'type' => 'string',
'required' => false,
+ 'enumValueTitles' => [],
'example' => 'cn-hangzhou',
],
],
[
- 'name' => 'ModelName',
+ 'name' => 'id',
'in' => 'query',
+ 'schema' => ['description' => '主键ID。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '模型名称。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'qwen-max',
+ 'type' => 'object',
+ 'properties' => [
+ 'resultObject' => ['description' => '返回对象。', 'type' => 'boolean', 'example' => 'true'],
+ 'requestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '4C7DC1C8-557F-5483-9E96-74D77A15EEB5'],
+ ],
+ 'description' => '',
],
],
+ ],
+ 'title' => '撤回审核',
+ 'summary' => '撤回审核。',
+ 'changeSet' => [
+ ['createdAt' => '2021-10-18T12:18:48.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RecallRuleAudit'],
+ ],
+ ],
+ 'ramActions' => [
[
- 'name' => 'ModelScene',
- 'in' => 'query',
- 'schema' => [
- 'description' => '模型场景。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'saf_ai_account_abuse',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"requestId\\": \\"4C7DC1C8-557F-5483-9E96-74D77A15EEB5\\"\\n}","type":"json"}]',
+ ],
+ 'RemoveEvent' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'FilePath',
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => ['operationType' => 'get'],
+ 'parameters' => [
+ [
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '文件路径。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'tempCache/ef2387dfb357ffe87925fd51d2b5305b/1665717035328/mockData.csv',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'Counts',
+ 'name' => 'id',
'in' => 'query',
- 'schema' => [
- 'description' => '文件行数。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '1000',
- ],
+ 'schema' => ['description' => '事件id', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '2556'],
],
[
- 'name' => 'ParameterNum',
+ 'name' => 'templateCode',
'in' => 'query',
- 'schema' => [
- 'description' => '文件列数。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '入参字段模板类型', 'type' => 'string', 'required' => false, 'example' => 'register'],
],
[
- 'name' => 'FileMD5',
+ 'name' => 'eventCode',
'in' => 'query',
- 'schema' => [
- 'description' => '文件md5值。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'VC6Sj3u138yfWHLxLl7dtA==',
- ],
+ 'schema' => ['description' => '事件编码', 'type' => 'string', 'required' => false, 'example' => 'de_arqbuy7206'],
],
[
- 'name' => 'BucId',
+ 'name' => 'createType',
'in' => 'query',
- 'schema' => [
- 'description' => '提交人ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'WB01160353',
- ],
+ 'schema' => ['description' => '创建类型', 'type' => 'string', 'required' => false, 'example' => 'NORMAL'],
],
[
- 'name' => 'UserLocalFileName',
+ 'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '上传文件名。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'fileTest',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
200 => [
- 'headers' => [],
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求id。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
- 'ResultObject' => [
- 'description' => '结果对象。',
- 'type' => 'boolean',
- 'example' => 'True',
- ],
+ 'resultObject' => ['description' => '返回对象', 'type' => 'boolean', 'example' => 'true'],
+ 'requestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"ResultObject\\": true\\n}","type":"json"}]',
- 'title' => '创建模型',
- ],
- 'ModelNameIsDuplication' => [
- 'summary' => '模型名是否重复。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '删除事件',
+ 'summary' => '删除事件',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:23:08.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RemoveEvent'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\"\\n}","type":"json"}]',
+ ],
+ 'SampleFileDownload' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
'systemTags' => [
'operationType' => 'get',
- 'abilityTreeCode' => '155859',
- 'abilityTreeNodes' => [
- 'FEATUREsafT73ZWM',
- ],
+ 'abilityTreeCode' => '138558',
+ 'abilityTreeNodes' => ['FEATUREsafT73ZWM'],
+ 'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
+ 'name' => 'Lang',
+ 'in' => 'query',
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
+ ],
+ [
'name' => 'RegId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'ModelName',
+ 'name' => 'Tab',
'in' => 'query',
- 'schema' => [
- 'description' => '模型名称。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'text-embedding-v2',
- ],
+ 'schema' => ['description' => '场景。', 'type' => 'string', 'required' => false, 'example' => 'FINANCE'],
],
],
'responses' => [
200 => [
- 'headers' => [],
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求id。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
- 'ResultObject' => [
- 'description' => '返回结果。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'RequestId' => ['description' => '请求id。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ 'ResultObject' => ['description' => '请求结果。', 'type' => 'string', 'example' => 'true'],
+ 'HttpStatusCode' => ['description' => 'http状态码。', 'type' => 'string', 'example' => '200'],
+ 'Message' => ['description' => '返回信息。', 'type' => 'string', 'example' => 'success'],
+ 'Code' => ['description' => '状态码。', 'type' => 'string', 'example' => '200'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"ResultObject\\": true\\n}","type":"json"}]',
- 'title' => '模型名是否重复',
- ],
- 'ModelIsUsing' => [
- 'summary' => '启用、停用。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'eventInfo' => [
+ 'enable' => false,
+ 'eventNames' => [],
],
- 'security' => [
- [
- 'AK' => [],
- ],
+ 'title' => '模板下载',
+ 'summary' => '模板下载。',
+ 'changeSet' => [
+ ['createdAt' => '2022-06-10T02:15:44.000Z', 'description' => 'OpenAPI 下线'],
],
- 'operationType' => 'readAndWrite',
- 'systemTags' => [
- 'operationType' => 'get',
- 'abilityTreeCode' => '155843',
- 'abilityTreeNodes' => [
- 'FEATUREsafT73ZWM',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SampleFileDownload'],
],
],
- 'parameters' => [
+ 'ramActions' => [
[
- 'name' => 'RegId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"ResultObject\\": \\"true\\",\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"Message\\": \\"success\\",\\n \\"Code\\": \\"200\\"\\n}","type":"json"}]',
+ ],
+ 'SaveAnalysisColumn' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'ModelId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '模型id。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '27269',
- ],
+ 'AK' => [],
],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'get'],
+ 'parameters' => [
[
- 'name' => 'ModelName',
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '模型名称。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'text-embedding-v1',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'Status',
+ 'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '模型状态。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'Disabled',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'ModelCode',
+ 'name' => 'columns',
'in' => 'query',
- 'schema' => [
- 'description' => '模型编码。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ebgdsa',
- ],
+ 'schema' => ['description' => '自定义列。', 'type' => 'string', 'required' => true, 'example' => '[{\\"variableName\\":\\"requestId\\",\\"variableTitle\\":\\"RequestId\\",\\"variableType\\":\\"SYSTEM_BIND\\",\\"isDefault\\":true},{\\"variableName\\":\\"eventTime\\",\\"variableTitle\\":\\"事件时间\\",\\"variableType\\":\\"SYSTEM_BIND\\",\\"isDefault\\":true},{\\"variableName\\":\\"accountId\\",\\"variableTitle\\":\\"账号\\",\\"variableType\\":\\"SYSTEM_BIND\\",\\"isDefault\\":true},{\\"variableName\\":\\"deviceId\\",\\"variableTitle\\":\\"设备ID\\",\\"variableType\\":\\"SYSTEM_BIND\\",\\"isDefault\\":true},{\\"variableName\\":\\"eventCode\\",\\"variableTitle\\":\\"事件编码\\",\\"variableType\\":\\"SYSTEM_BIND\\",\\"isDefault\\":true},{\\"variableName\\":\\"ip\\",\\"variableTitle\\":\\"IP\\",\\"variableType\\":\\"SYSTEM_BIND\\",\\"isDefault\\":true},{\\"variableName\\":\\"score\\",\\"variableTitle\\":\\"分值\\",\\"variableType\\":\\"SYSTEM_BIND\\",\\"isDefault\\":true},{\\"variableName\\":\\"tags\\",\\"variableTitle\\":\\"标签\\",\\"variableType\\":\\"SYSTEM_BIND\\",\\"isDefault\\":true},{\\"variableName\\":\\"DEtest222\\",\\"variableTitle\\":\\"测试222\\",\\"variableType\\":\\"NATIVE\\",\\"isDefault\\":false}]'],
],
],
'responses' => [
@@ -35193,101 +26334,120 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
- 'ResultObject' => [
- 'description' => '结果对象。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'resultObject' => ['description' => '返回对象。', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"ResultObject\\": true\\n}","type":"json"}]',
- 'title' => '启用/禁用',
- ],
- 'ModelFileUpload' => [
- 'summary' => '文件上传校验。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '保存自定义列',
+ 'summary' => '保存自定义列。',
+ 'changeSet' => [
+ ['createdAt' => '2021-12-22T09:23:29.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SaveAnalysisColumn'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'SaveByPassOrShuntEvent' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
- 'systemTags' => [
- 'operationType' => 'get',
- 'abilityTreeCode' => '155881',
- 'abilityTreeNodes' => [
- 'FEATUREsafT73ZWM',
- ],
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
- 'name' => 'RegId',
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'ObjectName',
+ 'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '文件名称。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '2023-07-10/商品信息批量导出-20230710132028',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
+ ],
+ [
+ 'name' => 'eventId',
+ 'in' => 'query',
+ 'schema' => ['description' => '事件id。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '445'],
+ ],
+ [
+ 'name' => 'eventType',
+ 'in' => 'query',
+ 'schema' => ['description' => '事件类型', 'type' => 'string', 'required' => false, 'example' => 'MAIN'],
+ ],
+ [
+ 'name' => 'eventName',
+ 'in' => 'query',
+ 'schema' => ['description' => '事件名称。', 'type' => 'string', 'required' => false, 'example' => '注册事件'],
],
],
'responses' => [
200 => [
- 'headers' => [],
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求id。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
- 'ResultObject' => [
- 'description' => '返回结果。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'requestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2'],
+ 'success' => ['description' => '请求是否成功。', 'type' => 'boolean', 'example' => 'true'],
+ 'code' => ['description' => '状态码', 'type' => 'string', 'example' => '200'],
+ 'message' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'The input parameter data is not valid. order_storage_company_num component not found'],
+ 'httpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'string', 'example' => '200'],
+ 'resultObject' => ['description' => '返回对象', 'type' => 'boolean', 'example' => 'true'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"ResultObject\\": true\\n}","type":"json"}]',
- 'title' => '文件上传校验',
- ],
- 'ModelDelete' => [
- 'summary' => '删除模型。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '配置旁路/分流',
+ 'summary' => '旁路/分流配置',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SaveByPassOrShuntEvent'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\",\\n \\"success\\": true,\\n \\"code\\": \\"200\\",\\n \\"message\\": \\"The input parameter data is not valid. order_storage_company_num component not found\\",\\n \\"httpStatusCode\\": \\"200\\",\\n \\"resultObject\\": true\\n}","type":"json"}]',
+ ],
+ 'SearchSample' => [
+ 'summary' => '样本搜索',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -35296,110 +26456,138 @@
'operationType' => 'readAndWrite',
'systemTags' => [
'operationType' => 'get',
- 'abilityTreeCode' => '155842',
- 'abilityTreeNodes' => [
- 'FEATUREsafT73ZWM',
- ],
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '138403',
+ 'abilityTreeNodes' => ['FEATUREsafT73ZWM'],
],
'parameters' => [
[
+ 'name' => 'Lang',
+ 'in' => 'query',
+ 'schema' => ['description' => '接口返回错误信息语言。取值:zh:中文。 en:英文。 默认值为en。', 'type' => 'string', 'required' => false, 'example' => 'zh'],
+ ],
+ [
+ 'name' => 'Tab',
+ 'in' => 'query',
+ 'schema' => ['description' => '场景。', 'type' => 'string', 'required' => false, 'example' => 'INTERNET'],
+ ],
+ [
+ 'name' => 'Keyword',
+ 'in' => 'query',
+ 'schema' => ['description' => '传入的域名关键字。', 'type' => 'string', 'required' => false, 'example' => 'test'],
+ ],
+ [
+ 'name' => 'UploadTimeStart',
+ 'in' => 'query',
+ 'schema' => ['description' => '上传开始时间。', 'type' => 'string', 'required' => false, 'example' => '2023-02-09 14:12:12'],
+ ],
+ [
+ 'name' => 'UploadTimeEnd',
+ 'in' => 'query',
+ 'schema' => ['description' => '上传结束时间。', 'type' => 'string', 'required' => false, 'example' => '2023-03-09 14:45:26'],
+ ],
+ [
'name' => 'RegId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'ModelName',
+ 'name' => 'Type',
'in' => 'query',
- 'schema' => [
- 'description' => '模型名称。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'qwen-max',
- ],
+ 'schema' => ['description' => '访问类型。', 'type' => 'string', 'required' => false, 'example' => 'SAF_CONSOLE'],
],
],
'responses' => [
200 => [
- 'headers' => [],
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
'ResultObject' => [
- 'description' => '删除结果。',
- 'type' => 'boolean',
- 'example' => 'true',
+ 'description' => '返回结果。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '返回结果。',
+ 'type' => 'object',
+ 'properties' => [
+ 'SampleId' => ['description' => '样本ID。', 'type' => 'integer', 'format' => 'int32', 'example' => '9b020e69bbae49d88c07a377c3ab7a71'],
+ 'SampleName' => ['description' => '样本名称。', 'type' => 'string', 'example' => 'Test'],
+ 'Tab' => ['description' => '场景。', 'type' => 'string', 'example' => 'FINANCE'],
+ 'UploadTime' => ['description' => '文件上传时间。', 'type' => 'string', 'example' => '2023-12-01 12:23:34'],
+ 'UploadUserName' => ['description' => '上传人。', 'type' => 'string', 'example' => 'ds'],
+ 'Remark' => ['description' => '备注信息。', 'type' => 'string', 'example' => 'ios_velo'],
+ 'FileName' => ['description' => '文件名。', 'type' => 'string', 'example' => 'icekredit_model_A_2025c_1755826424_870000.csv'],
+ 'FileSize' => ['description' => '文件大小。', 'type' => 'integer', 'format' => 'int32', 'example' => '572'],
+ 'RowCount' => ['description' => '记录数。', 'type' => 'integer', 'format' => 'int32', 'example' => '325'],
+ ],
+ ],
],
+ 'Code' => ['description' => '状态码。', 'type' => 'string', 'example' => '200'],
+ 'HttpStatusCode' => ['description' => 'http状态码。', 'type' => 'string', 'example' => '200'],
+ 'Message' => ['description' => '返回信息。', 'type' => 'string', 'example' => 'success'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"ResultObject\\": true\\n}","type":"json"}]',
- 'title' => '删除模型',
- ],
- 'DescribeListModel' => [
- 'summary' => '模型任务列表。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '样本查询',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:SearchSample',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"ResultObject\\": [\\n {\\n \\"SampleId\\": 0,\\n \\"SampleName\\": \\"Test\\",\\n \\"Tab\\": \\"FINANCE\\",\\n \\"UploadTime\\": \\"2023-12-01 12:23:34\\",\\n \\"UploadUserName\\": \\"ds\\",\\n \\"Remark\\": \\"ios_velo\\",\\n \\"FileName\\": \\"icekredit_model_A_2025c_1755826424_870000.csv\\",\\n \\"FileSize\\": 572,\\n \\"RowCount\\": 325\\n }\\n ],\\n \\"Code\\": \\"200\\",\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"Message\\": \\"success\\"\\n}","type":"json"}]',
+ ],
+ 'StartOrStopByPassShuntEvent' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- 'abilityTreeCode' => '155392',
- 'abilityTreeNodes' => [
- 'FEATUREsafT73ZWM',
- ],
- ],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
- 'name' => 'PageSize',
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '每页显示条数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'CurrentPage',
+ 'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'RegId',
+ 'name' => 'eventId',
+ 'in' => 'query',
+ 'schema' => ['description' => '事件id。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '445'],
+ ],
+ [
+ 'name' => 'status',
'in' => 'query',
'schema' => [
- 'description' => '区域编码。',
+ 'description' => '状态。',
'type' => 'string',
'required' => false,
- 'example' => 'cn-hangzhou',
+ 'enumValueTitles' => ['下线', '上线'],
+ 'example' => '1',
],
],
],
@@ -35408,113 +26596,43 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求id。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
- 'ResultObject' => [
- 'description' => '返回数据。',
- 'type' => 'array',
- 'items' => [
- 'description' => '返回数据。',
- 'type' => 'object',
- 'properties' => [
- 'modelId' => [
- 'description' => '实际使用的模型唯一标识',
- 'type' => 'string',
- 'example' => 'qwen-plus',
- ],
- 'modelName' => [
- 'description' => '模型名称。',
- 'type' => 'string',
- 'example' => 'custom_model',
- ],
- 'modelScene' => [
- 'description' => '模型场景。',
- 'type' => 'string',
- 'example' => 'custom_scene',
- ],
- 'createTime' => [
- 'description' => '创建时间。',
- 'type' => 'string',
- 'example' => '2025-05-07T02:26:01Z',
- ],
- 'updateTime' => [
- 'description' => '模型最后更新时间。',
- 'type' => 'string',
- 'example' => '2024-11-18T02:07:00Z',
- ],
- 'userId' => [
- 'description' => '用户ID。',
- 'type' => 'string',
- 'example' => '1806507582222226',
- ],
- 'bucId' => [
- 'description' => '上传人ID。',
- 'type' => 'string',
- 'example' => '011786',
- ],
- 'modelCode' => [
- 'description' => '型号code。',
- 'type' => 'string',
- 'example' => 'code',
- ],
- 'modelStatus' => [
- 'description' => '型号模型状态,取值:-**ENABLED**:可用-**DISABLED**:不可用',
- 'type' => 'string',
- 'example' => 'ENABLED',
- ],
- 'taskId' => [
- 'description' => '任务id。',
- 'type' => 'string',
- 'example' => '0c8a3799-5ac8-434b-b255-e06edb35c05f',
- ],
- 'userLocalFileName' => [
- 'description' => '文件名。',
- 'type' => 'string',
- 'example' => 'saf-ai-1662519103706.csv',
- ],
- ],
- ],
- ],
- 'TotalItem' => [
- 'description' => '总记录数。',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'TotalPage' => [
- 'description' => '总页数。',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'CurrentPage' => [
- 'description' => '当前页码。',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'description' => '每页显示条数。',
- 'type' => 'string',
- 'example' => '30',
- ],
+ 'requestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2'],
+ 'success' => ['description' => '请求是否成功。', 'type' => 'boolean', 'example' => 'true'],
+ 'code' => ['description' => '状态码', 'type' => 'string', 'example' => '200'],
+ 'message' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'The input parameter data is not valid. order_storage_company_num component not found'],
+ 'httpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'string', 'example' => '200'],
+ 'resultObject' => ['description' => '返回对象', 'type' => 'boolean', 'example' => 'true'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"ResultObject\\": [\\n {\\n \\"modelId\\": \\"qwen-plus\\",\\n \\"modelName\\": \\"custom_model\\",\\n \\"modelScene\\": \\"custom_scene\\",\\n \\"createTime\\": \\"2025-05-07T02:26:01Z\\",\\n \\"updateTime\\": \\"2024-11-18T02:07:00Z\\",\\n \\"userId\\": \\"1806507582222226\\",\\n \\"bucId\\": \\"011786\\",\\n \\"modelCode\\": \\"code\\",\\n \\"modelStatus\\": \\"ENABLED\\",\\n \\"taskId\\": \\"0c8a3799-5ac8-434b-b255-e06edb35c05f\\",\\n \\"userLocalFileName\\": \\"saf-ai-1662519103706.csv\\"\\n }\\n ],\\n \\"TotalItem\\": \\"1\\",\\n \\"TotalPage\\": \\"1\\",\\n \\"CurrentPage\\": \\"1\\",\\n \\"PageSize\\": \\"30\\"\\n}","type":"json"}]',
- 'title' => '模型任务列表',
- ],
- 'ModelSampleDownload' => [
- 'summary' => '模板下载',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '开启/停止旁路事件',
+ 'summary' => '开启/停止旁路事件',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StartOrStopByPassShuntEvent'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\",\\n \\"success\\": true,\\n \\"code\\": \\"200\\",\\n \\"message\\": \\"The input parameter data is not valid. order_storage_company_num component not found\\",\\n \\"httpStatusCode\\": \\"200\\",\\n \\"resultObject\\": true\\n}","type":"json"}]',
+ ],
+ 'StartSimulationTask' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -35523,56 +26641,69 @@
'operationType' => 'read',
'systemTags' => [
'operationType' => 'get',
- 'abilityTreeCode' => '155933',
- 'abilityTreeNodes' => [
- 'FEATUREsafT73ZWM',
- ],
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREsafT73ZWM'],
],
'parameters' => [
[
- 'name' => 'RegId',
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'],
+ ],
+ [
+ 'name' => 'id',
+ 'in' => 'query',
+ 'schema' => ['description' => '主键id', 'type' => 'string', 'required' => true, 'example' => '3144'],
+ ],
+ [
+ 'name' => 'regId',
+ 'in' => 'query',
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
200 => [
- 'headers' => [],
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求id。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
- 'ResultObject' => [
- 'description' => '请求结果。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'resultObject' => ['description' => '返回对象', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"ResultObject\\": true\\n}","type":"json"}]',
- 'title' => '模板下载',
- ],
- 'DescribeModelOssPolicy' => [
- 'summary' => '获取文件上传凭证。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '开始执行任务',
+ 'summary' => '开始执行任务。',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:19:06.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StartSimulationTask'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'StopSimulationTask' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -35580,30 +26711,28 @@
],
'operationType' => 'read',
'systemTags' => [
- 'operationType' => 'list',
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREsafT73ZWM'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'],
+ ],
+ [
+ 'name' => 'id',
+ 'in' => 'query',
+ 'schema' => ['description' => '任务id。', 'type' => 'string', 'required' => true, 'example' => '376773'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
@@ -35611,223 +26740,176 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Key' => [
- 'description' => 'oss的accesskeysecret。',
- 'type' => 'string',
- 'example' => 'saf/a/uid/ccc',
- ],
- 'resultObject' => [
- 'description' => '返回结果。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Signature' => [
- 'description' => '签名信息。',
- 'type' => 'string',
- 'example' => 'tzl1wL4q8rR/xxxxxx',
- ],
- 'Host' => [
- 'description' => '地址。',
- 'type' => 'string',
- 'example' => 'https://saf-ai.oss-cn-shanghai.aliyuncs.com',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
- 'Policy' => [
- 'description' => '用户表单上传的策略policy,是经过base64编码过的字符串。',
- 'type' => 'string',
- 'example' => 'eyJleHBpxxxxxx',
- ],
- 'AccessId' => [
- 'description' => '访问OSS的ID',
- 'type' => 'string',
- 'example' => 'LTAIpeYTKEbC0v10',
- ],
- 'Message' => [
- 'description' => '错误信息。',
- 'type' => 'string',
- 'example' => 'success',
- ],
+ 'resultObject' => ['description' => '返回对象', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Key\\": \\"saf/a/uid/ccc\\",\\n \\"resultObject\\": true,\\n \\"Signature\\": \\"tzl1wL4q8rR/xxxxxx\\",\\n \\"Host\\": \\"https://saf-ai.oss-cn-shanghai.aliyuncs.com\\",\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"Policy\\": \\"eyJleHBpxxxxxx\\",\\n \\"AccessId\\": \\"LTAIpeYTKEbC0v10\\",\\n \\"Message\\": \\"success\\"\\n}","type":"json"}]',
- 'title' => '模型OSS信息',
- ],
- 'PocGetDownloadUrl' => [
- 'summary' => '获取下载URL。',
- 'methods' => [
- 'post',
+ 'title' => '停止任务',
+ 'summary' => '停止任务。',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:19:05.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StopSimulationTask'],
+ ],
],
- 'security' => [
+ 'ramActions' => [
[
- 'AK' => [],
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
],
- 'operationType' => 'read',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '168985',
- 'abilityTreeNodes' => [
- 'FEATUREsafT73ZWM',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'SwitchExpressionVariable' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
],
],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'Token',
+ 'name' => 'regId',
+ 'in' => 'query',
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'],
+ ],
+ [
+ 'name' => 'id',
+ 'in' => 'query',
+ 'schema' => ['description' => '变量id。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '2556'],
+ ],
+ [
+ 'name' => 'dataVersion',
+ 'in' => 'query',
+ 'schema' => ['description' => '数据版本。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1'],
+ ],
+ [
+ 'name' => 'status',
'in' => 'query',
'schema' => [
- 'description' => '任务token。',
+ 'description' => '状态。',
'type' => 'string',
- 'required' => false,
- 'example' => 'd83221f51752805880',
+ 'required' => true,
+ 'enumValueTitles' => ['DISABLE' => '禁用', 'ENABLE' => '启用'],
+ 'example' => 'ENABLE',
],
],
],
'responses' => [
200 => [
+ 'headers' => [],
'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' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
- 'Data' => [
- 'description' => '数据',
- 'type' => 'string',
- 'example' => '{\'searchResult\': [], \'searchTotalNum\': 0, \'searchTime\': 0.012349}',
- ],
- 'Code' => [
- 'description' => '状态码。',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'Message' => [
- 'description' => '返回结果消息',
- 'type' => 'string',
- 'example' => 'successful',
- ],
- 'Success' => [
- 'description' => '是否调用成功。true:调用成功。false:调用失败。',
- 'type' => 'string',
- 'example' => 'True',
- ],
+ 'resultObject' => ['description' => '返回对象。', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
],
+ 'description' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'title' => '修改自定义变量状态',
+ 'summary' => '自定义变量开关。',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:27:35.000Z', 'description' => 'OpenAPI 下线'],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"Data\\": \\"{\'searchResult\': [], \'searchTotalNum\': 0, \'searchTime\': 0.012349}\\",\\n \\"Code\\": \\"200\\",\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"Message\\": \\"successful\\",\\n \\"Success\\": \\"True\\"\\n}","type":"json"}]',
- 'title' => '获取下载地址',
- ],
- 'DescribeRiskTagsLineChart' => [
- 'summary' => '标签命中率 标签命中维度',
- 'methods' => [
- 'post',
- 'get',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SwitchExpressionVariable'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'SwitchField' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'list',
- ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'RegId',
+ 'name' => 'id',
+ 'in' => 'query',
+ 'schema' => ['description' => '主键ID。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '250002'],
+ ],
+ [
+ 'name' => 'status',
'in' => 'query',
'schema' => [
- 'description' => '区域编码',
+ 'description' => '状态。',
'type' => 'string',
'required' => false,
- 'example' => 'cn-hangzhou',
+ 'enumValueTitles' => ['DISABLE' => '禁用', 'ENABLE' => '启用'],
+ 'example' => 'ENABLE',
],
],
[
- 'name' => 'EventCodes',
+ 'name' => 'source',
'in' => 'query',
'schema' => [
- 'description' => '事件编码',
+ 'description' => '字段来源。',
'type' => 'string',
'required' => false,
- 'example' => 'de_afghcf6411',
+ 'enumValueTitles' => ['DEFINE' => '自定义', 'DEFAULT' => '系统默认'],
+ 'example' => 'DEFINE',
],
],
[
- 'name' => 'BeginTime',
+ 'name' => 'name',
'in' => 'query',
- 'schema' => [
- 'description' => '查询的起始时间,单位为ms。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1729563800605',
- ],
+ 'schema' => ['description' => '参数名称。', 'type' => 'string', 'required' => false, 'example' => 'age'],
],
[
- 'name' => 'EndTime',
+ 'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '结束时间,精确到毫秒(ms)。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1729563800605',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
@@ -35835,122 +26917,41 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
- 'Success' => [
- 'description' => '请求是否成功。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Code' => [
- 'description' => '状态码。说明 200表示成功。',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'Message' => [
- 'description' => '错误信息。',
- 'type' => 'string',
- 'example' => 'success',
- ],
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'ResultObject' => [
- 'description' => '返回的结果信息',
- 'type' => 'object',
- 'properties' => [
- 'Xaxis' => [
- 'description' => '图表X轴数据',
- 'type' => 'object',
- 'properties' => [
- 'Data' => [
- 'description' => '图表返回数据',
- 'type' => 'array',
- 'items' => [
- 'description' => '图表X轴数据',
- 'type' => 'string',
- 'example' => '['."\n"
- .' "2025-07-01",'."\n"
- .' "2025-07-02",'."\n"
- .' "2025-07-03",'."\n"
- .' "2025-07-04",'."\n"
- .' "2025-07-05",'."\n"
- .' "2025-07-06",'."\n"
- .' "2025-07-07",'."\n"
- .' "2025-07-08",'."\n"
- .' "2025-07-09",'."\n"
- .' "2025-07-10"'."\n"
- .' ]',
- ],
- ],
- ],
- ],
- 'Series' => [
- 'description' => '图表数据',
- 'type' => 'array',
- 'items' => [
- 'description' => '图表数据',
- 'type' => 'object',
- 'properties' => [
- 'Name' => [
- 'description' => '名称',
- 'type' => 'string',
- 'example' => 'rm0102',
- ],
- 'Data' => [
- 'description' => '数据',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '10',
- 'default' => '0.0',
- ],
- ],
- ],
- ],
- 'Total' => [
- 'description' => '总记录条数。',
- 'type' => 'array',
- 'items' => [
- 'description' => '总数',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '4',
- ],
- ],
- 'Percent' => [
- 'description' => '调用百分比 小数表示',
- 'type' => 'array',
- 'items' => [
- 'description' => '百分比 小数表示',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '0.5',
- ],
- ],
- ],
- ],
+ 'resultObject' => ['description' => '返回对象。', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"success\\",\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"ResultObject\\": {\\n \\"Xaxis\\": {\\n \\"Data\\": [\\n \\"[\\\\n \\\\\\"2025-07-01\\\\\\",\\\\n \\\\\\"2025-07-02\\\\\\",\\\\n \\\\\\"2025-07-03\\\\\\",\\\\n \\\\\\"2025-07-04\\\\\\",\\\\n \\\\\\"2025-07-05\\\\\\",\\\\n \\\\\\"2025-07-06\\\\\\",\\\\n \\\\\\"2025-07-07\\\\\\",\\\\n \\\\\\"2025-07-08\\\\\\",\\\\n \\\\\\"2025-07-09\\\\\\",\\\\n \\\\\\"2025-07-10\\\\\\"\\\\n ]\\"\\n ]\\n },\\n \\"Series\\": [\\n {\\n \\"Name\\": \\"rm0102\\",\\n \\"Data\\": 10\\n }\\n ],\\n \\"Total\\": [\\n 4\\n ],\\n \\"Percent\\": [\\n 0.5\\n ]\\n }\\n}","type":"json"}]',
- 'title' => '标签命中率 标签命中维度',
- ],
- 'ImportField' => [
- 'summary' => '批量导入',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '上下线字段',
+ 'summary' => '字段开关。',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:27:23.000Z', 'description' => 'OpenAPI 下线'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SwitchField'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'SwitchQueryVariable' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -35958,1342 +26959,856 @@
],
'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'create',
- 'abilityTreeCode' => '173080',
- 'abilityTreeNodes' => [
- 'FEATUREsafWH3N80',
- ],
- 'tenantRelevance' => 'publicInformation',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'FileUrl',
+ 'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '附件下载地址。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'filed/data/text.csv',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'RegId',
+ 'name' => 'id',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '主键ID。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '3144'],
+ ],
+ [
+ 'name' => 'status',
+ 'in' => 'query',
+ 'schema' => ['description' => '状态。', 'type' => 'string', 'required' => false, 'example' => 'ENABLE'],
],
],
'responses' => [
200 => [
+ 'headers' => [],
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
- 'Success' => [
- 'description' => '请求成功与否标识。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Code' => [
- 'description' => '接口状态码。',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'Message' => [
- 'description' => '错误信息。',
- 'type' => 'string',
- 'example' => 'successful',
- ],
- 'HttpStatusCode' => [
- 'description' => 'HTTP状态码',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'ResultObject' => [
- 'description' => '返回的结果',
- 'type' => 'object',
- 'properties' => [
- 'TotalNum' => [
- 'description' => '总记录数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '7',
- ],
- 'SuccessNum' => [
- 'description' => '执行成功数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '7',
- ],
- 'FailFieldNames' => [
- 'description' => '未上传成功字段名',
- 'type' => 'string',
- 'example' => 'test',
- ],
- ],
- ],
+ 'resultObject' => ['description' => '返回对象。', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
],
+ 'description' => '',
],
],
],
- 'eventInfo' => [
- 'enable' => false,
- 'eventNames' => [],
+ 'title' => '查询变量启用/禁用',
+ 'summary' => '查询变量启用/禁用。',
+ 'changeSet' => [
+ ['createdAt' => '2023-01-05T03:46:33.000Z', 'description' => '响应参数发生变更'],
+ ['createdAt' => '2021-11-23T12:31:20.000Z', 'description' => 'OpenAPI 下线'],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"successful\\",\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"ResultObject\\": {\\n \\"TotalNum\\": 7,\\n \\"SuccessNum\\": 7,\\n \\"FailFieldNames\\": \\"test\\"\\n }\\n}","type":"json"}]',
- 'title' => '批量导入字段',
- ],
- 'DescribeInitDig' => [
- 'summary' => 'POC新增初始化弹框提示信息',
- 'methods' => [
- 'post',
- 'get',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SwitchQueryVariable'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'SwitchToOnline' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'systemTags' => [
- 'operationType' => 'get',
- 'abilityTreeCode' => '193636',
- 'abilityTreeNodes' => [
- 'FEATUREsafT73ZWM',
- ],
- ],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型。默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'RegId',
+ 'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'Type',
+ 'name' => 'eventId',
'in' => 'query',
- 'schema' => [
- 'description' => '数据来源类型',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'SAF_CONSOLE',
- ],
+ 'schema' => ['description' => '要切换到的事件id。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => 'de_ahqhsw7665'],
],
],
'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' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
- 'ResultObject' => [
- 'description' => '返回的结果信息',
- 'type' => 'object',
- 'properties' => [
- 'TipInfo' => [
- 'description' => '提示信息',
- 'type' => 'string',
- 'example' => '阿里云内部测试',
- ],
- ],
- ],
+ 'requestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2'],
+ 'success' => ['description' => '本次操作是否成功,true表示成功。', 'type' => 'boolean', 'example' => 'true'],
+ 'code' => ['description' => '状态码', 'type' => 'string', 'example' => '200'],
+ 'message' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'The input parameter data is not valid. order_storage_company_num component not found'],
+ 'httpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'string', 'example' => '200'],
+ 'resultObject' => ['description' => '返回对象', 'type' => 'boolean', 'example' => 'true'],
],
+ 'description' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"ResultObject\\": {\\n \\"TipInfo\\": \\"阿里云内部测试\\"\\n }\\n}","type":"json"}]',
- 'title' => 'POC弹框提示信息',
- 'description' => '在BOPS中添加提示信息,POC新增页面初始化弹框提示该信息',
- 'responseParamsDescription' => '无',
- 'extraInfo' => '无',
- ],
- 'CompareCopyRuleVariable' => [
- 'summary' => '策略对比。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '旁路事件切换上线',
+ 'summary' => '一键切换上线',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SwitchToOnline'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\",\\n \\"success\\": true,\\n \\"code\\": \\"200\\",\\n \\"message\\": \\"The input parameter data is not valid. order_storage_company_num component not found\\",\\n \\"httpStatusCode\\": \\"200\\",\\n \\"resultObject\\": true\\n}","type":"json"}]',
+ ],
+ 'SwitchVariable' => [
+ 'summary' => '累计变量开关。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'SourceRuleId',
+ 'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '原策略ruleId。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '102125',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'SourceRuleIds',
+ 'name' => 'id',
'in' => 'query',
- 'schema' => [
- 'description' => '原策略ruleIds。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '102125,102129',
- ],
+ 'schema' => ['description' => '累计变量主键ID。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '2557'],
],
[
- 'name' => 'TargetEventCode',
+ 'name' => 'dataVersion',
'in' => 'query',
- 'schema' => [
- 'description' => '目标事件eventCode。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'de_ajtshf1581',
- ],
+ 'schema' => ['description' => '数据版本。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'],
],
[
- 'name' => 'RegId',
+ 'name' => 'name',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '累计变量name:由后端生成。', 'type' => 'string', 'required' => false, 'example' => 'hS6fn8Oe0c1'],
],
[
- 'name' => 'CreateType',
+ 'name' => 'status',
'in' => 'query',
- 'schema' => [
- 'description' => '创建类型',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'NORMAL',
- ],
+ 'schema' => ['description' => '状态。', 'type' => 'string', 'required' => false, 'example' => 'ENABLE'],
],
],
'responses' => [
200 => [
+ 'headers' => [],
'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' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
- 'ResultObject' => [
- 'description' => '结果对象。',
- 'type' => 'object',
- 'properties' => [
- 'EventVariableList' => [
- 'description' => '事件字段变量',
- 'type' => 'array',
- 'items' => [
- 'description' => '事件字段变量',
- 'type' => 'object',
- 'properties' => [
- 'Id' => [
- 'description' => '变量id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '375',
- ],
- 'Name' => [
- 'description' => '变量name',
- 'type' => 'string',
- 'example' => 'age',
- ],
- 'Title' => [
- 'description' => '标题',
- 'type' => 'string',
- 'example' => '年龄',
- ],
- 'Description' => [
- 'description' => '描述',
- 'type' => 'string',
- 'example' => '描述',
- ],
- 'OutType' => [
- 'description' => '变量类型',
- 'type' => 'string',
- 'example' => 'NATIVE',
- ],
- ],
- ],
- ],
- 'NameListVariableList' => [
- 'description' => '名单变量列表',
- 'type' => 'array',
- 'items' => [
- 'description' => '名单变量列表',
- 'type' => 'object',
- 'properties' => [
- 'Id' => [
- 'description' => '变量id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1987',
- ],
- 'Name' => [
- 'description' => '变量name',
- 'type' => 'string',
- 'example' => 'nl_UN8otElLb490',
- ],
- 'Title' => [
- 'description' => '标题',
- 'type' => 'string',
- 'example' => '白名单',
- ],
- 'Description' => [
- 'description' => '描述',
- 'type' => 'string',
- 'example' => '描述',
- ],
- 'OutType' => [
- 'description' => '变量类型',
- 'type' => 'string',
- 'example' => 'NAME_LIST',
- ],
- ],
- ],
- ],
- 'SystemVariableList' => [
- 'description' => '系统变量列表',
- 'type' => 'array',
- 'items' => [
- 'description' => '系统变量列表',
- 'type' => 'object',
- 'properties' => [
- 'Id' => [
- 'description' => '变量id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1003',
- ],
- 'Name' => [
- 'description' => '变量name',
- 'type' => 'string',
- 'example' => 'sl_S02sHLFT7818',
- ],
- 'Title' => [
- 'description' => '标题',
- 'type' => 'string',
- 'example' => '根据ip地址得到评分'."\n",
- ],
- 'Description' => [
- 'description' => '描述',
- 'type' => 'string',
- 'example' => '描述',
- ],
- 'OutType' => [
- 'description' => '变量类型',
- 'type' => 'string',
- 'example' => 'SELF_BIND',
- ],
- ],
- ],
- ],
- 'CustVariableList' => [
- 'description' => '累计变量列表',
- 'type' => 'array',
- 'items' => [
- 'description' => '累计变量列表',
- 'type' => 'object',
- 'properties' => [
- 'Id' => [
- 'description' => '变量id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1483',
- ],
- 'Name' => [
- 'description' => '变量name',
- 'type' => 'string',
- 'example' => 'dxkkLw8fe18',
- ],
- 'Title' => [
- 'description' => '标题',
- 'type' => 'string',
- 'example' => '近1天账户登录设备数_bk4'."\n",
- ],
- 'Description' => [
- 'description' => '描述',
- 'type' => 'string',
- 'example' => '描述',
- ],
- 'OutType' => [
- 'description' => '变量类型',
- 'type' => 'string',
- 'example' => 'SELF_VELOCITY',
- ],
- ],
- ],
- ],
- 'ExpressionVariableList' => [
- 'description' => '自定义变量列表',
- 'type' => 'array',
- 'items' => [
- 'description' => '自定义变量列表',
- 'type' => 'object',
- 'properties' => [
- 'Id' => [
- 'description' => '变量id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2540',
- ],
- 'Name' => [
- 'description' => '变量name',
- 'type' => 'string',
- 'example' => 'ex_XheC9A382fe7',
- ],
- 'Title' => [
- 'description' => '标题',
- 'type' => 'string',
- 'example' => '手机号前7位',
- ],
- 'Description' => [
- 'description' => '描述',
- 'type' => 'string',
- 'example' => '描述',
- ],
- 'OutType' => [
- 'description' => '变量类型',
- 'type' => 'string',
- 'example' => 'EXPRESSION',
- ],
- ],
- ],
- ],
- 'QueryExpressionVariableList' => [
- 'description' => '自定义查询变量列表',
- 'type' => 'array',
- 'items' => [
- 'description' => '自定义查询变量列表',
- 'type' => 'object',
- 'properties' => [
- 'Id' => [
- 'description' => '变量id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '217',
- ],
- 'Name' => [
- 'description' => '变量name',
- 'type' => 'string',
- 'example' => 'ex_vcaoii1697',
- ],
- 'Title' => [
- 'description' => '标题',
- 'type' => 'string',
- 'example' => '获取年龄',
- ],
- 'Description' => [
- 'description' => '描述',
- 'type' => 'string',
- 'example' => '描述',
- ],
- 'OutType' => [
- 'description' => '变量类型',
- 'type' => 'string',
- 'example' => 'QUERY_EXPRESSION',
- ],
- ],
- ],
- ],
- ],
- ],
+ 'resultObject' => ['description' => '返回对象。', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
],
+ 'description' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'title' => '上下线累计变量',
+ 'changeSet' => [
+ ['createdAt' => '2023-01-09T06:11:43.000Z', 'description' => '响应参数发生变更'],
+ ['createdAt' => '2022-05-11T07:27:47.000Z', 'description' => 'OpenAPI 下线'],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"ResultObject\\": {\\n \\"EventVariableList\\": [\\n {\\n \\"Id\\": 375,\\n \\"Name\\": \\"age\\",\\n \\"Title\\": \\"年龄\\",\\n \\"Description\\": \\"描述\\",\\n \\"OutType\\": \\"NATIVE\\"\\n }\\n ],\\n \\"NameListVariableList\\": [\\n {\\n \\"Id\\": 1987,\\n \\"Name\\": \\"nl_UN8otElLb490\\",\\n \\"Title\\": \\"白名单\\",\\n \\"Description\\": \\"描述\\",\\n \\"OutType\\": \\"NAME_LIST\\"\\n }\\n ],\\n \\"SystemVariableList\\": [\\n {\\n \\"Id\\": 1003,\\n \\"Name\\": \\"sl_S02sHLFT7818\\",\\n \\"Title\\": \\"根据ip地址得到评分\\\\n\\",\\n \\"Description\\": \\"描述\\",\\n \\"OutType\\": \\"SELF_BIND\\"\\n }\\n ],\\n \\"CustVariableList\\": [\\n {\\n \\"Id\\": 1483,\\n \\"Name\\": \\"dxkkLw8fe18\\",\\n \\"Title\\": \\"近1天账户登录设备数_bk4\\\\n\\",\\n \\"Description\\": \\"描述\\",\\n \\"OutType\\": \\"SELF_VELOCITY\\"\\n }\\n ],\\n \\"ExpressionVariableList\\": [\\n {\\n \\"Id\\": 2540,\\n \\"Name\\": \\"ex_XheC9A382fe7\\",\\n \\"Title\\": \\"手机号前7位\\",\\n \\"Description\\": \\"描述\\",\\n \\"OutType\\": \\"EXPRESSION\\"\\n }\\n ],\\n \\"QueryExpressionVariableList\\": [\\n {\\n \\"Id\\": 217,\\n \\"Name\\": \\"ex_vcaoii1697\\",\\n \\"Title\\": \\"获取年龄\\",\\n \\"Description\\": \\"描述\\",\\n \\"OutType\\": \\"QUERY_EXPRESSION\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
- 'title' => '策略复制对比',
- ],
- 'DeepCopyRule' => [
- 'summary' => '策略复制',
- 'methods' => [
- 'post',
- 'get',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SwitchVariable'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'TaskNameByUserId' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
'systemTags' => [
'operationType' => 'get',
+ 'abilityTreeCode' => '138560',
+ 'abilityTreeNodes' => ['FEATUREsafT73ZWM'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'SourceRuleId',
+ 'name' => 'RegId',
'in' => 'query',
- 'schema' => [
- 'description' => '来源策略id',
- 'type' => 'string',
- 'required' => false,
- 'example' => '102125',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'SourceRuleIds',
+ 'name' => 'TaskName',
'in' => 'query',
+ 'schema' => ['description' => '任务名称。', 'type' => 'string', 'required' => false, 'example' => 'Methylation_node_5_3'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '目标策略id',
- 'type' => 'string',
- 'required' => false,
- 'example' => '102125,102129',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ 'ResultObject' => ['description' => '返回结果。', 'type' => 'boolean', 'example' => 'true'],
+ 'HttpStatusCode' => ['description' => 'http状态码。', 'type' => 'string', 'example' => '200'],
+ 'Code' => ['description' => '响应码。', 'type' => 'string', 'example' => '200'],
+ 'Message' => ['description' => '返回消息。', 'type' => 'string', 'example' => 'success'],
+ ],
+ 'description' => '',
],
],
+ ],
+ 'title' => '任务名是否重复',
+ 'summary' => '判断任务名是否重复。',
+ 'changeSet' => [
+ ['createdAt' => '2024-06-19T12:22:10.000Z', 'description' => '请求参数发生变更'],
+ ['createdAt' => '2022-06-10T02:15:44.000Z', 'description' => 'OpenAPI 下线'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'TaskNameByUserId'],
+ ],
+ ],
+ 'ramActions' => [
[
- 'name' => 'TargetEventCode',
- 'in' => 'query',
- 'schema' => [
- 'description' => '目标事件',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'de_ajtshf1581',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"ResultObject\\": true,\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"success\\"\\n}","type":"json"}]',
+ ],
+ 'UpdateAnalysisConditionFavorite' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'TargetEventName',
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'get'],
+ 'parameters' => [
+ [
+ 'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '目标事件名称',
- 'type' => 'string',
- 'required' => false,
- 'example' => '目标事件名称',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'ExpressionVariableInfo',
+ 'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '需要新增的自定义变量',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[{"id":"ex_2wxZPcxg3a03","title":"新标题"}]',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'QueryExpressionVariableInfo',
+ 'name' => 'id',
'in' => 'query',
- 'schema' => [
- 'description' => '需要新增的自定义查询变量',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[{"id":"ex_2wxZPcxg3a03","title":"新标题"}]',
- ],
+ 'schema' => ['description' => '主键ID。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '3144'],
],
[
- 'name' => 'CustWriteInfo',
+ 'name' => 'name',
'in' => 'query',
- 'schema' => [
- 'description' => '读累计变量',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[1234,2345]',
- ],
+ 'schema' => ['description' => '条件名称。', 'type' => 'string', 'required' => false, 'example' => '查询条件1'],
],
[
- 'name' => 'CustInsertInfo',
+ 'name' => 'eventCode',
'in' => 'query',
- 'schema' => [
- 'description' => '新增的累计变量',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[{"id":"1288","title":"新标题"}]',
- ],
+ 'schema' => ['description' => '事件编码。', 'type' => 'string', 'required' => false, 'example' => 'de_ajnoqe2016'],
],
[
- 'name' => 'CreateType',
+ 'name' => 'eventBeginTime',
'in' => 'query',
- 'schema' => [
- 'description' => '创建类型',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'NORMAL',
- ],
+ 'schema' => ['description' => '开始时间,精确到毫秒(ms)。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1752076800000'],
],
[
- 'name' => 'RegId',
+ 'name' => 'eventEndTime',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '结束时间,精确到毫秒(ms)。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1753891199000'],
+ ],
+ [
+ 'name' => 'condition',
+ 'in' => 'query',
+ 'schema' => ['description' => '条件值。', 'type' => 'string', 'required' => false, 'example' => '{\\"relationship\\":\\"and\\",\\"list\\":[{\\"deepCount\\":1,\\"left\\":{\\"hasRightVariable\\":true,\\"fieldType\\":\\"INT\\",\\"functionName\\":\\"\\",\\"leftVariableType\\":\\"NATIVE\\",\\"name\\":\\"DEtest222\\",\\"operatorCode\\":\\"equals\\"},\\"right\\":{\\"rightVariableType\\":\\"constant\\",\\"name\\":\\"9007199254\\",\\"functionName\\":\\"\\"},\\"operatorCode\\":\\"equals\\"}]}'],
+ ],
+ [
+ 'name' => 'type',
+ 'in' => 'query',
+ 'schema' => ['description' => '类型,BASIC:基础查询,ADVANCE:高级查询,BATCH:批量查询。', 'type' => 'string', 'required' => false, 'example' => 'BASIC'],
+ ],
+ [
+ 'name' => 'fieldName',
+ 'in' => 'query',
+ 'schema' => ['description' => '字段名称。', 'type' => 'string', 'required' => false, 'example' => 'age'],
+ ],
+ [
+ 'name' => 'fieldValue',
+ 'in' => 'query',
+ 'schema' => ['description' => '字段值。', 'type' => 'string', 'required' => false, 'example' => '20'],
],
],
'responses' => [
200 => [
'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
- 'ResultObject' => [
- 'description' => '返回的结果信息',
- 'type' => 'object',
- 'properties' => [
- 'RuleId' => [
- 'description' => '策略id',
- 'type' => 'string',
- 'example' => '104556',
- ],
- 'ConsoleRuleId' => [
- 'description' => '策略主键id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2346',
- ],
- 'RuleVersionId' => [
- 'description' => '策略版本主键id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1135',
- ],
- 'BatchCopyFlag' => [
- 'description' => '是否需要跳转到详情',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- ],
- ],
+ 'resultObject' => ['description' => '返回对象。', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
],
+ 'description' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'title' => '修改查询条件',
+ 'summary' => '修改查询条件。',
+ 'changeSet' => [
+ ['createdAt' => '2021-12-22T09:23:29.000Z', 'description' => 'OpenAPI 下线'],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"ResultObject\\": {\\n \\"RuleId\\": \\"104556\\",\\n \\"ConsoleRuleId\\": 2346,\\n \\"RuleVersionId\\": 1135,\\n \\"BatchCopyFlag\\": true\\n }\\n}","type":"json"}]',
- 'title' => '策略复制',
- ],
- 'CheckCopyRuleVariable' => [
- 'summary' => '策略复制血缘关系检查',
- 'methods' => [
- 'post',
- 'get',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateAnalysisConditionFavorite'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'UpdateAudit' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'SourceRuleId',
+ 'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '来源策略id',
- 'type' => 'string',
- 'required' => false,
- 'example' => '102125',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'SourceRuleIds',
+ 'name' => 'id',
'in' => 'query',
- 'schema' => [
- 'description' => '来源策略ids',
- 'type' => 'string',
- 'required' => false,
- 'example' => '02125,102129',
- ],
+ 'schema' => ['description' => '需要更新的审批ID。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '376773'],
],
[
- 'name' => 'TargetEventCode',
+ 'name' => 'auditStatus',
'in' => 'query',
- 'schema' => [
- 'description' => '目标事件',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'de_ajtshf1581',
- ],
+ 'schema' => ['description' => '状态。', 'type' => 'string', 'required' => false, 'example' => 'AGREE'],
],
[
- 'name' => 'RegId',
+ 'name' => 'auditMsg',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '审批意见。', 'type' => 'string', 'required' => false, 'example' => '同意'],
],
[
- 'name' => 'CreateType',
+ 'name' => 'auditRelationType',
'in' => 'query',
- 'schema' => [
- 'description' => '创建类型',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'NORMAL',
- ],
+ 'schema' => ['description' => '关联类型。', 'type' => 'string', 'required' => false, 'example' => 'RULE'],
],
],
'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' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
- 'ResultObject' => [
- 'description' => '返回的结果信息',
- 'type' => 'object',
- 'properties' => [
- 'Message' => [
- 'description' => '信息。',
- 'type' => 'array',
- 'items' => [
- 'description' => '返回结果的提示信息。',
- 'type' => 'object',
- 'properties' => [
- 'Id' => [
- 'description' => '变量主键id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '213',
- ],
- 'Name' => [
- 'description' => '变量name',
- 'type' => 'string',
- 'example' => 'age',
- ],
- 'Title' => [
- 'description' => '变量标题',
- 'type' => 'string',
- 'example' => '年龄',
- ],
- 'Type' => [
- 'description' => '变量类型',
- 'type' => 'string',
- 'example' => 'NATIVE',
- ],
- ],
- ],
- ],
- ],
- ],
+ 'success' => ['description' => '调用是否成功。', 'type' => 'boolean', 'example' => 'true'],
+ 'code' => ['description' => '状态码。', 'type' => 'string', 'example' => '200'],
+ 'message' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'The input parameter data is not valid. order_storage_company_num component not found'],
+ 'httpStatusCode' => ['description' => 'HTTP状态码。', 'type' => 'string', 'example' => '200'],
+ 'resultObject' => ['description' => '返回对象。', 'type' => 'boolean', 'example' => 'true'],
],
+ 'description' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'title' => '策略审批',
+ 'summary' => '审批。',
+ 'changeSet' => [
+ ['createdAt' => '2021-10-18T12:18:48.000Z', 'description' => 'OpenAPI 下线'],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"ResultObject\\": {\\n \\"Message\\": [\\n {\\n \\"Id\\": 213,\\n \\"Name\\": \\"age\\",\\n \\"Title\\": \\"年龄\\",\\n \\"Type\\": \\"NATIVE\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
- 'title' => '检查是否复制过',
- ],
- 'AddSampleDataByCsv' => [
- 'summary' => '样本批通过csv增加数据。',
- 'methods' => [
- 'post',
- 'get',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateAudit'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"success\\": true,\\n \\"code\\": \\"200\\",\\n \\"message\\": \\"The input parameter data is not valid. order_storage_company_num component not found\\",\\n \\"httpStatusCode\\": \\"200\\",\\n \\"resultObject\\": true\\n}","type":"json"}]',
+ ],
+ 'UpdateAuthRule' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'sampleBatchUuid',
+ 'name' => 'ruleExpressions',
'in' => 'query',
- 'schema' => [
- 'description' => '样本UUID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1806507582222226_saf_sample_split_coupon_abuse_saf_sample_split_mobile_saf_sample_split_pass',
- ],
+ 'schema' => ['description' => '表达式。', 'type' => 'string', 'required' => true, 'example' => '[{\\"expressionName\\":\\"设备token不为空\\",\\"itemId\\":1,\\"left\\":{\\"name\\":\\"deviceToken\\"},\\"operatorCode\\":\\"isNotEmptyWrapper\\",\\"operatorName\\":\\"不为空\\"}]'],
],
[
- 'name' => 'ossFileName',
+ 'name' => 'consoleRuleId',
'in' => 'query',
- 'schema' => [
- 'description' => '上传的oss地址。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'saf/path/test.csv',
- ],
+ 'schema' => ['description' => '策略主键ID。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '7088'],
+ ],
+ [
+ 'name' => 'ruleId',
+ 'in' => 'query',
+ 'schema' => ['description' => '策略ID。', 'type' => 'string', 'required' => true, 'example' => '101544'],
+ ],
+ [
+ 'name' => 'ruleVersionId',
+ 'in' => 'query',
+ 'schema' => ['description' => '策略版本号主键ID。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '5190'],
+ ],
+ [
+ 'name' => 'ruleActions',
+ 'in' => 'query',
+ 'schema' => ['description' => '策略输出动作。', 'type' => 'string', 'required' => false, 'example' => '[{\\"inputs\\":[\\"auto_accselist\\"],\\"name\\":\\"__addDeTags__\\",\\"actionType\\":\\"TAG\\",\\"outputType\\":\\"const\\"}]'],
+ ],
+ [
+ 'name' => 'eventCode',
+ 'in' => 'query',
+ 'schema' => ['description' => '事件编码。', 'type' => 'string', 'required' => false, 'example' => 'de_afghcf6411'],
],
],
'responses' => [
200 => [
'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
+ 'resultObject' => ['description' => '返回对象。', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
],
+ 'description' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'title' => '修改授权策略',
+ 'summary' => '修改授权策略。',
+ 'changeSet' => [
+ ['createdAt' => '2023-07-31T06:52:08.000Z', 'description' => '请求参数发生变更'],
+ ['createdAt' => '2022-12-27T11:32:42.000Z', 'description' => '请求参数发生变更'],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '样本批通过csv增加数据',
- ],
- 'DeleteSampleBatchMeta' => [
- 'summary' => '样本删除。',
- 'methods' => [
- 'post',
- 'get',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateAuthRule'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'UpdateByPassShuntEvent' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'write',
- 'systemTags' => [
- 'operationType' => 'delete',
- ],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'batchUuid',
+ 'name' => 'eventId',
'in' => 'query',
- 'schema' => [
- 'description' => 'UUID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'jigaklba83ka',
- ],
+ 'schema' => ['description' => '事件id。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '233'],
+ ],
+ [
+ 'name' => 'eventName',
+ 'in' => 'query',
+ 'schema' => ['description' => '事件名称。', 'type' => 'string', 'required' => false, 'example' => '用户昵称文本审核检测结果'."\n"],
],
],
'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' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
+ 'requestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2'],
+ 'success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
+ 'code' => ['description' => '状态码。', 'type' => 'string', 'example' => '200'],
+ 'message' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'The input parameter data is not valid. order_storage_company_num component not found'],
+ 'httpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'string', 'example' => '200'],
+ 'resultObject' => ['description' => '返回对象', 'type' => 'boolean', 'example' => 'true'],
],
+ 'description' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '样本删除',
- ],
- 'DescribeSampleDataByBatchUUidPage' => [
- 'summary' => '样本名单列表。',
- 'methods' => [
- 'post',
- 'get',
+ 'title' => '编辑旁路事件',
+ 'summary' => '编辑旁路事件。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateByPassShuntEvent'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\",\\n \\"success\\": true,\\n \\"code\\": \\"200\\",\\n \\"message\\": \\"The input parameter data is not valid. order_storage_company_num component not found\\",\\n \\"httpStatusCode\\": \\"200\\",\\n \\"resultObject\\": true\\n}","type":"json"}]',
+ ],
+ 'UpdateDataSource' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'dataValue',
+ 'name' => 'id',
'in' => 'query',
- 'schema' => [
- 'description' => '文本框输入的名单内容',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1770000000,1770000001',
- ],
+ 'schema' => ['description' => '主键ID。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '30'],
],
[
- 'name' => 'updateBeginTime',
+ 'name' => 'name',
'in' => 'query',
- 'schema' => [
- 'description' => '开始时间',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1724986526000',
- ],
+ 'schema' => ['description' => '数据源名称。', 'type' => 'string', 'required' => false, 'example' => '年龄数据源'],
],
[
- 'name' => 'updateEndTime',
- 'in' => 'query',
- 'schema' => [
- 'description' => '结束时间',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1724986526000',
- ],
- ],
- [
- 'name' => 'currentPage',
+ 'name' => 'type',
'in' => 'query',
- 'schema' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '数据源类型。', 'type' => 'string', 'required' => false, 'example' => 'FILE'],
],
[
- 'name' => 'pageSize',
+ 'name' => 'description',
'in' => 'query',
- 'schema' => [
- 'description' => '每页大小,默认值为10',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '描述信息。', 'type' => 'string', 'required' => false, 'example' => '描述'],
],
[
- 'name' => 'batchUuid',
+ 'name' => 'ossKey',
'in' => 'query',
- 'schema' => [
- 'description' => '样本批uuid',
- 'type' => 'string',
- 'required' => false,
- 'example' => '203f1ae65c0a41a49dc4f8a47946caa2',
- ],
+ 'schema' => ['description' => 'oss文件key。', 'type' => 'string', 'required' => false, 'example' => 'saf/path/xxx'],
],
],
'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' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
- 'totalItem' => [
- 'description' => '总条数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '6',
- ],
- 'totalPage' => [
- 'description' => '总页数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'pageSize' => [
- 'description' => '每页大小,默认值为10',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'currentPage' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'resultObject' => [
- 'description' => '返回对象',
- 'type' => 'array',
- 'items' => [
- 'description' => '返回对象',
- 'type' => 'object',
- 'properties' => [
- 'uuid' => [
- 'description' => '样本批uuid',
- 'type' => 'string',
- 'example' => '203f1ae65c0a41a49dc4f8a47946caa2',
- ],
- 'gmtCreate' => [
- 'description' => '创建时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1621578648000',
- ],
- 'gmtModified' => [
- 'description' => '修改时间',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1565701886000',
- ],
- 'batchName' => [
- 'description' => '样本批次名称',
- 'type' => 'string',
- 'example' => '白样本',
- ],
- 'dataValue' => [
- 'description' => '数据内容',
- 'type' => 'string',
- 'example' => '177000001',
- ],
- 'lastSourceType' => [
- 'description' => '最后来源',
- 'type' => 'string',
- 'example' => 'Console-Text',
- ],
- 'version' => [
- 'description' => '版本',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'dataTagType' => [
- 'description' => '样本类型',
- 'type' => 'string',
- 'example' => 'pass',
- ],
- 'creator' => [
- 'description' => '创建者',
- 'type' => 'string',
- 'example' => '1519714049632764',
- ],
- ],
- ],
- ],
+ 'resultObject' => ['description' => '返回对象。', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
],
+ 'description' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'title' => '外部数据源修改',
+ 'summary' => '修改数据源。',
+ 'changeSet' => [
+ ['createdAt' => '2021-11-23T12:31:20.000Z', 'description' => 'OpenAPI 下线'],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"totalItem\\": 6,\\n \\"totalPage\\": 1,\\n \\"pageSize\\": 10,\\n \\"currentPage\\": 1,\\n \\"resultObject\\": [\\n {\\n \\"uuid\\": \\"203f1ae65c0a41a49dc4f8a47946caa2\\",\\n \\"gmtCreate\\": 1621578648000,\\n \\"gmtModified\\": 1565701886000,\\n \\"batchName\\": \\"白样本\\",\\n \\"dataValue\\": \\"177000001\\",\\n \\"lastSourceType\\": \\"Console-Text\\",\\n \\"version\\": 1,\\n \\"dataTagType\\": \\"pass\\",\\n \\"creator\\": \\"1519714049632764\\"\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '样本名单列表',
- ],
- 'DownloadSmapleBatch' => [
- 'summary' => '样本名单数据下载。',
- 'methods' => [
- 'post',
- 'get',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateDataSource'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'UpdateQueryVariable' => [
+ 'summary' => '自定义查询变量修改。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '206061',
- 'abilityTreeNodes' => [
- 'FEATUREsafT73ZWM',
- ],
- 'tenantRelevance' => 'publicInformation',
- ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'batchUuid',
+ 'name' => 'id',
'in' => 'query',
- 'schema' => [
- 'description' => '样本批uuid',
- 'type' => 'string',
- 'required' => false,
- 'example' => '203f1ae65c0a41a49dc4f8a47946caa2',
- ],
+ 'schema' => ['description' => '主键ID。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '3144'],
+ ],
+ [
+ 'name' => 'dataSourceCode',
+ 'in' => 'query',
+ 'schema' => ['description' => '数据源code。', 'type' => 'string', 'required' => true, 'example' => 'ds_vcaoii1697'],
+ ],
+ [
+ 'name' => 'eventCode',
+ 'in' => 'query',
+ 'schema' => ['description' => '事件编码。', 'type' => 'string', 'required' => true, 'example' => 'de_ajnoqe2016'],
+ ],
+ [
+ 'name' => 'title',
+ 'in' => 'query',
+ 'schema' => ['description' => '标题。', 'type' => 'string', 'required' => true, 'example' => '获取年龄大于30的数据'],
+ ],
+ [
+ 'name' => 'description',
+ 'in' => 'query',
+ 'schema' => ['description' => '描述信息。', 'type' => 'string', 'required' => false, 'example' => '描述'],
+ ],
+ [
+ 'name' => 'outputs',
+ 'in' => 'query',
+ 'schema' => ['description' => '变量返回类型。', 'type' => 'string', 'required' => true, 'example' => 'STRING'],
+ ],
+ [
+ 'name' => 'outlier',
+ 'in' => 'query',
+ 'schema' => ['description' => '异常值。', 'type' => 'string', 'required' => true, 'example' => '-1'],
+ ],
+ [
+ 'name' => 'expression',
+ 'in' => 'query',
+ 'schema' => ['description' => '表达式。', 'type' => 'string', 'required' => true, 'example' => 'SELECT AVG( $source )\\nFROM ds_vcaoii1697 \\nWHERE $age > 0'],
+ ],
+ [
+ 'name' => 'expressionTitle',
+ 'in' => 'query',
+ 'schema' => ['description' => '展示表达式。', 'type' => 'string', 'required' => true, 'example' => 'SELECT AVG( $source )\\nFROM testCase\\nWHERE $age > 0'],
+ ],
+ [
+ 'name' => 'expressionVariable',
+ 'in' => 'query',
+ 'schema' => ['description' => '表达式关联变量。', 'type' => 'string', 'required' => true, 'example' => 'age'],
],
],
'responses' => [
200 => [
+ 'headers' => [],
'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' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
- 'resultObject' => [
- 'description' => '返回对象',
- 'type' => 'object',
- 'properties' => [
- 'fileDownloadURL' => [
- 'description' => '下载地址',
- 'type' => 'string',
- 'example' => 'https://xxxxx-oss-xxxxx.xxxxxx.aliyuncs.com/xx/xx/xxx/xxxxxx.csv?Expires=1753433384&OSSAccessKeyId=xxxxxxxxx&Signature=%2F%xxxxxxxxxxxx%3D',
- ],
- ],
- ],
+ 'resultObject' => ['description' => '返回对象。', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
],
+ 'description' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'eventInfo' => [
- 'enable' => false,
- 'eventNames' => [],
+ 'title' => '编辑自定义查询变量',
+ 'changeSet' => [
+ ['createdAt' => '2023-01-05T03:46:33.000Z', 'description' => '响应参数发生变更'],
+ ['createdAt' => '2021-11-23T12:31:20.000Z', 'description' => 'OpenAPI 下线'],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"resultObject\\": {\\n \\"fileDownloadURL\\": \\"https://xxxxx-oss-xxxxx.xxxxxx.aliyuncs.com/xx/xx/xxx/xxxxxx.csv?Expires=1753433384&OSSAccessKeyId=xxxxxxxxx&Signature=%2F%xxxxxxxxxxxx%3D\\"\\n }\\n}","type":"json"}]',
- 'title' => '样本名单数据下载',
- ],
- 'DescribeSampleDataPage' => [
- 'summary' => '样本名单列表。',
- 'methods' => [
- 'post',
- 'get',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateQueryVariable'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
+ ],
+ 'UpdateRule' => [
+ 'summary' => '更新策略。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -37302,464 +27817,427 @@
'operationType' => 'readAndWrite',
'systemTags' => [
'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREsafBCGX2Z'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
+ ],
+ [
+ 'name' => 'ruleName',
+ 'in' => 'query',
+ 'schema' => ['description' => '策略名称。', 'type' => 'string', 'required' => false, 'example' => '分析中心事件测试_策略01'],
+ ],
+ [
+ 'name' => 'ruleStatus',
+ 'in' => 'query',
+ 'schema' => ['description' => '策略状态。', 'type' => 'string', 'required' => false, 'example' => 'RUNNING'],
+ ],
+ [
+ 'name' => 'memo',
+ 'in' => 'query',
+ 'schema' => ['description' => '描述。', 'type' => 'string', 'required' => false, 'example' => '备注'],
+ ],
+ [
+ 'name' => 'eventCode',
+ 'in' => 'query',
+ 'schema' => ['description' => '事件编码。', 'type' => 'string', 'required' => false, 'example' => 'de_agdxgz0246'],
+ ],
+ [
+ 'name' => 'ruleExpressions',
+ 'in' => 'query',
+ 'schema' => ['description' => '策略表达式。', 'type' => 'string', 'required' => false, 'example' => '[{\\"expressionName\\":\\"手机号MD5命中人脸测试名单\\",\\"itemId\\":1,\\"left\\":{\\"name\\":\\"mobileMd5\\"},\\"operatorCode\\":\\"deInNameList\\",\\"operatorName\\":\\"在名单中\\",\\"right\\":{\\"fieldValue\\":\\"nl_5tolf69W138c\\"}}]'],
+ ],
+ [
+ 'name' => 'logicExpression',
+ 'in' => 'query',
+ 'schema' => ['description' => '执行逻辑。', 'type' => 'string', 'required' => false, 'example' => '1&2'],
+ ],
+ [
+ 'name' => 'ruleActions',
+ 'in' => 'query',
+ 'schema' => ['description' => '输出动作。', 'type' => 'string', 'required' => false, 'example' => '[{\\"inputs\\":[\\"rn0301\\"],\\"name\\":\\"__addDeTags__\\",\\"actionType\\":\\"TAG\\",\\"outputType\\":\\"const\\"}]'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'dataValue',
+ 'name' => 'consoleRuleId',
'in' => 'query',
- 'schema' => [
- 'description' => '文本框输入的名单内容',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1770000000',
- ],
+ 'schema' => ['description' => '策略主键ID。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '6843'],
],
[
- 'name' => 'updateBeginTime',
+ 'name' => 'ruleId',
'in' => 'query',
- 'schema' => [
- 'description' => '开始时间',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1730429469000',
- ],
+ 'schema' => ['description' => '策略ID。', 'type' => 'string', 'required' => false, 'example' => '102224'],
],
[
- 'name' => 'updateEndTime',
+ 'name' => 'ruleVersionId',
'in' => 'query',
- 'schema' => [
- 'description' => '结束时间',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1730429469000',
- ],
+ 'schema' => ['description' => '策略版本号主键ID。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '11519'],
],
[
- 'name' => 'currentPage',
+ 'name' => 'ruleBody',
'in' => 'query',
- 'schema' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => 'DSL策略表达式。', 'type' => 'string', 'required' => false, 'example' => '{'."\n"
+ .' "elseIfStatement": ['."\n"
+ .' {'."\n"
+ .' "condition": {'."\n"
+ .' "currentId": 0,'."\n"
+ .' "deepCount": 1,'."\n"
+ .' "list": ['."\n"
+ .' {'."\n"
+ .' "currentId": 0,'."\n"
+ .' "deepCount": 1,'."\n"
+ .' "left": {'."\n"
+ .' "code": "getLbsRegion(longitude, latitude)?.prov",'."\n"
+ .' "description": "根据经纬度得到省份信息,比如经度:111.878062,纬度:22.585409,则经过运算,输出”广东省“",'."\n"
+ .' "displayType": "SELF_BIND",'."\n"
+ .' "fieldType": "STRING",'."\n"
+ .' "functionCode": "",'."\n"
+ .' "functionName": "",'."\n"
+ .' "hasRightVariable": true,'."\n"
+ .' "name": "sl_S02sHLFT7818",'."\n"
+ .' "outputThreshold": {'."\n"
+ ."\n"
+ .' },'."\n"
+ .' "sourceType": "SAF",'."\n"
+ .' "title": "经纬度自定义系统变量",'."\n"
+ .' "type": "SELF_BIND"'."\n"
+ .' },'."\n"
+ .' "operatorCode": "equals",'."\n"
+ .' "operatorName": "等于",'."\n"
+ .' "parentId": 0,'."\n"
+ .' "right": {'."\n"
+ .' "name": "v",'."\n"
+ .' "rightVariableType": "constant"'."\n"
+ .' },'."\n"
+ .' "sequence": 2'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "currentId": 0,'."\n"
+ .' "deepCount": 1,'."\n"
+ .' "list": ['."\n"
+ .' {'."\n"
+ .' "currentId": 0,'."\n"
+ .' "deepCount": 1,'."\n"
+ .' "left": {'."\n"
+ .' "code": "deReadVelocity(userId,"hK1DMAp1d97",1,"H",0,true,"COUNT")",'."\n"
+ .' "description": "测试系统变量累计",'."\n"
+ .' "displayType": "SELF_BIND",'."\n"
+ .' "fieldType": "DOUBLE",'."\n"
+ .' "functionCode": "",'."\n"
+ .' "functionName": "",'."\n"
+ .' "hasRightVariable": true,'."\n"
+ .' "name": "hK1DMAp1d97",'."\n"
+ .' "outputThreshold": {'."\n"
+ ."\n"
+ .' },'."\n"
+ .' "sourceType": "SAF_SELF",'."\n"
+ .' "title": "测试系统变量累计",'."\n"
+ .' "type": "SELF_BIND"'."\n"
+ .' },'."\n"
+ .' "operatorCode": "equals",'."\n"
+ .' "operatorName": "等于",'."\n"
+ .' "parentId": 0,'."\n"
+ .' "right": {'."\n"
+ .' "name": "a",'."\n"
+ .' "rightVariableType": "constant"'."\n"
+ .' },'."\n"
+ .' "sequence": 3'."\n"
+ .' }'."\n"
+ .' ],'."\n"
+ .' "parentId": 0,'."\n"
+ .' "relationship": "and"'."\n"
+ .' }'."\n"
+ .' ],'."\n"
+ .' "parentId": 0,'."\n"
+ .' "relationship": "and"'."\n"
+ .' },'."\n"
+ .' "then": ['."\n"
+ .' {'."\n"
+ .' "inputs": ['."\n"
+ .' "123"'."\n"
+ .' ],'."\n"
+ .' "name": "__addDeScore__",'."\n"
+ .' "actionType": "SCORE",'."\n"
+ .' "outputType": "const",'."\n"
+ .' "inputTitle": "123"'."\n"
+ .' }'."\n"
+ .' ]'."\n"
+ .' }'."\n"
+ .' ],'."\n"
+ .' "elseStatement": {'."\n"
+ ."\n"
+ .' },'."\n"
+ .' "ifStatement": {'."\n"
+ .' "condition": {'."\n"
+ .' "currentId": 0,'."\n"
+ .' "deepCount": 1,'."\n"
+ .' "list": ['."\n"
+ .' {'."\n"
+ .' "currentId": 0,'."\n"
+ .' "deepCount": 1,'."\n"
+ .' "left": {'."\n"
+ .' "code": "deFunctionProcess(ip,"isIp")",'."\n"
+ .' "description": "判断是否符合IPv4标准",'."\n"
+ .' "displayType": "SYSTEM_BIND",'."\n"
+ .' "fieldType": "BOOLEAN",'."\n"
+ .' "functionCode": "",'."\n"
+ .' "functionName": "",'."\n"
+ .' "hasRightVariable": true,'."\n"
+ .' "name": "__isIpAddressV4__",'."\n"
+ .' "outputThreshold": {'."\n"
+ ."\n"
+ .' },'."\n"
+ .' "sourceType": "SAF",'."\n"
+ .' "title": "IP是否符合IPV4格式",'."\n"
+ .' "type": "SYSTEM_BIND"'."\n"
+ .' },'."\n"
+ .' "operatorCode": "equals",'."\n"
+ .' "operatorName": "等于",'."\n"
+ .' "parentId": 0,'."\n"
+ .' "right": {'."\n"
+ .' "name": "c'."\n"
+ .'d'."\n"
+ .'s",'."\n"
+ .' "rightVariableType": "constant"'."\n"
+ .' },'."\n"
+ .' "sequence": 1'."\n"
+ .' }'."\n"
+ .' ],'."\n"
+ .' "parentId": 0,'."\n"
+ .' "relationship": "and"'."\n"
+ .' },'."\n"
+ .' "then": ['."\n"
+ .' {'."\n"
+ .' "inputs": ['."\n"
+ .' "22"'."\n"
+ .' ],'."\n"
+ .' "name": "__addDeTags__",'."\n"
+ .' "actionType": "TAG",'."\n"
+ .' "outputType": "const"'."\n"
+ .' }'."\n"
+ .' ]'."\n"
+ .' }'."\n"
+ .' }'],
],
[
- 'name' => 'pageSize',
+ 'name' => 'ruleType',
'in' => 'query',
- 'schema' => [
- 'description' => '每页大小,默认值为10',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '策略类型。', 'type' => 'string', 'required' => false, 'example' => 'DEFAULT'],
],
],
'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' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
- 'totalItem' => [
- 'description' => '总条数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '3',
- ],
- 'pageSize' => [
- 'description' => '每页条数,默认10。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'currentPage' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'totalPage' => [
- 'description' => '总页数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'resultObject' => [
- 'description' => '返回对象',
- 'type' => 'array',
- 'items' => [
- 'description' => '返回对象',
- 'type' => 'object',
- 'properties' => [
- 'uuid' => [
- 'description' => '样本批uuid',
- 'type' => 'string',
- 'example' => '48653f1372444c078f7b3d1c317d37dc',
- ],
- 'gmtCreate' => [
- 'description' => '创建时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1621578648000',
- ],
- 'gmtModified' => [
- 'description' => '修改时间',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1565701886000',
- ],
- 'dataValue' => [
- 'description' => '文本框输入的名单内容',
- 'type' => 'string',
- 'example' => '1770000000',
- ],
- 'lastSourceType' => [
- 'description' => '最后来源',
- 'type' => 'string',
- 'example' => 'Console-Text',
- ],
- 'version' => [
- 'description' => '版本号',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'dataTagType' => [
- 'description' => '样本类型',
- 'type' => 'string',
- 'example' => 'pass',
- ],
- 'creator' => [
- 'description' => '创建人',
- 'type' => 'string',
- 'example' => '1519714049632764',
- ],
- 'updator' => [
- 'description' => '修改人',
- 'type' => 'string',
- 'example' => '1519714049632764',
- ],
- ],
- ],
- ],
+ 'resultObject' => ['description' => '返回对象。', 'type' => 'boolean', 'example' => 'true'],
+ 'requestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2'],
],
+ 'description' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'title' => '修改策略',
+ 'changeSet' => [
+ ['createdAt' => '2025-07-22T08:12:51.000Z', 'description' => '请求参数发生变更'],
+ ['createdAt' => '2021-10-18T12:18:48.000Z', 'description' => 'OpenAPI 下线'],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"totalItem\\": 3,\\n \\"pageSize\\": 10,\\n \\"currentPage\\": 1,\\n \\"totalPage\\": 1,\\n \\"resultObject\\": [\\n {\\n \\"uuid\\": \\"48653f1372444c078f7b3d1c317d37dc\\",\\n \\"gmtCreate\\": 1621578648000,\\n \\"gmtModified\\": 1565701886000,\\n \\"dataValue\\": \\"1770000000\\",\\n \\"lastSourceType\\": \\"Console-Text\\",\\n \\"version\\": 1,\\n \\"dataTagType\\": \\"pass\\",\\n \\"creator\\": \\"1519714049632764\\",\\n \\"updator\\": \\"1519714049632764\\"\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '样本名单列表',
- ],
- 'DescribeSamplebatchPage' => [
- 'summary' => '样本批次列表。',
- 'methods' => [
- 'post',
- 'get',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateRule'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\"\\n}","type":"json"}]',
+ ],
+ 'UpdateRuleBase' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'dataValue',
+ 'name' => 'consoleRuleId',
'in' => 'query',
- 'schema' => [
- 'description' => '文本框输入的名单内容',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1770000000',
- ],
+ 'schema' => ['description' => '策略主键ID。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '6843'],
],
[
- 'name' => 'pageSize',
+ 'name' => 'ruleId',
'in' => 'query',
- 'schema' => [
- 'description' => '每页大小,默认值为10',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '策略ID。', 'type' => 'string', 'required' => false, 'example' => '102224'],
],
[
- 'name' => 'currentPage',
+ 'name' => 'ruleName',
'in' => 'query',
- 'schema' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '策略名称。', 'type' => 'string', 'required' => false, 'example' => '营销风险识别'],
+ ],
+ [
+ 'name' => 'memo',
+ 'in' => 'query',
+ 'schema' => ['description' => '描述。', 'type' => 'string', 'required' => false, 'example' => '备注'],
+ ],
+ [
+ 'name' => 'eventCode',
+ 'in' => 'query',
+ 'schema' => ['description' => '事件编码。', 'type' => 'string', 'required' => false, 'example' => 'de_arcehq4370'],
],
],
'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' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
- 'totalItem' => [
- 'description' => '总条数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '3',
- ],
- 'pageSize' => [
- 'description' => '每页大小,默认值为10',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'currentPage' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'totalPage' => [
- 'description' => '总页数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'resultObject' => [
- 'description' => '返回对象',
- 'type' => 'array',
- 'items' => [
- 'description' => '返回对象',
- 'type' => 'object',
- 'properties' => [
- 'uuid' => [
- 'description' => '样本批uuid',
- 'type' => 'string',
- 'example' => '203f1ae65c0a41a49dc4f8a47946caa2',
- ],
- 'gmtCreate' => [
- 'description' => '创建时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1621578648000',
- ],
- 'gmtModified' => [
- 'description' => '修改时间',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1565701886000',
- ],
- 'batchName' => [
- 'description' => '样本批次名称',
- 'type' => 'string',
- 'example' => '白样本',
- ],
- 'description' => [
- 'description' => '描述。',
- 'type' => 'string',
- 'example' => '描述',
- ],
- 'dataType' => [
- 'description' => '数据类型',
- 'type' => 'string',
- 'example' => 'mobile',
- ],
- 'sampleBatchType' => [
- 'description' => '样本名单具体的类型',
- 'type' => 'string',
- 'example' => 'pass',
- ],
- 'updator' => [
- 'description' => '修改人',
- 'type' => 'string',
- 'example' => '1519714049632764',
- ],
- 'creator' => [
- 'description' => '创建者。',
- 'type' => 'string',
- 'example' => '1519714049632764',
- ],
- 'initValidFileRow' => [
- 'description' => '有效样本内容数据',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2',
- ],
- 'services' => [
- 'description' => '服务ID',
- 'type' => 'string',
- 'example' => 'account_abuse',
- ],
- ],
- ],
- ],
+ 'resultObject' => ['description' => '返回对象。', 'type' => 'boolean', 'example' => 'true'],
+ 'requestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'AE7E6105-7DEB-5125-9B24-DCBC139F6CD2'],
],
+ 'description' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'title' => '修改策略基础信息',
+ 'summary' => '更新策略基础信息。',
+ 'changeSet' => [
+ ['createdAt' => '2021-10-18T12:18:48.000Z', 'description' => 'OpenAPI 下线'],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"totalItem\\": 3,\\n \\"pageSize\\": 10,\\n \\"currentPage\\": 1,\\n \\"totalPage\\": 1,\\n \\"resultObject\\": [\\n {\\n \\"uuid\\": \\"203f1ae65c0a41a49dc4f8a47946caa2\\",\\n \\"gmtCreate\\": 1621578648000,\\n \\"gmtModified\\": 1565701886000,\\n \\"batchName\\": \\"白样本\\",\\n \\"description\\": \\"描述\\",\\n \\"dataType\\": \\"mobile\\",\\n \\"sampleBatchType\\": \\"pass\\",\\n \\"updator\\": \\"1519714049632764\\",\\n \\"creator\\": \\"1519714049632764\\",\\n \\"initValidFileRow\\": 2,\\n \\"services\\": \\"account_abuse\\"\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '样本批次列表',
- ],
- 'BatchDeleteSampleData' => [
- 'summary' => '批量删除样本名单数据。',
- 'methods' => [
- 'post',
- 'get',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateRuleBase'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"resultObject\\": true,\\n \\"requestId\\": \\"AE7E6105-7DEB-5125-9B24-DCBC139F6CD2\\"\\n}","type":"json"}]',
+ ],
+ 'UpdateSampleBatch' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '接口返回错误信息语言。取值:zh:中文; en:英文。 默认为en。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'regId',
+ 'name' => 'ids',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '批量操作id。', 'type' => 'string', 'required' => false, 'example' => '324,343'],
],
[
- 'name' => 'uuids',
+ 'name' => 'versions',
'in' => 'query',
- 'schema' => [
- 'description' => 'uuid。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '89cd3e44cd2f4a529fb020f3bab3ee1c',
- ],
+ 'schema' => ['description' => '版本号(最新)。', 'type' => 'string', 'required' => false, 'example' => '1,1'],
+ ],
+ [
+ 'name' => 'tags',
+ 'in' => 'query',
+ 'schema' => ['description' => '标签(逗号分割)', 'type' => 'string', 'required' => false, 'example' => 'rm0102,rm0103'],
+ ],
+ [
+ 'name' => 'regId',
+ 'in' => 'query',
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
200 => [
'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
+ 'data' => ['description' => '返回数据。', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
],
+ 'description' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'title' => '批量修改样本',
+ 'summary' => '批量修改样本。',
+ 'changeSet' => [
+ ['createdAt' => '2022-05-11T07:11:26.000Z', 'description' => 'OpenAPI 下线'],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '批量删除样本名单数据',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateSampleBatch'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
],
'UploadFileCheck' => [
'summary' => '样本检验。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -37770,82 +28248,45 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREsafY3PCXI',
- ],
+ 'abilityTreeNodes' => ['FEATUREsafY3PCXI'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
'name' => 'regId',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '区域编码', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
'name' => 'batchName',
'in' => 'query',
- 'schema' => [
- 'description' => '样本批次名称',
- 'type' => 'string',
- 'required' => false,
- 'example' => '白样本',
- ],
+ 'schema' => ['description' => '样本批次名称', 'type' => 'string', 'required' => false, 'example' => '白样本'],
],
[
'name' => 'sampleTagType',
'in' => 'query',
- 'schema' => [
- 'description' => '样本类型',
- 'type' => 'string',
- 'required' => false,
- 'example' => '白名单',
- ],
+ 'schema' => ['description' => '样本类型', 'type' => 'string', 'required' => false, 'example' => '白名单'],
],
[
'name' => 'dataType',
'in' => 'query',
- 'schema' => [
- 'description' => '数据类型',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'mobile',
- ],
+ 'schema' => ['description' => '数据类型', 'type' => 'string', 'required' => false, 'example' => 'mobile'],
],
[
'name' => 'serviceList',
'in' => 'query',
- 'schema' => [
- 'description' => '服务列表',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'account_abuse',
- ],
+ 'schema' => ['description' => '服务列表', 'type' => 'string', 'required' => false, 'example' => 'account_abuse'],
],
[
'name' => 'ossFileName',
'in' => 'query',
- 'schema' => [
- 'description' => '上传的oss地址。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'sample/94b4193d321c44b44ee92b19984000a0/样本测试01/0d8dbc6809834d51b1d88a42295c803e/1753865835166.csv',
- ],
+ 'schema' => ['description' => '上传的oss地址。', 'type' => 'string', 'required' => false, 'example' => 'sample/94b4193d321c44b44ee92b19984000a0/样本测试01/0d8dbc6809834d51b1d88a42295c803e/1753865835166.csv'],
],
],
'responses' => [
@@ -37855,36 +28296,17 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => 'Id of the request',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
'resultObject' => [
'description' => '返回对象',
'type' => 'object',
'properties' => [
- 'totalNumber' => [
- 'description' => '总行数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
- 'effectiveNumber' => [
- 'description' => '有效行数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
+ 'totalNumber' => ['description' => '总行数', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
+ 'effectiveNumber' => ['description' => '有效行数', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
'resultList' => [
'description' => '有效样本数据',
'type' => 'array',
- 'items' => [
- 'description' => '结果集合',
- 'type' => 'string',
- 'example' => '1770000001',
- ],
+ 'items' => ['description' => '结果集合', 'type' => 'string', 'example' => '1770000001'],
],
],
],
@@ -37892,22 +28314,32 @@
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"resultObject\\": {\\n \\"totalNumber\\": 100,\\n \\"effectiveNumber\\": 100,\\n \\"resultList\\": [\\n \\"1770000001\\"\\n ]\\n }\\n}","type":"json"}]',
+ 'staticInfo' => ['returnType' => 'synchronous'],
'title' => '样本检验',
- ],
- 'AddSampleDataByText' => [
- 'summary' => '样本通过文本框新增名单数据',
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UploadFileCheck'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:UploadFileCheck',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"resultObject\\": {\\n \\"totalNumber\\": 100,\\n \\"effectiveNumber\\": 100,\\n \\"resultList\\": [\\n \\"1770000001\\"\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'UploadForeignSampleFile' => [
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -37916,2178 +28348,4761 @@
'operationType' => 'readAndWrite',
'systemTags' => [
'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '138403',
+ 'abilityTreeNodes' => ['FEATUREsafT73ZWM'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
+ .'- **zh**:中文'."\n"
+ .'- **en**:英文'."\n", 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'regId',
+ 'name' => 'Tab',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '场景。', 'type' => 'string', 'required' => false, 'example' => 'FINANCE'],
],
[
- 'name' => 'sampleBatchUuid',
+ 'name' => 'RegId',
'in' => 'query',
- 'schema' => [
- 'description' => '样本UUID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1806507582222226'."\n"
- .'_saf_sample_split_coupon_abuse_saf_sample_split_mobile_saf_sample_split_pass',
- ],
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'dataValue',
+ 'name' => 'File',
'in' => 'query',
- 'schema' => [
- 'description' => '名单数据。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'testA \\n testB',
- ],
+ 'schema' => ['description' => '文件OSS路径。', 'type' => 'string', 'required' => false, 'example' => 'saf/cpoc/953c883cde33b2e21d722eb661d26375/1779172027996_自动回溯测试 2605191.csv', 'isFileTransferUrl' => true],
],
],
'responses' => [
200 => [
'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ 'ResultObject' => [
+ 'description' => '返回结果。',
+ 'type' => 'object',
+ 'properties' => [
+ 'FileUrl' => ['description' => '文件URL。', 'type' => 'string', 'example' => 'saf/cpoc/34cd7959590ef568086035b956210495/1760580976089_XN_test_1016_100000.csv'],
+ 'FileName' => ['description' => '文件名称。', 'type' => 'string', 'example' => 'Acct71b_Sample140934_md5_batch20250916.csv'],
+ 'FileSize' => ['description' => '文件大小。', 'type' => 'integer', 'format' => 'int32', 'example' => '78'],
+ 'RowCount' => ['description' => '行数。', 'type' => 'integer', 'format' => 'int32', 'example' => '284'],
+ 'DateType' => ['description' => '时间类型。', 'type' => 'string', 'example' => 'yyyyMMdd'],
+ 'ColumnStats' => [
+ 'description' => '列。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '列。',
+ 'type' => 'object',
+ 'properties' => [
+ 'FieldName' => ['description' => '字段名。', 'type' => 'string', 'example' => 'repoName'],
+ 'RowNumber' => ['description' => '记录所在行。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
+ 'DistinctNumber' => ['description' => '去重数。', 'type' => 'integer', 'format' => 'int32', 'example' => '4'],
+ 'DistinctRate' => ['description' => '去重率。', 'type' => 'string', 'example' => '23.87%'],
+ 'MissNumber' => ['description' => '缺失数。', 'type' => 'integer', 'format' => 'int32', 'example' => '3'],
+ 'MissRate' => ['description' => '缺失率。', 'type' => 'string', 'example' => '25.32%'],
+ ],
+ ],
+ ],
+ 'PreviewData' => [
+ 'description' => '表格数据。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Headers' => [
+ 'description' => '返回头信息。',
+ 'type' => 'array',
+ 'items' => ['description' => '列头。', 'type' => 'string', 'example' => 'assigned_users_current_user'],
+ ],
+ 'Rows' => [
+ 'description' => '行数据。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '行数据。',
+ 'type' => 'array',
+ 'items' => ['description' => '行数据。', 'type' => 'string', 'example' => '1'],
+ ],
+ ],
+ ],
+ ],
+ 'NotExistScenes' => [
+ 'description' => '不存在场景。',
+ 'type' => 'array',
+ 'items' => ['description' => '不存在场景。', 'type' => 'string', 'example' => 'dsa'],
+ ],
+ 'BeyondBacktrackingPeriodNum' => ['description' => '任务数。', 'type' => 'integer', 'format' => 'int32', 'example' => '3'],
+ 'PhoneInvalidList' => [
+ 'description' => 'PhoneInvalidList。',
+ 'type' => 'array',
+ 'items' => ['description' => 'PhoneInvalidList。', 'type' => 'string', 'example' => 'test'],
+ ],
+ ],
],
+ 'Code' => ['description' => '状态码。', 'type' => 'string', 'example' => '200'],
+ 'HttpStatusCode' => ['description' => 'http状态码。', 'type' => 'string', 'example' => '200'],
+ 'Message' => ['description' => '返回消息。', 'type' => 'string', 'example' => 'success'],
],
+ 'description' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'title' => '上传样本文件',
+ 'summary' => '上传并校验样本文件对客',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '样本批通过TEXT增加数据',
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"ResultObject\\": {\\n \\"FileUrl\\": \\"saf/cpoc/34cd7959590ef568086035b956210495/1760580976089_XN_test_1016_100000.csv\\",\\n \\"FileName\\": \\"Acct71b_Sample140934_md5_batch20250916.csv\\",\\n \\"FileSize\\": 78,\\n \\"RowCount\\": 284,\\n \\"DateType\\": \\"yyyyMMdd\\",\\n \\"ColumnStats\\": [\\n {\\n \\"FieldName\\": \\"repoName\\",\\n \\"RowNumber\\": 2,\\n \\"DistinctNumber\\": 4,\\n \\"DistinctRate\\": \\"23.87%\\",\\n \\"MissNumber\\": 3,\\n \\"MissRate\\": \\"25.32%\\"\\n }\\n ],\\n \\"PreviewData\\": {\\n \\"Headers\\": [\\n \\"assigned_users_current_user\\"\\n ],\\n \\"Rows\\": [\\n [\\n \\"1\\"\\n ]\\n ]\\n },\\n \\"NotExistScenes\\": [\\n \\"dsa\\"\\n ],\\n \\"BeyondBacktrackingPeriodNum\\": 3,\\n \\"PhoneInvalidList\\": [\\n \\"test\\"\\n ]\\n },\\n \\"Code\\": \\"200\\",\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"Message\\": \\"success\\"\\n}","type":"json"}]',
],
- 'DescribeSampleBatchOssPolicy' => [
- 'summary' => '获取文件上传凭证。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'UploadSampleFile' => [
+ 'summary' => '上传并校验样本文件',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'readAndWrite',
'systemTags' => [
- 'operationType' => 'list',
+ 'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREsafY3PCXI',
- ],
+ 'abilityTreeCode' => '138403',
+ 'abilityTreeNodes' => ['FEATUREsafT73ZWM'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
- ],
+ 'schema' => ['description' => '接口返回错误信息语言。取值:zh:中文。 en:英文。 默认为en。', 'type' => 'string', 'required' => false, 'example' => 'zh'],
],
[
- 'name' => 'regId',
+ 'name' => 'Tab',
'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '场景。', 'type' => 'string', 'required' => false, 'example' => 'INTERNET'],
],
[
- 'name' => 'batchName',
+ 'name' => 'Type',
'in' => 'query',
- 'schema' => [
- 'description' => '样本批次名称',
- 'type' => 'string',
- 'required' => false,
- 'example' => '白样本',
- ],
+ 'schema' => ['description' => '访问类型。', 'type' => 'string', 'required' => false, 'example' => 'SAF_CONSOLE'],
+ ],
+ [
+ 'name' => 'FileName',
+ 'in' => 'query',
+ 'schema' => ['description' => '文件名。', 'type' => 'string', 'required' => false, 'example' => 'icekredit_202312_23a_1764640368_6908.csv'],
+ ],
+ [
+ 'name' => 'FileUrl',
+ 'in' => 'query',
+ 'schema' => ['description' => '文件URL。', 'type' => 'string', 'required' => false, 'example' => 'saf/cpoc/34cd7959590ef568086035b956210495/1761186218068_XN_test JR142_1023_204794.csv'],
+ ],
+ [
+ 'name' => 'RegId',
+ 'in' => 'query',
+ 'schema' => ['description' => '区域编码。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
],
'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' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
- 'AccessId' => [
- 'description' => '访问OSS的ID',
- 'type' => 'string',
- 'example' => 'LTAI5tE7sActovY6Hvpu5oTh',
- ],
- 'Signature' => [
- 'description' => 'OSS签名',
- 'type' => 'string',
- 'example' => 'PoAUQ//RusJJFIvCrn36O3+mM/U=',
- ],
- 'Host' => [
- 'description' => 'OSS域名',
- 'type' => 'string',
- 'example' => '172.25.126.234',
- ],
- 'Key' => [
- 'description' => '文件上传所需的Key。',
- 'type' => 'string',
- 'example' => 'saf/de/namelist/e924/ufzgsedX9bd3a7',
- ],
- 'Policy' => [
- 'description' => 'OSS安全策略',
- 'type' => 'string',
- 'example' => 'eyJleHBpcmF0aW9uIjoiMjAyNS0wNy0zMFQwNjowNTo0OS45NTRaIiwiY29uZGl0aW9ucyI6W1siY29udGVudC1sZW5ndGgtcmFuZ2UiLDAsMTA0ODU3NjAwMF0sWyJlcSIsIiRrZXkiLCJzYWZcL2RlXC9uYW1lbGlzdFwvZTkyNFwvdWZ6Z3NlZFg5Ymxxxxxxxxxxx',
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094'],
+ 'ResultObject' => [
+ 'description' => '返回结果。',
+ 'type' => 'object',
+ 'properties' => [
+ 'FileUrl' => ['description' => '文件URL。', 'type' => 'string', 'example' => 'saf/cpoc/30e2aff8f355af429bbab18f776496ef/1764037297543_icekredit_model_A_2025b_1764034785_147787.csv'],
+ 'FileName' => ['description' => '文件名称。', 'type' => 'string', 'example' => 'Acct71b_Sample140934_md5_batch20250916.csv'],
+ 'FileSize' => ['description' => '文件大小。', 'type' => 'integer', 'format' => 'int32', 'example' => '1472'],
+ 'RowCount' => ['description' => '行数。', 'type' => 'integer', 'format' => 'int32', 'example' => '4974'],
+ 'DateType' => ['description' => '时间类型。', 'type' => 'string', 'example' => 'yyyyMMdd'],
+ 'ColumnStats' => [
+ 'description' => '列。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '列。',
+ 'type' => 'object',
+ 'properties' => [
+ 'FieldName' => ['description' => '字段名。', 'type' => 'string', 'example' => 'fb_org_id'],
+ 'RowNumber' => ['description' => '记录所在行。', 'type' => 'integer', 'format' => 'int32', 'example' => '4'],
+ 'DistinctNumber' => ['description' => '去重数。', 'type' => 'integer', 'format' => 'int32', 'example' => '4'],
+ 'DistinctRate' => ['description' => '去重率。', 'type' => 'string', 'example' => '28.23%'],
+ 'MissNumber' => ['description' => '缺失数。', 'type' => 'integer', 'format' => 'int32', 'example' => '5'],
+ 'MissRate' => ['description' => '缺失率。', 'type' => 'string', 'example' => '28.23%'],
+ ],
+ ],
+ ],
+ 'PreviewData' => [
+ 'description' => '表格数据。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Headers' => [
+ 'description' => '表头。',
+ 'type' => 'array',
+ 'items' => ['description' => '列头。', 'type' => 'string', 'example' => '[]'],
+ ],
+ 'Rows' => [
+ 'description' => '行数据。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '行数据。',
+ 'type' => 'array',
+ 'items' => ['description' => '行数据。', 'type' => 'string', 'example' => '[]'],
+ ],
+ ],
+ ],
+ ],
+ 'NotExistScenes' => [
+ 'description' => '不存在场景。',
+ 'type' => 'array',
+ 'items' => ['description' => '不存在场景。', 'type' => 'string', 'example' => 'dsa'],
+ ],
+ 'BeyondBacktrackingPeriodNum' => ['description' => '任务数。', 'type' => 'integer', 'format' => 'int32', 'example' => 'gd'],
+ 'PhoneInvalidList' => [
+ 'description' => '数。',
+ 'type' => 'array',
+ 'items' => ['description' => 'ds。', 'type' => 'string', 'example' => 'dsf'],
+ ],
+ ],
],
+ 'Code' => ['description' => '状态码。', 'type' => 'string', 'example' => '200'],
+ 'HttpStatusCode' => ['description' => 'HTTP状态码。', 'type' => 'string', 'example' => '200'],
+ 'Message' => ['description' => '返回信息。', 'type' => 'string', 'example' => 'success'],
],
+ 'description' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'title' => '上传文件',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"AccessId\\": \\"LTAI5tE7sActovY6Hvpu5oTh\\",\\n \\"Signature\\": \\"PoAUQ//RusJJFIvCrn36O3+mM/U=\\",\\n \\"Host\\": \\"172.25.126.234\\",\\n \\"Key\\": \\"saf/de/namelist/e924/ufzgsedX9bd3a7\\",\\n \\"Policy\\": \\"eyJleHBpcmF0aW9uIjoiMjAyNS0wNy0zMFQwNjowNTo0OS45NTRaIiwiY29uZGl0aW9ucyI6W1siY29udGVudC1sZW5ndGgtcmFuZ2UiLDAsMTA0ODU3NjAwMF0sWyJlcSIsIiRrZXkiLCJzYWZcL2RlXC9uYW1lbGlzdFwvZTkyNFwvdWZ6Z3NlZFg5Ymxxxxxxxxxxx\\"\\n}","type":"json"}]',
- 'title' => '获取文件上传凭证',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:UploadSampleFile',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"ResultObject\\": {\\n \\"FileUrl\\": \\"saf/cpoc/30e2aff8f355af429bbab18f776496ef/1764037297543_icekredit_model_A_2025b_1764034785_147787.csv\\",\\n \\"FileName\\": \\"Acct71b_Sample140934_md5_batch20250916.csv\\",\\n \\"FileSize\\": 1472,\\n \\"RowCount\\": 4974,\\n \\"DateType\\": \\"yyyyMMdd\\",\\n \\"ColumnStats\\": [\\n {\\n \\"FieldName\\": \\"fb_org_id\\",\\n \\"RowNumber\\": 4,\\n \\"DistinctNumber\\": 4,\\n \\"DistinctRate\\": \\"28.23%\\",\\n \\"MissNumber\\": 5,\\n \\"MissRate\\": \\"28.23%\\"\\n }\\n ],\\n \\"PreviewData\\": {\\n \\"Headers\\": [\\n \\"[]\\"\\n ],\\n \\"Rows\\": [\\n [\\n \\"[]\\"\\n ]\\n ]\\n },\\n \\"NotExistScenes\\": [\\n \\"dsa\\"\\n ],\\n \\"BeyondBacktrackingPeriodNum\\": 0,\\n \\"PhoneInvalidList\\": [\\n \\"dsf\\"\\n ]\\n },\\n \\"Code\\": \\"200\\",\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"Message\\": \\"success\\"\\n}","type":"json"}]',
],
- 'CreateSampleBatch' => [
- 'summary' => '新建样本批。',
- 'methods' => [
- 'post',
- 'get',
+ ],
+ 'endpoints' => [
+ ['regionId' => 'ap-southeast-1', 'regionName' => '新加坡', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'riskcontrol-share.ap-southeast-1.aliyuncs.com', 'endpoint' => 'riskcontrol-share.ap-southeast-1.aliyuncs.com', 'vpc' => ''],
+ ['regionId' => 'ap-southeast-3', 'regionName' => '马来西亚(吉隆坡)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'riskcontrol-share.ap-southeast-1.aliyuncs.com', 'endpoint' => 'riskcontrol-share.ap-southeast-1.aliyuncs.com', 'vpc' => ''],
+ ['regionId' => 'ap-southeast-5', 'regionName' => '印度尼西亚(雅加达)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'riskcontrol-share.ap-southeast-1.aliyuncs.com', 'endpoint' => 'riskcontrol-share.ap-southeast-1.aliyuncs.com', 'vpc' => ''],
+ ['regionId' => 'cn-hangzhou', 'regionName' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'riskcontrol-share.aliyuncs.com', 'endpoint' => 'riskcontrol-share.aliyuncs.com', 'vpc' => ''],
+ ['regionId' => 'cn-shanghai', 'regionName' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'riskcontrol-share.aliyuncs.com', 'endpoint' => 'riskcontrol-share.aliyuncs.com', 'vpc' => ''],
+ ],
+ 'errorCodes' => [
+ ['code' => '1101', 'message' => 'system error', 'http_code' => 500, 'description' => '系统错误'],
+ ['code' => '1202', 'message' => 'Data duplication.', 'http_code' => 200, 'description' => '数据:(%s:%s) 重复'],
+ ['code' => '1230', 'message' => 'variable is used.', 'http_code' => 400, 'description' => '变量已经被使用'],
+ ['code' => '1403', 'message' => 'user no data power', 'http_code' => 400, 'description' => '用户无数据权限'],
+ ['code' => '1701', 'message' => 'user not auth sls', 'http_code' => 400, 'description' => 'SLS未开通,请检查是否已欠费'],
+ ['code' => '302', 'message' => 'Login required.', 'http_code' => 400, 'description' => '需要登录.'],
+ ['code' => 'MissingStartDate', 'message' => 'StartDate is mandatory for this action.', 'http_code' => 400, 'description' => '开始时间不能为空'],
+ ],
+ 'changeSet' => [
+ [
+ 'apis' => [
+ ['description' => '错误码发生变更', 'api' => 'DescribeEventLogPage'],
+ ['description' => '错误码发生变更', 'api' => 'OpenConsoleSls'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'createdAt' => '2025-01-06T09:06:29.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => '响应参数发生变更', 'api' => 'CreateAppKey'],
+ ['description' => '响应参数发生变更', 'api' => 'DescribeAppKeyPage'],
+ ['description' => '响应参数发生变更', 'api' => 'ModifyAppKey'],
],
- 'security' => [
- [
- 'AK' => [],
+ 'createdAt' => '2024-12-20T06:03:20.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => '请求参数发生变更', 'api' => 'DescribeSafTagList'],
+ ],
+ 'createdAt' => '2024-09-25T07:52:14.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => '响应参数发生变更', 'api' => 'DescribeApi'],
+ ],
+ 'createdAt' => '2024-09-23T08:24:16.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'ModifyExpressionVariable'],
+ ],
+ 'createdAt' => '2024-08-27T09:31:30.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => '响应参数发生变更', 'api' => 'CreateSampleApi'],
+ ],
+ 'createdAt' => '2024-07-01T14:00:33.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => '请求参数发生变更', 'api' => 'CreatePocEv'],
+ ['description' => '请求参数发生变更', 'api' => 'DescribeListPoc'],
+ ['description' => '请求参数发生变更', 'api' => 'FileUpload'],
+ ['description' => '请求参数发生变更', 'api' => 'TaskNameByUserId'],
+ ],
+ 'createdAt' => '2024-06-19T12:22:32.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => '响应参数发生变更', 'api' => 'DescribePocOssToken'],
+ ],
+ 'createdAt' => '2024-01-22T10:44:52.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => '响应参数发生变更、响应参数发生变更', 'api' => 'DescribeOperationLogPageList'],
+ ],
+ 'createdAt' => '2023-12-06T08:20:58.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => '响应参数发生变更', 'api' => 'DescribeSDKDownloadList'],
+ ],
+ 'createdAt' => '2023-10-26T15:03:09.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => '请求参数发生变更', 'api' => 'DescribeTagsBarChart'],
+ ],
+ 'createdAt' => '2023-09-11T10:21:11.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => '请求参数发生变更', 'api' => 'UpdateAuthRule'],
+ ],
+ 'createdAt' => '2023-07-31T06:53:22.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'BindVariable'],
+ ],
+ 'createdAt' => '2023-05-11T01:21:09.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => '响应参数发生变更', 'api' => 'DescribeSDKDownloadList'],
+ ],
+ 'createdAt' => '2023-05-08T07:53:17.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => '响应参数发生变更', 'api' => 'CheckCustVariableLimit'],
+ ['description' => '响应参数发生变更', 'api' => 'CreateCustVariable'],
+ ['description' => '响应参数发生变更', 'api' => 'DeleteCustVariable'],
+ ['description' => '响应参数发生变更', 'api' => 'DescribeCustVariableConfigList'],
+ ['description' => '响应参数发生变更', 'api' => 'DescribeCustVariableDetail'],
+ ['description' => '响应参数发生变更', 'api' => 'DescribeCustVariablePage'],
+ ['description' => '响应参数发生变更', 'api' => 'DescribeEventsVariableList'],
+ ['description' => '响应参数发生变更', 'api' => 'DescribeParamByEventCodes'],
+ ['description' => '响应参数发生变更', 'api' => 'ModifyCustVariable'],
+ ['description' => '响应参数发生变更', 'api' => 'SwitchVariable'],
+ ],
+ 'createdAt' => '2023-01-09T06:12:25.000Z',
+ 'description' => '私域pop接口调用迁移',
+ ],
+ [
+ 'apis' => [
+ ['description' => '响应参数发生变更', 'api' => 'CreateQueryVariable'],
+ ['description' => '响应参数发生变更', 'api' => 'DeleteQueryVariable'],
+ ['description' => '响应参数发生变更', 'api' => 'DescribeAllDataSource'],
+ ['description' => '响应参数发生变更', 'api' => 'DescribeOssPolicy'],
+ ],
+ 'createdAt' => '2023-01-05T03:47:10.000Z',
+ 'description' => 'safdepop迁移',
+ ],
+ [
+ 'apis' => [
+ ['description' => '响应参数发生变更', 'api' => 'DescribeAllEventNameAndCode'],
+ ['description' => '响应参数发生变更', 'api' => 'DescribeEventBaseInfoByEventCode'],
+ ['description' => '请求参数发生变更', 'api' => 'DescribeInputFeildCountByEventCode'],
+ ['description' => '响应参数发生变更', 'api' => 'DescribeRequestHit'],
+ ],
+ 'createdAt' => '2022-12-27T11:33:14.000Z',
+ 'description' => '白盒化策略发布',
+ ],
+ [
+ 'apis' => [
+ ['description' => '响应参数发生变更', 'api' => 'DescribeAuditDetails'],
+ ['description' => '响应参数发生变更', 'api' => 'DescribeAuditPageList'],
+ ],
+ 'createdAt' => '2022-12-13T05:20:02.000Z',
+ 'description' => 'safde切流',
+ ],
+ [
+ 'apis' => [
+ ['description' => '请求参数发生变更', 'api' => 'DescribeFieldList'],
+ ],
+ 'createdAt' => '2022-11-21T03:24:38.000Z',
+ 'description' => '接口性能优化',
+ ],
+ [
+ 'apis' => [
+ ['description' => '响应参数发生变更', 'api' => 'DescribeEventVariableList'],
+ ],
+ 'createdAt' => '2022-11-14T09:08:28.000Z',
+ 'description' => '模型变量新增实体类字段',
+ ],
+ [
+ 'apis' => [
+ ['description' => '响应参数发生变更', 'api' => 'DescribePrivateStack'],
+ ['description' => '响应参数发生变更', 'api' => 'DescribePrivateStack'],
+ ],
+ 'createdAt' => '2022-09-16T06:58:01.000Z',
+ 'description' => 'fix',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'OpenAPI 下线', 'api' => 'DescribePrivateStack'],
+ ['description' => 'OpenAPI 下线', 'api' => 'DescribePrivateStack'],
+ ],
+ 'createdAt' => '2022-09-13T06:22:28.000Z',
+ 'description' => 'fix',
+ ],
+ [
+ 'apis' => [
+ ['description' => '请求参数发生变更', 'api' => 'DeleteNameList'],
+ ['description' => 'OpenAPI 下线', 'api' => 'DescribeNameListDownloadUrl'],
+ ['description' => 'OpenAPI 下线', 'api' => 'DescribeNameListPageList'],
+ ['description' => 'OpenAPI 下线', 'api' => 'DescribeNameListTypeList'],
+ ['description' => 'OpenAPI 下线', 'api' => 'DescribeNameListVariablePageList'],
+ ['description' => '请求参数发生变更', 'api' => 'ImportNameList'],
+ ],
+ 'createdAt' => '2022-07-20T02:37:15.000Z',
+ 'description' => '名单管理pop网关发布',
+ ],
+ [
+ 'apis' => [
+ ['description' => '响应参数发生变更', 'api' => 'DescribeEventVariableList'],
+ ],
+ 'createdAt' => '2022-07-05T09:38:11.000Z',
+ 'description' => '接口返回参数优化',
+ ],
+ [
+ 'apis' => [
+ ['description' => '请求参数发生变更', 'api' => 'CreateMonitorTask'],
+ ['description' => '请求参数发生变更', 'api' => 'DescribeFieldList'],
+ ['description' => '请求参数发生变更', 'api' => 'DescribeVariableMarketList'],
+ ],
+ 'createdAt' => '2022-06-21T09:29:55.000Z',
+ 'description' => 'saf平台网关版本迁移,个别接口字段优化整理',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'OpenAPI 下线', 'api' => 'CreatePocEv'],
+ ['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'DescribeDownloadUrl'],
+ ['description' => 'OpenAPI 下线', 'api' => 'DescribeListPoc'],
+ ['description' => 'OpenAPI 下线', 'api' => 'DescribeTagList'],
+ ['description' => 'OpenAPI 下线', 'api' => 'FileUpload'],
+ ['description' => 'OpenAPI 下线', 'api' => 'PermissionCheck'],
+ ['description' => 'OpenAPI 下线', 'api' => 'SampleFileDownload'],
+ ['description' => 'OpenAPI 下线', 'api' => 'TaskNameByUserId'],
+ ],
+ 'createdAt' => '2022-06-10T02:16:37.000Z',
+ 'description' => '对外SDK无变化',
+ ],
+ [
+ 'apis' => [
+ ['description' => '请求参数发生变更', 'api' => 'CreatePoc'],
+ ],
+ 'createdAt' => '2022-05-13T03:11:37.000Z',
+ 'description' => '此次发布为safde系统接口版本升级',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'OpenAPI 下线', 'api' => 'BindVariable'],
+ ['description' => 'OpenAPI 下线', 'api' => 'CheckCustVariableLimit'],
+ ['description' => 'OpenAPI 下线', 'api' => 'CheckExpressionVariableLimit'],
+ ['description' => 'OpenAPI 下线', 'api' => 'CheckPermission'],
+ ['description' => 'OpenAPI 下线', 'api' => 'CheckUsageVariable'],
+ ['description' => 'OpenAPI 下线', 'api' => 'ClearNameList'],
+ ['description' => 'OpenAPI 下线', 'api' => 'CreateAuthorizationUser'],
+ ['description' => 'OpenAPI 下线', 'api' => 'CreateCustVariable'],
+ ['description' => 'OpenAPI 下线', 'api' => 'CreateExpressionVariable'],
+ ['description' => 'OpenAPI 下线', 'api' => 'CreateField'],
+ ],
+ 'createdAt' => '2022-05-11T07:29:07.000Z',
+ 'description' => '此次发布为safde系统接口版本升级',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'OpenAPI 下线', 'api' => 'CheckFieldLimit'],
+ ['description' => 'OpenAPI 下线', 'api' => 'CreateAppKey'],
+ ['description' => 'OpenAPI 下线', 'api' => 'CreateEvent'],
+ ['description' => 'OpenAPI 下线', 'api' => 'CreateMonitorTask'],
+ ['description' => 'OpenAPI 下线', 'api' => 'CreatePoc'],
+ ['description' => 'OpenAPI 下线', 'api' => 'DescribeAllEventNameAndCode'],
+ ['description' => 'OpenAPI 下线', 'api' => 'DescribeApiLimit'],
+ ['description' => 'OpenAPI 下线', 'api' => 'DescribeApiNameList'],
+ ['description' => 'OpenAPI 下线', 'api' => 'DescribeAppKeyPage'],
+ ['description' => 'OpenAPI 下线', 'api' => 'DescribeAuthEventNameList'],
+ ],
+ 'createdAt' => '2022-05-11T07:23:52.000Z',
+ 'description' => '此次发布为safde系统接口版本升级',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'OpenAPI 下线', 'api' => 'CreateRecommendEventRule'],
+ ['description' => 'OpenAPI 下线', 'api' => 'CreateRecommendTask'],
+ ['description' => 'OpenAPI 下线', 'api' => 'CreateSampleData'],
+ ['description' => 'OpenAPI 下线', 'api' => 'CreateSimulationTask'],
+ ['description' => 'OpenAPI 下线', 'api' => 'CreateTask'],
+ ['description' => 'OpenAPI 下线', 'api' => 'DeleteSampleData'],
+ ['description' => 'OpenAPI 下线', 'api' => 'DescribeEventTaskHistory'],
+ ['description' => 'OpenAPI 下线', 'api' => 'DescribeExistScene'],
+ ['description' => 'OpenAPI 下线', 'api' => 'DescribeOperationLogPageList'],
+ ['description' => 'OpenAPI 下线', 'api' => 'DescribeRecommendSceneVariables'],
+ ],
+ 'createdAt' => '2022-05-11T07:20:10.000Z',
+ 'description' => '此次发布为safde系统接口版本升级',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'OpenAPI 下线', 'api' => 'CreateGroupSign'],
+ ['description' => 'OpenAPI 下线', 'api' => 'CreateReplenishTask'],
+ ['description' => 'OpenAPI 下线', 'api' => 'CreateSample'],
+ ['description' => 'OpenAPI 下线', 'api' => 'DeleteSampleBatch'],
+ ['description' => 'OpenAPI 下线', 'api' => 'DeleteTask'],
+ ['description' => 'OpenAPI 下线', 'api' => 'DescribeApi'],
+ ['description' => 'OpenAPI 下线', 'api' => 'DescribeApiGroups'],
+ ['description' => 'OpenAPI 下线', 'api' => 'DescribeApis'],
+ ['description' => 'OpenAPI 下线', 'api' => 'DescribeApiVariable'],
+ ['description' => 'OpenAPI 下线', 'api' => 'DescribeExcuteNum'],
+ ],
+ 'createdAt' => '2022-05-11T07:14:08.000Z',
+ 'description' => '此次变更是safde系统接口版本升级迁移',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'OpenAPI 下线', 'api' => 'DescribeAvgExecuteCostReport'],
+ ['description' => 'OpenAPI 下线', 'api' => 'DescribeDecisionResultFluctuation'],
+ ['description' => 'OpenAPI 下线', 'api' => 'DescribeDecisionResultTrend'],
+ ['description' => 'OpenAPI 下线', 'api' => 'DescribeEventResultBarChart'],
+ ['description' => 'OpenAPI 下线', 'api' => 'DescribeEventResultList'],
+ ['description' => 'OpenAPI 下线', 'api' => 'DescribeEventTotalCountReport'],
+ ['description' => 'OpenAPI 下线', 'api' => 'DescribeHighRiskPieChart'],
+ ['description' => 'OpenAPI 下线', 'api' => 'DescribeHitRuleFluctuation'],
+ ['description' => 'OpenAPI 下线', 'api' => 'DescribeHitRuleTrend'],
+ ['description' => 'OpenAPI 下线', 'api' => 'DescribeRequestPeakReport'],
+ ],
+ 'createdAt' => '2022-03-02T06:03:34.000Z',
+ 'description' => '监控中心',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'OpenAPI 下线', 'api' => 'DescribeAdvanceSearchLeftVariableList'],
+ ],
+ 'createdAt' => '2022-01-05T02:39:15.000Z',
+ 'description' => '分析中心',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'OpenAPI 下线', 'api' => 'CreateAnalysisConditionFavorite'],
+ ['description' => 'OpenAPI 下线', 'api' => 'CreateAnalysisExportTask'],
+ ['description' => 'OpenAPI 下线', 'api' => 'DeleteAnalysisConditionFavorite'],
+ ['description' => 'OpenAPI 下线', 'api' => 'DescribeAdvanceSearchPageList'],
+ ['description' => 'OpenAPI 下线', 'api' => 'DescribeAnalysisColumnFieldList'],
+ ['description' => 'OpenAPI 下线', 'api' => 'DescribeAnalysisColumnList'],
+ ['description' => 'OpenAPI 下线', 'api' => 'DescribeAnalysisConditionFavoriteList'],
+ ['description' => 'OpenAPI 下线', 'api' => 'DescribeAnalysisExportTaskDownloadUrl'],
+ ['description' => 'OpenAPI 下线', 'api' => 'DescribeBasicSearchPageList'],
+ ['description' => 'OpenAPI 下线', 'api' => 'DescribeEventDetailByRequestId'],
+ ],
+ 'createdAt' => '2021-12-22T09:39:38.000Z',
+ 'description' => '决策引擎分析中心需求相关接口文档',
+ ],
+ [
+ 'apis' => [
+ ['description' => '请求参数发生变更', 'api' => 'DescribeAllRootVariable'],
+ ],
+ 'createdAt' => '2021-12-21T02:07:54.000Z',
+ 'description' => '跟前端联调web接口,不是客户端SDK',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'OpenAPI 下线', 'api' => 'CreateDataSource'],
+ ['description' => 'OpenAPI 下线', 'api' => 'CreateQueryVariable'],
+ ['description' => 'OpenAPI 下线', 'api' => 'DeleteDataSource'],
+ ['description' => 'OpenAPI 下线', 'api' => 'DeleteQueryVariable'],
+ ['description' => 'OpenAPI 下线', 'api' => 'DescribeAllDataSource'],
+ ['description' => 'OpenAPI 下线', 'api' => 'DescribeDataSourceDataDownloadUrl'],
+ ['description' => 'OpenAPI 下线', 'api' => 'DescribeDataSourceFields'],
+ ['description' => 'OpenAPI 下线', 'api' => 'DescribeDataSourcePageList'],
+ ['description' => 'OpenAPI 下线', 'api' => 'DescribeOssPolicy'],
+ ['description' => 'OpenAPI 下线', 'api' => 'DescribeQueryVariableDetail'],
+ ],
+ 'createdAt' => '2021-11-24T00:59:04.000Z',
+ 'description' => '自定义变量支持外部数据检索功能开发',
+ ],
+ [
+ 'apis' => [
+ ['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'DescribeBasicStart'],
+ ['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'DescribeDetailStart'],
+ ['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'DescribeServiceAppKey'],
+ ],
+ 'createdAt' => '2021-11-23T02:07:27.000Z',
+ 'description' => '修复接口参数问题',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'OpenAPI 下线', 'api' => 'DescribeAllRootVariable'],
+ ['description' => 'OpenAPI 下线', 'api' => 'ExpressionTest'],
+ ],
+ 'createdAt' => '2021-10-28T08:24:54.000Z',
+ 'description' => '变量嵌套发布',
+ ],
+ [
+ 'apis' => [
+ ['description' => 'OpenAPI 下线', 'api' => 'CreateRule'],
+ ['description' => 'OpenAPI 下线', 'api' => 'DeleteRule'],
+ ['description' => 'OpenAPI 下线', 'api' => 'DescribeAuditConfig'],
+ ['description' => 'OpenAPI 下线', 'api' => 'DescribeAuditDetails'],
+ ['description' => 'OpenAPI 下线', 'api' => 'DescribeAuditPageList'],
+ ['description' => 'OpenAPI 下线', 'api' => 'DescribeRuleDetailByRuleId'],
+ ['description' => 'OpenAPI 下线', 'api' => 'DescribeRulePageList'],
+ ['description' => 'OpenAPI 下线', 'api' => 'DescribeRuleVersionList'],
+ ['description' => 'OpenAPI 下线', 'api' => 'DescribeUserInfo'],
+ ['description' => 'OpenAPI 下线', 'api' => 'ModifyRulePriority'],
+ ],
+ 'createdAt' => '2021-10-20T13:21:23.000Z',
+ 'description' => 'xtee 2021-09-10',
+ ],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRulePageList'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeQueryVariableDetail'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRequestPeakReport'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeTagsFluctuation'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeAuditDetails'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'PermissionCheck'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyEventStatus'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSafStartSteps'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeAllRootVariable'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSampleDownloadUrl'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeBasicStart'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeHitRuleTrend'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListVariableDefine'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeAuthScenePageList'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeEventUploadPolicy'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeAnalysisConditionFavoriteList'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModelNameIsDuplication'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeGroupTrend'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeNameListTypeList'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeScoreSectionNumLineChart'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRequestHit'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeTemplateDownload'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeEventPageList'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RemoveEvent'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeNameListLimit'],
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeServiceCodeName'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeListPoc'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeTemplateCount'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModelDelete'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeOssPolicy'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SwitchExpressionVariable'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRecommendTaskPageList'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'PocCreateTask'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeScoreSectionRatioLineChart'],
+ ['threshold' => '2000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddSampleDataByText'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeScoreSectionPieChart'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeQueryVariablePageList'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeResultCount'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CheckFieldLimit'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateEvent'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'PocGetToken'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRuleSnapshot'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateRule'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SampleFileDownload'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteNameListData'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCustVariableConfigList'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RecallRuleAudit'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeAllEventNameAndCode'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'PocSendData'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SwitchQueryVariable'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeNameListVariablePageList'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteDataSource'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteQueryVariable'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeExpressionVariableDetail'],
+ ['threshold' => '2000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSampleDataByBatchUUidPage'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeEventResultList'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeFieldPage'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateAnalysisConditionFavorite'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SwitchToOnline'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateRuleBase'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeAvgExecuteCostReport'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSimulationTaskCount'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRuleVersionList'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StartOrStopByPassShuntEvent'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteByPassShuntEvent'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeAllDataSource'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSampleSceneList'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVariableDetail'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeAuthSceneList'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ImportNameList'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVariableBindDetail'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSampleList'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRuleDetailByRuleId'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSafTagList'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModelSampleDownload'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeGroupAccountPage'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeExpressionVariablePage'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePocOssToken'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePrivateStack'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeExcuteNum'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeExistName'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteRule'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeTagsList'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeMonitorTaskLimit'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeUsedService'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateExpressionVariable'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePocTaskList'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDataSourceFields'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDetailStart'],
+ ['threshold' => '-1', 'countWindow' => 1, 'regionId' => '*'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeTagsBarChart'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeOssToken'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateRule'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRiskTagsLineChart'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDecisionResultTrend'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryAuthRuleDetailByRuleId'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeUserInfo'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeAnalysisExportTaskDownloadUrl'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRecommendVelocities'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeEventLogDetail'],
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeScoreList'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeOperatorListByType'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeListModel'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'BindVariable'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeHighRiskPieChart'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyField'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeHitRuleList'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeInputFeildCountByEventCode'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CheckCopyRuleVariable'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ExpressionTest'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateQueryVariable'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteField'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSampleDataList'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeTaskList'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeGroupPage'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModelFileUpload'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateDataSource'],
+ ['threshold' => '2000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSampleBatchOssPolicy'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SaveByPassOrShuntEvent'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'PocGetDownloadUrl'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteEventField'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSceneRulePageList'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeFieldById'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'OpenConsoleSls'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVariableSceneList'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeEventDetailByRequestId'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRuleCountByUserId'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVariableMarketList'],
+ ['threshold' => '2000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSampleDataPage'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyCustVariable'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRecommendVariablesVelocity'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeModelDetailsById'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateAppKey'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeLoanTaskList'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeMenuPermission'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeServiceList'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeOperationLogPageList'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSDKDownloadList'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeEventResultBarChart'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeExpressionVariableFunctionList'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeModelOssPolicy'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StartSimulationTask'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeOssAuthStatus'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSampleInfo'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCustVariableDetail'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SwitchField'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteSampleBatch'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeAuditPageList'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeNameList'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRuleListByEventCodesList'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeApi'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteSampleData'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteExpressionVariable'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeEventVariableTemplateBind'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeTagsRatioLineChart'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeHitRuleFluctuation'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SwitchVariable'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeTaskLogList'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyEvent'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeExistScene'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSafOrder'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CheckUsageVariable'],
+ ['threshold' => '2000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteSampleBatchMeta'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCustVariablePage'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyRulePriority'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRuleBarChart'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSceneEventPageList'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteCustVariable'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeOperatorList'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeMarkPage'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDataSourcePageList'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteNameList'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeAuditConfig'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeEventCount'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'OperateFavoriteVariable'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateRecommendEventRule'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeAuthRulePageList'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateDataSource'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeepCopyRule'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateCustVariable'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModelIsUsing'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UploadFileCheck'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeEventsVariableList'],
+ ['threshold' => '2000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DownloadSmapleBatch'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSampleUploadPolicy'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeGroupStatisticsByToday'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRecommendTaskDetail'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVariableList'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateAuthRule'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteSelfBindVariable'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeGroupConditionList'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateSampleBatch'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeApiGroups'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRuleHit'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CheckCustVariableLimit'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSimulationPreditInfo'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeTemplatePageList'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeInitDig'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeApis'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeBasicSearchPageList'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeEventTotalCountReport'],
+ ['threshold' => '2000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSamplebatchPage'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeApiNameList'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteAnalysisConditionFavorite'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeHasRuleNameByEventCode'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeEventBaseInfoByEventCode'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeEventVariableTemplateList'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSampleTagList'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeAdvanceSearchPageList'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRiskLineChart'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeTagsTrend'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDownloadUrl'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreatePocEv'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSupportRuleList'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSafStartConfig'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeAnalysisColumnFieldList'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSelectItem'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeAuthEventNameList'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CheckExpressionVariableLimit'],
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeServiceAppKey'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDataSourceDataDownloadUrl'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeParamByEventCodes'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'TaskNameByUserId'],
+ ['threshold' => '2000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateSampleBatch'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateModel'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ImportTemplateEvent'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateByPassShuntEvent'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeAuthStatus'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeNameListPageList'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSimulationTaskList'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeEventTaskHistory'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeFieldList'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyRuleStatus'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateSample'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateSampleData'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateAnalysisExportTask'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateField'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSceneAllEventNameCodeList'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ImportField'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyExpressionVariable'],
+ ['threshold' => '2000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'BatchDeleteSampleData'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateQueryVariable'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StopSimulationTask'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeLoanExecList'],
+ ['threshold' => '2000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateSampleApi'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeEventLogPage'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRecommendSceneVariables'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSafDeOrder'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDecisionResultFluctuation'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeAnalysisColumnList'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeEventVariableList'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSlsUrlConfig'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeTagList'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyAppKey'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRegions'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateAnalysisConditionFavorite'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeApiLimit'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeByPassShuntEvent'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeApiVariable'],
+ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'FileUpload'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeAppKeyPage'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateAudit'],
+ ['threshold' => '2000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddSampleDataByCsv'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSafConsole'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CompareCopyRuleVariable'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeOperatorListByScene'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SaveAnalysisColumn'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSampleDemoDownloadUrl'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeAdvanceSearchLeftVariableList'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeTagsNumLineChart'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateSimulationTask'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateRecommendTask'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVariableFee'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeNameListDownloadUrl'],
+ ],
+ ],
+ 'ram' => [
+ 'productCode' => 'SAF',
+ 'productName' => '风险识别',
+ 'ramCodes' => ['yundun-saf'],
+ 'ramLevel' => '资源级',
+ 'ramConditions' => [],
+ 'ramActions' => [
+ [
+ 'apiName' => 'CreatePocEv',
+ 'description' => '创建POC',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
- 'operationType' => 'readAndWrite',
- 'systemTags' => [
+ [
+ 'apiName' => 'DescribeAdvanceSearchLeftVariableList',
+ 'description' => '高级查询获取左变量',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeHasRuleNameByEventCode',
+ 'description' => '查询事件名下的策略名是否存在',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ModelIsUsing',
+ 'description' => '启用/禁用',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeRecommendVelocities',
+ 'description' => '查询支持的指标列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeTemplateDownload',
+ 'description' => '模版下载',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ModelSampleDownload',
+ 'description' => '模板下载',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeHitRuleTrend',
+ 'description' => '策略命中趋势',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeVariableMarketList',
+ 'description' => '变量定义列表查询',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CompareCopyRuleVariable',
+ 'description' => '策略复制对比',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateModel',
+ 'description' => '创建模型',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeSampleTagList',
+ 'description' => '获取标签列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeBasicStart',
+ 'description' => '基础统计',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListVariableDefine',
+ 'description' => '查询变量定义',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DeleteSampleBatchMeta',
+ 'description' => '样本删除',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:DeleteSampleBatchMeta',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => 'SampleBatch', 'arn' => 'acs:yundun-saf::{#accountId}:samplebatch/{#SampleBatchId}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CheckExpressionVariableLimit',
+ 'description' => '校验创建自定义变量是否超过上限',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeScoreList',
+ 'description' => '评分分布',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'UpdateRule',
+ 'description' => '修改策略',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeRuleBarChart',
+ 'description' => '策略概览列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeSampleUploadPolicy',
+ 'description' => '查询样本上传授权信息',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CompareRule',
+ 'description' => '策略版本对比',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:CompareRule',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ModifyEventStatus',
+ 'description' => '修改事件状态',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'RecallRuleAudit',
+ 'description' => '撤回审核',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreatePocSample',
+ 'description' => '创建样本',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:CreatePocSample',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeAnalysisExportTaskDownloadUrl',
+ 'description' => '下载查询结果',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ModifyEvent',
+ 'description' => '修改事件',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeMonitorTaskLimit',
+ 'description' => '查询任务的限制',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeApiLimit',
+ 'description' => '查询创建api任务的limit信息',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribePocTaskList',
+ 'description' => '获取poc任务列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeSampleDownloadUrl',
+ 'description' => '查询样本下载授权信息',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeQueryVariableDetail',
+ 'description' => '自定义查询变量详情查询',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'SearchSample',
+ 'description' => '样本查询',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:SearchSample',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'PocGetDownloadUrl',
+ 'description' => '获取下载地址',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeMarkPage',
+ 'description' => '打标列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeVariableSceneList',
+ 'description' => '查询配置信息',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeBasicSearchPageList',
+ 'description' => '事件分析基础查询',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeAuthScenePageList',
+ 'description' => '场景列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CancelSubTask',
+ 'description' => '取消任务',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:CancelSubTask',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeCustVariableConfigList',
+ 'description' => '累计变量配置查询',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeApiGroups',
+ 'description' => '得到api分组包括用户购买的以及自定义的',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeRequestPeakReport',
+ 'description' => '请求峰值',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeAllRootVariable',
+ 'description' => '自定义表达式测试时,展示所有的根变量',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DeleteNameListData',
+ 'description' => '删除名单数据',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeAnalysisColumnFieldList',
+ 'description' => '事件分析查询所有字段',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateTaskGroup',
+ 'description' => '创建任务组',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:CreateTaskGroup',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateField',
+ 'description' => '新建字段',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DownloadSmapleBatch',
+ 'description' => '样本名单数据下载',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:DownloadSmapleBatch',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => 'SampleBatch', 'arn' => 'acs:yundun-saf::{#accountId}:samplebatch/{#SampleBatchId}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeTagList',
+ 'description' => '标签列表',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeDataSourcePageList',
+ 'description' => '外部数据源列表查询',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeExpressionVariablePage',
+ 'description' => '自定义变量分页查询',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeSceneEventPageList',
+ 'description' => '场景化事件风控事件列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeFieldById',
+ 'description' => '字段详情查询',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'MergeDownload',
+ 'description' => '合并下载',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:MergeDownload',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeNameListDownloadUrl',
+ 'description' => '下载名单内容',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'OpenConsoleSls',
+ 'description' => '开通服务',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateSampleBatch',
+ 'description' => '新建样本批',
'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:CreateSampleBatch',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'parameters' => [
- [
- 'name' => 'Lang',
- 'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
+ [
+ 'apiName' => 'DescribeRecommendSceneVariables',
+ 'description' => '查询样本&场景下的变量列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'regId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
+ ],
+ [
+ 'apiName' => 'CreateDataSource',
+ 'description' => '创建查询变量数据源',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'batchName',
- 'in' => 'query',
- 'schema' => [
- 'description' => '样本批次名称',
- 'type' => 'string',
- 'required' => false,
- 'example' => '白样本',
+ ],
+ [
+ 'apiName' => 'OperateFavoriteVariable',
+ 'description' => '收藏变量',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'sampleBatchType',
- 'in' => 'query',
- 'schema' => [
- 'description' => '样本名单具体的类型',
- 'type' => 'string',
- 'required' => false,
- 'example' => '白名单',
+ ],
+ [
+ 'apiName' => 'DescribeAvgExecuteCostReport',
+ 'description' => '平均执行耗时',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'dataType',
- 'in' => 'query',
- 'schema' => [
- 'description' => '数据类型',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'mobile',
+ ],
+ [
+ 'apiName' => 'DescribeListPoc',
+ 'description' => 'POC任务列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'serviceList',
- 'in' => 'query',
- 'schema' => [
- 'description' => '服务列表',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'account_takeover',
+ ],
+ [
+ 'apiName' => 'DescribeApi',
+ 'description' => '得到api详情',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'ossFileName',
- 'in' => 'query',
- 'schema' => [
- 'description' => '上传的oss地址。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'sample/94b4193d321c44b44ee92b19984000a0/样本测试01/0d8dbc6809834d51b1d88a42295c803e/1753865835166.csv',
+ ],
+ [
+ 'apiName' => 'DescribeHitRuleList',
+ 'description' => '主事件/旁路/分流策略命中TOP 20',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'dataValue',
- 'in' => 'query',
- 'schema' => [
- 'description' => '文本框输入的名单内容',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1770000000,1770000001',
+ ],
+ [
+ 'apiName' => 'PocCreateTask',
+ 'description' => '创建POC任务',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'description',
- 'in' => 'query',
- 'schema' => [
- 'description' => '描述信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '描述',
+ ],
+ [
+ 'apiName' => 'UpdateAuthRule',
+ 'description' => '修改授权策略',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
- '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' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
- ],
+ [
+ 'apiName' => 'DescribeNameListLimit',
+ 'description' => '查询名单限制数',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ [
+ 'apiName' => 'DescribePrivateStack',
+ 'description' => '判断该用户是否开通privateStack模式',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\"\\n}","type":"json"}]',
- 'title' => '新建样本批',
- ],
- 'DeleteSelfBindVariable' => [
- 'summary' => '删除自定义系统变量。',
- 'path' => '',
- 'methods' => [
- 'get',
- 'post',
+ [
+ 'apiName' => 'DescribeEventVariableTemplateBind',
+ 'description' => '查询事件模板',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'schemes' => [
- 'https',
+ [
+ 'apiName' => 'DescribeParamByEventCodes',
+ 'description' => '查询事件属性列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'security' => [
- [
- 'AK' => [],
+ [
+ 'apiName' => 'BindVariable',
+ 'description' => '变量绑定',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
- 'operationType' => 'readAndWrite',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREsafXYIHRP',
+ [
+ 'apiName' => 'DescribeSceneRulePageList',
+ 'description' => '场景化风控事件策略列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
- 'tenantRelevance' => 'tenant',
],
- 'parameters' => [
- [
- 'name' => 'Lang',
- 'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
+ [
+ 'apiName' => 'DescribeTemplateCount',
+ 'description' => '查询事件总数量',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'regId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
+ ],
+ [
+ 'apiName' => 'DescribeHighRiskPieChart',
+ 'description' => '风险地图高风险饼图+地图',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'id',
- 'in' => 'query',
- 'schema' => [
- 'description' => '变量id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '3144',
+ ],
+ [
+ 'apiName' => 'CheckSampleName',
+ 'description' => '样本名称唯一性校验',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:CheckSampleName',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
- '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' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
- 'resultObject' => [
- 'description' => '返回对象',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- ],
+ [
+ 'apiName' => 'DescribeSDKDownloadList',
+ 'description' => 'sdk下载列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
- 'errorCodes' => [
- 400 => [
- [
- 'errorCode' => '1230',
- 'errorMessage' => 'variable is used.',
+ [
+ 'apiName' => 'DescribeEventLogPage',
+ 'description' => '查询事件历史列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- 500 => [
- [
- 'errorCode' => '1101',
- 'errorMessage' => 'system error',
+ ],
+ [
+ 'apiName' => 'CheckUsageVariable',
+ 'description' => '校验变量引用',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ [
+ 'apiName' => 'DeleteExpressionVariable',
+ 'description' => '删除自定义变量',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"resultObject\\": true\\n}","type":"json"}]',
- 'title' => '删除自定义系统变量',
- ],
- 'ListVariableDefine' => [
- 'summary' => '查询变量定义',
- 'path' => '',
- 'methods' => [
- 'post',
- 'get',
+ [
+ 'apiName' => 'UpdateAudit',
+ 'description' => '策略审批',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ [
+ 'apiName' => 'DescribeCustVariableDetail',
+ 'description' => '累计变量详情查询',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'security' => [
- [
- 'AK' => [],
+ [
+ 'apiName' => 'DescribeLoanTaskList',
+ 'description' => '获取贷中监控任务列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
- 'operationType' => 'read',
- 'deprecated' => false,
- 'systemTags' => [
+ [
+ 'apiName' => 'DescribeExpressionVariableVersionDetail',
+ 'description' => '自定义变量版本详情查询',
'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREsafBCGX2Z',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:CompareRule',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
- 'parameters' => [
- [
- 'name' => 'Lang',
- 'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
+ [
+ 'apiName' => 'DeleteSampleData',
+ 'description' => '删除样本数据',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'scenesStr',
- 'in' => 'query',
- 'schema' => [
- 'description' => '场景',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[\\"EVENT_ACTION\\"]',
+ ],
+ [
+ 'apiName' => 'ModifyAppKey',
+ 'description' => '更新备注',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'currentPage',
- 'in' => 'query',
- 'schema' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
+ ],
+ [
+ 'apiName' => 'DescribeScoreSectionNumLineChart',
+ 'description' => '旁路/分流 - 分值区间数量分析',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'pageSize',
- 'in' => 'query',
- 'schema' => [
- 'description' => '每页大小,默认值为10',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
+ ],
+ [
+ 'apiName' => 'DescribeSlsUrlConfig',
+ 'description' => '获取project配置',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'queryContent',
- 'in' => 'query',
- 'schema' => [
- 'description' => '查询内容',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'age',
+ ],
+ [
+ 'apiName' => 'DescribeHitRuleFluctuation',
+ 'description' => '策略命中波动检测',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'regId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
+ ],
+ [
+ 'apiName' => 'DescribeExpressionVariableFunctionList',
+ 'description' => '函数列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'chargingMode',
- 'in' => 'query',
- 'schema' => [
- 'description' => '收费模式',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'FREE',
+ ],
+ [
+ 'apiName' => 'DescribeAuthEventNameList',
+ 'description' => '查询当前用户的事件名列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'title',
- 'in' => 'query',
- 'schema' => [
- 'description' => '标题。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '变量的title',
+ ],
+ [
+ 'apiName' => 'DescribeAdvanceSearchPageList',
+ 'description' => '事件分析高级查询',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'source',
- 'in' => 'query',
- 'schema' => [
- 'description' => '来源',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'SAF',
+ ],
+ [
+ 'apiName' => 'DescribeEventResultBarChart',
+ 'description' => '风险大盘',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'paging',
- 'in' => 'query',
- 'schema' => [
- 'description' => '分页标识',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'false',
+ ],
+ [
+ 'apiName' => 'DescribeTagsTrend',
+ 'description' => '标签波动趋势',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'typesStr',
- 'in' => 'query',
- 'schema' => [
- 'description' => '类型',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[\\"IDENTIFY_SERVICE\\"]'."\n",
+ ],
+ [
+ 'apiName' => 'DescribeSampleDataPage',
+ 'description' => '样本名单列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:DescribeSampleDataPage',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'allowBind',
- 'in' => 'query',
- 'schema' => [
- 'description' => '是否允许绑定,默认为ENABLE',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ENABLE',
+ ],
+ [
+ 'apiName' => 'DescribeRequestHit',
+ 'description' => '查询请求命中详情',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'status',
- 'in' => 'query',
- 'schema' => [
- 'description' => '状态。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ENABLE',
+ ],
+ [
+ 'apiName' => 'DescribeSafTagList',
+ 'description' => '获取风险标签列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'roleType',
- 'in' => 'query',
- 'schema' => [
- 'description' => '授权类型',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1',
+ ],
+ [
+ 'apiName' => 'DescribeTagsFluctuation',
+ 'description' => '标签波动检测',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
- 'responses' => [
- 200 => [
- 'headers' => [],
- 'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'Schema of Response',
- 'type' => 'object',
- 'properties' => [
- 'totalItem' => [
- 'description' => '总条数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '27',
- ],
- 'resultObject' => [
- 'description' => '返回对象',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => '请求ID',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
- 'totalPage' => [
- 'description' => '总页数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '4',
- ],
- 'pageSize' => [
- 'description' => '每页大小,默认值为10',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'currentPage' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- ],
+ [
+ 'apiName' => 'DescribeAuditConfig',
+ 'description' => '审核配置',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ [
+ 'apiName' => 'DescribeUserInfo',
+ 'description' => '获取当前登录用户信息',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"totalItem\\": 27,\\n \\"resultObject\\": true,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"totalPage\\": 4,\\n \\"pageSize\\": 10,\\n \\"currentPage\\": 1\\n}","type":"json"}]',
- 'title' => '查询变量定义',
- ],
- 'DeleteEventField' => [
- 'summary' => '事件字段删除。',
- 'path' => '',
- 'methods' => [
- 'get',
- 'post',
+ [
+ 'apiName' => 'DescribeApiNameList',
+ 'description' => '获取api服务名称',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'schemes' => [
- 'https',
+ [
+ 'apiName' => 'DescribeSampleDemoDownloadUrl',
+ 'description' => '查询样本示例授权',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'security' => [
- [
- 'AK' => [],
+ [
+ 'apiName' => 'DescribeScoreSectionRatioLineChart',
+ 'description' => '旁路/分流 - 分值区间占比分析',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
- 'operationType' => 'readAndWrite',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREsafWH3N80',
+ [
+ 'apiName' => 'DescribeRecommendVariablesVelocity',
+ 'description' => '查询变量下的指标信息',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
- 'tenantRelevance' => 'tenant',
],
- 'parameters' => [
- [
- 'name' => 'Lang',
- 'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
+ [
+ 'apiName' => 'DescribeSafOrder',
+ 'description' => '查询订单信息',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'eventCode',
- 'in' => 'query',
- 'schema' => [
- 'description' => '事件编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'de_awukck7117',
+ ],
+ [
+ 'apiName' => 'SwitchVariable',
+ 'description' => '上下线累计变量',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'fieldName',
- 'in' => 'query',
- 'schema' => [
- 'description' => '字段名称',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'age',
+ ],
+ [
+ 'apiName' => 'DownloadSubTaskResult',
+ 'description' => '下载子任务结果',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:DownloadSubTaskResult',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'regId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '区域编码',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
+ ],
+ [
+ 'apiName' => 'DescribeRuleListByEventCodesList',
+ 'description' => '通过eventCode 根据事件编码查询策略列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
- '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' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
- 'resuleObject' => [
- 'description' => '返回结果',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- ],
+ [
+ 'apiName' => 'DeleteCustVariable',
+ 'description' => '删除累计变量',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
- 'errorCodes' => [
- 400 => [
- [
- 'errorCode' => '1230',
- 'errorMessage' => 'variable is used.',
+ [
+ 'apiName' => 'QueryAuthRuleDetailByRuleId',
+ 'description' => '白盒化策略详情查询',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
],
- [
- 'errorCode' => '1403',
- 'errorMessage' => 'user no data power',
+ ],
+ ],
+ [
+ 'apiName' => 'ModifyRulePriority',
+ 'description' => '修改策略优先级',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- 500 => [
- [
- 'errorCode' => '1101',
- 'errorMessage' => 'system error',
+ ],
+ [
+ 'apiName' => 'DescribeServiceCodeName',
+ 'description' => '所有服务',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ [
+ 'apiName' => 'SwitchQueryVariable',
+ 'description' => '查询变量启用/禁用',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"resuleObject\\": true\\n}","type":"json"}]',
- 'title' => '事件字段删除',
- ],
- 'DescribeOperationLogMonitoring' => [
- 'summary' => '查询操作日志监控统计信息。',
- 'path' => '',
- 'methods' => [
- 'get',
- 'post',
+ [
+ 'apiName' => 'UpdateQueryVariable',
+ 'description' => '编辑自定义查询变量',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ [
+ 'apiName' => 'DescribeExistName',
+ 'description' => '查询字段名是否重复',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'security' => [
- [
- 'AK' => [],
+ [
+ 'apiName' => 'DeleteSampleBatch',
+ 'description' => '批量删除样本',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
- 'operationType' => 'read',
- 'deprecated' => false,
- 'systemTags' => [
+ [
+ 'apiName' => 'DescribeEventPageList',
+ 'description' => '事件列表分页查询',
'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREsafXYIHRP',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
- 'parameters' => [
- [
- 'name' => 'Lang',
- 'in' => 'query',
- 'schema' => [
- 'description' => '返回消息的语言类型。取值:'."\n"
- ."\n"
- .'- **zh**(默认):中文'."\n"
- .'- **en**:英文',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
+ [
+ 'apiName' => 'DescribeSelectItem',
+ 'description' => '查询任务ID列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'regId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
+ ],
+ [
+ 'apiName' => 'DescribeOperatorListByScene',
+ 'description' => '根据场景查询查询操作符映射列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'startDate',
- 'in' => 'query',
- 'schema' => [
- 'description' => '起始日期(yyyy-MM-dd格式,和当前日期间隔不能超过90天)',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2025-07-19',
+ ],
+ [
+ 'apiName' => 'SaveByPassOrShuntEvent',
+ 'description' => '配置旁路/分流',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'endDate',
- 'in' => 'query',
- 'schema' => [
- 'description' => '结束日期(yyyy-MM-dd格式,和起始日期间隔不能超过90天)',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2025-07-30',
+ ],
+ [
+ 'apiName' => 'DescribeListModel',
+ 'description' => '模型任务列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'userNameSearch',
- 'in' => 'query',
- 'schema' => [
- 'description' => '操作人。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'root',
+ ],
+ [
+ 'apiName' => 'CreateAnalysisExportTask',
+ 'description' => '新建导出任务',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
- 'responses' => [
- 200 => [
- 'headers' => [],
- 'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'Schema of Response',
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
- 'resultObject' => [
- 'description' => '返回对象。',
- 'type' => 'array',
- 'items' => [
- 'description' => '返回对象。',
- 'type' => 'object',
- 'properties' => [
- 'dateGrouped' => [
- 'description' => '时间轴切片。',
- 'type' => 'string',
- 'example' => '2025-07-19',
- ],
- 'totalCount' => [
- 'description' => '总数量。',
- 'type' => 'string',
- 'example' => '2',
- ],
- ],
- ],
- ],
- ],
+ [
+ 'apiName' => 'CreateEvent',
+ 'description' => '创建事件',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeRuleHit',
+ 'description' => 'DescribeRuleHit',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ [
+ 'apiName' => 'StartSimulationTask',
+ 'description' => '开始执行任务',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"resultObject\\": [\\n {\\n \\"dateGrouped\\": \\"2025-07-19\\",\\n \\"totalCount\\": \\"2\\"\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '查询操作日志监控统计信息',
- ],
- 'DescribeVersionPageList' => [
- 'summary' => '变量版本列表查询。',
- 'path' => '',
- 'methods' => [
- 'get',
- 'post',
+ [
+ 'apiName' => 'ListTaskGroup',
+ 'description' => '任务组列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:ListTaskGroup',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'schemes' => [
- 'https',
+ [
+ 'apiName' => 'DescribeEventBaseInfoByEventCode',
+ 'description' => '查询事件详情',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'security' => [
- [
- 'AK' => [],
+ [
+ 'apiName' => 'DescribeNameListTypeList',
+ 'description' => '名单类型列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
- 'operationType' => 'read',
- 'deprecated' => false,
- 'systemTags' => [
+ [
+ 'apiName' => 'DescribeAnalysisConditionFavoriteList',
+ 'description' => '条件查询列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateSimulationTask',
+ 'description' => '创建任务',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeGroupConditionList',
+ 'description' => '社群列表查询条件',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeOssPolicy',
+ 'description' => '查询oss上传凭证',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListSample',
+ 'description' => '样本列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:ListSample',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'UpdateRuleBase',
+ 'description' => '修改策略基础信息',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeLoanExecList',
+ 'description' => '获取监控对象列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeEventVariableList',
+ 'description' => '事件下的变量列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeOssToken',
+ 'description' => '获取文件上传凭证',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeTemplatePageList',
+ 'description' => '根据事件名称查询事件列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'UploadFileCheck',
+ 'description' => '样本检验',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:UploadFileCheck',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ModelFileUpload',
+ 'description' => '文件上传校验',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'UpdateDataSource',
+ 'description' => '外部数据源修改',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeSafConsole',
+ 'description' => '查询saf权限',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeRecommendTaskDetail',
+ 'description' => '变量推荐详情查询接口',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DeleteAnalysisConditionFavorite',
+ 'description' => '删除收藏查询条件',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeEventTotalCountReport',
+ 'description' => '调用事件次数',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'PocGetToken',
+ 'description' => '申请令牌',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ModifyExpressionVariable',
+ 'description' => '修改自定义变量',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ExpressionTest',
+ 'description' => '自定义变量测试',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'SwitchField',
+ 'description' => '上下线字段',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeVersionPageList',
+ 'description' => '变量版本列表查询',
'operationType' => 'list',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREsafXYIHRP',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
- 'parameters' => [
- [
- 'name' => 'Lang',
- 'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
+ [
+ 'apiName' => 'CreateRule',
+ 'description' => '创建规则',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'regId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
+ ],
+ [
+ 'apiName' => 'DeleteSample',
+ 'description' => '删除样本',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:DeleteSample',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'currentPage',
- 'in' => 'query',
- 'schema' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
+ ],
+ [
+ 'apiName' => 'StopSimulationTask',
+ 'description' => '停止任务',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'pageSize',
- 'in' => 'query',
- 'schema' => [
- 'description' => '每页大小,默认值为10。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
+ ],
+ [
+ 'apiName' => 'BatchDeleteSampleData',
+ 'description' => '批量删除样本名单数据',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:BatchDeleteSampleData',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'objectId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '变量主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '392023',
+ ],
+ [
+ 'apiName' => 'DescribeSafDeOrder',
+ 'description' => '查询saf_de订单信息',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'objectCode',
- 'in' => 'query',
- 'schema' => [
- 'description' => '变量的name。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ex_OERlw0Zqfb23',
+ ],
+ [
+ 'apiName' => 'DescribeTagsRatioLineChart',
+ 'description' => '旁路/分流 - 标签命中占比分析',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'type',
- 'in' => 'query',
- 'schema' => [
- 'description' => '类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'EXPRESSION',
+ ],
+ [
+ 'apiName' => 'DescribeExistScene',
+ 'description' => '场景是否存在',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'paging',
- 'in' => 'query',
- 'schema' => [
- 'description' => '是否分页标识,默认true。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
+ ],
+ [
+ 'apiName' => 'DescribeInputFeildCountByEventCode',
+ 'description' => '查询事件总数量',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'MaxResults',
- 'in' => 'query',
- 'schema' => [
- 'description' => '本次读取的最大数据量,默认值为10。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
+ ],
+ [
+ 'apiName' => 'DescribeSampleDataList',
+ 'description' => '样本列表分页查询',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'NextToken',
- 'in' => 'query',
- 'schema' => [
- 'description' => '用来标记当前开始读取的位置。置空表示从头开始。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1',
+ ],
+ [
+ 'apiName' => 'ModifyField',
+ 'description' => '修改字段',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
- 'responses' => [
- 200 => [
- 'headers' => [],
- 'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'Schema of Response',
- 'type' => 'object',
- 'properties' => [
- 'totalItem' => [
- 'description' => '总条数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'pageSize' => [
- 'description' => '每页大小,默认值为10。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
- 'currentPage' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'totalPage' => [
- 'description' => '总页数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'resultObject' => [
- 'description' => '返回对象。',
- 'type' => 'array',
- 'items' => [
- 'description' => '返回对象。',
- 'type' => 'object',
- 'properties' => [
- 'gmtModified' => [
- 'description' => '修改时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1565701886000',
- ],
- 'creator' => [
- 'description' => '创建人。',
- 'type' => 'string',
- 'example' => 'root',
- ],
- 'objectCode' => [
- 'description' => '变量的name。',
- 'type' => 'string',
- 'example' => 'ex_OERlw0Zqfb23',
- ],
- 'modifier' => [
- 'title' => '数据状态',
- 'description' => '修改人。',
- 'type' => 'string',
- 'example' => 'root',
- ],
- 'description' => [
- 'description' => '变量描述。',
- 'type' => 'string',
- 'example' => '变量描述',
- ],
- 'gmtCreate' => [
- 'description' => '创建时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1621578648000',
- ],
- 'type' => [
- 'description' => '变量类型。',
- 'type' => 'string',
- 'example' => 'EXPRESSION',
- ],
- 'userId' => [
- 'description' => '用户uid。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '151222222222226',
- ],
- 'version' => [
- 'description' => '版本号。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'content' => [
- 'description' => '变更内容。',
- 'type' => 'string',
- 'example' => '{\\"description\\":\\"自定义变量\\",\\"expression\\":\\"1\\",\\"expressionTitle\\":\\"1\\",\\"expressionVariable\\":\\"\\",\\"fieldRank\\":0,\\"id\\":392023,\\"name\\":\\"ex_OERlw0Zqfb23\\",\\"outlier\\":\\"SYS_ERROR\\",\\"outputs\\":\\"STRING\\",\\"refObjId\\":\\"de_auevox0336\\",\\"region\\":\\"SH\\",\\"title\\":\\"自定义变量\\",\\"version\\":4}',
- ],
- 'id' => [
- 'description' => '版本主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '808',
- ],
- 'region' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'example' => 'cn-hangzhou',
- ],
- 'objectId' => [
- 'description' => '变量主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '392023',
- ],
- ],
- ],
- ],
- 'MaxResults' => [
- 'description' => '本次读取的最大数据量,默认值为10。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'NextToken' => [
- 'description' => '用来表示当前调用返回读取到的位置。空代表数据已经读取完毕。',
- 'type' => 'string',
- 'example' => '1',
- ],
- ],
+ [
+ 'apiName' => 'DescribeGroupStatisticsByToday',
+ 'description' => '当日发现的风险社群',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ [
+ 'apiName' => 'DescribeAuthStatus',
+ 'description' => '查看是否授权',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"totalItem\\": 10,\\n \\"pageSize\\": 10,\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"currentPage\\": 1,\\n \\"totalPage\\": 1,\\n \\"resultObject\\": [\\n {\\n \\"gmtModified\\": 1565701886000,\\n \\"creator\\": \\"root\\",\\n \\"objectCode\\": \\"ex_OERlw0Zqfb23\\",\\n \\"modifier\\": \\"root\\",\\n \\"description\\": \\"变量描述\\",\\n \\"gmtCreate\\": 1621578648000,\\n \\"type\\": \\"EXPRESSION\\",\\n \\"userId\\": 151222222222226,\\n \\"version\\": 1,\\n \\"content\\": \\"{\\\\\\\\\\\\\\"description\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"自定义变量\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"expression\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"1\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"expressionTitle\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"1\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"expressionVariable\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"fieldRank\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"id\\\\\\\\\\\\\\":392023,\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ex_OERlw0Zqfb23\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"outlier\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SYS_ERROR\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"outputs\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"STRING\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"refObjId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"de_auevox0336\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"region\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SH\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"title\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"自定义变量\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"version\\\\\\\\\\\\\\":4}\\",\\n \\"id\\": 808,\\n \\"region\\": \\"cn-hangzhou\\",\\n \\"objectId\\": 392023\\n }\\n ],\\n \\"MaxResults\\": 10,\\n \\"NextToken\\": \\"1\\"\\n}","type":"json"}]',
- 'title' => '变量版本列表查询',
- ],
- 'CompareRule' => [
- 'summary' => '策略版本内容对比。',
- 'path' => '',
- 'methods' => [
- 'get',
- 'post',
+ [
+ 'apiName' => 'DownloadSampleFile',
+ 'description' => '下载样本文件',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:DownloadSampleFile',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ [
+ 'apiName' => 'DescribeSceneAllEventNameCodeList',
+ 'description' => '场景化风控事件下拉',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'security' => [
- [
- 'AK' => [],
+ [
+ 'apiName' => 'DescribeSimulationPreditInfo',
+ 'description' => '预估调用信息',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
- 'operationType' => 'read',
- 'deprecated' => false,
- 'systemTags' => [
+ [
+ 'apiName' => 'DescribeCustVariablePage',
+ 'description' => '累计变量分页列表查询',
'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREsafBCGX2Z',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
- 'tenantRelevance' => 'tenant',
],
- 'parameters' => [
- [
- 'name' => 'Lang',
- 'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
+ [
+ 'apiName' => 'DescribeSampleList',
+ 'description' => '查询样本列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'ruleVersionId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '策略版本号主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '11519',
+ ],
+ [
+ 'apiName' => 'CheckTaskGroupName',
+ 'description' => '任务组名称唯一性校验',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:CheckTaskGroupName',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'previousRuleVersionId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '策略上一个版本号主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '11518',
+ ],
+ [
+ 'apiName' => 'DeepCopyRule',
+ 'description' => '策略复制',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'regId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
+ ],
+ [
+ 'apiName' => 'DescribeSampleSceneList',
+ 'description' => '查询场景列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'Schema of Response',
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
- 'resultObject' => [
- 'description' => '返回对象。',
- 'type' => 'object',
- 'properties' => [
- 'oldRule' => [
- 'description' => '旧策略对象。',
- 'type' => 'object',
- 'properties' => [
- 'memo' => [
- 'description' => '描述。',
- 'type' => 'string',
- 'example' => '鸿蒙元服务_交费业务',
- ],
- 'ruleActionMap' => [
- 'description' => '返回的规则动作结构体。策略类型为DEFAULT时返回。',
- 'type' => 'object',
- 'example' => '{'."\n"
- .' "TAG": "[{\\"code\\":\\"addDeTags\\",\\"inputs\\":[\\"test\\"],\\"description\\":\\"打标签\\",\\"type\\":\\"ACTION\\",\\"title\\":\\"打标签\\",\\"actionType\\":\\"TAG\\",\\"displayType\\":\\"ACTION\\",\\"sourceType\\":\\"SAF\\",\\"name\\":\\"__addDeTags__\\",\\"fieldType\\":\\"STRING\\"}]"'."\n"
- .'}',
- ],
- 'version' => [
- 'description' => '版本号。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2',
- ],
- 'gmtCreate' => [
- 'description' => '创建时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1760670462000',
- ],
- 'ruleStatus' => [
- 'description' => '策略状态。',
- 'type' => 'string',
- 'example' => 'RUNNING',
- ],
- 'ruleExpressions' => [
- 'description' => '策略表达式。策略类型为DEFAULT时返回。',
- 'type' => 'string',
- 'example' => '[{\\"expressionName\\":\\"设备token不为空\\",\\"itemId\\":1,\\"left\\":{\\"name\\":\\"deviceToken\\"},\\"operatorCode\\":\\"isNotEmptyWrapper\\",\\"operatorName\\":\\"不为空\\"}]',
- ],
- 'gmtModified' => [
- 'description' => '修改时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1760670462000',
- ],
- 'eventName' => [
- 'description' => '事件名称。',
- 'type' => 'string',
- 'example' => '注册_事件',
- ],
- 'ruleName' => [
- 'description' => '策略名称。',
- 'type' => 'string',
- 'example' => '返回设备信息',
- ],
- 'logicExpression' => [
- 'description' => '策略表达式执行逻辑。',
- 'type' => 'string',
- 'example' => '1&2',
- ],
- 'consoleRuleId' => [
- 'description' => '策略主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '6760',
- ],
- 'ruleId' => [
- 'description' => '策略ID。',
- 'type' => 'string',
- 'example' => '101793',
- ],
- 'ruleVersionId' => [
- 'description' => '策略版本号主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '11518',
- ],
- 'mainEventCode' => [
- 'description' => '主事件code。',
- 'type' => 'string',
- 'example' => 'de_asssce8122',
- ],
- 'eventCode' => [
- 'description' => '事件编码。',
- 'type' => 'string',
- 'example' => 'de_asssce8122',
- ],
- 'ruleActions' => [
- 'description' => '策略执行输出动作。策略类型为DEFAULT时返回。',
- 'type' => 'string',
- 'example' => '['."\n"
- .' {'."\n"
- .' "actionType": "TAG",'."\n"
- .' "code": "addDeTags",'."\n"
- .' "description": "打标签",'."\n"
- .' "displayType": "ACTION",'."\n"
- .' "fieldType": "STRING",'."\n"
- .' "inputs": ['."\n"
- .' "test"'."\n"
- .' ],'."\n"
- .' "name": "__addDeTags__",'."\n"
- .' "sourceType": "SAF",'."\n"
- .' "title": "打标签",'."\n"
- .' "type": "ACTION"'."\n"
- .' }'."\n"
- .']',
- ],
- 'ruleBody' => [
- 'description' => 'DSL策略执行逻辑。 策略类型为DSL时返回。',
- 'type' => 'string',
- 'example' => '{'."\n"
- .' "elseStatement": {'."\n"
- ."\n"
- .' },'."\n"
- .' "ifStatement": {'."\n"
- .' "condition": {'."\n"
- .' "currentId": 0,'."\n"
- .' "deepCount": 1,'."\n"
- .' "list": ['."\n"
- .' {'."\n"
- .' "sequence": 1,'."\n"
- .' "left": {'."\n"
- .' "displayType": "NATIVE",'."\n"
- .' "code": "ip",'."\n"
- .' "functionCode": "",'."\n"
- .' "functionName": "",'."\n"
- .' "name": "ip",'."\n"
- .' "description": "IP地址",'."\n"
- .' "hasRightVariable": true,'."\n"
- .' "title": "IP地址",'."\n"
- .' "type": "NATIVE",'."\n"
- .' "fieldType": "STRING"'."\n"
- .' },'."\n"
- .' "currentId": 0,'."\n"
- .' "deepCount": 1,'."\n"
- .' "right": {'."\n"
- .' "name": "192.168.1.1",'."\n"
- .' "rightVariableType": "constant"'."\n"
- .' },'."\n"
- .' "operatorCode": "equals",'."\n"
- .' "operatorName": "等于",'."\n"
- .' "parentId": 0'."\n"
- .' }'."\n"
- .' ],'."\n"
- .' "relationship": "and",'."\n"
- .' "parentId": 0'."\n"
- .' },'."\n"
- .' "then": ['."\n"
- .' {'."\n"
- .' "actionType": "TAG",'."\n"
- .' "displayType": "ACTION",'."\n"
- .' "code": "addDeTags",'."\n"
- .' "sourceType": "SAF",'."\n"
- .' "inputs": ['."\n"
- .' "10"'."\n"
- .' ],'."\n"
- .' "name": "__addDeTags__",'."\n"
- .' "description": "打标签",'."\n"
- .' "outputType": "const",'."\n"
- .' "title": "打标签",'."\n"
- .' "type": "ACTION",'."\n"
- .' "fieldType": "STRING"'."\n"
- .' }'."\n"
- .' ],'."\n"
- .' "expressions": ['."\n"
- .' {'."\n"
- .' "itemId": 1,'."\n"
- .' "left": {'."\n"
- .' "displayType": "NATIVE",'."\n"
- .' "code": "ip",'."\n"
- .' "functionCode": "",'."\n"
- .' "functionName": "",'."\n"
- .' "name": "ip",'."\n"
- .' "description": "IP地址",'."\n"
- .' "hasRightVariable": true,'."\n"
- .' "title": "IP地址",'."\n"
- .' "type": "NATIVE",'."\n"
- .' "fieldType": "STRING"'."\n"
- .' },'."\n"
- .' "expressionName": "IP地址 等于 192.168.1.1",'."\n"
- .' "rightValue": "192.168.1.1",'."\n"
- .' "right": {'."\n"
- .' "name": "192.168.1.1",'."\n"
- .' "fieldValue": "192.168.1.1"'."\n"
- .' },'."\n"
- .' "operatorCode": "equals",'."\n"
- .' "operatorName": "等于"'."\n"
- .' }'."\n"
- .' ]'."\n"
- .' },'."\n"
- .' "elseIfStatement": ['."\n"
- ."\n"
- .' ]'."\n"
- .'}',
- ],
- 'ruleType' => [
- 'description' => '策略类型。',
- 'type' => 'string',
- 'example' => 'DSL',
- ],
- 'ruleAuthType' => [
- 'description' => '策略授权类型。',
- 'type' => 'string',
- 'example' => 'NORMAL',
- ],
- 'createType' => [
- 'description' => '创建类型。',
- 'type' => 'string',
- 'example' => 'NORMAL',
- ],
- 'authType' => [
- 'description' => '授权类型。',
- 'type' => 'string',
- 'example' => 'all',
- ],
- 'auditId' => [
- 'description' => '审批ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '257',
- ],
- 'userId' => [
- 'description' => '用户uid。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '151222xxxxxxxxx',
- ],
- ],
- ],
- 'newRule' => [
- 'description' => '新策略对象。',
- 'type' => 'object',
- 'properties' => [
- 'memo' => [
- 'description' => '备注。',
- 'type' => 'string',
- 'example' => '鸿蒙元服务_交费业务',
- ],
- 'ruleActionMap' => [
- 'description' => '返回的规则动作结构体。策略类型为DEFAULT时返回。',
- 'type' => 'object',
- 'example' => '{'."\n"
- .' "TAG": "[{\\"code\\":\\"addDeTags\\",\\"inputs\\":[\\"test\\"],\\"description\\":\\"打标签\\",\\"type\\":\\"ACTION\\",\\"title\\":\\"打标签\\",\\"actionType\\":\\"TAG\\",\\"displayType\\":\\"ACTION\\",\\"sourceType\\":\\"SAF\\",\\"name\\":\\"__addDeTags__\\",\\"fieldType\\":\\"STRING\\"}]"'."\n"
- .'}',
- ],
- 'version' => [
- 'description' => '版本号。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '3',
- ],
- 'gmtCreate' => [
- 'description' => '创建时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1760670462000',
- ],
- 'ruleStatus' => [
- 'description' => '策略状态。',
- 'type' => 'string',
- 'example' => 'DRAFT',
- ],
- 'ruleExpressions' => [
- 'description' => '策略表达式。策略类型为DEFAULT时返回。',
- 'type' => 'string',
- 'example' => '[{\\"expressionName\\":\\"设备token不为空\\",\\"itemId\\":1,\\"left\\":{\\"name\\":\\"deviceToken\\"},\\"operatorCode\\":\\"isNotEmptyWrapper\\",\\"operatorName\\":\\"不为空\\"}]',
- ],
- 'gmtModified' => [
- 'description' => '修改时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1761196952000',
- ],
- 'eventName' => [
- 'description' => '事件名称。',
- 'type' => 'string',
- 'example' => '注册_事件'."\n",
- ],
- 'ruleName' => [
- 'description' => '策略名称。',
- 'type' => 'string',
- 'example' => '返回设备信息'."\n",
- ],
- 'logicExpression' => [
- 'description' => '策略表达式执行逻辑。',
- 'type' => 'string',
- 'example' => '1&2&3',
- ],
- 'consoleRuleId' => [
- 'description' => '策略主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '6760',
- ],
- 'ruleId' => [
- 'description' => '策略ID。',
- 'type' => 'string',
- 'example' => '101793'."\n",
- ],
- 'ruleVersionId' => [
- 'description' => '策略版本号主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '11519',
- ],
- 'mainEventCode' => [
- 'description' => '主事件code。',
- 'type' => 'string',
- 'example' => 'de_asssce8122',
- ],
- 'eventCode' => [
- 'description' => '事件编码。',
- 'type' => 'string',
- 'example' => 'de_asssce8122',
- ],
- 'ruleActions' => [
- 'description' => '策略执行输出动作。策略类型为DEFAULT时返回。',
- 'type' => 'string',
- 'example' => '['."\n"
- .' {'."\n"
- .' "actionType": "TAG",'."\n"
- .' "code": "addDeTags",'."\n"
- .' "description": "打标签",'."\n"
- .' "displayType": "ACTION",'."\n"
- .' "fieldType": "STRING",'."\n"
- .' "inputs": ['."\n"
- .' "test"'."\n"
- .' ],'."\n"
- .' "name": "__addDeTags__",'."\n"
- .' "sourceType": "SAF",'."\n"
- .' "title": "打标签",'."\n"
- .' "type": "ACTION"'."\n"
- .' }'."\n"
- .']',
- ],
- 'ruleBody' => [
- 'description' => 'DSL策略执行逻辑。 策略类型为DSL时返回。',
- 'type' => 'string',
- 'example' => '{'."\n"
- .' "elseStatement": {'."\n"
- ."\n"
- .' },'."\n"
- .' "ifStatement": {'."\n"
- .' "condition": {'."\n"
- .' "currentId": 0,'."\n"
- .' "deepCount": 1,'."\n"
- .' "list": ['."\n"
- .' {'."\n"
- .' "sequence": 1,'."\n"
- .' "left": {'."\n"
- .' "displayType": "NATIVE",'."\n"
- .' "code": "ip",'."\n"
- .' "functionCode": "",'."\n"
- .' "functionName": "",'."\n"
- .' "name": "ip",'."\n"
- .' "description": "IP地址",'."\n"
- .' "hasRightVariable": true,'."\n"
- .' "title": "IP地址",'."\n"
- .' "type": "NATIVE",'."\n"
- .' "fieldType": "STRING"'."\n"
- .' },'."\n"
- .' "currentId": 0,'."\n"
- .' "deepCount": 1,'."\n"
- .' "right": {'."\n"
- .' "name": "192.168.1.1",'."\n"
- .' "rightVariableType": "constant"'."\n"
- .' },'."\n"
- .' "operatorCode": "equals",'."\n"
- .' "operatorName": "等于",'."\n"
- .' "parentId": 0'."\n"
- .' }'."\n"
- .' ],'."\n"
- .' "relationship": "and",'."\n"
- .' "parentId": 0'."\n"
- .' },'."\n"
- .' "then": ['."\n"
- .' {'."\n"
- .' "actionType": "TAG",'."\n"
- .' "displayType": "ACTION",'."\n"
- .' "code": "addDeTags",'."\n"
- .' "sourceType": "SAF",'."\n"
- .' "inputs": ['."\n"
- .' "10"'."\n"
- .' ],'."\n"
- .' "name": "__addDeTags__",'."\n"
- .' "description": "打标签",'."\n"
- .' "outputType": "const",'."\n"
- .' "title": "打标签",'."\n"
- .' "type": "ACTION",'."\n"
- .' "fieldType": "STRING"'."\n"
- .' }'."\n"
- .' ],'."\n"
- .' "expressions": ['."\n"
- .' {'."\n"
- .' "itemId": 1,'."\n"
- .' "left": {'."\n"
- .' "displayType": "NATIVE",'."\n"
- .' "code": "ip",'."\n"
- .' "functionCode": "",'."\n"
- .' "functionName": "",'."\n"
- .' "name": "ip",'."\n"
- .' "description": "IP地址",'."\n"
- .' "hasRightVariable": true,'."\n"
- .' "title": "IP地址",'."\n"
- .' "type": "NATIVE",'."\n"
- .' "fieldType": "STRING"'."\n"
- .' },'."\n"
- .' "expressionName": "IP地址 等于 192.168.1.1",'."\n"
- .' "rightValue": "192.168.1.1",'."\n"
- .' "right": {'."\n"
- .' "name": "192.168.1.1",'."\n"
- .' "fieldValue": "192.168.1.1"'."\n"
- .' },'."\n"
- .' "operatorCode": "equals",'."\n"
- .' "operatorName": "等于"'."\n"
- .' }'."\n"
- .' ]'."\n"
- .' },'."\n"
- .' "elseIfStatement": ['."\n"
- ."\n"
- .' ]'."\n"
- .'}',
- ],
- 'ruleType' => [
- 'description' => '策略类型。',
- 'type' => 'string',
- 'example' => 'DSL',
- ],
- 'ruleAuthType' => [
- 'description' => '策略授权类型。',
- 'type' => 'string',
- 'example' => 'NORMAL',
- ],
- 'createType' => [
- 'description' => '创建类型。',
- 'type' => 'string',
- 'example' => 'NORMAL',
- ],
- 'authType' => [
- 'description' => '授权类型。',
- 'type' => 'string',
- 'example' => 'all',
- ],
- 'auditId' => [
- 'description' => '审批ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '258',
- ],
- 'userId' => [
- 'description' => '用户uid。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '151222xxxxxxxxx'."\n",
- ],
- ],
- ],
- ],
- ],
- ],
+ [
+ 'apiName' => 'DescribeSampleDataByBatchUUidPage',
+ 'description' => '样本名单列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:DescribeSampleDataByBatchUUidPage',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ [
+ 'apiName' => 'DescribeDecisionResultFluctuation',
+ 'description' => '决策结果波动检测',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"resultObject\\": {\\n \\"oldRule\\": {\\n \\"memo\\": \\"鸿蒙元服务_交费业务\\",\\n \\"ruleActionMap\\": {\\n \\"TAG\\": \\"[{\\\\\\"code\\\\\\":\\\\\\"addDeTags\\\\\\",\\\\\\"inputs\\\\\\":[\\\\\\"test\\\\\\"],\\\\\\"description\\\\\\":\\\\\\"打标签\\\\\\",\\\\\\"type\\\\\\":\\\\\\"ACTION\\\\\\",\\\\\\"title\\\\\\":\\\\\\"打标签\\\\\\",\\\\\\"actionType\\\\\\":\\\\\\"TAG\\\\\\",\\\\\\"displayType\\\\\\":\\\\\\"ACTION\\\\\\",\\\\\\"sourceType\\\\\\":\\\\\\"SAF\\\\\\",\\\\\\"name\\\\\\":\\\\\\"__addDeTags__\\\\\\",\\\\\\"fieldType\\\\\\":\\\\\\"STRING\\\\\\"}]\\"\\n },\\n \\"version\\": 2,\\n \\"gmtCreate\\": 1760670462000,\\n \\"ruleStatus\\": \\"RUNNING\\",\\n \\"ruleExpressions\\": \\"[{\\\\\\\\\\\\\\"expressionName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"设备token不为空\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"itemId\\\\\\\\\\\\\\":1,\\\\\\\\\\\\\\"left\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"deviceToken\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"operatorCode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"isNotEmptyWrapper\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"operatorName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"不为空\\\\\\\\\\\\\\"}]\\",\\n \\"gmtModified\\": 1760670462000,\\n \\"eventName\\": \\"注册_事件\\",\\n \\"ruleName\\": \\"返回设备信息\\",\\n \\"logicExpression\\": \\"1&2\\",\\n \\"consoleRuleId\\": 6760,\\n \\"ruleId\\": \\"101793\\",\\n \\"ruleVersionId\\": 11518,\\n \\"mainEventCode\\": \\"de_asssce8122\\",\\n \\"eventCode\\": \\"de_asssce8122\\",\\n \\"ruleActions\\": \\"[\\\\n {\\\\n \\\\\\"actionType\\\\\\": \\\\\\"TAG\\\\\\",\\\\n \\\\\\"code\\\\\\": \\\\\\"addDeTags\\\\\\",\\\\n \\\\\\"description\\\\\\": \\\\\\"打标签\\\\\\",\\\\n \\\\\\"displayType\\\\\\": \\\\\\"ACTION\\\\\\",\\\\n \\\\\\"fieldType\\\\\\": \\\\\\"STRING\\\\\\",\\\\n \\\\\\"inputs\\\\\\": [\\\\n \\\\\\"test\\\\\\"\\\\n ],\\\\n \\\\\\"name\\\\\\": \\\\\\"__addDeTags__\\\\\\",\\\\n \\\\\\"sourceType\\\\\\": \\\\\\"SAF\\\\\\",\\\\n \\\\\\"title\\\\\\": \\\\\\"打标签\\\\\\",\\\\n \\\\\\"type\\\\\\": \\\\\\"ACTION\\\\\\"\\\\n }\\\\n]\\",\\n \\"ruleBody\\": \\"{\\\\n \\\\\\"elseStatement\\\\\\": {\\\\n\\\\n },\\\\n \\\\\\"ifStatement\\\\\\": {\\\\n \\\\\\"condition\\\\\\": {\\\\n \\\\\\"currentId\\\\\\": 0,\\\\n \\\\\\"deepCount\\\\\\": 1,\\\\n \\\\\\"list\\\\\\": [\\\\n {\\\\n \\\\\\"sequence\\\\\\": 1,\\\\n \\\\\\"left\\\\\\": {\\\\n \\\\\\"displayType\\\\\\": \\\\\\"NATIVE\\\\\\",\\\\n \\\\\\"code\\\\\\": \\\\\\"ip\\\\\\",\\\\n \\\\\\"functionCode\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"functionName\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"name\\\\\\": \\\\\\"ip\\\\\\",\\\\n \\\\\\"description\\\\\\": \\\\\\"IP地址\\\\\\",\\\\n \\\\\\"hasRightVariable\\\\\\": true,\\\\n \\\\\\"title\\\\\\": \\\\\\"IP地址\\\\\\",\\\\n \\\\\\"type\\\\\\": \\\\\\"NATIVE\\\\\\",\\\\n \\\\\\"fieldType\\\\\\": \\\\\\"STRING\\\\\\"\\\\n },\\\\n \\\\\\"currentId\\\\\\": 0,\\\\n \\\\\\"deepCount\\\\\\": 1,\\\\n \\\\\\"right\\\\\\": {\\\\n \\\\\\"name\\\\\\": \\\\\\"192.168.1.1\\\\\\",\\\\n \\\\\\"rightVariableType\\\\\\": \\\\\\"constant\\\\\\"\\\\n },\\\\n \\\\\\"operatorCode\\\\\\": \\\\\\"equals\\\\\\",\\\\n \\\\\\"operatorName\\\\\\": \\\\\\"等于\\\\\\",\\\\n \\\\\\"parentId\\\\\\": 0\\\\n }\\\\n ],\\\\n \\\\\\"relationship\\\\\\": \\\\\\"and\\\\\\",\\\\n \\\\\\"parentId\\\\\\": 0\\\\n },\\\\n \\\\\\"then\\\\\\": [\\\\n {\\\\n \\\\\\"actionType\\\\\\": \\\\\\"TAG\\\\\\",\\\\n \\\\\\"displayType\\\\\\": \\\\\\"ACTION\\\\\\",\\\\n \\\\\\"code\\\\\\": \\\\\\"addDeTags\\\\\\",\\\\n \\\\\\"sourceType\\\\\\": \\\\\\"SAF\\\\\\",\\\\n \\\\\\"inputs\\\\\\": [\\\\n \\\\\\"10\\\\\\"\\\\n ],\\\\n \\\\\\"name\\\\\\": \\\\\\"__addDeTags__\\\\\\",\\\\n \\\\\\"description\\\\\\": \\\\\\"打标签\\\\\\",\\\\n \\\\\\"outputType\\\\\\": \\\\\\"const\\\\\\",\\\\n \\\\\\"title\\\\\\": \\\\\\"打标签\\\\\\",\\\\n \\\\\\"type\\\\\\": \\\\\\"ACTION\\\\\\",\\\\n \\\\\\"fieldType\\\\\\": \\\\\\"STRING\\\\\\"\\\\n }\\\\n ],\\\\n \\\\\\"expressions\\\\\\": [\\\\n {\\\\n \\\\\\"itemId\\\\\\": 1,\\\\n \\\\\\"left\\\\\\": {\\\\n \\\\\\"displayType\\\\\\": \\\\\\"NATIVE\\\\\\",\\\\n \\\\\\"code\\\\\\": \\\\\\"ip\\\\\\",\\\\n \\\\\\"functionCode\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"functionName\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"name\\\\\\": \\\\\\"ip\\\\\\",\\\\n \\\\\\"description\\\\\\": \\\\\\"IP地址\\\\\\",\\\\n \\\\\\"hasRightVariable\\\\\\": true,\\\\n \\\\\\"title\\\\\\": \\\\\\"IP地址\\\\\\",\\\\n \\\\\\"type\\\\\\": \\\\\\"NATIVE\\\\\\",\\\\n \\\\\\"fieldType\\\\\\": \\\\\\"STRING\\\\\\"\\\\n },\\\\n \\\\\\"expressionName\\\\\\": \\\\\\"IP地址 等于 192.168.1.1\\\\\\",\\\\n \\\\\\"rightValue\\\\\\": \\\\\\"192.168.1.1\\\\\\",\\\\n \\\\\\"right\\\\\\": {\\\\n \\\\\\"name\\\\\\": \\\\\\"192.168.1.1\\\\\\",\\\\n \\\\\\"fieldValue\\\\\\": \\\\\\"192.168.1.1\\\\\\"\\\\n },\\\\n \\\\\\"operatorCode\\\\\\": \\\\\\"equals\\\\\\",\\\\n \\\\\\"operatorName\\\\\\": \\\\\\"等于\\\\\\"\\\\n }\\\\n ]\\\\n },\\\\n \\\\\\"elseIfStatement\\\\\\": [\\\\n\\\\n ]\\\\n}\\",\\n \\"ruleType\\": \\"DSL\\",\\n \\"ruleAuthType\\": \\"NORMAL\\",\\n \\"createType\\": \\"NORMAL\\",\\n \\"authType\\": \\"all\\",\\n \\"auditId\\": 257,\\n \\"userId\\": 0\\n },\\n \\"newRule\\": {\\n \\"memo\\": \\"鸿蒙元服务_交费业务\\",\\n \\"ruleActionMap\\": {\\n \\"TAG\\": \\"[{\\\\\\"code\\\\\\":\\\\\\"addDeTags\\\\\\",\\\\\\"inputs\\\\\\":[\\\\\\"test\\\\\\"],\\\\\\"description\\\\\\":\\\\\\"打标签\\\\\\",\\\\\\"type\\\\\\":\\\\\\"ACTION\\\\\\",\\\\\\"title\\\\\\":\\\\\\"打标签\\\\\\",\\\\\\"actionType\\\\\\":\\\\\\"TAG\\\\\\",\\\\\\"displayType\\\\\\":\\\\\\"ACTION\\\\\\",\\\\\\"sourceType\\\\\\":\\\\\\"SAF\\\\\\",\\\\\\"name\\\\\\":\\\\\\"__addDeTags__\\\\\\",\\\\\\"fieldType\\\\\\":\\\\\\"STRING\\\\\\"}]\\"\\n },\\n \\"version\\": 3,\\n \\"gmtCreate\\": 1760670462000,\\n \\"ruleStatus\\": \\"DRAFT\\",\\n \\"ruleExpressions\\": \\"[{\\\\\\\\\\\\\\"expressionName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"设备token不为空\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"itemId\\\\\\\\\\\\\\":1,\\\\\\\\\\\\\\"left\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"deviceToken\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"operatorCode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"isNotEmptyWrapper\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"operatorName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"不为空\\\\\\\\\\\\\\"}]\\",\\n \\"gmtModified\\": 1761196952000,\\n \\"eventName\\": \\"注册_事件\\\\n\\",\\n \\"ruleName\\": \\"返回设备信息\\\\n\\",\\n \\"logicExpression\\": \\"1&2&3\\",\\n \\"consoleRuleId\\": 6760,\\n \\"ruleId\\": \\"101793\\\\n\\",\\n \\"ruleVersionId\\": 11519,\\n \\"mainEventCode\\": \\"de_asssce8122\\",\\n \\"eventCode\\": \\"de_asssce8122\\",\\n \\"ruleActions\\": \\"[\\\\n {\\\\n \\\\\\"actionType\\\\\\": \\\\\\"TAG\\\\\\",\\\\n \\\\\\"code\\\\\\": \\\\\\"addDeTags\\\\\\",\\\\n \\\\\\"description\\\\\\": \\\\\\"打标签\\\\\\",\\\\n \\\\\\"displayType\\\\\\": \\\\\\"ACTION\\\\\\",\\\\n \\\\\\"fieldType\\\\\\": \\\\\\"STRING\\\\\\",\\\\n \\\\\\"inputs\\\\\\": [\\\\n \\\\\\"test\\\\\\"\\\\n ],\\\\n \\\\\\"name\\\\\\": \\\\\\"__addDeTags__\\\\\\",\\\\n \\\\\\"sourceType\\\\\\": \\\\\\"SAF\\\\\\",\\\\n \\\\\\"title\\\\\\": \\\\\\"打标签\\\\\\",\\\\n \\\\\\"type\\\\\\": \\\\\\"ACTION\\\\\\"\\\\n }\\\\n]\\",\\n \\"ruleBody\\": \\"{\\\\n \\\\\\"elseStatement\\\\\\": {\\\\n\\\\n },\\\\n \\\\\\"ifStatement\\\\\\": {\\\\n \\\\\\"condition\\\\\\": {\\\\n \\\\\\"currentId\\\\\\": 0,\\\\n \\\\\\"deepCount\\\\\\": 1,\\\\n \\\\\\"list\\\\\\": [\\\\n {\\\\n \\\\\\"sequence\\\\\\": 1,\\\\n \\\\\\"left\\\\\\": {\\\\n \\\\\\"displayType\\\\\\": \\\\\\"NATIVE\\\\\\",\\\\n \\\\\\"code\\\\\\": \\\\\\"ip\\\\\\",\\\\n \\\\\\"functionCode\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"functionName\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"name\\\\\\": \\\\\\"ip\\\\\\",\\\\n \\\\\\"description\\\\\\": \\\\\\"IP地址\\\\\\",\\\\n \\\\\\"hasRightVariable\\\\\\": true,\\\\n \\\\\\"title\\\\\\": \\\\\\"IP地址\\\\\\",\\\\n \\\\\\"type\\\\\\": \\\\\\"NATIVE\\\\\\",\\\\n \\\\\\"fieldType\\\\\\": \\\\\\"STRING\\\\\\"\\\\n },\\\\n \\\\\\"currentId\\\\\\": 0,\\\\n \\\\\\"deepCount\\\\\\": 1,\\\\n \\\\\\"right\\\\\\": {\\\\n \\\\\\"name\\\\\\": \\\\\\"192.168.1.1\\\\\\",\\\\n \\\\\\"rightVariableType\\\\\\": \\\\\\"constant\\\\\\"\\\\n },\\\\n \\\\\\"operatorCode\\\\\\": \\\\\\"equals\\\\\\",\\\\n \\\\\\"operatorName\\\\\\": \\\\\\"等于\\\\\\",\\\\n \\\\\\"parentId\\\\\\": 0\\\\n }\\\\n ],\\\\n \\\\\\"relationship\\\\\\": \\\\\\"and\\\\\\",\\\\n \\\\\\"parentId\\\\\\": 0\\\\n },\\\\n \\\\\\"then\\\\\\": [\\\\n {\\\\n \\\\\\"actionType\\\\\\": \\\\\\"TAG\\\\\\",\\\\n \\\\\\"displayType\\\\\\": \\\\\\"ACTION\\\\\\",\\\\n \\\\\\"code\\\\\\": \\\\\\"addDeTags\\\\\\",\\\\n \\\\\\"sourceType\\\\\\": \\\\\\"SAF\\\\\\",\\\\n \\\\\\"inputs\\\\\\": [\\\\n \\\\\\"10\\\\\\"\\\\n ],\\\\n \\\\\\"name\\\\\\": \\\\\\"__addDeTags__\\\\\\",\\\\n \\\\\\"description\\\\\\": \\\\\\"打标签\\\\\\",\\\\n \\\\\\"outputType\\\\\\": \\\\\\"const\\\\\\",\\\\n \\\\\\"title\\\\\\": \\\\\\"打标签\\\\\\",\\\\n \\\\\\"type\\\\\\": \\\\\\"ACTION\\\\\\",\\\\n \\\\\\"fieldType\\\\\\": \\\\\\"STRING\\\\\\"\\\\n }\\\\n ],\\\\n \\\\\\"expressions\\\\\\": [\\\\n {\\\\n \\\\\\"itemId\\\\\\": 1,\\\\n \\\\\\"left\\\\\\": {\\\\n \\\\\\"displayType\\\\\\": \\\\\\"NATIVE\\\\\\",\\\\n \\\\\\"code\\\\\\": \\\\\\"ip\\\\\\",\\\\n \\\\\\"functionCode\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"functionName\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"name\\\\\\": \\\\\\"ip\\\\\\",\\\\n \\\\\\"description\\\\\\": \\\\\\"IP地址\\\\\\",\\\\n \\\\\\"hasRightVariable\\\\\\": true,\\\\n \\\\\\"title\\\\\\": \\\\\\"IP地址\\\\\\",\\\\n \\\\\\"type\\\\\\": \\\\\\"NATIVE\\\\\\",\\\\n \\\\\\"fieldType\\\\\\": \\\\\\"STRING\\\\\\"\\\\n },\\\\n \\\\\\"expressionName\\\\\\": \\\\\\"IP地址 等于 192.168.1.1\\\\\\",\\\\n \\\\\\"rightValue\\\\\\": \\\\\\"192.168.1.1\\\\\\",\\\\n \\\\\\"right\\\\\\": {\\\\n \\\\\\"name\\\\\\": \\\\\\"192.168.1.1\\\\\\",\\\\n \\\\\\"fieldValue\\\\\\": \\\\\\"192.168.1.1\\\\\\"\\\\n },\\\\n \\\\\\"operatorCode\\\\\\": \\\\\\"equals\\\\\\",\\\\n \\\\\\"operatorName\\\\\\": \\\\\\"等于\\\\\\"\\\\n }\\\\n ]\\\\n },\\\\n \\\\\\"elseIfStatement\\\\\\": [\\\\n\\\\n ]\\\\n}\\",\\n \\"ruleType\\": \\"DSL\\",\\n \\"ruleAuthType\\": \\"NORMAL\\",\\n \\"createType\\": \\"NORMAL\\",\\n \\"authType\\": \\"all\\",\\n \\"auditId\\": 258,\\n \\"userId\\": 0\\n }\\n }\\n}","type":"json"}]',
- 'title' => '策略版本对比',
- ],
- 'DescribeExpressionVariableVersionDetail' => [
- 'summary' => '自定义变量版本详情信息查询。',
- 'methods' => [
- 'get',
- 'post',
+ [
+ 'apiName' => 'DescribeRiskTagsLineChart',
+ 'description' => '标签命中率 标签命中维度',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ [
+ 'apiName' => 'DescribeSimulationTaskList',
+ 'description' => '任务列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'security' => [
- [
- 'AK' => [],
+ [
+ 'apiName' => 'GetSampleDetail',
+ 'description' => '获取样本详情',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:GetSampleDetail',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
- 'operationType' => 'read',
- 'deprecated' => false,
- 'systemTags' => [
+ [
+ 'apiName' => 'CreateAppKey',
+ 'description' => '创建appKey',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeVariableFee',
+ 'description' => '查询变量收费信息',
'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREsafBCGX2Z',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
- 'tenantRelevance' => 'tenant',
],
- 'parameters' => [
- [
- 'name' => 'Lang',
- 'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
+ [
+ 'apiName' => 'CheckFieldLimit',
+ 'description' => '校验字段数目是否操过限定值',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'regId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
+ ],
+ [
+ 'apiName' => 'ImportField',
+ 'description' => '批量导入字段',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'type',
- 'in' => 'query',
- 'schema' => [
- 'description' => '变量类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'EXPRESSION',
+ ],
+ [
+ 'apiName' => 'ModifyCustVariable',
+ 'description' => '修改累计变量',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'objectId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '关联变量主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '397625',
+ ],
+ [
+ 'apiName' => 'DescribeRiskLineChart',
+ 'description' => '风险地图折线图',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'objectCode',
- 'in' => 'query',
- 'schema' => [
- 'description' => '关联变量code。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ex_0kWIfZ27c525',
+ ],
+ [
+ 'apiName' => 'DescribeEventTaskHistory',
+ 'description' => '查询策略下载列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'version',
- 'in' => 'query',
- 'schema' => [
- 'description' => '版本号。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '2',
+ ],
+ [
+ 'apiName' => 'DescribeFieldPage',
+ 'description' => '字段分页列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'Schema of Response',
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
- 'resultObject' => [
- 'description' => '返回对象。',
- 'type' => 'object',
- 'properties' => [
- 'id' => [
- 'description' => '自定义变量主键。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '397625',
- ],
- 'gmtCreate' => [
- 'description' => '创建时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1762409015000',
- ],
- 'gmtModified' => [
- 'description' => '修改时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1762409026000',
- ],
- 'userId' => [
- 'description' => '用户uid。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '151222xxxxxxxxxx',
- ],
- 'name' => [
- 'description' => '变量name,自动生成的唯一标识。',
- 'type' => 'string',
- 'example' => 'ex_0kWIfZ27c525',
- ],
- 'title' => [
- 'description' => '变量标题。',
- 'type' => 'string',
- 'example' => '年龄',
- ],
- 'description' => [
- 'description' => '描述信息。',
- 'type' => 'string',
- 'example' => '变量描述',
- ],
- 'type' => [
- 'description' => '变量类型。',
- 'type' => 'string',
- 'example' => 'EXPRESSION',
- ],
- 'outputs' => [
- 'description' => '变量返回类型。',
- 'type' => 'string',
- 'example' => 'EXPRESSION',
- ],
- 'refObjType' => [
- 'description' => '变量关联类型。',
- 'type' => 'string',
- 'example' => 'EVENT_BY_EXPRESSION',
- ],
- 'refObjId' => [
- 'description' => '变量关联事件。',
- 'type' => 'string',
- 'example' => 'de_awkhwh0314',
- ],
- 'version' => [
- 'description' => '变量版本。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2',
- ],
- 'invokeKey' => [
- 'description' => '调用key。',
- 'type' => 'string',
- 'example' => 'deInvokeSelfVariable_v1',
- ],
- 'status' => [
- 'description' => '状态。',
- 'type' => 'string',
- 'example' => 'ENABLE',
- ],
- 'sourceType' => [
- 'description' => '来源类型。',
- 'type' => 'string',
- 'example' => 'SAF',
- ],
- 'fieldRank' => [
- 'description' => '字段排序。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'region' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'example' => 'cn-hangzhou',
- ],
- 'createType' => [
- 'description' => '创建类型。',
- 'type' => 'string',
- 'example' => 'MORMAL',
- ],
- 'expression' => [
- 'description' => '表达式。',
- 'type' => 'string',
- 'example' => '@ex_GX9rrlTq4b67 + 1001',
- ],
- 'expressionTitle' => [
- 'description' => '表达式名称。',
- 'type' => 'string',
- 'example' => '@selfvariable_02 + 1001',
- ],
- 'expressionVariable' => [
- 'description' => '表达式变量。',
- 'type' => 'string',
- 'example' => 'ex_GX9rrlTq4b67',
- ],
- 'outlier' => [
- 'description' => '异常值。',
- 'type' => 'string',
- 'example' => 'SYS_ERROR',
- ],
- ],
- ],
- ],
+ [
+ 'apiName' => 'DescribeScoreSectionPieChart',
+ 'description' => '主事件/旁路事件/分流事件分值区间占比饼图',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ [
+ 'apiName' => 'DescribeSupportRuleList',
+ 'description' => '查询支持仿真的策略列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"resultObject\\": {\\n \\"id\\": 397625,\\n \\"gmtCreate\\": 1762409015000,\\n \\"gmtModified\\": 1762409026000,\\n \\"userId\\": 0,\\n \\"name\\": \\"ex_0kWIfZ27c525\\",\\n \\"title\\": \\"年龄\\",\\n \\"description\\": \\"变量描述\\",\\n \\"type\\": \\"EXPRESSION\\",\\n \\"outputs\\": \\"EXPRESSION\\",\\n \\"refObjType\\": \\"EVENT_BY_EXPRESSION\\",\\n \\"refObjId\\": \\"de_awkhwh0314\\",\\n \\"version\\": 2,\\n \\"invokeKey\\": \\"deInvokeSelfVariable_v1\\",\\n \\"status\\": \\"ENABLE\\",\\n \\"sourceType\\": \\"SAF\\",\\n \\"fieldRank\\": 0,\\n \\"region\\": \\"cn-hangzhou\\",\\n \\"createType\\": \\"MORMAL\\",\\n \\"expression\\": \\"@ex_GX9rrlTq4b67 + 1001\\",\\n \\"expressionTitle\\": \\"@selfvariable_02 + 1001\\",\\n \\"expressionVariable\\": \\"ex_GX9rrlTq4b67\\",\\n \\"outlier\\": \\"SYS_ERROR\\"\\n }\\n}","type":"json"}]',
- 'title' => '自定义变量版本详情查询',
- ],
- 'DescribeVariableVersionDetail' => [
- 'summary' => '累计变量版本详情查询。',
- 'methods' => [
- 'get',
- 'post',
+ [
+ 'apiName' => 'CreateRecommendTask',
+ 'description' => '创建推荐任务',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ [
+ 'apiName' => 'DescribeDownloadUrl',
+ 'description' => '下载',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'security' => [
- [
- 'AK' => [],
+ [
+ 'apiName' => 'DeleteNameList',
+ 'description' => '删除名单',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
- 'operationType' => 'read',
- 'deprecated' => false,
- 'systemTags' => [
+ [
+ 'apiName' => 'ImportTemplateEvent',
+ 'description' => '导入模板事件',
'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREsafBCGX2Z',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
- 'tenantRelevance' => 'tenant',
],
- 'parameters' => [
- [
- 'name' => 'Lang',
- 'in' => 'query',
- 'schema' => [
- 'description' => '设置请求和接收消息的语言类型,默认值为**zh**。取值:'."\n"
- .'- **zh**:中文'."\n"
- .'- **en**:英文'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zh',
+ [
+ 'apiName' => 'UpdateByPassShuntEvent',
+ 'description' => '编辑旁路事件',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'regId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '区域编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
+ ],
+ [
+ 'apiName' => 'DescribeServiceList',
+ 'description' => '获取服务列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'type',
- 'in' => 'query',
- 'schema' => [
- 'description' => '类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'VELOCITY',
+ ],
+ [
+ 'apiName' => 'DescribeVariableBindDetail',
+ 'description' => '查询变量绑定信息',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'objectId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '关联变量id。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '3434',
+ ],
+ [
+ 'apiName' => 'DescribeEventResultList',
+ 'description' => '事件概览列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'objectCode',
- 'in' => 'query',
- 'schema' => [
- 'description' => '关联变量name。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'dHSi2zf5bb8',
+ ],
+ [
+ 'apiName' => 'DeleteDataSource',
+ 'description' => '删除数据源',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'version',
- 'in' => 'query',
- 'schema' => [
- 'description' => '版本。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '2',
+ ],
+ [
+ 'apiName' => 'DescribeRuleDetailByRuleId',
+ 'description' => '查询策略详情',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'Schema of Response',
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'A32FE941-35F2-5378-B37C-4B8FDB16F094',
- ],
- 'resultObject' => [
- 'description' => '返回对象。',
- 'type' => 'object',
- 'properties' => [
- 'id' => [
- 'description' => '版本主键ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '3434',
- ],
- 'eventCodes' => [
- 'description' => '事件code。',
- 'type' => 'string',
- 'example' => 'de_awkhwh0314',
- ],
- 'velocityFC' => [
- 'description' => '累计指标处理函数。',
- 'type' => 'string',
- 'example' => 'COUNT',
- ],
- 'title' => [
- 'description' => '标题。',
- 'type' => 'string',
- 'example' => '累计个数',
- ],
- 'description' => [
- 'description' => '变量描述信息。',
- 'type' => 'string',
- 'example' => '变量描述',
- ],
- 'timeType' => [
- 'description' => '时间片类型。',
- 'type' => 'string',
- 'example' => 'CURRENT',
- ],
- 'twCount' => [
- 'description' => '时间片个数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'velocityTW' => [
- 'description' => '累计指标时间窗口。',
- 'type' => 'string',
- 'example' => 'MONTH_1',
- ],
- 'historyValueType' => [
- 'description' => '历史值参数类型。',
- 'type' => 'string',
- 'example' => 'COUNT',
- ],
- 'subject' => [
- 'description' => '主属性(多个逗号分隔,最多5个,来源自查询事件属性列表code)。',
- 'type' => 'string',
- 'example' => 'age',
- ],
- 'object' => [
- 'description' => '从属性(单选,来源自查询事件属性列表code)。',
- 'type' => 'string',
- 'example' => 'name',
- ],
- 'dataVersion' => [
- 'description' => '数据版本。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'condition' => [
- 'description' => '条件值。',
- 'type' => 'string',
- 'example' => '{"currentId":1,"deepCount":0,"list":[{"currentId":2,"deepCount":1,"left":{"code":"accountId","fieldType":"STRING","functionName":"","hasRightVariable":false,"name":"accountId"},"operatorCode":"isNotEmptyWrapper","parentId":1,"right":{"code":"\'A\\nB\\nC\'","functionName":"","name":"","rightVariableType":"constant"}}],"parentId":0,"relationship":"and"}',
- ],
- 'topN' => [
- 'description' => 'topN。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => 'topN累计',
- ],
- 'global' => [
- 'description' => '全局累计。暂时不对外。',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'status' => [
- 'description' => '状态。',
- 'type' => 'string',
- 'example' => 'ENABLE',
- ],
- ],
- ],
- ],
+ [
+ 'apiName' => 'DescribeNameListPageList',
+ 'description' => '分页查询名单',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ [
+ 'apiName' => 'DescribeAppKeyPage',
+ 'description' => '查询appKey列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DeleteQueryVariable',
+ 'description' => '删除自定义查询变量',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeGroupPage',
+ 'description' => '社群列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeAllEventNameAndCode',
+ 'description' => '事件名称code映射列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeNameList',
+ 'description' => '查询名单分页',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeAllDataSource',
+ 'description' => '数据源列表查询',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeSafStartSteps',
+ 'description' => '查询接入步骤详细信息',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeEventDetailByRequestId',
+ 'description' => '根据requestId查事件详情',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeSampleBatchOssPolicy',
+ 'description' => '获取文件上传凭证',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:DescribeSampleBatchOssPolicy',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeTagsBarChart',
+ 'description' => '标签概览列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeDecisionResultTrend',
+ 'description' => '决策结果波动趋势',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'SwitchExpressionVariable',
+ 'description' => '修改自定义变量状态',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeVariableVersionDetail',
+ 'description' => '累计变量版本详情',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:CompareRule',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeOperationLogMonitoring',
+ 'description' => '查询操作日志监控统计信息',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ImportNameList',
+ 'description' => '创建或者导入名单',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeOperationLogPageList',
+ 'description' => '查询操作日志',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeAuditDetails',
+ 'description' => '审核详情',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateRecommendEventRule',
+ 'description' => '创建推荐事件策略',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'PermissionCheck',
+ 'description' => '前置条件判断',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeOperatorList',
+ 'description' => '查询操作符映射列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'SampleFileDownload',
+ 'description' => '模板下载',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeServiceAppKey',
+ 'description' => 'service、AppKey下拉值',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateCustVariable',
+ 'description' => '创建累计变量',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeDataSourceDataDownloadUrl',
+ 'description' => '根据文件名下载文件',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DeleteEventField',
+ 'description' => '事件字段删除',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeSamplebatchPage',
+ 'description' => '样本批次列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:DescribeSamplebatchPage',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeVariableDetail',
+ 'description' => '变量详情查询',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeVariableList',
+ 'description' => '查询变量列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CheckCopyRuleVariable',
+ 'description' => '检查是否复制过',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeAuthSceneList',
+ 'description' => '场景下拉列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeAnalysisColumnList',
+ 'description' => '事件分析查询自定义列',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateExpressionVariable',
+ 'description' => '创建自定义变量',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeQueryVariablePageList',
+ 'description' => '自定义查询变量分页列表查询',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ModelDelete',
+ 'description' => '删除模型',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'TaskNameByUserId',
+ 'description' => '任务名是否重复',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'UpdateAnalysisConditionFavorite',
+ 'description' => '修改查询条件',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeSafStartConfig',
+ 'description' => '查询接入配置',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeRuleSnapshot',
+ 'description' => 'DescribeRuleSnapshot',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeExpressionVariableDetail',
+ 'description' => '自定义变量详情',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeAuthRulePageList',
+ 'description' => '策略列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeAuditPageList',
+ 'description' => '审核列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeModelOssPolicy',
+ 'description' => '模型OSS信息',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeMenuPermission',
+ 'description' => '查询是否有权限',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeRuleVersionList',
+ 'description' => '策略版本列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'AddSampleDataByText',
+ 'description' => '样本批通过TEXT增加数据',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:AddSampleDataByText',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => 'SampleBatch', 'arn' => 'acs:yundun-saf::{#accountId}:samplebatch/{#SampleBatchId}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'StartOrStopByPassShuntEvent',
+ 'description' => '开启/停止旁路事件',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ModifyRuleStatus',
+ 'description' => '修改策略状态',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'UpdateSampleBatch',
+ 'description' => '批量修改样本',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'RemoveEvent',
+ 'description' => '删除事件',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CheckCustVariableLimit',
+ 'description' => '校验累计变量数目是否操过限定值',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeExcuteNum',
+ 'description' => '自助调用列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeSampleInfo',
+ 'description' => '查询样本详情',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'FileUpload',
+ 'description' => '文件上传',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeDetailStart',
+ 'description' => '详细统计',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeEventsVariableList',
+ 'description' => '查询事件变量',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'UploadSampleFile',
+ 'description' => '上传文件',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:UploadSampleFile',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'SaveAnalysisColumn',
+ 'description' => '保存自定义列',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateSampleApi',
+ 'description' => '通过API上传样本的接口',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:CreateSampleBatch',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeOperatorListByType',
+ 'description' => '根据场景查询查询操作符映射列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeTaskList',
+ 'description' => '任务列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeRegions',
+ 'description' => '查询ApiGateway支持的region列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeTagsNumLineChart',
+ 'description' => '旁路/分流 - 标签命中数量分析',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribePocOssToken',
+ 'description' => '获取文件上传凭证',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateSample',
+ 'description' => '添加样本',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DeleteField',
+ 'description' => '删除字段',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateQueryVariable',
+ 'description' => '创建自定义查询变量',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeApiVariable',
+ 'description' => '查询变量详情',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeRecommendTaskPageList',
+ 'description' => '变量推荐列表查询接口',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeApis',
+ 'description' => '得到api列表包括用户购买的以及自定义的',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DeleteByPassShuntEvent',
+ 'description' => '删除旁路事件',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeResultCount',
+ 'description' => '下钻分析列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'AddSampleDataByCsv',
+ 'description' => '样本批通过csv增加数据',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:AddSampleDataByCsv',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => 'SampleBatch', 'arn' => 'acs:yundun-saf::{#accountId}:samplebatch/{#SampleBatchId}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeRuleCountByUserId',
+ 'description' => '根据用户id查询策略数',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeRulePageList',
+ 'description' => '策略分页列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeGroupAccountPage',
+ 'description' => '社群账户列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateAnalysisConditionFavorite',
+ 'description' => '保存查询条件',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeByPassShuntEvent',
+ 'description' => '查看旁路事件',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeEventUploadPolicy',
+ 'description' => '批量导入策略',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeTaskLogList',
+ 'description' => '任务日志列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DeleteRule',
+ 'description' => '删除规则',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeOssAuthStatus',
+ 'description' => '查看是否授权Oss',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeEventVariableTemplateList',
+ 'description' => '查询事件模板',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeFieldList',
+ 'description' => '字段列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'GetSubTaskResult',
+ 'description' => '获取子任务结果',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:GetSubTaskResult',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeDataSourceFields',
+ 'description' => '根据数据源编码获取数据源字段',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'SwitchToOnline',
+ 'description' => '旁路事件切换上线',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeEventCount',
+ 'description' => '查询事件总数量',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DeleteSelfBindVariable',
+ 'description' => '删除自定义系统变量',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:DeleteSelfBindVariable',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeTagsList',
+ 'description' => '获取标签列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeGroupTrend',
+ 'description' => '风险社群的近期趋势',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ModelNameIsDuplication',
+ 'description' => '模型名是否重复',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeInitDig',
+ 'description' => 'POC弹框提示信息',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeSimulationTaskCount',
+ 'description' => '查询任务记录数',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateSampleData',
+ 'description' => '创建样本数据',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeNameListVariablePageList',
+ 'description' => '名单列表查询',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeModelDetailsById',
+ 'description' => '查看详情',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeEventLogDetail',
+ 'description' => '查询事件历史详情',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'PocSendData',
+ 'description' => '批次上传',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DescribeUsedService',
+ 'description' => '获取用户使用过服务列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'yundun-saf:Describe',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'SAF', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A32FE941-35F2-5378-B37C-4B8FDB16F094\\",\\n \\"resultObject\\": {\\n \\"id\\": 3434,\\n \\"eventCodes\\": \\"de_awkhwh0314\\",\\n \\"velocityFC\\": \\"COUNT\\",\\n \\"title\\": \\"累计个数\\",\\n \\"description\\": \\"变量描述\\",\\n \\"timeType\\": \\"CURRENT\\",\\n \\"twCount\\": 1,\\n \\"velocityTW\\": \\"MONTH_1\\",\\n \\"historyValueType\\": \\"COUNT\\",\\n \\"subject\\": \\"age\\",\\n \\"object\\": \\"name\\",\\n \\"dataVersion\\": 1,\\n \\"condition\\": \\"{\\\\\\"currentId\\\\\\":1,\\\\\\"deepCount\\\\\\":0,\\\\\\"list\\\\\\":[{\\\\\\"currentId\\\\\\":2,\\\\\\"deepCount\\\\\\":1,\\\\\\"left\\\\\\":{\\\\\\"code\\\\\\":\\\\\\"accountId\\\\\\",\\\\\\"fieldType\\\\\\":\\\\\\"STRING\\\\\\",\\\\\\"functionName\\\\\\":\\\\\\"\\\\\\",\\\\\\"hasRightVariable\\\\\\":false,\\\\\\"name\\\\\\":\\\\\\"accountId\\\\\\"},\\\\\\"operatorCode\\\\\\":\\\\\\"isNotEmptyWrapper\\\\\\",\\\\\\"parentId\\\\\\":1,\\\\\\"right\\\\\\":{\\\\\\"code\\\\\\":\\\\\\"\'A\\\\\\\\nB\\\\\\\\nC\'\\\\\\",\\\\\\"functionName\\\\\\":\\\\\\"\\\\\\",\\\\\\"name\\\\\\":\\\\\\"\\\\\\",\\\\\\"rightVariableType\\\\\\":\\\\\\"constant\\\\\\"}}],\\\\\\"parentId\\\\\\":0,\\\\\\"relationship\\\\\\":\\\\\\"and\\\\\\"}\\",\\n \\"topN\\": 0,\\n \\"global\\": false,\\n \\"status\\": \\"ENABLE\\"\\n }\\n}","type":"json"}]',
- 'title' => '累计变量版本详情',
- ],
- ],
- 'endpoints' => [
- [
- 'regionId' => 'cn-shanghai',
- 'endpoint' => 'riskcontrol-share.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou',
- 'endpoint' => 'riskcontrol-share.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-1',
- 'endpoint' => 'riskcontrol-share.ap-southeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-3',
- 'endpoint' => 'riskcontrol-share.ap-southeast-1.aliyuncs.com',
],
- [
- 'regionId' => 'ap-southeast-5',
- 'endpoint' => 'riskcontrol-share.ap-southeast-1.aliyuncs.com',
+ 'resourceTypes' => [
+ ['validationType' => 'always', 'resourceType' => 'SampleBatch', 'arn' => 'acs:yundun-saf::{#accountId}:samplebatch/{#SampleBatchId}'],
+ ['validationType' => 'always', 'resourceType' => 'Samplebatch', 'arn' => 'acs:yundun-saf::{#accountId}:samplebatch/*'],
+ ['validationType' => 'always', 'resourceType' => 'SampleBatch', 'arn' => 'acs:yundun-saf::{#accountId}:samplebatch/*'],
],
],
];