summaryrefslogtreecommitdiff
path: root/data/en_us/dataphin-public/2023-06-30/api-docs.php
diff options
context:
space:
mode:
authorZhineng Li <[email protected]>2026-02-13 10:54:11 +0800
committerZhineng Li <[email protected]>2026-02-13 10:54:11 +0800
commit7347bac4ab7e136157fc94777e6cf87ef9e08599 (patch)
tree0dec367dac6e152161a6f7cc0dba6ebbef1f34a2 /data/en_us/dataphin-public/2023-06-30/api-docs.php
downloadacs-metadata-full-7347bac4ab7e136157fc94777e6cf87ef9e08599.tar.gz
acs-metadata-full-7347bac4ab7e136157fc94777e6cf87ef9e08599.zip
Diffstat (limited to 'data/en_us/dataphin-public/2023-06-30/api-docs.php')
-rw-r--r--data/en_us/dataphin-public/2023-06-30/api-docs.php69332
1 files changed, 69332 insertions, 0 deletions
diff --git a/data/en_us/dataphin-public/2023-06-30/api-docs.php b/data/en_us/dataphin-public/2023-06-30/api-docs.php
new file mode 100644
index 0000000..759b4f0
--- /dev/null
+++ b/data/en_us/dataphin-public/2023-06-30/api-docs.php
@@ -0,0 +1,69332 @@
+<?php return [
+ 'version' => '1.0',
+ 'info' => [
+ 'style' => 'RPC',
+ 'product' => 'dataphin-public',
+ 'version' => '2023-06-30',
+ ],
+ 'directories' => [
+ [
+ 'id' => 198270,
+ 'title' => null,
+ 'type' => 'directory',
+ 'children' => [
+ [
+ 'id' => 243566,
+ 'title' => null,
+ 'type' => 'directory',
+ 'children' => [
+ 'CheckProjectHasDependency',
+ 'GetProject',
+ 'GetProjectByName',
+ 'AddProjectMember',
+ 'GetProjectWhiteLists',
+ 'ListProjectMembers',
+ 'ListProjects',
+ 'RemoveProjectMember',
+ 'ReplaceProjectWhiteLists',
+ 'UpdateProjectMember',
+ 'UpdateTenantComputeEngine',
+ ],
+ ],
+ [
+ 'id' => 198271,
+ 'title' => null,
+ 'type' => 'directory',
+ 'children' => [
+ 'GetCheckConnectivityJobs',
+ 'GetDataSourceDependencies',
+ 'CreateDataSource',
+ 'DeleteDataSource',
+ 'UpdateDataSourceBasicInfo',
+ 'UpdateDataSourceConfig',
+ 'ListDataSourceWithConfig',
+ 'CheckDataSourceConnectivity',
+ 'CheckDataSourceConnectivityById',
+ ],
+ ],
+ [
+ 'id' => 201914,
+ 'title' => null,
+ 'type' => 'directory',
+ 'children' => [
+ 'CheckComputeSourceConnectivity',
+ 'CheckComputeSourceConnectivityById',
+ 'ListComputeSources',
+ 'UpdateComputeSource',
+ 'GetComputeSource',
+ 'DeleteComputeSource',
+ 'CreateComputeSource',
+ 'GetSparkLocalClientInfo',
+ ],
+ ],
+ [
+ 'id' => 198279,
+ 'title' => null,
+ 'type' => 'directory',
+ 'children' => [
+ 'SyncDepartment',
+ 'SyncDepartmentUser',
+ 'TransferOwnershipForAllObject',
+ 'RetryTransferOwnership',
+ 'GetTransferInfo',
+ 'AddTenantMembers',
+ 'AddTenantMembersBySourceUser',
+ 'CreateUserGroup',
+ 'AddUserGroupMember',
+ 'DeleteUserGroup',
+ 'UpdateUserGroup',
+ 'UpdateUserGroupSwitch',
+ 'UpdateTenantMember',
+ 'ListResourcePermissionOperationLog',
+ 'ListResourcePermissions',
+ 'GetProjectProduceUser',
+ 'GetUsers',
+ 'ListAddableUsers',
+ 'ListTenantMembers',
+ 'GetUserGroup',
+ 'ListAddableRoles',
+ 'ListUserGroups',
+ 'GetMyTenants',
+ 'GetMyRoles',
+ 'ListUserGroupMembers',
+ 'GetUserBySourceId',
+ 'GrantResourcePermission',
+ 'RevokeResourcePermission',
+ 'CheckResourcePermission',
+ 'RemoveTenantMember',
+ 'RemoveUserGroupMember',
+ ],
+ ],
+ [
+ 'id' => 205631,
+ 'title' => null,
+ 'type' => 'directory',
+ 'children' => [
+ 'DeleteRowPermission',
+ 'GetAccountByRowPermissionId',
+ 'ListRowPermission',
+ 'ListRowPermissionByUserId',
+ 'UpdateRowPermission',
+ 'CreateRowPermission',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'id' => 198307,
+ 'title' => null,
+ 'type' => 'directory',
+ 'children' => [
+ [
+ 'id' => 200872,
+ 'title' => null,
+ 'type' => 'directory',
+ 'children' => [
+ 'CreateDirectory',
+ 'DeleteDirectory',
+ 'UpdateFileName',
+ 'UpdateFileDirectory',
+ 'GetDirectoryTree',
+ 'ListFiles',
+ ],
+ ],
+ [
+ 'id' => 200804,
+ 'title' => null,
+ 'type' => 'directory',
+ 'children' => [
+ 'GetBizEntityInfoByVersion',
+ 'GetBizEntityInfo',
+ 'UpdateBizUnit',
+ 'ListBizUnits',
+ 'GetBizUnitInfo',
+ 'DeleteBizUnit',
+ 'CreateBizUnit',
+ 'UpdateBizEntity',
+ 'OnlineBizEntity',
+ 'OfflineBizEntity',
+ 'ListBizEntities',
+ 'CreateBizEntity',
+ 'UpdateDataDomain',
+ 'ListDataDomains',
+ 'GetDataDomainInfo',
+ 'DeleteDataDomain',
+ 'CreateDataDomain',
+ 'DeleteBizEntity',
+ ],
+ ],
+ [
+ 'id' => 198308,
+ 'title' => null,
+ 'type' => 'directory',
+ 'children' => [
+ 'CreateAdHocFile',
+ 'DeleteAdHocFile',
+ 'UpdateAdHocFile',
+ 'GetAdHocFile',
+ 'StopAdHocTask',
+ 'GetAdHocTaskResult',
+ 'ExecuteAdHocTask',
+ 'GetAdHocTaskLog',
+ ],
+ ],
+ [
+ 'id' => 201111,
+ 'title' => null,
+ 'type' => 'directory',
+ 'children' => [
+ 'UpdatePipelineByAsync',
+ 'OfflinePipelineByAsync',
+ 'GetPipelineById',
+ 'OfflinePipeline',
+ 'CreatePipeline',
+ 'GetPipelineAsyncResult',
+ 'CreatePipelineByAsync',
+ 'UpdatePipeline',
+ 'CreatePipelineNode',
+ 'UpdateBatchTaskUdfLineages',
+ 'UpdateBatchTask',
+ 'SubmitBatchTask',
+ 'ParseBatchTaskDependency',
+ 'OfflineBatchTask',
+ 'GetBatchTaskUdfLineages',
+ 'GetBatchTaskVersions',
+ 'GetBatchTaskInfoByVersion',
+ 'GetBatchTaskInfo',
+ 'DeleteBatchTask',
+ 'CreateBatchTask',
+ ],
+ ],
+ [
+ 'id' => 201126,
+ 'title' => null,
+ 'type' => 'directory',
+ 'children' => [
+ 'GetStreamJobs',
+ 'GetQueueEngineVersionByEnv',
+ 'GetClusterQueueInfoByEnv',
+ 'CreateStreamBatchJobMapping',
+ ],
+ ],
+ [
+ 'id' => 243553,
+ 'title' => null,
+ 'type' => 'directory',
+ 'children' => [
+ 'GetResource',
+ 'GetResourceByVersion',
+ 'UpdateResource',
+ 'GetFileStorageCredential',
+ 'DeleteResource',
+ 'CreateResource',
+ ],
+ ],
+ [
+ 'id' => 243557,
+ 'title' => null,
+ 'type' => 'directory',
+ 'children' => [
+ 'GetUdf',
+ 'GetUdfByVersion',
+ 'UpdateUdf',
+ 'DeleteUdf',
+ 'CreateUdf',
+ ],
+ ],
+ [
+ 'id' => 201062,
+ 'title' => null,
+ 'type' => 'directory',
+ 'children' => [
+ 'ListSubmitRecords',
+ 'GetLatestSubmitDetail',
+ 'PublishObjectList',
+ 'ListPublishRecords',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'id' => 205628,
+ 'title' => null,
+ 'type' => 'directory',
+ 'children' => [
+ [
+ 'id' => 376092,
+ 'title' => null,
+ 'type' => 'directory',
+ 'children' => [
+ 'UpdateStandardWordRoot',
+ 'UpdateStandardTemplate',
+ 'UpdateStandardSet',
+ 'UpdateStandardMappingToInvalid',
+ 'UpdateStandardLookupTable',
+ 'UpdateStandard',
+ 'OfflineStandard',
+ 'PublishStandard',
+ 'ListStandards',
+ 'GetStandardWordRoot',
+ 'GetStandardTemplate',
+ 'GetStandardStatistics',
+ 'GetStandardSet',
+ 'GetStandardLookupTable',
+ 'GetStandard',
+ 'DeleteStandardWordRoot',
+ 'DeleteStandardValidMapping',
+ 'DeleteStandardSet',
+ 'DeleteStandardRelations',
+ 'DeleteStandardLookupTable',
+ 'DeleteStandardInValidMapping',
+ 'DeleteStandard',
+ 'CreateStandardWordRoot',
+ 'CreateStandardTemplate',
+ 'CreateStandardSet',
+ 'CreateStandardRelations',
+ 'CreateStandardMapping',
+ 'CreateStandardLookupTable',
+ 'CreateStandard',
+ ],
+ ],
+ [
+ 'id' => 376128,
+ 'title' => null,
+ 'type' => 'directory',
+ 'children' => [
+ 'UpsertQualityWatchAlert',
+ 'UpsertQualityWatch',
+ 'UpsertQualityTemplate',
+ 'UpsertQualitySchedule',
+ 'UpsertQualityRule',
+ 'UpdateQualityWatchSwitch',
+ 'UpdateQualityRuleSwitch',
+ 'SubmitQualityWatchTasks',
+ 'SubmitQualityRuleTasks',
+ 'RemoveQualityRuleSchedules',
+ 'ListQualityWatches',
+ 'ListQualityWatchTasks',
+ 'ListQualityTemplates',
+ 'ListQualityRules',
+ 'ListQualityRuleTasks',
+ 'GetQualityWatchTaskLog',
+ 'GetQualityWatchTask',
+ 'GetQualityWatchByObjectId',
+ 'GetQualityWatch',
+ 'GetQualityTemplate',
+ 'GetQualitySchedulesByWatchId',
+ 'GetQualitySchedule',
+ 'GetQualityRuleTaskLog',
+ 'GetQualityRuleTask',
+ 'GetQualityRule',
+ 'GetQualityAlertOfAllRuleScopeByWatchId',
+ 'DeleteQualityWatches',
+ 'DeleteQualityTemplates',
+ 'DeleteQualitySchedules',
+ 'DeleteQualityRules',
+ 'AssignQualityRuleOfAllRuleScopeSchedules',
+ ],
+ ],
+ [
+ 'id' => 376161,
+ 'title' => null,
+ 'type' => 'directory',
+ 'children' => [
+ 'UpdateSecurityLevel',
+ 'UpdateSecurityIdentifyResultStatus',
+ 'UpdateSecurityClassifyCatalog',
+ 'UpdateSecurityClassify',
+ 'ListSecurityIdentifyResults',
+ 'ListSecurityIdentifyRecords',
+ 'GetSecuritySecretKey',
+ 'GetSecurityLevel',
+ 'GetSecurityIdentifyResult',
+ 'GetSecurityClassify',
+ 'DeleteSecurityLevel',
+ 'DeleteSecurityIdentifyResults',
+ 'DeleteSecurityClassifyCatalog',
+ 'DeleteSecurityClassify',
+ 'CreateSecurityLevel',
+ 'CreateSecurityIdentifyResult',
+ 'CreateSecurityClassifyCatalog',
+ 'CreateSecurityClassify',
+ ],
+ ],
+ 'GetTableLineages',
+ 'GetBelongAssetMapping',
+ 'GetAssetMappingRelations',
+ 'ListTables',
+ 'GetTableColumnLineages',
+ 'GetTableColumns',
+ 'CreateBizMetric',
+ 'UpdateBizMetric',
+ 'GetBizMetricByName',
+ 'DeleteBizMetric',
+ 'DeleteRegisterLineage',
+ 'AddRegisterLineage',
+ 'GetTableLineageByTaskId',
+ 'GetTableColumnLineageByTaskId',
+ ],
+ ],
+ [
+ 'id' => 198318,
+ 'title' => null,
+ 'type' => 'directory',
+ 'children' => [
+ [
+ 'id' => 198319,
+ 'title' => null,
+ 'type' => 'directory',
+ 'children' => [
+ 'GetInstanceUpDownStream',
+ 'GetInstanceDownStream',
+ 'GetSupplementDagrunInstance',
+ 'GetPhysicalInstance',
+ 'ListInstances',
+ 'OperateInstance',
+ 'FixData',
+ ],
+ ],
+ [
+ 'id' => 198327,
+ 'title' => null,
+ 'type' => 'directory',
+ 'children' => [
+ 'ExecuteTriggerNode',
+ 'CreateNodeSupplement',
+ 'PausePhysicalNode',
+ 'GetOperationSubmitStatus',
+ 'GetPhysicalInstanceLog',
+ 'GetSupplementDagrun',
+ 'GetPhysicalNode',
+ 'GetPhysicalNodeContent',
+ 'GetNodeUpDownStream',
+ 'ListNodes',
+ 'GetPhysicalNodeOperationLog',
+ 'ListNodeDownStream',
+ 'GetPhysicalNodeByOutputName',
+ 'GetDevObjectDependency',
+ 'ResumePhysicalNode',
+ 'ExecuteManualNode',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'id' => 201065,
+ 'title' => null,
+ 'type' => 'directory',
+ 'children' => [
+ 'ListAlertNotifications',
+ 'ListAlertEvents',
+ 'GetAlertEvent',
+ ],
+ ],
+ [
+ 'id' => 201918,
+ 'title' => null,
+ 'type' => 'directory',
+ 'children' => [
+ 'RevokeDataServiceApi',
+ 'PublishDataServiceApi',
+ 'ListDataServicePublishedApis',
+ 'ListDataServiceMyAppPermissions',
+ 'ListDataServiceMyApiPermissions',
+ 'ListDataServiceAuthorizedApps',
+ 'ListDataServiceApiImpacts',
+ 'ListDataServiceApiCalls',
+ 'ListDataServiceApiCallStatistics',
+ 'GrantDataServiceApi',
+ 'GetDataServiceProjectAddableUsers',
+ 'GetDataServiceMyProjects',
+ 'GetDataServiceAuthorizedProjects',
+ 'GetDataServiceAuthorizedAppsByGroupId',
+ 'GetDataServiceAppsByGroupId',
+ 'GetDataServiceAppGroups',
+ 'GetDataServiceAppAuthorizedUsers',
+ 'GetDataServiceApiGroups',
+ 'GetDataServiceApiErrorImpact',
+ 'GetDataServiceApiDocument',
+ 'GetDataServiceApiCallTrend',
+ 'GetDataServiceApiCallSummary',
+ 'ApplyDataServiceApp',
+ 'ApplyDataServiceApi',
+ 'AddDataServiceProjectMember',
+ 'CreateDataServiceApi',
+ 'ListApiByApp',
+ 'ListAuthorizedDataServiceApiDetails',
+ ],
+ ],
+ ],
+ 'components' => [
+ 'schemas' => [],
+ ],
+ 'apis' => [
+ 'CheckProjectHasDependency' => [
+ 'summary' => '检查项目是否存在依赖。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'Id',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '项目Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '12356',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'Data' => [
+ 'title' => '请求结果',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"Data\\": true\\n}","type":"json"}]',
+ ],
+ 'GetProject' => [
+ 'summary' => '获取项目详情。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'Id',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '项目Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '12356',
+ ],
+ ],
+ [
+ 'name' => 'Env',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '环境标识, 默认:PROD',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'DEV',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'ProjectInfo' => [
+ 'title' => '项目详情',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'BizUnitId' => [
+ 'title' => '所属业务板块Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '101131',
+ ],
+ 'BizUnitDisplayName' => [
+ 'title' => '所属业务板块展示名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '测试',
+ ],
+ 'ComputeSourceId' => [
+ 'title' => '绑定计算源Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '101711',
+ ],
+ 'ComputeSourceName' => [
+ 'title' => '绑定计算源名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'ds1',
+ ],
+ 'StreamComputeSourceId' => [
+ 'title' => '绑定实时计算源Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '201711',
+ ],
+ 'StreamComputeSourceName' => [
+ 'title' => '绑定实时计算源名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'ds2',
+ ],
+ 'NameSpaceTag' => [
+ 'title' => '名称空间:PUBLIC 公共类型、APPLICATION 应用类型、BASE 基础类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'GENERAL',
+ ],
+ 'Env' => [
+ 'title' => '环境标识',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'DEV',
+ ],
+ 'WhiteLists' => [
+ 'title' => '白名单',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Description' => [
+ 'title' => '描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'whitelist for xxx',
+ ],
+ 'Ip' => [
+ 'title' => 'Ip',
+ 'description' => 'ip',
+ 'type' => 'string',
+ 'example' => '10.209.47.198',
+ ],
+ 'Port' => [
+ 'title' => '端口',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '3306',
+ ],
+ ],
+ ],
+ ],
+ 'Mode' => [
+ 'title' => '项目模式',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'BASIC',
+ ],
+ 'Type' => [
+ 'title' => '项目类型: DISTILL 萃取项目、GENERAL 一般类型项目',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'GENERAL',
+ ],
+ 'Id' => [
+ 'title' => '项目Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '12356',
+ ],
+ 'Name' => [
+ 'title' => '项目名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'dp_test',
+ ],
+ 'DisplayName' => [
+ 'title' => '项目展示名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'xx test',
+ ],
+ 'Description' => [
+ 'title' => '项目描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'project for xxx',
+ ],
+ 'GmtCreate' => [
+ 'title' => '创建时间, 格式:yyyy-MM-dd HH:mm:ss',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1703048484000',
+ ],
+ 'GmtModified' => [
+ 'title' => '更新时间, 格式:yyyy-MM-dd HH:mm:ss',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1703048484000',
+ ],
+ 'Owner' => [
+ 'title' => '项目责任人',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '101111',
+ ],
+ 'OwnerName' => [
+ 'title' => '项目责任人',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '张三',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"ProjectInfo\\": {\\n \\"BizUnitId\\": 0,\\n \\"BizUnitDisplayName\\": \\"业务板块显示名\\",\\n \\"ComputeSourceId\\": 0,\\n \\"ComputeSourceName\\": \\"项目依赖计算源名\\",\\n \\"StreamComputeSourceId\\": 0,\\n \\"StreamComputeSourceName\\": \\"项目依赖实时计算源名\\",\\n \\"NameSpaceTag\\": \\"GENERAL\\",\\n \\"Env\\": \\"DEV\\",\\n \\"WhiteLists\\": [\\n {\\n \\"Description\\": \\"whitelist for xxx\\",\\n \\"Ip\\": \\"10.209.47.198\\",\\n \\"Port\\": \\"3306\\"\\n }\\n ],\\n \\"Mode\\": \\"BASIC\\",\\n \\"Type\\": \\"GENERAL\\",\\n \\"Id\\": 12356,\\n \\"Name\\": \\"dp_test\\",\\n \\"DisplayName\\": \\"项目显示名\\",\\n \\"Description\\": \\"project for xxx\\",\\n \\"GmtCreate\\": \\"1703048484000\\",\\n \\"GmtModified\\": \\"1703048484000\\",\\n \\"Owner\\": \\"101111\\",\\n \\"OwnerName\\": \\"测试用户\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'GetProjectByName' => [
+ 'summary' => '通过项目名获取项目详情。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'Name',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '项目名',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'test',
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'ProjectInfo' => [
+ 'title' => '项目详情',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'BizUnitId' => [
+ 'title' => '所属业务板块Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '101131',
+ ],
+ 'BizUnitDisplayName' => [
+ 'title' => '所属业务板块展示名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '测试',
+ ],
+ 'ComputeSourceId' => [
+ 'title' => '绑定计算源Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '101711',
+ ],
+ 'ComputeSourceName' => [
+ 'title' => '绑定计算源名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'ds1',
+ ],
+ 'StreamComputeSourceId' => [
+ 'title' => '绑定实时计算源Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '201711',
+ ],
+ 'StreamComputeSourceName' => [
+ 'title' => '绑定实时计算源名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'ds2',
+ ],
+ 'NameSpaceTag' => [
+ 'title' => '名称空间:PUBLIC 公共类型、APPLICATION 应用类型、BASE 基础类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'BASE',
+ ],
+ 'Env' => [
+ 'title' => '环境标识',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'DEV',
+ ],
+ 'WhiteLists' => [
+ 'title' => '白名单',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Description' => [
+ 'title' => '描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'xx 白名单',
+ ],
+ 'Ip' => [
+ 'title' => 'Ip',
+ 'description' => 'Ip',
+ 'type' => 'string',
+ 'example' => '10.11.1.21',
+ ],
+ 'Port' => [
+ 'title' => '端口',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '5432',
+ ],
+ ],
+ ],
+ ],
+ 'Mode' => [
+ 'title' => '项目模式',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'BASIC',
+ ],
+ 'Type' => [
+ 'title' => '项目类型: DISTILL 萃取项目、GENERAL 一般类型项目',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'GENERAL',
+ ],
+ 'Id' => [
+ 'title' => '项目Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1030111021',
+ ],
+ 'Name' => [
+ 'title' => '项目名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'DisplayName' => [
+ 'title' => '项目展示名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'xx test',
+ ],
+ 'Description' => [
+ 'title' => '项目描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '测试',
+ ],
+ 'GmtCreate' => [
+ 'title' => '创建时间, 格式:yyyy-MM-dd HH:mm:ss',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-06-10 10:01:01',
+ ],
+ 'GmtModified' => [
+ 'title' => '更新时间, 格式:yyyy-MM-dd HH:mm:ss',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-06-10 10:01:01',
+ ],
+ 'Owner' => [
+ 'title' => '项目责任人',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30012011',
+ ],
+ 'OwnerName' => [
+ 'title' => '项目责任人',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '张三',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"ProjectInfo\\": {\\n \\"BizUnitId\\": 101131,\\n \\"BizUnitDisplayName\\": \\"测试\\",\\n \\"ComputeSourceId\\": 101711,\\n \\"ComputeSourceName\\": \\"ds1\\",\\n \\"StreamComputeSourceId\\": 201711,\\n \\"StreamComputeSourceName\\": \\"ds2\\",\\n \\"NameSpaceTag\\": \\"BASE\\",\\n \\"Env\\": \\"DEV\\",\\n \\"WhiteLists\\": [\\n {\\n \\"Description\\": \\"xx 白名单\\",\\n \\"Ip\\": \\"10.11.1.21\\",\\n \\"Port\\": \\"5432\\"\\n }\\n ],\\n \\"Mode\\": \\"BASIC\\",\\n \\"Type\\": \\"GENERAL\\",\\n \\"Id\\": 1030111021,\\n \\"Name\\": \\"test\\",\\n \\"DisplayName\\": \\"xx test\\",\\n \\"Description\\": \\"测试\\",\\n \\"GmtCreate\\": \\"2025-06-10 10:01:01\\",\\n \\"GmtModified\\": \\"2025-06-10 10:01:01\\",\\n \\"Owner\\": \\"30012011\\",\\n \\"OwnerName\\": \\"张三\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'AddProjectMember' => [
+ 'summary' => '增加项目成员。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'Id',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '项目Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '711833',
+ ],
+ ],
+ [
+ 'name' => 'AddCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '新增成员命令',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Env' => [
+ 'title' => '环境标识: DEV、PROD',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'DEV',
+ ],
+ 'UserList' => [
+ 'title' => '用户成员',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'UserId' => [
+ 'title' => '用户Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '30012011',
+ ],
+ 'RoleList' => [
+ 'title' => '成员角色: 1 项目管理员、2 开发者、3 访客、4 分析师、5 运维',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '成员角色: 1 项目管理员、2 开发者、3 访客、4 分析师、5 运维',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '1',
+ ],
+ 'required' => true,
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => true,
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\"\\n}","type":"json"}]',
+ ],
+ 'GetProjectWhiteLists' => [
+ 'summary' => '获取项目白名单。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'Id',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '项目Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '1030111021',
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'WhiteLists' => [
+ 'title' => '项目白名单',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Description' => [
+ 'title' => '描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '测试',
+ ],
+ 'Ip' => [
+ 'title' => 'ip',
+ 'description' => 'ip',
+ 'type' => 'string',
+ 'example' => '10.1.0.2',
+ ],
+ 'Port' => [
+ 'title' => '端口',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '5432',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"WhiteLists\\": [\\n {\\n \\"Description\\": \\"测试\\",\\n \\"Ip\\": \\"10.1.0.2\\",\\n \\"Port\\": \\"5432\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'ListProjectMembers' => [
+ 'summary' => '获取项目成员列表。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'Id',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '项目Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '1030111021',
+ ],
+ ],
+ [
+ 'name' => 'ListQuery',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '检索条件',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Env' => [
+ 'title' => '环境标识',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'DEV',
+ ],
+ 'PageSize' => [
+ 'title' => '分页记录数, 默认:20',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '20',
+ ],
+ 'PageNo' => [
+ 'title' => '页码, 默认:1',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ 'required' => true,
+ 'example' => '1030111021',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'PageResult' => [
+ 'title' => '分页查询结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'TotalCount' => [
+ 'title' => '总记录数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '101',
+ ],
+ 'ProjectMemberList' => [
+ 'title' => '分页用户成员列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RoleIdList' => [
+ 'title' => '成员角色: 1 项目管理员、2 开发者、3 访客、4 分析师、5 运维',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '成员角色: 1 项目管理员、2 开发者、3 访客、4 分析师、5 运维',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ ],
+ 'GmtCreate' => [
+ 'title' => '创建时间, 格式:yyyy-MM-dd HH:mm:ss',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1702692675000',
+ ],
+ 'LastModifier' => [
+ 'title' => '最后编辑用户Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '101111',
+ ],
+ 'UserName' => [
+ 'title' => '用户名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '张三',
+ ],
+ 'UserId' => [
+ 'title' => '用户ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '101111',
+ ],
+ 'GmtModified' => [
+ 'title' => '更新时间, 格式:yyyy-MM-dd HH:mm:ss',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1721720955000',
+ ],
+ 'Id' => [
+ 'title' => '用户成员ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '12356',
+ ],
+ 'LastModifierName' => [
+ 'title' => '最后编辑用户名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"PageResult\\": {\\n \\"TotalCount\\": 101,\\n \\"ProjectMemberList\\": [\\n {\\n \\"RoleIdList\\": [\\n 1\\n ],\\n \\"GmtCreate\\": \\"1702692675000\\",\\n \\"LastModifier\\": \\"101111\\",\\n \\"UserName\\": \\"测试用户\\",\\n \\"UserId\\": \\"101111\\",\\n \\"GmtModified\\": \\"1721720955000\\",\\n \\"Id\\": 12356,\\n \\"LastModifierName\\": \\"测试用户\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'ListProjects' => [
+ 'summary' => '获取项目列表。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'ListQuery',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '检索条件',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Keyword' => [
+ 'title' => '关键字模糊匹配',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ 'TagList' => [
+ 'title' => '项目标签',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '项目标签',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'GENERAL',
+ ],
+ 'required' => false,
+ ],
+ 'Mode' => [
+ 'title' => '项目模式',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'BASIC',
+ ],
+ 'Env' => [
+ 'title' => '环境标识',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'DEV',
+ ],
+ 'PageNo' => [
+ 'title' => '页码, 默认:1',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ 'PageSize' => [
+ 'title' => '分页记录数, 默认:20',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '20',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'PageResult' => [
+ 'title' => '分页查询结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'TotalCount' => [
+ 'title' => '总记录数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '68',
+ ],
+ 'ProjectList' => [
+ 'title' => '分页项目列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RealtimeDataSourceName' => [
+ 'title' => '实时计算源名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'ds2',
+ ],
+ 'Owner' => [
+ 'title' => '项目负责人',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30012112',
+ ],
+ 'OwnerName' => [
+ 'title' => '项目负责人',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '张三',
+ ],
+ 'Description' => [
+ 'title' => '描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '测试',
+ ],
+ 'Mode' => [
+ 'title' => '项目模式',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'BASIC',
+ ],
+ 'GmtModified' => [
+ 'title' => '更新时间, 格式:yyyy-MM-dd HH:mm:ss',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-06-10 10:01:01',
+ ],
+ 'Env' => [
+ 'title' => '环境标识',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'DEV',
+ ],
+ 'Name' => [
+ 'title' => '项目名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'demo',
+ ],
+ 'BizUnitId' => [
+ 'title' => '业务板块Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '162112',
+ ],
+ 'Type' => [
+ 'title' => '项目类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'GENERAL',
+ ],
+ 'GmtCreate' => [
+ 'title' => '创建时间, 格式:yyyy-MM-dd HH:mm:ss',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-06-10 10:01:01',
+ ],
+ 'DataSourceName' => [
+ 'title' => '计算源名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'ds1',
+ ],
+ 'DisplayName' => [
+ 'title' => '项目展示名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '测试',
+ ],
+ 'Id' => [
+ 'title' => '项目Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1030111021',
+ ],
+ 'DataSourceId' => [
+ 'title' => '计算源Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1121',
+ ],
+ 'RealtimeDataSourceId' => [
+ 'title' => '实时计算源Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1122',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"PageResult\\": {\\n \\"TotalCount\\": 68,\\n \\"ProjectList\\": [\\n {\\n \\"RealtimeDataSourceName\\": \\"ds2\\",\\n \\"Owner\\": \\"30012112\\",\\n \\"OwnerName\\": \\"张三\\",\\n \\"Description\\": \\"测试\\",\\n \\"Mode\\": \\"BASIC\\",\\n \\"GmtModified\\": \\"2025-06-10 10:01:01\\",\\n \\"Env\\": \\"DEV\\",\\n \\"Name\\": \\"demo\\",\\n \\"BizUnitId\\": 162112,\\n \\"Type\\": \\"GENERAL\\",\\n \\"GmtCreate\\": \\"2025-06-10 10:01:01\\",\\n \\"DataSourceName\\": \\"ds1\\",\\n \\"DisplayName\\": \\"测试\\",\\n \\"Id\\": 1030111021,\\n \\"DataSourceId\\": 1121,\\n \\"RealtimeDataSourceId\\": 1122\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'RemoveProjectMember' => [
+ 'summary' => '删除项目成员。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'Id',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '项目Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '711833',
+ ],
+ ],
+ [
+ 'name' => 'RemoveCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '删除成员命令',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Env' => [
+ 'title' => '环境标识: DEV、PROD',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'DEV',
+ ],
+ 'UserIdList' => [
+ 'title' => '用户Id',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '用户Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '30012011',
+ ],
+ 'required' => false,
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\"\\n}","type":"json"}]',
+ ],
+ 'ReplaceProjectWhiteLists' => [
+ 'summary' => '更新项目白名单。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'Id',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '项目Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '1030111021',
+ ],
+ ],
+ [
+ 'name' => 'ReplaceCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '编辑命令',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'WhiteLists' => [
+ 'title' => '项目白名单',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Description' => [
+ 'title' => '描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '测试',
+ ],
+ 'Ip' => [
+ 'title' => 'ip',
+ 'description' => 'ip',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '10.1.0.2',
+ ],
+ 'Port' => [
+ 'title' => '端口',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '5432',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => true,
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\"\\n}","type":"json"}]',
+ ],
+ 'UpdateProjectMember' => [
+ 'summary' => '增加项目成员。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'Id',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '项目Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '711833',
+ ],
+ ],
+ [
+ 'name' => 'UpdateCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '编辑命令',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Env' => [
+ 'title' => '环境标识',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'DEV',
+ ],
+ 'UserList' => [
+ 'title' => '用户成员',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'UserId' => [
+ 'title' => '用户Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '30012011',
+ ],
+ 'RoleList' => [
+ 'title' => '成员角色: 1 项目管理员、2 开发者、3 访客、4 分析师、5 运维',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '成员角色: 1 项目管理员、2 开发者、3 访客、4 分析师、5 运维',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '1',
+ ],
+ 'required' => true,
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => true,
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\"\\n}","type":"json"}]',
+ ],
+ 'UpdateTenantComputeEngine' => [
+ 'summary' => '修改租户计算设置。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'UpdateCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '编辑指令',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => [
+ 'title' => '计算源类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'MacCompute',
+ ],
+ 'Version' => [
+ 'title' => '版本号',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1.0',
+ ],
+ 'ClusterUrlList' => [
+ 'title' => '集群节点连接列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '集群节点连接列表',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '10.1.11.2',
+ ],
+ 'required' => true,
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\"\\n}","type":"json"}]',
+ ],
+ 'GetCheckConnectivityJobs' => [
+ 'summary' => '查询数据源连通性检查任务。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'DataSourceId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '数据源ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '462935472785',
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Data' => [
+ 'title' => 'result',
+ 'description' => 'result',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => 'CheckConnectivityJobDTO',
+ 'description' => 'CheckConnectivityJobDTO',
+ 'type' => 'object',
+ 'properties' => [
+ 'Status' => [
+ 'title' => '任务状态',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'SUCCESS',
+ ],
+ 'TenantId' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30001011',
+ ],
+ 'JobType' => [
+ 'title' => '任务类型(应用级别或集群级别)',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'application/cluster',
+ ],
+ 'ErrorMsg' => [
+ 'title' => '错误信息(任务失败时的详细错误描述)',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'notFoundIp',
+ ],
+ 'VoldemortTaskId' => [
+ 'title' => 'Voldemort任务ID(用于关联底层执行任务)',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 't_7572319950395080706_20251225_7572319950395080707',
+ ],
+ 'DataSourceId' => [
+ 'title' => '数据源ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '192',
+ ],
+ 'JobId' => [
+ 'title' => '任务ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '123123',
+ ],
+ ],
+ ],
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Message\\": \\"internal error\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Data\\": [\\n {\\n \\"Status\\": \\"SUCCESS\\",\\n \\"TenantId\\": \\"30001011\\",\\n \\"JobType\\": \\"application/cluster\\",\\n \\"ErrorMsg\\": \\"notFoundIp\\",\\n \\"VoldemortTaskId\\": \\"t_7572319950395080706_20251225_7572319950395080707\\",\\n \\"DataSourceId\\": \\"192\\",\\n \\"JobId\\": \\"123123\\"\\n }\\n ],\\n \\"Code\\": \\"OK\\",\\n \\"Success\\": true\\n}","type":"json"}]',
+ ],
+ 'GetDataSourceDependencies' => [
+ 'summary' => '查询数据源变更影响的集成任务及数据库SQL任务。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'Id',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '数据源Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '1023211',
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'DependencyList' => [
+ 'title' => '引用记录',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => [
+ 'title' => '依赖记录类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'pipeline',
+ ],
+ 'TypeCode' => [
+ 'title' => '依赖记录类型code',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'pipeline',
+ ],
+ 'Id' => [
+ 'title' => '依赖记录id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1',
+ ],
+ 'Name' => [
+ 'title' => '依赖记录名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'jytest',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"DependencyList\\": [\\n {\\n \\"Type\\": \\"pipeline\\",\\n \\"TypeCode\\": \\"pipeline\\",\\n \\"Id\\": \\"1\\",\\n \\"Name\\": \\"jytest\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'CreateDataSource' => [
+ 'summary' => '新建数据源',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'CreateCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '新建数据源请求',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ProdDataSourceCreate' => [
+ 'title' => '数据源创建',
+ 'description' => '数据源创建结构体',
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => [
+ 'title' => '数据源类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'MAX_COMPUTE',
+ ],
+ 'Name' => [
+ 'title' => '名字',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'dp_test',
+ ],
+ 'Description' => [
+ 'title' => '描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'datasource for xx',
+ ],
+ 'CheckActivity' => [
+ 'title' => '是否校验连通性',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ 'default' => 'true',
+ ],
+ 'ConfigItemList' => [
+ 'title' => '连接配置项',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '连接配置项',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => [
+ 'title' => '配置项keyId',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'k1',
+ ],
+ 'Value' => [
+ 'title' => '配置值',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'v1',
+ ],
+ ],
+ 'required' => true,
+ ],
+ 'required' => true,
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'DevDataSourceCreate' => [
+ 'title' => '新建开发环境数据源',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ProdDataSourceId' => [
+ 'title' => '关联生产环境数据源ID,如果只新建开发环境计算源时不能为空',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '1011',
+ ],
+ 'DataSourceCreate' => [
+ 'title' => '数据源创建',
+ 'description' => '数据源创建结构体',
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => [
+ 'title' => '数据源类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'MAX_COMPUTE',
+ ],
+ 'Name' => [
+ 'title' => '名字',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'dp_test_dev',
+ ],
+ 'Description' => [
+ 'title' => '描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'datasource for xxx in dev ',
+ ],
+ 'CheckActivity' => [
+ 'title' => '是否校验连通性',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ 'default' => 'true',
+ ],
+ 'ConfigItemList' => [
+ 'title' => '连接配置项',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '连接配置项',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => [
+ 'title' => '配置项keyId',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'k1',
+ ],
+ 'Value' => [
+ 'title' => '配置值',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'v1',
+ ],
+ ],
+ 'required' => true,
+ ],
+ 'required' => true,
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'CreateResult' => [
+ 'title' => '数据源新建结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'DevDataSourceId' => [
+ 'title' => '开发环境数据源ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '123',
+ ],
+ 'ProdDataSourceId' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '12345',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"CreateResult\\": {\\n \\"DevDataSourceId\\": 123,\\n \\"ProdDataSourceId\\": 12345\\n }\\n}","type":"json"}]',
+ ],
+ 'DeleteDataSource' => [
+ 'summary' => '删除数据源',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'DeleteCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '删除数据源请求',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Mode' => [
+ 'title' => '删除模式:'."\n"
+ .'DEV:只删除开发环境数据源'."\n"
+ .'DEV_PROD:同时删除开发和生产环境数据源',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'enumValueTitles' => [],
+ 'example' => 'DEV',
+ 'enum' => [
+ 'DEV',
+ 'DEV_PROD',
+ ],
+ ],
+ 'ProdDataSourceId' => [
+ 'title' => '生成环境数据源ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '13121',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'Data' => [
+ 'title' => '删除结果',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"Data\\": true\\n}","type":"json"}]',
+ ],
+ 'UpdateDataSourceBasicInfo' => [
+ 'summary' => '编辑数据源基本信息',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'UpdateCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '数据源基础信息编辑',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '数据源Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '23231',
+ ],
+ 'Name' => [
+ 'title' => '数据源名',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '',
+ ],
+ 'Description' => [
+ 'title' => '数据源描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'xx',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'Data' => [
+ 'title' => '数据源基础信息编辑结果.',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"Data\\": true\\n}","type":"json"}]',
+ ],
+ 'UpdateDataSourceConfig' => [
+ 'summary' => '编辑数据源连接配置项',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'UpdateCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '数据源配置项变更',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '数据源ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '13231313',
+ ],
+ 'ConfigItemList' => [
+ 'title' => '连接配置项',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '连接配置项',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => [
+ 'title' => '配置项keyId',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'k1',
+ ],
+ 'Value' => [
+ 'title' => '配置值',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'v1',
+ ],
+ ],
+ 'required' => true,
+ ],
+ 'required' => true,
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'Data' => [
+ 'title' => '数据源连接配置项编辑结果.',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"Data\\": true\\n}","type":"json"}]',
+ ],
+ 'ListDataSourceWithConfig' => [
+ 'summary' => '搜索数据源,所属结果包含数据源配置项',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'ListQuery',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '分页查询',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => [
+ 'title' => '数据源名字',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'vcns-test',
+ ],
+ 'TypeList' => [
+ 'title' => '数据源类型',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'MAX_COMPUTE',
+ ],
+ 'required' => false,
+ ],
+ 'ScopeList' => [
+ 'title' => '数据源使用范围,支持如下:'."\n"
+ .'STREAMING 实时'."\n"
+ .'OFFLINE 离线'."\n"
+ .'DIP_META_SYNC 元仓初始化'."\n"
+ .'DATA_DISTILL 数据萃取'."\n"
+ .'CUMPUTE_SOURCE_SHADOW 影子计算源'."\n"
+ .'LABEL 标签'."\n"
+ .'ALL 离线+实时',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ALL',
+ ],
+ 'required' => false,
+ ],
+ 'OwnerList' => [
+ 'title' => '数据源负责人',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2323131',
+ ],
+ 'required' => false,
+ ],
+ 'Tag' => [
+ 'title' => '创建数据源时标记的tag',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '',
+ ],
+ 'Page' => [
+ 'title' => '页码,起始页是1',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '1',
+ 'default' => '1',
+ ],
+ 'PageSize' => [
+ 'title' => '分页记录数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '20',
+ 'default' => '20',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'PageResult' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'TotalCount' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '39',
+ ],
+ 'DataSourceList' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ProdDataSourceInfo' => [
+ 'description' => '生产环境数据源',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '数据源ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '300000028799',
+ ],
+ 'Name' => [
+ 'title' => '数据源名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'Type' => [
+ 'title' => '数据源类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'MAX_COMPUTE',
+ ],
+ 'Scope' => [
+ 'title' => '数据源使用范围',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ALL',
+ ],
+ 'CreateTime' => [
+ 'title' => '创建时间',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1708303959000',
+ ],
+ 'ModifyTime' => [
+ 'title' => '编辑时间',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1708303959000',
+ ],
+ 'Creator' => [
+ 'title' => '创建者ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '212211111',
+ ],
+ 'CreatorName' => [
+ 'title' => '创建者',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'Owner' => [
+ 'title' => '负责人ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '212211111',
+ ],
+ 'OwnerName' => [
+ 'title' => '负责人',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'Description' => [
+ 'title' => '描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'Env' => [
+ 'title' => '数据源所属环境',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'PROD',
+ ],
+ 'ConfigItemList' => [
+ 'title' => '连接配置项',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '连接配置项',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => [
+ 'title' => '配置项Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'param1',
+ ],
+ 'Value' => [
+ 'title' => '配置项值',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'value1',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'DevDataSourceInfo' => [
+ 'description' => '开发环境数据源信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '数据源ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '12313123131',
+ ],
+ 'Name' => [
+ 'title' => '数据源名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'Type' => [
+ 'title' => '数据源类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'MAX_COMPUTE',
+ ],
+ 'Scope' => [
+ 'title' => '数据源使用范围',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ALL',
+ ],
+ 'CreateTime' => [
+ 'title' => '创建时间',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1710209552704',
+ ],
+ 'ModifyTime' => [
+ 'title' => '编辑时间',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1710209552704',
+ ],
+ 'Creator' => [
+ 'title' => '创建者ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '212211111',
+ ],
+ 'CreatorName' => [
+ 'title' => '创建者',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'Owner' => [
+ 'title' => '负责人ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '212211111',
+ ],
+ 'OwnerName' => [
+ 'title' => '负责人',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'Description' => [
+ 'title' => '描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'Env' => [
+ 'title' => '数据源所属环境',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'DEV',
+ ],
+ 'ConfigItemList' => [
+ 'title' => '连接配置项',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '连接配置项',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => [
+ 'title' => '配置项Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'param1',
+ ],
+ 'Value' => [
+ 'title' => '配置项值',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'value1',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"PageResult\\": {\\n \\"TotalCount\\": 39,\\n \\"DataSourceList\\": [\\n {\\n \\"ProdDataSourceInfo\\": {\\n \\"Id\\": 300000028799,\\n \\"Name\\": \\"xx测试\\",\\n \\"Type\\": \\"MAX_COMPUTE\\",\\n \\"Scope\\": \\"ALL\\",\\n \\"CreateTime\\": 1708303959000,\\n \\"ModifyTime\\": 1708303959000,\\n \\"Creator\\": \\"212211111\\",\\n \\"CreatorName\\": \\"张三\\",\\n \\"Owner\\": \\"212211111\\",\\n \\"OwnerName\\": \\"张三\\",\\n \\"Description\\": \\"xx 测试\\",\\n \\"Env\\": \\"PROD\\",\\n \\"ConfigItemList\\": [\\n {\\n \\"Key\\": \\"param1\\",\\n \\"Value\\": \\"value1\\"\\n }\\n ]\\n },\\n \\"DevDataSourceInfo\\": {\\n \\"Id\\": 12313123131,\\n \\"Name\\": \\"xx测试\\",\\n \\"Type\\": \\"MAX_COMPUTE\\",\\n \\"Scope\\": \\"ALL\\",\\n \\"CreateTime\\": 1710209552704,\\n \\"ModifyTime\\": 1710209552704,\\n \\"Creator\\": \\"212211111\\",\\n \\"CreatorName\\": \\"张三\\",\\n \\"Owner\\": \\"212211111\\",\\n \\"OwnerName\\": \\"张三\\",\\n \\"Description\\": \\"xx 项目\\",\\n \\"Env\\": \\"DEV\\",\\n \\"ConfigItemList\\": [\\n {\\n \\"Key\\": \\"param1\\",\\n \\"Value\\": \\"value1\\"\\n }\\n ]\\n }\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'CheckDataSourceConnectivity' => [
+ 'summary' => '检查数据源连通性',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'CheckCommand',
+ 'in' => 'formData',
+ 'allowEmptyValue' => false,
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '校验对象',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => [
+ 'title' => '数据源类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'MAX_COMPUTE',
+ 'enum' => [],
+ ],
+ 'ConfigItemList' => [
+ 'title' => '连接配置项',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '连接配置项',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => [
+ 'title' => '配置项keyId',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'k1',
+ ],
+ 'Value' => [
+ 'title' => '配置值',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'v1',
+ ],
+ ],
+ 'required' => true,
+ ],
+ 'required' => true,
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'Data' => [
+ 'title' => '数据源连接校验结果',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"Data\\": true\\n}","type":"json"}]',
+ ],
+ 'CheckDataSourceConnectivityById' => [
+ 'summary' => '检查已创建的数据源是否正常连通',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'Id',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '数据源Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '123',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'Data' => [
+ 'title' => '数据源连接校验结果',
+ 'type' => 'boolean',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"Data\\": true\\n}","type":"json"}]',
+ ],
+ 'CheckComputeSourceConnectivity' => [
+ 'summary' => '项目计算源连通性检查。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'CheckCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '校验指令',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => [
+ 'title' => '计算源类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'MAX_COMPUTE',
+ ],
+ 'ConfigList' => [
+ 'title' => '连接配置项',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Value' => [
+ 'title' => '配置项值',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'v1',
+ ],
+ 'Key' => [
+ 'title' => '配置项',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'k1',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => true,
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'Data' => [
+ 'title' => '请求结果',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"Data\\": true\\n}","type":"json"}]',
+ ],
+ 'CheckComputeSourceConnectivityById' => [
+ 'summary' => '计算源连通性检查。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'Id',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '计算源Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '12356',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'Data' => [
+ 'title' => '请求结果',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"Data\\": true\\n}","type":"json"}]',
+ ],
+ 'ListComputeSources' => [
+ 'summary' => '查询计算源列表。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'ListQuery',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '检索条件',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => [
+ 'title' => '计算源类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'MaxCompute',
+ ],
+ 'BindProject' => [
+ 'title' => '是否绑定项目',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ ],
+ 'Keyword' => [
+ 'title' => '关键字',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ 'PageSize' => [
+ 'title' => '分页记录数, 默认20',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '20',
+ ],
+ 'PageNo' => [
+ 'title' => '页码, 默认1',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'PageResult' => [
+ 'title' => '分页查询结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'TotalCount' => [
+ 'title' => '总记录数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '68',
+ ],
+ 'ComputeSourceList' => [
+ 'title' => '分页计算源列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Owner' => [
+ 'title' => '计算源归属人',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30012211',
+ ],
+ 'OwnerName' => [
+ 'title' => '计算源归属人',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '张三',
+ ],
+ 'BindProjectId' => [
+ 'title' => '绑定项目Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '10132131111',
+ ],
+ 'Description' => [
+ 'title' => '描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'BindProject' => [
+ 'title' => '是否绑定项目',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'GmtModified' => [
+ 'title' => '更新时间, 格式:yyyy-MM-dd HH:mm:ss',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-06-30 08:00:00',
+ ],
+ 'Creator' => [
+ 'title' => '创建者',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30012211',
+ ],
+ 'Name' => [
+ 'title' => '计算源名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test1011',
+ ],
+ 'GmtCreate' => [
+ 'title' => '创建时间, 格式:yyyy-MM-dd HH:mm:ss',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-06-30 08:00:00',
+ ],
+ 'Type' => [
+ 'title' => '计算源类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'MaxCompute',
+ ],
+ 'DisplayName' => [
+ 'title' => '展示名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test1011',
+ ],
+ 'Id' => [
+ 'title' => '计算源Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '102111',
+ ],
+ 'BindProjectName' => [
+ 'title' => '绑定项目名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'testPrj',
+ ],
+ 'CreatorName' => [
+ 'title' => '创建者',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '张三',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"PageResult\\": {\\n \\"TotalCount\\": 68,\\n \\"ComputeSourceList\\": [\\n {\\n \\"Owner\\": \\"30012211\\",\\n \\"OwnerName\\": \\"张三\\",\\n \\"BindProjectId\\": 10132131111,\\n \\"Description\\": \\"test\\",\\n \\"BindProject\\": true,\\n \\"GmtModified\\": \\"2025-06-30 08:00:00\\",\\n \\"Creator\\": \\"30012211\\",\\n \\"Name\\": \\"test1011\\",\\n \\"GmtCreate\\": \\"2025-06-30 08:00:00\\",\\n \\"Type\\": \\"MaxCompute\\",\\n \\"DisplayName\\": \\"test1011\\",\\n \\"Id\\": 102111,\\n \\"BindProjectName\\": \\"testPrj\\",\\n \\"CreatorName\\": \\"张三\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'UpdateComputeSource' => [
+ 'summary' => '修改计算源。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'UpdateCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '编辑指令',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '计算源Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '102311',
+ ],
+ 'Name' => [
+ 'title' => '计算源名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'test1021',
+ ],
+ 'Description' => [
+ 'title' => '描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'test',
+ ],
+ 'Type' => [
+ 'title' => '计算源类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'MacCompute',
+ ],
+ 'ConfigList' => [
+ 'title' => '连接配置项',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Value' => [
+ 'title' => '配置项值',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'v1',
+ ],
+ 'Key' => [
+ 'title' => '配置项',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'k1',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => true,
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\"\\n}","type":"json"}]',
+ ],
+ 'GetComputeSource' => [
+ 'summary' => '获取计算源详情。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'Id',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '计算源Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '12356',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'ComputeSourceInfo' => [
+ 'title' => '计算源详情',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '计算源Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '12356',
+ ],
+ 'Name' => [
+ 'title' => '计算源名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'dp_test',
+ ],
+ 'DisplayName' => [
+ 'title' => '展示名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'dp_test',
+ ],
+ 'Description' => [
+ 'title' => '描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'compute source for xxx.',
+ ],
+ 'GmtCreate' => [
+ 'title' => '创建时间, 格式:yyyy-MM-dd HH:mm:ss',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1681881607000',
+ ],
+ 'GmtModified' => [
+ 'title' => '更新时间, 格式:yyyy-MM-dd HH:mm:ss',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1711881607000',
+ ],
+ 'Owner' => [
+ 'title' => '计算源归属人',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '101101',
+ ],
+ 'Creator' => [
+ 'title' => '创建者',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '101101',
+ ],
+ 'OwnerName' => [
+ 'title' => '计算源归属人',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'CreatorName' => [
+ 'title' => '创建者',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'BindProjectName' => [
+ 'title' => '绑定项目名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'dp_mctest',
+ ],
+ 'BindProjectId' => [
+ 'title' => '绑定项目Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '10101101',
+ ],
+ 'BindProject' => [
+ 'title' => '是否绑定项目',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'Type' => [
+ 'title' => '计算源类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'MAX_COMPUTE',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"ComputeSourceInfo\\": {\\n \\"Id\\": 12356,\\n \\"Name\\": \\"dp_test\\",\\n \\"DisplayName\\": \\"dp_test\\",\\n \\"Description\\": \\"compute source for xxx.\\",\\n \\"GmtCreate\\": \\"1681881607000\\",\\n \\"GmtModified\\": \\"1711881607000\\",\\n \\"Owner\\": \\"101101\\",\\n \\"Creator\\": \\"101101\\",\\n \\"OwnerName\\": \\"test\\",\\n \\"CreatorName\\": \\"test\\",\\n \\"BindProjectName\\": \\"dp_mctest\\",\\n \\"BindProjectId\\": 10101101,\\n \\"BindProject\\": true,\\n \\"Type\\": \\"MAX_COMPUTE\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'DeleteComputeSource' => [
+ 'summary' => '删除计算源。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'Id',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '计算源Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '12356',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\"\\n}","type":"json"}]',
+ ],
+ 'CreateComputeSource' => [
+ 'summary' => '创建计算源。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'CreateCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '创建命令',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => [
+ 'title' => '计算源名',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'test1011',
+ ],
+ 'Description' => [
+ 'title' => '描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ 'Type' => [
+ 'title' => '计算源类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'MacCompute',
+ ],
+ 'ConfigList' => [
+ 'title' => '连接配置项',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Value' => [
+ 'title' => '配置项值',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'v1',
+ ],
+ 'Key' => [
+ 'title' => '配置项',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'k1',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => true,
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'CreateResult' => [
+ 'title' => '创建结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '计算源Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '12356',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"CreateResult\\": {\\n \\"Id\\": 12356\\n }\\n}","type":"json"}]',
+ ],
+ 'GetSparkLocalClientInfo' => [
+ 'summary' => '获取计算源对应集群的spark客户信息',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'ProjectId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '项目ID',
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ ],
+ [
+ 'name' => 'EnvEnum',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '环境标识:'."\n"
+ .'DEV:开发环境'."\n"
+ .'PROD:生产环境',
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'Data' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ClientName' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'spark-clinet',
+ ],
+ 'ClientFileResourceName' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'spark-cleint.zip',
+ ],
+ 'ClientFileResourceId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'XXXX-XXXX-XXXX-XXXX',
+ ],
+ 'Editable' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true/false',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"Data\\": [\\n {\\n \\"ClientName\\": \\"spark-clinet\\",\\n \\"ClientFileResourceName\\": \\"spark-cleint.zip\\",\\n \\"ClientFileResourceId\\": \\"XXXX-XXXX-XXXX-XXXX\\",\\n \\"Editable\\": true\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'SyncDepartment' => [
+ 'summary' => '同步部门信息。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'SyncDepartmentCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '请求命令',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'DepartmentList' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'DepartmentId' => [
+ 'title' => '部门ID(部门唯一标识)',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '10001',
+ ],
+ 'DepartmentName' => [
+ 'title' => '部门展示名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '研发中心',
+ ],
+ 'ParentDepartmentId' => [
+ 'title' => '父部门ID(部门唯一标识,如无则为null)',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '10001',
+ ],
+ ],
+ 'required' => true,
+ ],
+ 'required' => true,
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'Data' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"Data\\": true\\n}","type":"json"}]',
+ ],
+ 'SyncDepartmentUser' => [
+ 'summary' => '同步部门成员信息',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'SyncDepartmentUserCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '请求命令',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'DeptUserMapping' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'SourceUserId' => [
+ 'title' => '用户系统的用户ID(用户唯一标识)',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '30000001',
+ ],
+ 'DepartmentIdList' => [
+ 'title' => '用户归属部门ID列表(为空则为删除用户归属关系)',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'DEPT_1',
+ ],
+ 'required' => false,
+ ],
+ ],
+ 'required' => true,
+ ],
+ 'required' => true,
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'Data' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"Data\\": true\\n}","type":"json"}]',
+ ],
+ 'TransferOwnershipForAllObject' => [
+ 'summary' => '一键转交负责人',
+ 'path' => '',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'PrivilegeTransferRecord',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'OldOwner' => [
+ 'title' => '转出人用户ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '30000001',
+ ],
+ 'NewOwner' => [
+ 'title' => '接收人用户ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '30000002',
+ ],
+ 'TransferComment' => [
+ 'title' => '备注',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'comment',
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'Data' => [
+ 'title' => '转交记录ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"Data\\": 1\\n}","type":"json"}]',
+ ],
+ 'RetryTransferOwnership' => [
+ 'summary' => '重新转交运行失败的转交任务',
+ 'path' => '',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'PrivilegeTransferRecord',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '转出任务ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '1',
+ ],
+ 'NewOwner' => [
+ 'title' => '接收人用户ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '30000001',
+ ],
+ 'TransferComment' => [
+ 'title' => '备注',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'comment',
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'Data' => [
+ 'title' => '转交记录ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '2',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"Data\\": 2\\n}","type":"json"}]',
+ ],
+ 'GetTransferInfo' => [
+ 'summary' => '根据转交任务ID查询转交任务的进度',
+ 'path' => '',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'ProposalId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '转交记录ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '1',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'Data' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ProposalId' => [
+ 'title' => '审批单id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'FlowId' => [
+ 'title' => '审批单flowId',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1753669315426',
+ ],
+ 'Title' => [
+ 'title' => '审批单title',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'transefer title',
+ ],
+ 'Creator' => [
+ 'title' => '创建者',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'UserId' => [
+ 'title' => '用户ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30000001',
+ ],
+ 'DisplayName' => [
+ 'title' => '用户名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'zhangsan',
+ ],
+ ],
+ ],
+ 'OldOwner' => [
+ 'title' => '旧的owner',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'UserId' => [
+ 'title' => '用户ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30000001',
+ ],
+ 'DisplayName' => [
+ 'title' => '用户名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'zhangsan',
+ ],
+ ],
+ ],
+ 'NewOwner' => [
+ 'title' => '新的owner',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'UserId' => [
+ 'title' => '用户ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30000001',
+ ],
+ 'DisplayName' => [
+ 'title' => '用户名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'zhangsan',
+ ],
+ ],
+ ],
+ 'PrivilegeTransferMode' => [
+ 'title' => '转交模式:一键转交-ONE_STOP,根据功能模块转交-FUNCTION_MODULE_BASED',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'ONE_STOP',
+ ],
+ 'TransferComment' => [
+ 'title' => '转交描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'comment',
+ ],
+ 'TransferStatus' => [
+ 'title' => '转交状态',
+ 'description' => '',
+ 'type' => 'string',
+ 'enumValueTitles' => [
+ 'REVOKED' => '',
+ 'SUCCESS' => '',
+ 'FAILED' => '',
+ 'APPROVING' => '',
+ 'CANCELED' => '',
+ 'APPROVED' => '',
+ 'RETRY' => '',
+ 'REJECTED' => '',
+ ],
+ 'example' => 'APPROVED',
+ ],
+ 'LastModifier' => [
+ 'title' => '最后修改人',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'UserId' => [
+ 'title' => '用户ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30000001',
+ ],
+ 'DisplayName' => [
+ 'title' => '用户名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'zhangsan',
+ ],
+ ],
+ ],
+ 'PrivilegeTransferResultEntries' => [
+ 'title' => '功能模块的转交详情',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Status' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'SUCCESS',
+ ],
+ 'PrivilegeDisplayName' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'table owner',
+ ],
+ 'ErrMsg' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'userId is error',
+ ],
+ ],
+ ],
+ ],
+ 'GmtCreate' => [
+ 'title' => '创建时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1632036495973809',
+ ],
+ 'GmtModified' => [
+ 'title' => '最后修改时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1632036495973809',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"Data\\": {\\n \\"ProposalId\\": 1,\\n \\"FlowId\\": 1753669315426,\\n \\"Title\\": \\"transefer title\\",\\n \\"Creator\\": {\\n \\"UserId\\": \\"30000001\\",\\n \\"DisplayName\\": \\"zhangsan\\"\\n },\\n \\"OldOwner\\": {\\n \\"UserId\\": \\"30000001\\",\\n \\"DisplayName\\": \\"zhangsan\\"\\n },\\n \\"NewOwner\\": {\\n \\"UserId\\": \\"30000001\\",\\n \\"DisplayName\\": \\"zhangsan\\"\\n },\\n \\"PrivilegeTransferMode\\": \\"ONE_STOP\\",\\n \\"TransferComment\\": \\"comment\\",\\n \\"TransferStatus\\": \\"APPROVED\\",\\n \\"LastModifier\\": {\\n \\"UserId\\": \\"30000001\\",\\n \\"DisplayName\\": \\"zhangsan\\"\\n },\\n \\"PrivilegeTransferResultEntries\\": [\\n {\\n \\"Status\\": \\"SUCCESS\\",\\n \\"PrivilegeDisplayName\\": \\"table owner\\",\\n \\"ErrMsg\\": \\"userId is error\\"\\n }\\n ],\\n \\"GmtCreate\\": \\"1632036495973809\\",\\n \\"GmtModified\\": \\"1632036495973809\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'AddTenantMembers' => [
+ 'summary' => '新增租户成员',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'AddCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '请求命令',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'UserList' => [
+ 'title' => '成员列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '成员对象',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1323241',
+ ],
+ 'RoleList' => [
+ 'title' => '用户Id',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '角色列表',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'SECURITY_ADMIN',
+ ],
+ 'required' => false,
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => true,
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'Data' => [
+ 'title' => '新增租户成员结果',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"Data\\": true\\n}","type":"json"}]',
+ ],
+ 'AddTenantMembersBySourceUser' => [
+ 'summary' => '通过原始用户添加租户成员.',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'AddCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'SourceUserList' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'SourceId' => [
+ 'title' => '用户原始Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2323131',
+ ],
+ 'DisplayName' => [
+ 'title' => '显示名',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '',
+ ],
+ 'AccountName' => [
+ 'title' => '账号名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '[email protected]',
+ ],
+ 'MobilePhone' => [
+ 'title' => '电话号码',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '13888888888',
+ ],
+ 'Mail' => [
+ 'title' => '邮箱',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '[email protected]',
+ ],
+ 'DingNumber' => [
+ 'title' => '钉钉号',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '123@dingding',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => false,
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'Data' => [
+ 'title' => '添加结果',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"Data\\": true\\n}","type":"json"}]',
+ ],
+ 'CreateUserGroup' => [
+ 'summary' => '新建用户组.',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'CreateCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => [
+ 'title' => '用户组名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '',
+ ],
+ 'Description' => [
+ 'title' => '用户组描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'xx',
+ ],
+ 'Active' => [
+ 'title' => '是否启用用户组',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ 'AdminUserIdList' => [
+ 'title' => '用户组管理员用户Id',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '用户组管理员用户Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '23231',
+ ],
+ 'required' => false,
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'UserGroupId' => [
+ 'title' => '用户组Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2313131',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"UserGroupId\\": \\"2313131\\"\\n}","type":"json"}]',
+ ],
+ 'AddUserGroupMember' => [
+ 'summary' => '添加用户组成员.',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'AddCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '添加用户组成员',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'UserGroupId' => [
+ 'title' => '用户组Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '132331',
+ ],
+ 'UserIdList' => [
+ 'title' => '用户Id列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '用户Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '342313',
+ ],
+ 'required' => false,
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'Data' => [
+ 'title' => '添加结果',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"Data\\": true\\n}","type":"json"}]',
+ ],
+ 'DeleteUserGroup' => [
+ 'summary' => '删除用户组.',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'UserGroupId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '用户组Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '232131',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'Data' => [
+ 'title' => '删除结果',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"Data\\": true\\n}","type":"json"}]',
+ ],
+ 'UpdateUserGroup' => [
+ 'summary' => '编辑用户组.',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'UpdateCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '编辑用户组',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '用户组Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '13423',
+ ],
+ 'Name' => [
+ 'title' => '用户组名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '',
+ ],
+ 'Description' => [
+ 'title' => '描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'xx',
+ ],
+ 'AdminUserIdList' => [
+ 'title' => '用户组管理员',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '用户组管理员',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2323131',
+ ],
+ 'required' => false,
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'Data' => [
+ 'title' => '编辑结果',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"Data\\": true\\n}","type":"json"}]',
+ ],
+ 'UpdateUserGroupSwitch' => [
+ 'summary' => '编辑用户组启用开关.',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'UserGroupId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '用户组Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '31323',
+ ],
+ ],
+ [
+ 'name' => 'Active',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '是否启用用户组标识',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => true,
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'Data' => [
+ 'title' => '编辑结果',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"Data\\": true\\n}","type":"json"}]',
+ ],
+ 'UpdateTenantMember' => [
+ 'summary' => '编辑租户成员',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'UpdateCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '请求对象',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'MemberList' => [
+ 'title' => '成员列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '成员对象',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'UserId' => [
+ 'title' => '用户Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2331',
+ ],
+ 'MobilePhone' => [
+ 'title' => '电话号码',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '13888888888',
+ ],
+ 'Mail' => [
+ 'title' => '邮箱',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '[email protected]',
+ ],
+ 'DingNumber' => [
+ 'title' => '钉钉号',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '123@dingding',
+ ],
+ 'RoleList' => [
+ 'title' => '角色列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '角色',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'SECURITY_ADMIN',
+ ],
+ 'required' => false,
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => true,
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\"\\n}","type":"json"}]',
+ ],
+ 'ListResourcePermissionOperationLog' => [
+ 'summary' => '分页获取权限操作列表',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'ListQuery',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '分页请求',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'TabType' => [
+ 'title' => 'TAB名称:表:TABLE;数据源:DATASOURCE',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'TABLE',
+ ],
+ 'SearchText' => [
+ 'title' => '搜索关键词',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'xx测试',
+ ],
+ 'Page' => [
+ 'title' => '页码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '1',
+ ],
+ 'PageSize' => [
+ 'title' => '分页记录数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '10',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'PageResult' => [
+ 'title' => '分页查询结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'TotalCount' => [
+ 'title' => '总记录数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '121',
+ ],
+ 'Data' => [
+ 'title' => '分页记录',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '操作日志',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'OperateId' => [
+ 'title' => '操作Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '123133',
+ ],
+ 'OperateType' => [
+ 'title' => '操作类型: 申请:APPLY;授权:GRANT',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'APPLY',
+ ],
+ 'ResourceInfo' => [
+ 'title' => '权限资源',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '权限资源ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'a.tb1',
+ ],
+ 'Name' => [
+ 'title' => '权限资源名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'tb1',
+ ],
+ 'DisplayName' => [
+ 'title' => '资源展示名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'tb1',
+ ],
+ 'Type' => [
+ 'title' => '资源类型 PHYSICAL_TABLE,PHYSICAL_VIEW,LOGICAL_TABLE,LOGICAL_VIEW,REALTIME_LOGICAL_TABLE,REALTIME_MIRROR_TABLE,DATASOURCE',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'PHYSICAL_TABLE',
+ ],
+ 'Env' => [
+ 'title' => '资源环境类型 开发:DEV;生产:PROD',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'DEV',
+ ],
+ 'BizUnitInfo' => [
+ 'title' => '业务板块',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => 'Id',
+ 'description' => 'Id',
+ 'type' => 'string',
+ 'example' => '121323',
+ ],
+ 'Name' => [
+ 'title' => '名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'xx',
+ ],
+ 'DisplayName' => [
+ 'title' => '展示名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'xx',
+ ],
+ 'Env' => [
+ 'title' => '环境标识 开发:DEV;生产:PROD',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'DEV',
+ ],
+ ],
+ ],
+ 'ProjectInfo' => [
+ 'title' => '项目',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '项目ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1123131',
+ ],
+ 'Name' => [
+ 'title' => '名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'xx',
+ ],
+ 'DisplayName' => [
+ 'title' => '展示名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'xx',
+ ],
+ 'Env' => [
+ 'title' => '环境标识 开发:DEV;生产:PROD',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'DEV',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'Account' => [
+ 'title' => '操作人',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '个人账号:Dataphin侧userId;生产账号:UserId(通过GetProjectProduceUser接口获取),用户组:用户组Id(通过ListUserGroup接口获取)',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1212131',
+ ],
+ 'Name' => [
+ 'title' => '个人账号:Dataphin侧userId;生产账号:UserId(通过GetProjectProduceUser接口获取),用户组:用户组Id(通过ListUserGroup接口获取)',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'xx',
+ ],
+ 'Type' => [
+ 'title' => '授权账号类型:PERSONAL(个人账号),PRODUCE(生产账号),USER_GROUP(用户组)',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'PERSONAL',
+ ],
+ ],
+ ],
+ 'TargetAccount' => [
+ 'title' => '被授权对象',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '个人账号:Dataphin侧userId;生产账号:UserId(通过GetProjectProduceUser接口获取),用户组:用户组Id(通过ListUserGroup接口获取)',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1212131',
+ ],
+ 'Name' => [
+ 'title' => '个人账号:Dataphin侧userId;生产账号:UserId(通过GetProjectProduceUser接口获取),用户组:用户组Id(通过ListUserGroup接口获取)',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'xx',
+ ],
+ 'Type' => [
+ 'title' => '授权账号类型:PERSONAL(个人账号),PRODUCE(生产账号),USER_GROUP(用户组)',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'PERSONAL',
+ ],
+ ],
+ ],
+ 'Reason' => [
+ 'title' => '原因',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'xx测试',
+ ],
+ 'OperateTime' => [
+ 'title' => '操作时间',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1710012121000',
+ ],
+ 'Period' => [
+ 'title' => '有效期设置',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => [
+ 'title' => '有效期类型'."\n"
+ .'自定义:CUSTOM;长期:LONG_TERM',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'CUSTOM',
+ ],
+ 'EndTime' => [
+ 'title' => '到期时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1712000000000',
+ ],
+ ],
+ ],
+ 'AuthScope' => [
+ 'title' => '表的授权范围 制定表:selectTable 项目下所有表:projectAllTable,板块下所有逻辑表:bizUnitAllLogicTable',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'selectTable',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"PageResult\\": {\\n \\"TotalCount\\": 121,\\n \\"Data\\": [\\n {\\n \\"OperateId\\": 123133,\\n \\"OperateType\\": \\"APPLY\\",\\n \\"ResourceInfo\\": {\\n \\"Id\\": \\"a.tb1\\",\\n \\"Name\\": \\"tb1\\",\\n \\"DisplayName\\": \\"tb1\\",\\n \\"Type\\": \\"PHYSICAL_TABLE\\",\\n \\"Env\\": \\"DEV\\",\\n \\"BizUnitInfo\\": {\\n \\"Id\\": \\"121323\\",\\n \\"Name\\": \\"xx\\",\\n \\"DisplayName\\": \\"xx\\",\\n \\"Env\\": \\"DEV\\"\\n },\\n \\"ProjectInfo\\": {\\n \\"Id\\": 1123131,\\n \\"Name\\": \\"xx\\",\\n \\"DisplayName\\": \\"xx\\",\\n \\"Env\\": \\"DEV\\"\\n }\\n },\\n \\"Account\\": {\\n \\"Id\\": \\"1212131\\",\\n \\"Name\\": \\"xx\\",\\n \\"Type\\": \\"PERSONAL\\"\\n },\\n \\"TargetAccount\\": {\\n \\"Id\\": \\"1212131\\",\\n \\"Name\\": \\"xx\\",\\n \\"Type\\": \\"PERSONAL\\"\\n },\\n \\"Reason\\": \\"xx测试\\",\\n \\"OperateTime\\": 1710012121000,\\n \\"Period\\": {\\n \\"Type\\": \\"CUSTOM\\",\\n \\"EndTime\\": \\"1712000000000\\"\\n },\\n \\"AuthScope\\": \\"selectTable\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'ListResourcePermissions' => [
+ 'summary' => '分页获取权限记录列表',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'ListQuery',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '分页请求',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'TabType' => [
+ 'title' => 'TAB名称:表:TABLE;数据源:DATASOURCE',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'TABLE',
+ ],
+ 'SearchText' => [
+ 'title' => '搜索关键词',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'xx测试',
+ ],
+ 'Page' => [
+ 'title' => '页码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '1',
+ ],
+ 'PageSize' => [
+ 'title' => '分页记录数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '10',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'PageResult' => [
+ 'title' => '分页查询结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'TotalCount' => [
+ 'title' => '总记录数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '121',
+ ],
+ 'Data' => [
+ 'title' => '分页列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '资源权限明细',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RecordId' => [
+ 'title' => '记录ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '12123111',
+ ],
+ 'ResourceInfo' => [
+ 'title' => '权限资源',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '权限资源ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'a.tb1',
+ ],
+ 'Name' => [
+ 'title' => '权限资源名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'tb1',
+ ],
+ 'DisplayName' => [
+ 'title' => '资源展示名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'tb1',
+ ],
+ 'Type' => [
+ 'title' => '资源类型 PHYSICAL_TABLE,PHYSICAL_VIEW,LOGICAL_TABLE,LOGICAL_VIEW,REALTIME_LOGICAL_TABLE,REALTIME_MIRROR_TABLE,DATASOURCE',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'PHYSICAL_TABLE',
+ ],
+ 'Env' => [
+ 'title' => '资源环境类型 开发:DEV;生产:PROD',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'DEV',
+ ],
+ 'BizUnitInfo' => [
+ 'title' => '业务板块',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => 'Id',
+ 'description' => 'Id',
+ 'type' => 'string',
+ 'example' => '121323',
+ ],
+ 'Name' => [
+ 'title' => '名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'xx',
+ ],
+ 'DisplayName' => [
+ 'title' => '展示名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'xx',
+ ],
+ 'Env' => [
+ 'title' => '环境标识 开发:DEV;生产:PROD',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'DEV',
+ ],
+ ],
+ ],
+ 'ProjectInfo' => [
+ 'title' => '项目',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '项目ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1123131',
+ ],
+ 'Name' => [
+ 'title' => '名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'xx',
+ ],
+ 'DisplayName' => [
+ 'title' => '展示名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'xx',
+ ],
+ 'Env' => [
+ 'title' => '环境标识 开发:DEV;生产:PROD',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'DEV',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'TargetAccount' => [
+ 'title' => '被授权对象',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '个人账号:Dataphin侧userId;生产账号:UserId(通过GetProjectProduceUser接口获取),用户组:用户组Id(通过ListUserGroup接口获取)',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1212131',
+ ],
+ 'Name' => [
+ 'title' => '个人账号:Dataphin侧userId;生产账号:UserId(通过GetProjectProduceUser接口获取),用户组:用户组Id(通过ListUserGroup接口获取)',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'xx',
+ ],
+ 'Type' => [
+ 'title' => '授权账号类型:PERSONAL(个人账号),PRODUCE(生产账号),USER_GROUP(用户组)',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'PERSONAL',
+ ],
+ ],
+ ],
+ 'Period' => [
+ 'title' => '有效期设置',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => [
+ 'title' => '有效期类型'."\n"
+ .'自定义:CUSTOM;长期:LONG_TERM',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'CUSTOM',
+ ],
+ 'EndTime' => [
+ 'title' => '到期时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1712000000000',
+ ],
+ ],
+ ],
+ 'AuthScope' => [
+ 'title' => '表的授权范围 制定表:selectTable 项目下所有表:projectAllTable,板块下所有逻辑表:bizUnitAllLogicTable',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'selectTable',
+ ],
+ 'PermissionPeriodList' => [
+ 'title' => '不同权限类型有效期列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '权限有效期',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'PermissionType' => [
+ 'title' => '权限类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'SELECT',
+ ],
+ 'Period' => [
+ 'title' => '有效期设置',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => [
+ 'title' => '有效期类型'."\n"
+ .'自定义:CUSTOM;长期:LONG_TERM',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'CUSTOM',
+ ],
+ 'EndTime' => [
+ 'title' => '到期时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1712000000000',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"PageResult\\": {\\n \\"TotalCount\\": 121,\\n \\"Data\\": [\\n {\\n \\"RecordId\\": \\"12123111\\",\\n \\"ResourceInfo\\": {\\n \\"Id\\": \\"a.tb1\\",\\n \\"Name\\": \\"tb1\\",\\n \\"DisplayName\\": \\"tb1\\",\\n \\"Type\\": \\"PHYSICAL_TABLE\\",\\n \\"Env\\": \\"DEV\\",\\n \\"BizUnitInfo\\": {\\n \\"Id\\": \\"121323\\",\\n \\"Name\\": \\"xx\\",\\n \\"DisplayName\\": \\"xx\\",\\n \\"Env\\": \\"DEV\\"\\n },\\n \\"ProjectInfo\\": {\\n \\"Id\\": 1123131,\\n \\"Name\\": \\"xx\\",\\n \\"DisplayName\\": \\"xx\\",\\n \\"Env\\": \\"DEV\\"\\n }\\n },\\n \\"TargetAccount\\": {\\n \\"Id\\": \\"1212131\\",\\n \\"Name\\": \\"xx\\",\\n \\"Type\\": \\"PERSONAL\\"\\n },\\n \\"Period\\": {\\n \\"Type\\": \\"CUSTOM\\",\\n \\"EndTime\\": \\"1712000000000\\"\\n },\\n \\"AuthScope\\": \\"selectTable\\",\\n \\"PermissionPeriodList\\": [\\n {\\n \\"PermissionType\\": \\"SELECT\\",\\n \\"Period\\": {\\n \\"Type\\": \\"CUSTOM\\",\\n \\"EndTime\\": \\"1712000000000\\"\\n }\\n }\\n ]\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'GetProjectProduceUser' => [
+ 'summary' => '获取项目生产账号',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'ProjectId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '项目Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '131311111321',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'User' => [
+ 'title' => '生产者用户',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '用户Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '123131',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"User\\": {\\n \\"Id\\": \\"123131\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'GetUsers' => [
+ 'summary' => '获取用户详情',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'UserIdList',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '用户Id列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '132313',
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'UserList' => [
+ 'title' => '用户列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '用户对象',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '用户Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1233121',
+ ],
+ 'ParentId' => [
+ 'title' => '用户归属主账号Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '231231',
+ ],
+ 'SourceType' => [
+ 'title' => '用户来源',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'ALIYUN',
+ ],
+ 'SourceId' => [
+ 'title' => '用户来源Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '[email protected]',
+ ],
+ 'Name' => [
+ 'title' => '用户名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'DisplayName' => [
+ 'title' => '用户显示名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'DisplayNameWithoutStatus' => [
+ 'title' => '用户显示名(不含状态)',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'AccountName' => [
+ 'title' => '账号名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '[email protected]',
+ ],
+ 'RealName' => [
+ 'title' => '用户真实名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'NickName' => [
+ 'title' => '用户昵称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'GmtCreate' => [
+ 'title' => '创建时间',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1717343597000',
+ ],
+ 'MobilePhone' => [
+ 'title' => '电话号码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1388888888',
+ ],
+ 'Mail' => [
+ 'title' => '邮箱',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '[email protected]',
+ ],
+ 'DingNumber' => [
+ 'title' => '钉钉号',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '123@dingding',
+ ],
+ 'WeChatRobot' => [
+ 'title' => '企微机器人',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'xx',
+ ],
+ 'FeiShuRobot' => [
+ 'title' => '飞书机器人',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'xx',
+ ],
+ 'EnableWhiteIp' => [
+ 'title' => '是否开启ip白名单',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'true',
+ ],
+ 'WhiteIp' => [
+ 'title' => '白名单',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '*',
+ ],
+ 'GmtModified' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1717343597000',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"UserList\\": [\\n {\\n \\"Id\\": \\"1233121\\",\\n \\"ParentId\\": \\"231231\\",\\n \\"SourceType\\": \\"ALIYUN\\",\\n \\"SourceId\\": \\"[email protected]\\",\\n \\"Name\\": \\"xx测试\\",\\n \\"DisplayName\\": \\"xx测试\\",\\n \\"DisplayNameWithoutStatus\\": \\"xx测试\\",\\n \\"AccountName\\": \\"[email protected]\\",\\n \\"RealName\\": \\"xx测试\\",\\n \\"NickName\\": \\"xx测试\\",\\n \\"GmtCreate\\": 1717343597000,\\n \\"MobilePhone\\": \\"1388888888\\",\\n \\"Mail\\": \\"[email protected]\\",\\n \\"DingNumber\\": \\"123@dingding\\",\\n \\"WeChatRobot\\": \\"xx\\",\\n \\"FeiShuRobot\\": \\"xx\\",\\n \\"EnableWhiteIp\\": \\"true\\",\\n \\"WhiteIp\\": \\"*\\",\\n \\"GmtModified\\": 1717343597000\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'ListAddableUsers' => [
+ 'summary' => '获取可加入租户成员列表的用户',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'ListQuery',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '请求对象',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Page' => [
+ 'title' => '页码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ 'PageSize' => [
+ 'title' => '分页记录数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '10',
+ ],
+ 'SearchText' => [
+ 'title' => '搜索关键字',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'xx',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'PageResult' => [
+ 'title' => '分页查询结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'TotalCount' => [
+ 'title' => '总记录数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '66',
+ ],
+ 'UserList' => [
+ 'title' => '用户列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '用户对象',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '用户Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '123231',
+ ],
+ 'ParentId' => [
+ 'title' => '用户归属主账号Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '231313',
+ ],
+ 'SourceType' => [
+ 'title' => '用户来源',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'aliyun',
+ ],
+ 'SourceId' => [
+ 'title' => '用户来源Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '[email protected]',
+ ],
+ 'Name' => [
+ 'title' => '用户名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'xx',
+ ],
+ 'DisplayName' => [
+ 'title' => '用户显示名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'xx',
+ ],
+ 'DisplayNameWithoutStatus' => [
+ 'title' => '用户显示名(不含状态)',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'xx',
+ ],
+ 'AccountName' => [
+ 'title' => '账号名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '[email protected]',
+ ],
+ 'RealName' => [
+ 'title' => '用户真实名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'xx',
+ ],
+ 'NickName' => [
+ 'title' => '用户昵称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'xx',
+ ],
+ 'GmtCreate' => [
+ 'title' => '创建时间',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1717343597000',
+ ],
+ 'MobilePhone' => [
+ 'title' => '电话号码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '13888888888',
+ ],
+ 'Mail' => [
+ 'title' => '邮箱',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '[email protected]',
+ ],
+ 'DingNumber' => [
+ 'title' => '钉钉号',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '123@dingding',
+ ],
+ 'WeChatRobot' => [
+ 'title' => '企微机器人',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'xx',
+ ],
+ 'FeiShuRobot' => [
+ 'title' => '飞书机器人',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'xx',
+ ],
+ 'EnableWhiteIp' => [
+ 'title' => '是否开启ip白名单',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'true',
+ ],
+ 'WhiteIp' => [
+ 'title' => '白名单',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '*',
+ ],
+ 'GmtModified' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1717343597000',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"PageResult\\": {\\n \\"TotalCount\\": 66,\\n \\"UserList\\": [\\n {\\n \\"Id\\": \\"123231\\",\\n \\"ParentId\\": \\"231313\\",\\n \\"SourceType\\": \\"aliyun\\",\\n \\"SourceId\\": \\"[email protected]\\",\\n \\"Name\\": \\"xx\\",\\n \\"DisplayName\\": \\"xx\\",\\n \\"DisplayNameWithoutStatus\\": \\"xx\\",\\n \\"AccountName\\": \\"[email protected]\\",\\n \\"RealName\\": \\"xx\\",\\n \\"NickName\\": \\"xx\\",\\n \\"GmtCreate\\": 1717343597000,\\n \\"MobilePhone\\": \\"13888888888\\",\\n \\"Mail\\": \\"[email protected]\\",\\n \\"DingNumber\\": \\"123@dingding\\",\\n \\"WeChatRobot\\": \\"xx\\",\\n \\"FeiShuRobot\\": \\"xx\\",\\n \\"EnableWhiteIp\\": \\"true\\",\\n \\"WhiteIp\\": \\"*\\",\\n \\"GmtModified\\": 1717343597000\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'ListTenantMembers' => [
+ 'summary' => '查询租户成员列表',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'ListQuery',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '请求对象',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Page' => [
+ 'title' => '页码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '1',
+ ],
+ 'PageSize' => [
+ 'title' => '分页记录数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '20',
+ ],
+ 'SearchText' => [
+ 'title' => '搜索关键字',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '',
+ ],
+ 'UserGroupIdList' => [
+ 'title' => '成员归属用户组ID',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1213111',
+ ],
+ 'required' => false,
+ ],
+ 'RoleList' => [
+ 'title' => '成员角色:'."\n"
+ .'SUPER_ADMIN PROJECT_OPS PROJECT_DEVELOPER等',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'DATA_ADMIN',
+ ],
+ 'required' => false,
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'PageResult' => [
+ 'title' => '分页查询结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'TotalCount' => [
+ 'title' => '总记录数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '110',
+ ],
+ 'UserList' => [
+ 'title' => '用户列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '用户对象',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '用户Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '132321',
+ ],
+ 'SourceType' => [
+ 'title' => '用户来源',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'aliyun',
+ ],
+ 'SourceId' => [
+ 'title' => '用户来源Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '213213232422222',
+ ],
+ 'Name' => [
+ 'title' => '用户名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'zhangsan',
+ ],
+ 'DisplayName' => [
+ 'title' => '用户显示名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'zhangsan',
+ ],
+ 'DisplayNameWithoutStatus' => [
+ 'title' => '用户显示名(不含状态)',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'zhangsan',
+ ],
+ 'AccountName' => [
+ 'title' => '账号名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'zhangsan',
+ ],
+ 'RealName' => [
+ 'title' => '用户真实名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'NickName' => [
+ 'title' => '用户昵称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'susan',
+ ],
+ 'GmtCreate' => [
+ 'title' => '创建时间',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1730000000000',
+ ],
+ 'MobilePhone' => [
+ 'title' => '电话号码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '13888888888',
+ ],
+ 'Mail' => [
+ 'title' => '邮箱',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '[email protected]',
+ ],
+ 'DingNumber' => [
+ 'title' => '钉钉号',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'dd123123',
+ ],
+ 'EnableWhiteIp' => [
+ 'title' => '是否开启ip白名单',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'true',
+ ],
+ 'WhiteIp' => [
+ 'title' => '白名单',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '0.0.0.0/0',
+ ],
+ 'GmtModified' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1730000000000',
+ ],
+ 'UserGroupList' => [
+ 'title' => '归属资源组',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '用户组',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '用户组ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '121313',
+ ],
+ 'Name' => [
+ 'title' => '用户组名字',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'Description' => [
+ 'title' => '描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'Active' => [
+ 'title' => '是否启用',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ ],
+ 'example' => '232424',
+ ],
+ ],
+ 'RoleList' => [
+ 'title' => '成员橘色',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'DATA_ADMIN',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"PageResult\\": {\\n \\"TotalCount\\": 110,\\n \\"UserList\\": [\\n {\\n \\"Id\\": \\"132321\\",\\n \\"SourceType\\": \\"aliyun\\",\\n \\"SourceId\\": \\"213213232422222\\",\\n \\"Name\\": \\"zhangsan\\",\\n \\"DisplayName\\": \\"zhangsan\\",\\n \\"DisplayNameWithoutStatus\\": \\"zhangsan\\",\\n \\"AccountName\\": \\"zhangsan\\",\\n \\"RealName\\": \\"张三\\",\\n \\"NickName\\": \\"susan\\",\\n \\"GmtCreate\\": 1730000000000,\\n \\"MobilePhone\\": \\"13888888888\\",\\n \\"Mail\\": \\"[email protected]\\",\\n \\"DingNumber\\": \\"dd123123\\",\\n \\"EnableWhiteIp\\": \\"true\\",\\n \\"WhiteIp\\": \\"0.0.0.0/0\\",\\n \\"GmtModified\\": 1730000000000,\\n \\"UserGroupList\\": [\\n {\\n \\"Id\\": \\"121313\\",\\n \\"Name\\": \\"xx测试\\",\\n \\"Description\\": \\"测试\\",\\n \\"Active\\": true\\n }\\n ],\\n \\"RoleList\\": [\\n \\"DATA_ADMIN\\"\\n ]\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'GetUserGroup' => [
+ 'summary' => '获取用户组详情.',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'UserGroupId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '用户组Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '1313213',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'UserGroupInfo' => [
+ 'title' => '用户组详情',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '用户组Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1313213',
+ ],
+ 'Name' => [
+ 'title' => '用户组名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'Description' => [
+ 'title' => '用户组描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'xx',
+ ],
+ 'Active' => [
+ 'title' => '是否启用用户组',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'AdminList' => [
+ 'title' => '用户组管理员',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '用户Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '131313',
+ ],
+ 'DisplayName' => [
+ 'title' => '用户名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'AccountName' => [
+ 'title' => '用户账号名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'xx',
+ ],
+ ],
+ ],
+ ],
+ 'MyRole' => [
+ 'title' => '当前用户在用户组角色',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'xx',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"UserGroupInfo\\": {\\n \\"Id\\": \\"1313213\\",\\n \\"Name\\": \\"xx测试\\",\\n \\"Description\\": \\"xx\\",\\n \\"Active\\": true,\\n \\"AdminList\\": [\\n {\\n \\"Id\\": \\"131313\\",\\n \\"DisplayName\\": \\"xx测试\\",\\n \\"AccountName\\": \\"xx\\"\\n }\\n ],\\n \\"MyRole\\": \\"xx\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'ListAddableRoles' => [
+ 'summary' => '获取用户角色列表',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'RoleList' => [
+ 'title' => '角色列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '角色',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'title' => '角色编码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'SECURITY_ADMIN',
+ ],
+ 'Name' => [
+ 'title' => '角色名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"RoleList\\": [\\n {\\n \\"Code\\": \\"SECURITY_ADMIN\\",\\n \\"Name\\": \\"安全管理员\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'ListUserGroups' => [
+ 'summary' => '用户组列表分页查询.',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'ListQuery',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '分页查询',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Keyword' => [
+ 'title' => '用户组名称关键字',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '',
+ ],
+ 'Active' => [
+ 'title' => '是否启用用户组',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ 'AdminIdList' => [
+ 'title' => '用户组管理员用户Id',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '用户组管理员用户Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '131311',
+ ],
+ 'required' => false,
+ ],
+ 'FilterMine' => [
+ 'title' => '是否过滤当前用户所在用户组',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ ],
+ 'PageNo' => [
+ 'title' => '页码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '1',
+ ],
+ 'PageSize' => [
+ 'title' => '分页记录数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '20',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'PageResult' => [
+ 'title' => '分页查询结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'TotalCount' => [
+ 'title' => '总记录数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '49',
+ ],
+ 'UserGroupList' => [
+ 'title' => '分页列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '用户组',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '用户组Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '31313232',
+ ],
+ 'Name' => [
+ 'title' => '用户组名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'Description' => [
+ 'title' => '用户组描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'Active' => [
+ 'title' => '是否启用用户组',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'AdminList' => [
+ 'title' => '用户组管理员',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '用户Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '32313131',
+ ],
+ 'DisplayName' => [
+ 'title' => '用户名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'AccountName' => [
+ 'title' => '用户账号名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'zhangsan',
+ ],
+ ],
+ ],
+ ],
+ 'MyRole' => [
+ 'title' => '当前用户在用户组角色',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'SECURITY_ADMIN',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"PageResult\\": {\\n \\"TotalCount\\": 49,\\n \\"UserGroupList\\": [\\n {\\n \\"Id\\": \\"31313232\\",\\n \\"Name\\": \\"xx测试\\",\\n \\"Description\\": \\"xx 测试\\",\\n \\"Active\\": true,\\n \\"AdminList\\": [\\n {\\n \\"Id\\": \\"32313131\\",\\n \\"DisplayName\\": \\"张三\\",\\n \\"AccountName\\": \\"zhangsan\\"\\n }\\n ],\\n \\"MyRole\\": \\"SECURITY_ADMIN\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'GetMyTenants' => [
+ 'summary' => '获取当前用户归属租户.',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'FeatureCodeList',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '租户拥有售卖Code',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '售卖Code',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'DATAPHIN_STREAM',
+ ],
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'TenantList' => [
+ 'title' => '租户列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '租户详情',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '租户Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '132311',
+ ],
+ 'Name' => [
+ 'title' => '租户名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'OwnerId' => [
+ 'title' => '租户归属用户Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '21323231',
+ ],
+ 'Description' => [
+ 'title' => '租户描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'Deleted' => [
+ 'title' => '是否被删除标识',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'DeleteTime' => [
+ 'title' => '删除时间',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1717343597000',
+ ],
+ 'TitleType' => [
+ 'title' => '租户标题类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'icon',
+ ],
+ 'OpsTenant' => [
+ 'title' => '是否运维租户',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'ResourceLimited' => [
+ 'title' => '是否进行资源限额的计算',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'Visible' => [
+ 'title' => '是否可以展示',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'TenantTypeList' => [
+ 'title' => '租户类型',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '租户类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'application',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"TenantList\\": [\\n {\\n \\"Id\\": 132311,\\n \\"Name\\": \\"xx测试\\",\\n \\"OwnerId\\": \\"21323231\\",\\n \\"Description\\": \\"xx 测试\\",\\n \\"Deleted\\": false,\\n \\"DeleteTime\\": 1717343597000,\\n \\"TitleType\\": \\"icon\\",\\n \\"OpsTenant\\": false,\\n \\"ResourceLimited\\": false,\\n \\"Visible\\": true,\\n \\"TenantTypeList\\": [\\n \\"application\\"\\n ]\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'GetMyRoles' => [
+ 'summary' => '获取用户角色列表',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'RoleList' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '角色Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '300047957',
+ ],
+ 'Name' => [
+ 'title' => '角色名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'dataphinAdmin',
+ ],
+ 'Description' => [
+ 'title' => '角色描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"RoleList\\": [\\n {\\n \\"Id\\": 300047957,\\n \\"Name\\": \\"dataphinAdmin\\",\\n \\"Description\\": \\"dataphin管理员\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'ListUserGroupMembers' => [
+ 'summary' => '用户组成员列表分页查询.',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'ListQuery',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '分页查询',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Keyword' => [
+ 'title' => '用户名关键字',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'a',
+ ],
+ 'UserGroupId' => [
+ 'title' => '用户组Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '232231',
+ ],
+ 'UserIdList' => [
+ 'title' => '用户Id',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '用户Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2231111',
+ ],
+ 'required' => false,
+ ],
+ 'PageNo' => [
+ 'title' => '页码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '1',
+ ],
+ 'PageSize' => [
+ 'title' => '分页记录数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '20',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'PageResult' => [
+ 'title' => '分页查询结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'TotalCount' => [
+ 'title' => '总记录数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '217',
+ ],
+ 'MemberList' => [
+ 'title' => '分页列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '用户组成员Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2324211',
+ ],
+ 'UserGroupId' => [
+ 'title' => '用户组Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '231111',
+ ],
+ 'UserInfo' => [
+ 'title' => '用户组成员',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '用户Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '13232',
+ ],
+ 'DisplayName' => [
+ 'title' => '用户名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'AccountName' => [
+ 'title' => '用户账号名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'atest',
+ ],
+ ],
+ ],
+ 'UserRole' => [
+ 'title' => '用户组成员在用户组角色',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'SECURITY_ADMIN',
+ ],
+ 'Creator' => [
+ 'title' => '添加人',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '用户Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '12121111',
+ ],
+ 'DisplayName' => [
+ 'title' => '用户名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'zhangsan',
+ ],
+ 'AccountName' => [
+ 'title' => '用户账号名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '12121111',
+ ],
+ ],
+ ],
+ 'GmtCreate' => [
+ 'title' => '用户组成员添加时间',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => 'zhangsan',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"PageResult\\": {\\n \\"TotalCount\\": 217,\\n \\"MemberList\\": [\\n {\\n \\"Id\\": \\"2324211\\",\\n \\"UserGroupId\\": \\"231111\\",\\n \\"UserInfo\\": {\\n \\"Id\\": \\"13232\\",\\n \\"DisplayName\\": \\"xx测试\\",\\n \\"AccountName\\": \\"atest\\"\\n },\\n \\"UserRole\\": \\"SECURITY_ADMIN\\",\\n \\"Creator\\": {\\n \\"Id\\": \\"12121111\\",\\n \\"DisplayName\\": \\"zhangsan\\",\\n \\"AccountName\\": \\"12121111\\"\\n },\\n \\"GmtCreate\\": 0\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'GetUserBySourceId' => [
+ 'summary' => '通过用户原始Id(如阿里云Id)获取用户详情',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'SourceId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '用户来源Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '323131',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'User' => [
+ 'title' => '用户对象',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '用户id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '23231231',
+ ],
+ 'DisplayName' => [
+ 'title' => '用户显示名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"User\\": {\\n \\"Id\\": \\"23231231\\",\\n \\"DisplayName\\": \\"xx测试\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'GrantResourcePermission' => [
+ 'summary' => '通过资源点对用户授权',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'GrantCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '授权请求',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ResourceType' => [
+ 'title' => '资源类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'PHYSICAL_TABLE',
+ 'enum' => [],
+ ],
+ 'OperateList' => [
+ 'title' => '操作类型',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'SELECT',
+ ],
+ 'required' => true,
+ ],
+ 'Reason' => [
+ 'title' => '授权原因',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'xx',
+ ],
+ 'ResourceList' => [
+ 'title' => '资源列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '资源对象',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ResourceId' => [
+ 'title' => '资源Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'hadoop.300000806.data_distill.behavior_gameinfor_01',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => true,
+ ],
+ 'EffectiveEnd' => [
+ 'title' => '有效期,',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '1717343597000',
+ ],
+ 'UserIdList' => [
+ 'title' => '待授权用户',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '待授权用户',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '23244434',
+ ],
+ 'required' => true,
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\"\\n}","type":"json"}]',
+ ],
+ 'RevokeResourcePermission' => [
+ 'summary' => '回收用户资源授权',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'RevokeCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '授权回收请求',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ResourceType' => [
+ 'title' => '资源类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'PHYSICAL_TABLE',
+ ],
+ 'ResourceList' => [
+ 'title' => '资源列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ResourceId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'odps.300002102.beginner_test.amin_table',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => true,
+ ],
+ 'OperateList' => [
+ 'title' => '操作列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'SELECT',
+ ],
+ 'required' => false,
+ ],
+ 'Reason' => [
+ 'title' => '回收原因',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'xx',
+ ],
+ 'UserId' => [
+ 'title' => '用户Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '13131',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\"\\n}","type":"json"}]',
+ ],
+ 'CheckResourcePermission' => [
+ 'summary' => '校验用户是否有指定资源权限点.',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'CheckCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '校验用户资源点权限',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'UserId' => [
+ 'title' => '用户Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '323231',
+ ],
+ 'ResourceType' => [
+ 'title' => '资源类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'PHYSICAL_TABLE',
+ ],
+ 'ResourceList' => [
+ 'title' => '权限资源列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '权限资源',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ResourceId' => [
+ 'title' => '资源Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'hadoop.300000806.data_distill.behavior_gameinfor_01',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => true,
+ ],
+ 'Operate' => [
+ 'title' => '操作类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'UPDATE',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'ResourcePermissionList' => [
+ 'title' => '资源权限列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ResourceId' => [
+ 'title' => '资源Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'hadoop.300000806.data_distill.behavior_gameinfor_01'."\n",
+ ],
+ 'HasPermission' => [
+ 'title' => '是否有指定资源点权限',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"ResourcePermissionList\\": [\\n {\\n \\"ResourceId\\": \\"hadoop.300000806.data_distill.behavior_gameinfor_01\\\\n\\",\\n \\"HasPermission\\": true\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'RemoveTenantMember' => [
+ 'summary' => '删除租户成员',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'RemoveCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '请求命令',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'SourceId' => [
+ 'title' => '用户来源Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '[email protected]',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\"\\n}","type":"json"}]',
+ ],
+ 'RemoveUserGroupMember' => [
+ 'summary' => '移除用户组成员.',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'RemoveCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '移除用户组成员',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'UserGroupId' => [
+ 'title' => '用户组Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '2311',
+ ],
+ 'UserIdList' => [
+ 'title' => '用户Id列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '用户Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '131313',
+ ],
+ 'required' => true,
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'Data' => [
+ 'title' => '移除用户组成员结果',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"Data\\": true\\n}","type":"json"}]',
+ ],
+ 'DeleteRowPermission' => [
+ 'summary' => '删除行级权限',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'DeleteRowPermissionCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '请求命令',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RowPermissionId' => [
+ 'title' => '行级权限ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '300001234',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'Data' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"Data\\": true\\n}","type":"json"}]',
+ ],
+ 'GetAccountByRowPermissionId' => [
+ 'summary' => '根据行级权限ID获取某一行级权限下的所有授权账号',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'GetAccountByRowPermissionIdQuery',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '请求命令',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RowPermissionId' => [
+ 'title' => '行级权限ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '300001234',
+ ],
+ 'RuleIds' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '300001235',
+ ],
+ 'required' => true,
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'Data' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '300001235',
+ ],
+ 'UserMappingList' => [
+ 'title' => '规则绑定账号',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'AccountType' => [
+ 'title' => '规则绑定账号类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'enumValueTitles' => [
+ 'PERSONAL' => 'PERSONAL',
+ 'USER_GROUP' => 'USER_GROUP',
+ 'PRODUCE' => 'PRODUCE',
+ ],
+ 'example' => 'PERSONAL',
+ ],
+ 'Accounts' => [
+ 'title' => '规则绑定账号',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'AccountId' => [
+ 'title' => '规则绑定账号ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '300901111',
+ ],
+ 'AccountName' => [
+ 'title' => '规则绑定账号名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'enum' => [
+ 'PERSONAL',
+ 'PRODUCE',
+ 'USER_GROUP',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"Data\\": [\\n {\\n \\"Id\\": 300001235,\\n \\"UserMappingList\\": [\\n {\\n \\"AccountType\\": \\"PERSONAL\\",\\n \\"Accounts\\": [\\n {\\n \\"AccountId\\": \\"300901111\\",\\n \\"AccountName\\": \\"张三\\"\\n }\\n ]\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'ListRowPermission' => [
+ 'summary' => '分页查询行级权限',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'PageRowPermissionQuery',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '请求命令',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Keyword' => [
+ 'title' => '搜索关键字',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '',
+ ],
+ 'PageNum' => [
+ 'title' => '分页页码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '1',
+ ],
+ 'PageSize' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '10',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'PageResult' => [
+ 'title' => '分页查询结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'TotalCount' => [
+ 'title' => '总记录数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '10',
+ ],
+ 'Data' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RowPermissionId' => [
+ 'title' => '行级权限ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '30008888',
+ ],
+ 'RowPermissionDesc' => [
+ 'title' => '行级权限描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'RowPermissionName' => [
+ 'title' => '行级权限名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'MappingColumns' => [
+ 'title' => '映射字段',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ColumnName' => [
+ 'title' => '映射字段名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'business_id',
+ ],
+ 'ColumnType' => [
+ 'title' => '映射字段类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'string',
+ 'enum' => [
+ 'STRING',
+ 'NUMBER',
+ ],
+ ],
+ 'ColumnDesc' => [
+ 'title' => '映射字段描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ ],
+ ],
+ ],
+ 'Rules' => [
+ 'title' => '规则',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RuleName' => [
+ 'title' => '规则名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'ScopeType' => [
+ 'title' => '规则范围类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'SELECT_COLUMN',
+ 'enum' => [
+ 'ALL_COLUMN',
+ 'SELECT_COLUMN',
+ ],
+ ],
+ 'IsDelete' => [
+ 'title' => '是否删除',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'enum' => [
+ '0',
+ '1',
+ ],
+ ],
+ 'Status' => [
+ 'title' => '规则状态',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ 'enum' => [
+ '0',
+ '1',
+ ],
+ ],
+ 'Expressions' => [
+ 'title' => '规则表达式',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'MappingColumnName' => [
+ 'title' => '映射字段名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'business_id',
+ ],
+ 'Values' => [
+ 'title' => '表达式操作值',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '123',
+ ],
+ ],
+ 'Type' => [
+ 'title' => '表达式类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'EXPRESSION',
+ 'enum' => [
+ 'EXPRESSION',
+ 'RELATION',
+ ],
+ ],
+ 'SubConditions' => [
+ 'title' => '子表达式',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'any',
+ 'example' => '',
+ ],
+ ],
+ 'Operator' => [
+ 'title' => '表达式操作符号',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30008888',
+ 'enum' => [
+ 'EQUAL',
+ 'NOT_EQUAL',
+ 'IN',
+ 'NOT_IN',
+ 'LIKE',
+ 'NOT_LIKE',
+ 'GT',
+ 'LT',
+ 'GE',
+ 'LE',
+ 'OR',
+ 'AND',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'UserMappingList' => [
+ 'title' => '规则绑定账号',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'AccountType' => [
+ 'title' => '规则绑定账号类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'PERSONAL',
+ ],
+ 'Accounts' => [
+ 'title' => '规则绑定账号',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'AccountId' => [
+ 'title' => '规则绑定账号ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30008888',
+ ],
+ ],
+ ],
+ 'enum' => [
+ 'PERSONAL',
+ 'PRODUCE',
+ 'USER_GROUP',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'Tables' => [
+ 'title' => '相关表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'MappingColumnName' => [
+ 'title' => '映射字段名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'business_id',
+ ],
+ 'ResourceId' => [
+ 'title' => '表GUID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'odps.300199897.project_name.table_name',
+ ],
+ 'ColumnName' => [
+ 'title' => '表字段',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'business_id',
+ ],
+ ],
+ ],
+ ],
+ 'GmtCreate' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2023-08-23T08:01:44Z',
+ ],
+ 'GmtModified' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-02-12T02:16:45Z',
+ ],
+ 'Creator' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30008888',
+ ],
+ 'Modifier' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30008888',
+ ],
+ 'TenantId' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '30000001',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"PageResult\\": {\\n \\"TotalCount\\": 10,\\n \\"Data\\": [\\n {\\n \\"RowPermissionId\\": 30008888,\\n \\"RowPermissionDesc\\": \\"管控业务数据\\",\\n \\"RowPermissionName\\": \\"业务管控\\",\\n \\"MappingColumns\\": [\\n {\\n \\"ColumnName\\": \\"business_id\\",\\n \\"ColumnType\\": \\"string\\",\\n \\"ColumnDesc\\": \\"业务ID\\"\\n }\\n ],\\n \\"Rules\\": [\\n {\\n \\"RuleName\\": \\"管控ID 100以内数据\\",\\n \\"ScopeType\\": \\"SELECT_COLUMN\\",\\n \\"IsDelete\\": true,\\n \\"Status\\": 1,\\n \\"Expressions\\": [\\n {\\n \\"MappingColumnName\\": \\"business_id\\",\\n \\"Values\\": [\\n \\"123\\"\\n ],\\n \\"Type\\": \\"EXPRESSION\\",\\n \\"SubConditions\\": [\\n \\"同Expressions\\"\\n ],\\n \\"Operator\\": \\"30008888\\"\\n }\\n ],\\n \\"UserMappingList\\": [\\n {\\n \\"AccountType\\": \\"PERSONAL\\",\\n \\"Accounts\\": [\\n {\\n \\"AccountId\\": \\"30008888\\"\\n }\\n ]\\n }\\n ]\\n }\\n ],\\n \\"Tables\\": [\\n {\\n \\"MappingColumnName\\": \\"business_id\\",\\n \\"ResourceId\\": \\"odps.300199897.project_name.table_name\\",\\n \\"ColumnName\\": \\"business_id\\"\\n }\\n ],\\n \\"GmtCreate\\": \\"2023-08-23T08:01:44Z\\",\\n \\"GmtModified\\": \\"2025-02-12T02:16:45Z\\",\\n \\"Creator\\": \\"30008888\\",\\n \\"Modifier\\": \\"30008888\\",\\n \\"TenantId\\": 30000001\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'ListRowPermissionByUserId' => [
+ 'summary' => '分页查询指定用户行级权限',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'ListRowPermissionByUserIdQuery',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '请求命令',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Operator' => [
+ 'title' => '指定操作人',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '30008888',
+ ],
+ 'PageNum' => [
+ 'title' => '分页页码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '1',
+ ],
+ 'PageSize' => [
+ 'title' => '分页大小',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '10',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'PageResult' => [
+ 'title' => '分页查询结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'TotalCount' => [
+ 'title' => '总记录数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '121',
+ ],
+ 'Data' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Rules' => [
+ 'title' => '规则',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RuleName' => [
+ 'title' => '规则名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'ScopeType' => [
+ 'title' => '规则范围类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'SELECT_COLUMN',
+ 'enum' => [
+ 'ALL_COLUMN',
+ 'SELECT_COLUMN',
+ ],
+ ],
+ 'IsDelete' => [
+ 'title' => '是否删除',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => '0',
+ 'enum' => [
+ '0',
+ '1',
+ ],
+ ],
+ 'Status' => [
+ 'title' => '规则状态',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ 'enum' => [
+ '0',
+ '1',
+ ],
+ ],
+ 'Expressions' => [
+ 'title' => '规则表达式',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'MappingColumnName' => [
+ 'title' => '映射字段名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'business_id',
+ ],
+ 'Values' => [
+ 'title' => '表达式操作值',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '123',
+ ],
+ ],
+ 'Type' => [
+ 'title' => '表达式类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'EXPRESSION',
+ 'enum' => [
+ 'EXPRESSION',
+ 'RELATION',
+ ],
+ ],
+ 'SubConditions' => [
+ 'title' => '子表达式',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'any',
+ 'example' => '',
+ ],
+ ],
+ 'Operator' => [
+ 'title' => '表达式操作符号',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'EQUAL',
+ 'enum' => [
+ 'EQUAL',
+ 'NOT_EQUAL',
+ 'IN',
+ 'NOT_IN',
+ 'LIKE',
+ 'NOT_LIKE',
+ 'GT',
+ 'LT',
+ 'GE',
+ 'LE',
+ 'OR',
+ 'AND',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'UserMappingList' => [
+ 'title' => '规则绑定账号',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'AccountType' => [
+ 'title' => '规则绑定账号类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'PERSONAL',
+ ],
+ 'Accounts' => [
+ 'title' => '规则绑定账号',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'AccountId' => [
+ 'title' => '规则绑定账号ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30008888',
+ ],
+ ],
+ ],
+ 'enum' => [
+ 'PERSONAL',
+ 'PRODUCE',
+ 'USER_GROUP',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'Tables' => [
+ 'title' => '相关表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'MappingColumnName' => [
+ 'title' => '映射字段名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'ResourceId' => [
+ 'title' => '表GUID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'odps.300199897.project_name.table_name',
+ ],
+ 'ColumnName' => [
+ 'title' => '表字段',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'business_id',
+ ],
+ ],
+ ],
+ ],
+ 'GmtCreate' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2023-03-30T21:37:23Z',
+ ],
+ 'GmtModified' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-03-03T10:14Z',
+ ],
+ 'Creator' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30008888',
+ ],
+ 'Modifier' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30008888',
+ ],
+ 'TenantId' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '30000001',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"PageResult\\": {\\n \\"TotalCount\\": 121,\\n \\"Data\\": [\\n {\\n \\"Rules\\": [\\n {\\n \\"RuleName\\": \\"业务管控\\",\\n \\"ScopeType\\": \\"SELECT_COLUMN\\",\\n \\"IsDelete\\": true,\\n \\"Status\\": 1,\\n \\"Expressions\\": [\\n {\\n \\"MappingColumnName\\": \\"business_id\\",\\n \\"Values\\": [\\n \\"123\\"\\n ],\\n \\"Type\\": \\"EXPRESSION\\",\\n \\"SubConditions\\": [\\n \\"同Expressions\\"\\n ],\\n \\"Operator\\": \\"EQUAL\\"\\n }\\n ],\\n \\"UserMappingList\\": [\\n {\\n \\"AccountType\\": \\"PERSONAL\\",\\n \\"Accounts\\": [\\n {\\n \\"AccountId\\": \\"30008888\\"\\n }\\n ]\\n }\\n ]\\n }\\n ],\\n \\"Tables\\": [\\n {\\n \\"MappingColumnName\\": \\"拦截规则\\",\\n \\"ResourceId\\": \\"odps.300199897.project_name.table_name\\",\\n \\"ColumnName\\": \\"business_id\\"\\n }\\n ],\\n \\"GmtCreate\\": \\"2023-03-30T21:37:23Z\\",\\n \\"GmtModified\\": \\"2025-03-03T10:14Z\\",\\n \\"Creator\\": \\"30008888\\",\\n \\"Modifier\\": \\"30008888\\",\\n \\"TenantId\\": 30000001\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'UpdateRowPermission' => [
+ 'summary' => '更新行级权限',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'UpdateRowPermissionCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '请求命令',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RowPermissionId' => [
+ 'title' => '行级权限ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30009999',
+ ],
+ 'RowPermissionName' => [
+ 'title' => '行级权限名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '',
+ ],
+ 'RowPermissionDesc' => [
+ 'title' => '行级权限描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '',
+ ],
+ 'MappingColumns' => [
+ 'title' => '映射字段',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ColumnName' => [
+ 'title' => '映射字段名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'business_id',
+ ],
+ 'ColumnType' => [
+ 'title' => '映射字段类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'STRING',
+ 'enum' => [
+ 'STRING',
+ 'NUMBER',
+ ],
+ ],
+ 'ColumnDesc' => [
+ 'title' => '映射字段描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '',
+ ],
+ ],
+ 'required' => true,
+ ],
+ 'required' => true,
+ ],
+ 'Rules' => [
+ 'title' => '规则',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RuleName' => [
+ 'title' => '规则名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '',
+ ],
+ 'ScopeType' => [
+ 'title' => '规则范围类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'SELECT_COLUMN',
+ 'enum' => [
+ 'ALL_COLUMN',
+ 'SELECT_COLUMN',
+ ],
+ ],
+ 'IsDelete' => [
+ 'title' => '是否删除',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => '0',
+ 'enum' => [
+ '0',
+ '1',
+ ],
+ ],
+ 'Status' => [
+ 'title' => '规则状态',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '1',
+ 'enum' => [
+ '0',
+ '1',
+ ],
+ ],
+ 'Expressions' => [
+ 'title' => '规则表达式',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'MappingColumnName' => [
+ 'title' => '映射字段名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'business_id',
+ ],
+ 'Values' => [
+ 'title' => '表达式操作值',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '123',
+ ],
+ 'required' => true,
+ ],
+ 'Type' => [
+ 'title' => '表达式类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'EXPRESSION',
+ 'enum' => [
+ 'EXPRESSION',
+ 'RELATION',
+ ],
+ ],
+ 'SubConditions' => [
+ 'title' => '子表达式',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'any',
+ 'required' => true,
+ 'example' => '',
+ ],
+ 'required' => true,
+ ],
+ 'Operator' => [
+ 'title' => '表达式操作符号',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'OR',
+ 'enum' => [
+ 'EQUAL',
+ 'NOT_EQUAL',
+ 'IN',
+ 'NOT_IN',
+ 'LIKE',
+ 'NOT_LIKE',
+ 'GT',
+ 'LT',
+ 'GE',
+ 'LE',
+ 'OR',
+ 'AND',
+ ],
+ ],
+ ],
+ 'required' => true,
+ ],
+ 'required' => true,
+ ],
+ 'UserMappingList' => [
+ 'title' => '规则绑定账号',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'AccountType' => [
+ 'title' => '规则绑定账号类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'enumValueTitles' => [
+ 'PERSONAL' => 'PERSONAL',
+ 'USER_GROUP' => 'USER_GROUP',
+ 'PRODUCE' => 'PRODUCE',
+ ],
+ 'example' => 'PERSONAL',
+ ],
+ 'Accounts' => [
+ 'title' => '规则绑定账号',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'AccountId' => [
+ 'title' => '规则绑定账号ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ 'required' => true,
+ ],
+ 'required' => true,
+ ],
+ ],
+ 'required' => true,
+ ],
+ 'required' => false,
+ ],
+ ],
+ 'required' => true,
+ ],
+ 'required' => false,
+ ],
+ 'Tables' => [
+ 'title' => '相关表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'MappingColumnName' => [
+ 'title' => '映射字段名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'business_id',
+ ],
+ 'ResourceId' => [
+ 'title' => '表GUID',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'odps.300199897.project_name.table_name'."\n",
+ ],
+ 'ColumnName' => [
+ 'title' => '表字段',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'business_id',
+ ],
+ ],
+ 'required' => true,
+ ],
+ 'required' => false,
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'Data' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"Data\\": true\\n}","type":"json"}]',
+ ],
+ 'CreateRowPermission' => [
+ 'summary' => '创建行级权限',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'CreateRowPermissionCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '请求命令',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RowPermissionName' => [
+ 'title' => '行级权限名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '',
+ ],
+ 'RowPermissionDesc' => [
+ 'title' => '行级权限描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '',
+ ],
+ 'MappingColumns' => [
+ 'title' => '映射字段',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ColumnName' => [
+ 'title' => '映射字段名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'business_id',
+ ],
+ 'ColumnType' => [
+ 'title' => '映射字段类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'STRING',
+ 'enum' => [
+ 'STRING',
+ 'NUMBER',
+ ],
+ ],
+ 'ColumnDesc' => [
+ 'title' => '映射字段描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '',
+ ],
+ ],
+ 'required' => true,
+ ],
+ 'required' => true,
+ ],
+ 'Rules' => [
+ 'title' => '规则',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RuleName' => [
+ 'title' => '规则名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '',
+ ],
+ 'ScopeType' => [
+ 'title' => '规则范围类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'SELECT_COLUMN',
+ 'enum' => [
+ 'ALL_COLUMN',
+ 'SELECT_COLUMN',
+ ],
+ ],
+ 'IsDelete' => [
+ 'title' => '是否删除',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => '1',
+ 'enum' => [
+ '0',
+ '1',
+ ],
+ ],
+ 'Status' => [
+ 'title' => '规则状态',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '1',
+ 'enum' => [
+ '0',
+ '1',
+ ],
+ ],
+ 'Expressions' => [
+ 'title' => '规则表达式',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'MappingColumnName' => [
+ 'title' => '映射字段名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'id',
+ ],
+ 'Values' => [
+ 'title' => '表达式操作值',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '123',
+ ],
+ 'required' => true,
+ ],
+ 'Type' => [
+ 'title' => '表达式类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'RELATION',
+ 'enum' => [
+ 'EXPRESSION',
+ 'RELATION',
+ ],
+ ],
+ 'SubConditions' => [
+ 'title' => '子表达式',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'any',
+ 'required' => true,
+ 'example' => '',
+ ],
+ 'required' => true,
+ ],
+ 'Operator' => [
+ 'title' => '表达式操作符号',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'EQUAL',
+ 'enum' => [
+ 'EQUAL',
+ 'NOT_EQUAL',
+ 'IN',
+ 'NOT_IN',
+ 'LIKE',
+ 'NOT_LIKE',
+ 'GT',
+ 'LT',
+ 'GE',
+ 'LE',
+ 'OR',
+ 'AND',
+ ],
+ ],
+ ],
+ 'required' => true,
+ ],
+ 'required' => true,
+ ],
+ 'UserMappingList' => [
+ 'title' => '规则绑定账号',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'AccountType' => [
+ 'title' => '规则绑定账号类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'enumValueTitles' => [
+ 'PERSONAL' => 'PERSONAL',
+ 'USER_GROUP' => 'USER_GROUP',
+ 'PRODUCE' => 'PRODUCE',
+ ],
+ 'example' => 'PERSONAL',
+ ],
+ 'Accounts' => [
+ 'title' => '规则绑定账号',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'AccountId' => [
+ 'title' => '规则绑定账号ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '300001111',
+ ],
+ ],
+ 'required' => true,
+ ],
+ 'required' => true,
+ 'example' => 'PERSONAL',
+ 'enum' => [
+ 'PERSONAL',
+ 'PRODUCE',
+ 'USER_GROUP',
+ ],
+ ],
+ ],
+ 'required' => true,
+ ],
+ 'required' => false,
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => false,
+ ],
+ 'Tables' => [
+ 'title' => '相关表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'MappingColumnName' => [
+ 'title' => '映射字段名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'business_id',
+ ],
+ 'ResourceId' => [
+ 'title' => '表GUID',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'odps.300199897.project_name.table_name',
+ ],
+ 'ColumnName' => [
+ 'title' => '表字段',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'business_id',
+ ],
+ ],
+ 'required' => true,
+ ],
+ 'required' => false,
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'Data' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"Data\\": 0\\n}","type":"json"}]',
+ ],
+ 'CreateDirectory' => [
+ 'summary' => '创建菜单树文件目录',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'CreateCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '创建请求',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ProjectId' => [
+ 'title' => '项目ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '1212344',
+ ],
+ 'Category' => [
+ 'title' => '菜单树类目'."\n"
+ .'即席查询:tempCode'."\n"
+ .'代码任务:codeManage'."\n"
+ .'离线管道:offlinePipeline'."\n"
+ .'管道自定义组件:offlinePipelineCustomPlugin'."\n"
+ .'同步任务:dataX'."\n"
+ .'实时元表:streamMeta'."\n"
+ .'实时自定义源:streamCustomDataSource'."\n"
+ .'实时计算模板:streamTemplate'."\n"
+ .'资源管理:resourceManage'."\n"
+ .'离线函数:udfResource'."\n"
+ .'实时函数:streamFunction',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'tempCode',
+ ],
+ 'Name' => [
+ 'title' => '新建文件目录名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'test_xx',
+ ],
+ 'Directory' => [
+ 'title' => '新建文件目录父目录',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '/',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'FileId' => [
+ 'title' => '文件ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1311113211',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"FileId\\": 1311113211\\n}","type":"json"}]',
+ ],
+ 'DeleteDirectory' => [
+ 'summary' => '删除菜单树文件目录',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'ProjectId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '项目ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '12132323',
+ ],
+ ],
+ [
+ 'name' => 'FileId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '文件ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '12121111',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\"\\n}","type":"json"}]',
+ ],
+ 'UpdateFileName' => [
+ 'summary' => '修改菜单树文件名称',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'ProjectId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '项目ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '12132323',
+ ],
+ ],
+ [
+ 'name' => 'FileId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '文件ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '12121111',
+ ],
+ ],
+ [
+ 'name' => 'Name',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '更改后文件名',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'xxNew',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\"\\n}","type":"json"}]',
+ ],
+ 'UpdateFileDirectory' => [
+ 'summary' => '修改菜单树文件所在目录',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'ProjectId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '项目ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '12132323',
+ ],
+ ],
+ [
+ 'name' => 'FileId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '文件ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '12121111',
+ ],
+ ],
+ [
+ 'name' => 'Directory',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '更改后文件目录',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '/xx测试/目录new',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\"\\n}","type":"json"}]',
+ ],
+ 'GetDirectoryTree' => [
+ 'summary' => '获取文件夹目录树',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [
+ 'Dataphin公共云',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'Category',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '目录名称;'."\n"
+ ."\n"
+ .'部分根目录枚举值如下:实时计算表:streamMeta;离线物理表:PhysicalTable;计算任务:codeManage;实时计算模板:streamTemplate;离线计算模板:batchTaskTemplate;资源:resourceManage;FLINK函数:streamFunction;MAXC函数:udfResource;',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'codeManage',
+ ],
+ ],
+ [
+ 'name' => 'ProjectId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '项目ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '7081229106458752',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'Data' => [
+ 'title' => '目录树信息(返回目录树,边的所有信息,层次遍历,从根节点逐层遍历返回);',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '树节点二元组',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Parent' => [
+ 'title' => '父节点',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '目录ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '3',
+ ],
+ 'StringId' => [
+ 'title' => '目录StringID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '3',
+ 'default' => 'null',
+ ],
+ 'ProjectId' => [
+ 'title' => '项目ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '7081229106458752',
+ ],
+ 'CategoryType' => [
+ 'title' => '目录类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'codeManage',
+ ],
+ 'DataCellId' => [
+ 'title' => '数据单元ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '3213',
+ 'default' => 'null',
+ ],
+ 'DirName' => [
+ 'title' => '所在目录路径 仅对文件/资源节点有效',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '/',
+ ],
+ 'Name' => [
+ 'title' => '对象显示名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '代码管理',
+ ],
+ 'Type' => [
+ 'title' => '对象类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'codeManage',
+ ],
+ 'Creator' => [
+ 'title' => '创建人ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '300000907',
+ ],
+ 'CreatorName' => [
+ 'title' => '创建人名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'John',
+ ],
+ 'GmtCreate' => [
+ 'title' => '创建时间 非实体对象节点为空',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2024-11-01 18:08:17',
+ ],
+ 'GmtModified' => [
+ 'title' => '修改时间 非实体对象节点为空',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2024-11-01 18:08:17',
+ ],
+ 'LastModifier' => [
+ 'title' => '修改人ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '300000907',
+ ],
+ 'LastModifierName' => [
+ 'title' => '修改人名称'."\n"
+ ."\n",
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'John',
+ ],
+ ],
+ ],
+ 'Children' => [
+ 'title' => '子节点',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '目录ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '3',
+ ],
+ 'StringId' => [
+ 'title' => '目录StringID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '3',
+ 'default' => 'null',
+ ],
+ 'ProjectId' => [
+ 'title' => '项目ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '7081229106458752',
+ ],
+ 'CategoryType' => [
+ 'title' => '目录类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'codeManage',
+ ],
+ 'DataCellId' => [
+ 'title' => '数据单元ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '41342',
+ ],
+ 'DirName' => [
+ 'title' => '所在目录路径 仅对文件/资源节点有效',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '/',
+ ],
+ 'Name' => [
+ 'title' => '对象显示名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '代码管理',
+ ],
+ 'Type' => [
+ 'title' => '对象类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'codeManage',
+ ],
+ 'Creator' => [
+ 'title' => '创建人ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '300000907',
+ ],
+ 'CreatorName' => [
+ 'title' => '创建人名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'John',
+ ],
+ 'GmtCreate' => [
+ 'title' => '创建时间 非实体对象节点为空',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2024-11-01 18:08:17',
+ ],
+ 'GmtModified' => [
+ 'title' => '修改时间 非实体对象节点为空',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2024-11-01 18:08:17',
+ ],
+ 'LastModifier' => [
+ 'title' => '修改人ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '300000907',
+ ],
+ 'LastModifierName' => [
+ 'title' => '修改人名称'."\n"
+ ."\n",
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'John',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"Data\\": [\\n {\\n \\"Parent\\": {\\n \\"Id\\": 3,\\n \\"StringId\\": \\"3\\",\\n \\"ProjectId\\": 7081229106458752,\\n \\"CategoryType\\": \\"codeManage\\",\\n \\"DataCellId\\": 3213,\\n \\"DirName\\": \\"/\\",\\n \\"Name\\": \\"代码管理\\",\\n \\"Type\\": \\"codeManage\\",\\n \\"Creator\\": \\"300000907\\",\\n \\"CreatorName\\": \\"John\\",\\n \\"GmtCreate\\": \\"2024-11-01 18:08:17\\",\\n \\"GmtModified\\": \\"2024-11-01 18:08:17\\",\\n \\"LastModifier\\": \\"300000907\\",\\n \\"LastModifierName\\": \\"John\\"\\n },\\n \\"Children\\": {\\n \\"Id\\": 3,\\n \\"StringId\\": \\"3\\",\\n \\"ProjectId\\": 7081229106458752,\\n \\"CategoryType\\": \\"codeManage\\",\\n \\"DataCellId\\": 41342,\\n \\"DirName\\": \\"/\\",\\n \\"Name\\": \\"代码管理\\",\\n \\"Type\\": \\"codeManage\\",\\n \\"Creator\\": \\"300000907\\",\\n \\"CreatorName\\": \\"John\\",\\n \\"GmtCreate\\": \\"2024-11-01 18:08:17\\",\\n \\"GmtModified\\": \\"2024-11-01 18:08:17\\",\\n \\"LastModifier\\": \\"300000907\\",\\n \\"LastModifierName\\": \\"John\\"\\n }\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'ListFiles' => [
+ 'summary' => '遍历菜单树目录文件。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'ListQuery',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '查询条件',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ProjectId' => [
+ 'title' => '项目ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '11112311',
+ ],
+ 'Category' => [
+ 'title' => '菜单树类目'."\n"
+ .'即席查询:tempCode'."\n"
+ .'代码任务:codeManage'."\n"
+ .'离线管道:offlinePipeline'."\n"
+ .'管道自定义组件:offlinePipelineCustomPlugin'."\n"
+ .'同步任务:dataX'."\n"
+ .'实时元表:streamMeta'."\n"
+ .'实时自定义源:streamCustomDataSource'."\n"
+ .'实时计算模板:streamTemplate'."\n"
+ .'资源管理:resourceManage'."\n"
+ .'离线函数:udfResource'."\n"
+ .'实时函数:streamFunction',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'tempCode',
+ ],
+ 'Recursive' => [
+ 'title' => '是否递归遍历查询'."\n"
+ .'true:是, 返回目录下的所有节点'."\n"
+ .'false:否,返回目录下第一层级节点',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => true,
+ 'example' => 'true',
+ ],
+ 'Directory' => [
+ 'title' => '文件目录',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '/xx/x',
+ ],
+ 'Env' => [
+ 'title' => '环境标识'."\n"
+ .'DEV'."\n"
+ .'PROD',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'DEV',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'FileList' => [
+ 'title' => '文件列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '文件',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '文件ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '111231112',
+ ],
+ 'Name' => [
+ 'title' => '文件名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'xx测试',
+ ],
+ 'ProjectId' => [
+ 'title' => '项目ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '312112121',
+ ],
+ 'Category' => [
+ 'title' => '文件类目',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'tempCode',
+ ],
+ 'FileType' => [
+ 'title' => '文件类型, 如 directory',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'directory',
+ ],
+ 'Directory' => [
+ 'title' => '文件目录',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '/xx/x',
+ ],
+ 'Content' => [
+ 'title' => '文件内容',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'select 1;',
+ ],
+ 'GmtCreate' => [
+ 'title' => '创建时间',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1717483193830',
+ ],
+ 'GmtModified' => [
+ 'title' => '编辑时间',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1717483193830',
+ ],
+ 'Creator' => [
+ 'title' => '创建者',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1212111',
+ ],
+ 'LastModifier' => [
+ 'title' => '修改者',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1212111',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"FileList\\": [\\n {\\n \\"Id\\": 111231112,\\n \\"Name\\": \\"xx测试\\",\\n \\"ProjectId\\": 312112121,\\n \\"Category\\": \\"tempCode\\",\\n \\"FileType\\": \\"directory\\",\\n \\"Directory\\": \\"/xx/x\\",\\n \\"Content\\": \\"select 1;\\",\\n \\"GmtCreate\\": 1717483193830,\\n \\"GmtModified\\": 1717483193830,\\n \\"Creator\\": \\"1212111\\",\\n \\"LastModifier\\": \\"1212111\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'GetBizEntityInfoByVersion' => [
+ 'summary' => '查询指定版本的业务实体的详情。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'Type',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '业务类型: BIZ_OBJECT、BIZ_PROCESS',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'BIZ_OBJECT',
+ ],
+ ],
+ [
+ 'name' => 'Id',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '业务实体Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '101001201',
+ ],
+ ],
+ [
+ 'name' => 'VersionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '版本',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '1',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'BizEntityInfo' => [
+ 'title' => '新建结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'BizObject' => [
+ 'title' => '业务对象',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '业务对象Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1011',
+ ],
+ 'Name' => [
+ 'title' => '业务对象编码名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'create_object_code_name',
+ ],
+ 'DisplayName' => [
+ 'title' => '业务对象名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'create_object_name',
+ ],
+ 'Description' => [
+ 'title' => '业务对象描述信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'OwnerUserId' => [
+ 'title' => '业务对象负责人',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30010010',
+ ],
+ 'OwnerName' => [
+ 'title' => '业务对象负责人',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '张三',
+ ],
+ 'Type' => [
+ 'title' => '业务对象类型:普通对象 NORMAL、枚举对象 ENUM、虚拟对象 VIRTUAL、层级对象 HIERARCHY',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'NORMAL',
+ ],
+ 'ParentId' => [
+ 'title' => '业务对象继承实体信息,仅支持普通业务对象配置继承实体,且只能继承已上线的业务对象',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '116306',
+ ],
+ 'RefBizEntityIdList' => [
+ 'title' => '关联已上线业务实体Id列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '关联已上线业务实体Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '116106',
+ ],
+ ],
+ 'GmtCreate' => [
+ 'title' => '创建时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2024-10-10 10:00:00',
+ ],
+ 'GmtModified' => [
+ 'title' => '更新时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2024-10-10 10:00:00',
+ ],
+ 'LastModifier' => [
+ 'title' => '最近一次修改人ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30010010',
+ ],
+ 'LastModifierName' => [
+ 'title' => '最近一次修改人',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '张三',
+ ],
+ 'RefDimTableCount' => [
+ 'title' => '关联维度逻辑表数量',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'RefSummaryTableCount' => [
+ 'title' => '关联汇总逻辑表数量',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'ChildBizEntityIdList' => [
+ 'title' => '业务对象的子业务对象',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '子业务对象',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1015',
+ ],
+ ],
+ 'OnlineStatus' => [
+ 'title' => '上线状态: 未上线 SUBMITTED、审批中 APPROVING、已上线 PUBLISHED、上线失败 REJECT',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1',
+ ],
+ 'Status' => [
+ 'title' => '状态: 草稿态/未上线 DRAFT、提交中 SUBMITTING、已提交 SUBMITTED、开发中 DEVELOPING、发布中 PUBLISHING、已发布 PUBLISHED',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '100',
+ ],
+ 'ApprovalId' => [
+ 'title' => '审批流程Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '221323121212',
+ ],
+ 'ApprovalStatus' => [
+ 'title' => '审批状态: 未提交 INIT、审批中 APPROVING、已通过 AGREE、已拒绝 REJECT、校验失败 FAILED、主动撤回 REVOKE',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'APPROVING',
+ ],
+ ],
+ ],
+ 'BizProcess' => [
+ 'title' => '业务活动',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '业务活动Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1011',
+ ],
+ 'Name' => [
+ 'title' => '业务活动名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'create_process_code_name',
+ ],
+ 'DisplayName' => [
+ 'title' => '业务活动展示名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '业务活动测试',
+ ],
+ 'Description' => [
+ 'title' => '业务活动描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'OwnerUserId' => [
+ 'title' => '业务对象负责人',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30010010',
+ ],
+ 'OwnerName' => [
+ 'title' => '业务对象负责人',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '张三',
+ ],
+ 'Type' => [
+ 'title' => '业务活动类型:业务事件 BIZ_EVENT、业务快照 BIZ_SNAPSHOT、业务流程 BIZ_PROCESS',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'BIZ_EVENT',
+ ],
+ 'RefBizEntityIdList' => [
+ 'title' => '关联已上线业务实体Id列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '关联已上线业务实体Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '116106',
+ ],
+ ],
+ 'BizEventEntityIdList' => [
+ 'title' => '当前为业务流程活动时有效:业务流程活动包含的业务事件活动Id列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '业务流程活动包含的业务事件活动',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1016106',
+ ],
+ ],
+ 'PreBizProcessIdList' => [
+ 'title' => '业务流程活动的前序业务流程活动',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '业务流程活动的前序业务流程活动',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1016106',
+ ],
+ ],
+ 'GmtCreate' => [
+ 'title' => '创建时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2024-10-10 10:00:00',
+ ],
+ 'GmtModified' => [
+ 'title' => '更新时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2024-10-10 10:00:00',
+ ],
+ 'LastModifier' => [
+ 'title' => '最近一次修改人ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30010010',
+ ],
+ 'LastModifierName' => [
+ 'title' => '最近一次修改人',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '张三',
+ ],
+ 'HasDependent' => [
+ 'title' => '是否被依赖',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'OnlineStatus' => [
+ 'title' => '上线状态: 未上线 SUBMITTED、审批中 APPROVING、已上线 PUBLISHED、上线失败 REJECT',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1',
+ ],
+ 'Status' => [
+ 'title' => '状态: 草稿态/未上线 DRAFT、提交中 SUBMITTING、已提交 SUBMITTED、开发中 DEVELOPING、发布中 PUBLISHING、已发布 PUBLISHED',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '100',
+ ],
+ 'ApprovalId' => [
+ 'title' => '审批流程Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '221323121212',
+ ],
+ 'ApprovalStatus' => [
+ 'title' => '审批状态: 未提交 INIT、审批中 APPROVING、已通过 AGREE、已拒绝 REJECT、校验失败 FAILED、主动撤回 REVOKE',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'APPROVING',
+ ],
+ 'RefFactTableCount' => [
+ 'title' => '关联事实逻辑表数量',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ ],
+ ],
+ 'Type' => [
+ 'title' => '业务类型: BIZ_OBJECT、BIZ_PROCESS',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'BIZ_OBJECT',
+ ],
+ 'DataDomainId' => [
+ 'title' => '所属主题域',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '20101011',
+ ],
+ 'BizUnitId' => [
+ 'title' => '业务对象业务板块Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '6798087749072704',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"BizEntityInfo\\": {\\n \\"BizObject\\": {\\n \\"Id\\": 1011,\\n \\"Name\\": \\"create_object_code_name\\",\\n \\"DisplayName\\": \\"create_object_name\\",\\n \\"Description\\": \\"test\\",\\n \\"OwnerUserId\\": \\"30010010\\",\\n \\"OwnerName\\": \\"张三\\",\\n \\"Type\\": \\"NORMAL\\",\\n \\"ParentId\\": 116306,\\n \\"RefBizEntityIdList\\": [\\n 116106\\n ],\\n \\"GmtCreate\\": \\"2024-10-10 10:00:00\\",\\n \\"GmtModified\\": \\"2024-10-10 10:00:00\\",\\n \\"LastModifier\\": \\"30010010\\",\\n \\"LastModifierName\\": \\"张三\\",\\n \\"RefDimTableCount\\": 1,\\n \\"RefSummaryTableCount\\": 1,\\n \\"ChildBizEntityIdList\\": [\\n 1015\\n ],\\n \\"OnlineStatus\\": \\"1\\",\\n \\"Status\\": \\"100\\",\\n \\"ApprovalId\\": \\"221323121212\\",\\n \\"ApprovalStatus\\": \\"APPROVING\\"\\n },\\n \\"BizProcess\\": {\\n \\"Id\\": 1011,\\n \\"Name\\": \\"create_process_code_name\\",\\n \\"DisplayName\\": \\"业务活动测试\\",\\n \\"Description\\": \\"test\\",\\n \\"OwnerUserId\\": \\"30010010\\",\\n \\"OwnerName\\": \\"张三\\",\\n \\"Type\\": \\"BIZ_EVENT\\",\\n \\"RefBizEntityIdList\\": [\\n 116106\\n ],\\n \\"BizEventEntityIdList\\": [\\n 1016106\\n ],\\n \\"PreBizProcessIdList\\": [\\n 1016106\\n ],\\n \\"GmtCreate\\": \\"2024-10-10 10:00:00\\",\\n \\"GmtModified\\": \\"2024-10-10 10:00:00\\",\\n \\"LastModifier\\": \\"30010010\\",\\n \\"LastModifierName\\": \\"张三\\",\\n \\"HasDependent\\": true,\\n \\"OnlineStatus\\": \\"1\\",\\n \\"Status\\": \\"100\\",\\n \\"ApprovalId\\": \\"221323121212\\",\\n \\"ApprovalStatus\\": \\"APPROVING\\",\\n \\"RefFactTableCount\\": 1\\n },\\n \\"Type\\": \\"BIZ_OBJECT\\",\\n \\"DataDomainId\\": 20101011,\\n \\"BizUnitId\\": 6798087749072704\\n }\\n}","type":"json"}]',
+ ],
+ 'GetBizEntityInfo' => [
+ 'summary' => '获取业务实体详情。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'Type',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '业务类型: BIZ_OBJECT、BIZ_PROCESS',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'BIZ_OBJECT',
+ ],
+ ],
+ [
+ 'name' => 'Id',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '业务实体Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '101001201',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'BizEntityInfo' => [
+ 'title' => '业务实体详情',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'BizObject' => [
+ 'title' => '业务对象',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '业务对象Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1011',
+ ],
+ 'Name' => [
+ 'title' => '业务对象编码名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'create_object_code_name',
+ ],
+ 'DisplayName' => [
+ 'title' => '业务对象名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'create_object_name',
+ ],
+ 'Description' => [
+ 'title' => '业务对象描述信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'OwnerUserId' => [
+ 'title' => '业务对象负责人',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30010010',
+ ],
+ 'OwnerName' => [
+ 'title' => '业务对象负责人',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '张三',
+ ],
+ 'Type' => [
+ 'title' => '业务对象类型:普通对象 NORMAL、枚举对象 ENUM、虚拟对象 VIRTUAL、层级对象 HIERARCHY',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'NORMAL',
+ ],
+ 'ParentId' => [
+ 'title' => '业务对象继承实体信息,仅支持普通业务对象配置继承实体,且只能继承已上线的业务对象',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '116306',
+ ],
+ 'RefBizEntityIdList' => [
+ 'title' => '关联已上线业务实体Id列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '关联已上线业务实体Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '116106',
+ ],
+ ],
+ 'GmtCreate' => [
+ 'title' => '创建时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2024-10-10 10:00:00',
+ ],
+ 'GmtModified' => [
+ 'title' => '更新时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2024-10-10 10:00:00',
+ ],
+ 'LastModifier' => [
+ 'title' => '最近一次修改人ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30010010',
+ ],
+ 'LastModifierName' => [
+ 'title' => '最近一次修改人',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '张三',
+ ],
+ 'RefDimTableCount' => [
+ 'title' => '关联维度逻辑表数量',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'RefSummaryTableCount' => [
+ 'title' => '关联汇总逻辑表数量',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'ChildBizEntityIdList' => [
+ 'title' => '业务对象的子业务对象',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '子业务对象',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1015',
+ ],
+ ],
+ 'OnlineStatus' => [
+ 'title' => '上线状态: 未上线 SUBMITTED、审批中 APPROVING、已上线 PUBLISHED、上线失败 REJECT',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'SUBMITTED',
+ ],
+ 'Status' => [
+ 'title' => '状态: 草稿态/未上线 DRAFT、提交中 SUBMITTING、已提交 SUBMITTED、开发中 DEVELOPING、发布中 PUBLISHING、已发布 PUBLISHED',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'SUBMITTED',
+ ],
+ 'ApprovalId' => [
+ 'title' => '审批流程Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '221323121212',
+ ],
+ 'ApprovalStatus' => [
+ 'title' => '审批状态: 未提交 INIT、审批中 APPROVING、已通过 AGREE、已拒绝 REJECT、校验失败 FAILED、主动撤回 REVOKE',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'APPROVING',
+ ],
+ ],
+ ],
+ 'BizProcess' => [
+ 'title' => '业务活动',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '业务活动Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1011',
+ ],
+ 'Name' => [
+ 'title' => '业务活动名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'create_process_code_name',
+ ],
+ 'DisplayName' => [
+ 'title' => '业务活动展示名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '业务活动测试',
+ ],
+ 'Description' => [
+ 'title' => '业务活动描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'OwnerUserId' => [
+ 'title' => '业务对象负责人',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30010010',
+ ],
+ 'OwnerName' => [
+ 'title' => '业务对象负责人',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '张三',
+ ],
+ 'Type' => [
+ 'title' => '业务活动类型:业务事件 BIZ_EVENT、业务快照 BIZ_SNAPSHOT、业务流程 BIZ_PROCESS',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'BIZ_EVENT',
+ ],
+ 'RefBizEntityIdList' => [
+ 'title' => '关联已上线业务实体Id列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '关联已上线业务实体Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '116106',
+ ],
+ ],
+ 'BizEventEntityIdList' => [
+ 'title' => '当前为业务流程活动时有效:业务流程活动包含的业务事件活动Id列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '业务流程活动包含的业务事件活动',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1016106',
+ ],
+ ],
+ 'PreBizProcessIdList' => [
+ 'title' => '业务流程活动的前序业务流程活动',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '业务流程活动的前序业务流程活动',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1016106',
+ ],
+ ],
+ 'GmtCreate' => [
+ 'title' => '创建时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2024-10-10 10:00:00',
+ ],
+ 'GmtModified' => [
+ 'title' => '更新时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2024-10-10 10:00:00',
+ ],
+ 'LastModifier' => [
+ 'title' => '最近一次修改人ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30010010',
+ ],
+ 'LastModifierName' => [
+ 'title' => '最近一次修改人',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '张三',
+ ],
+ 'HasDependent' => [
+ 'title' => '是否被依赖',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'OnlineStatus' => [
+ 'title' => '上线状态: 未上线 SUBMITTED、审批中 APPROVING、已上线 PUBLISHED、上线失败 REJECT',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'SUBMITTED',
+ ],
+ 'Status' => [
+ 'title' => '状态: 草稿态/未上线 DRAFT、提交中 SUBMITTING、已提交 SUBMITTED、开发中 DEVELOPING、发布中 PUBLISHING、已发布 PUBLISHED',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'SUBMITTED',
+ ],
+ 'ApprovalId' => [
+ 'title' => '审批流程Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '221323121212',
+ ],
+ 'ApprovalStatus' => [
+ 'title' => '审批状态: 未提交 INIT、审批中 APPROVING、已通过 AGREE、已拒绝 REJECT、校验失败 FAILED、主动撤回 REVOKE',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'APPROVING',
+ ],
+ 'RefFactTableCount' => [
+ 'title' => '关联事实逻辑表数量',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ ],
+ ],
+ 'Type' => [
+ 'title' => '业务类型: BIZ_OBJECT、BIZ_PROCESS',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'BIZ_OBJECT',
+ ],
+ 'DataDomainId' => [
+ 'title' => '业务活动所属主题域Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '20101011',
+ ],
+ 'BizUnitId' => [
+ 'title' => '业务活动所属业务板块Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '6798087749072704',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"BizEntityInfo\\": {\\n \\"BizObject\\": {\\n \\"Id\\": 1011,\\n \\"Name\\": \\"create_object_code_name\\",\\n \\"DisplayName\\": \\"create_object_name\\",\\n \\"Description\\": \\"test\\",\\n \\"OwnerUserId\\": \\"30010010\\",\\n \\"OwnerName\\": \\"张三\\",\\n \\"Type\\": \\"NORMAL\\",\\n \\"ParentId\\": 116306,\\n \\"RefBizEntityIdList\\": [\\n 116106\\n ],\\n \\"GmtCreate\\": \\"2024-10-10 10:00:00\\",\\n \\"GmtModified\\": \\"2024-10-10 10:00:00\\",\\n \\"LastModifier\\": \\"30010010\\",\\n \\"LastModifierName\\": \\"张三\\",\\n \\"RefDimTableCount\\": 1,\\n \\"RefSummaryTableCount\\": 1,\\n \\"ChildBizEntityIdList\\": [\\n 1015\\n ],\\n \\"OnlineStatus\\": \\"SUBMITTED\\",\\n \\"Status\\": \\"SUBMITTED\\",\\n \\"ApprovalId\\": \\"221323121212\\",\\n \\"ApprovalStatus\\": \\"APPROVING\\"\\n },\\n \\"BizProcess\\": {\\n \\"Id\\": 1011,\\n \\"Name\\": \\"create_process_code_name\\",\\n \\"DisplayName\\": \\"业务活动测试\\",\\n \\"Description\\": \\"test\\",\\n \\"OwnerUserId\\": \\"30010010\\",\\n \\"OwnerName\\": \\"张三\\",\\n \\"Type\\": \\"BIZ_EVENT\\",\\n \\"RefBizEntityIdList\\": [\\n 116106\\n ],\\n \\"BizEventEntityIdList\\": [\\n 1016106\\n ],\\n \\"PreBizProcessIdList\\": [\\n 1016106\\n ],\\n \\"GmtCreate\\": \\"2024-10-10 10:00:00\\",\\n \\"GmtModified\\": \\"2024-10-10 10:00:00\\",\\n \\"LastModifier\\": \\"30010010\\",\\n \\"LastModifierName\\": \\"张三\\",\\n \\"HasDependent\\": true,\\n \\"OnlineStatus\\": \\"SUBMITTED\\",\\n \\"Status\\": \\"SUBMITTED\\",\\n \\"ApprovalId\\": \\"221323121212\\",\\n \\"ApprovalStatus\\": \\"APPROVING\\",\\n \\"RefFactTableCount\\": 1\\n },\\n \\"Type\\": \\"BIZ_OBJECT\\",\\n \\"DataDomainId\\": 20101011,\\n \\"BizUnitId\\": 6798087749072704\\n }\\n}","type":"json"}]',
+ ],
+ 'UpdateBizUnit' => [
+ 'summary' => '更新数据板块。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'UpdateCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '创建请求',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'BizUnitId' => [
+ 'title' => '数据板块ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '545844456',
+ ],
+ 'Name' => [
+ 'title' => '数据板块编码',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'bz_code_name',
+ ],
+ 'DisplayName' => [
+ 'title' => '数据板块展示名',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '测试',
+ ],
+ 'Description' => [
+ 'title' => '描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ 'Icon' => [
+ 'title' => '预制icon'."\n"
+ .' 电商:icon-e-commerce, 金融:icon-finance, 云计算:con-cloud-computing, 广告营销:icon-advertisement, 物流:icon-logistics, 文娱:icon-entertainment, 出行:icon-traffic, 健康:icon-health, 社交&通信:icon-social-contact, 餐饮:con-dining, 教育:icon-education, 环境:icon-environment 等',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'icon-environment',
+ ],
+ 'BizUnitAccountList' => [
+ 'title' => '板块架构师',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '板块架构师',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'UserId' => [
+ 'title' => '用户Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '20001201',
+ ],
+ ],
+ 'required' => true,
+ ],
+ 'required' => true,
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\"\\n}","type":"json"}]',
+ ],
+ 'ListBizUnits' => [
+ 'summary' => '获取当前租户下的所有数据板块',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'Data' => [
+ 'title' => '查询结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'BizUnitList' => [
+ 'title' => '数据板块详情',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '数据板块详情',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '数据板块Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '101001201',
+ ],
+ 'Name' => [
+ 'title' => '名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test01',
+ ],
+ 'DisplayName' => [
+ 'title' => '展示名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '测试',
+ ],
+ 'Description' => [
+ 'title' => '业务对象描述信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'OwnerUserId' => [
+ 'title' => '业务对象负责人',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30010010',
+ ],
+ 'OwnerName' => [
+ 'title' => '业务对象负责人',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '张三',
+ ],
+ 'GmtCreate' => [
+ 'title' => '创建时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2024-10-10 10:00:00',
+ ],
+ 'GmtModified' => [
+ 'title' => '更新时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2024-10-10 10:00:00',
+ ],
+ 'LastModifier' => [
+ 'title' => '最近一次修改人ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30010010',
+ ],
+ 'LastModifierName' => [
+ 'title' => '最近一次修改人',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '张三',
+ ],
+ 'Icon' => [
+ 'title' => '数据板块图标',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'icon-e-commerce',
+ ],
+ 'Env' => [
+ 'title' => '环境标识: DEV:开发环境,PROD:生产环境',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'DEV',
+ ],
+ 'Mode' => [
+ 'title' => '生产模式:单环境模式 BASIC、开发/生产双环境模式 DEV_PROD',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'DEV_PROD',
+ ],
+ 'AccountList' => [
+ 'title' => '板块架构师',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '用户',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '用户Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '20001201',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"Data\\": {\\n \\"BizUnitList\\": [\\n {\\n \\"Id\\": 101001201,\\n \\"Name\\": \\"test01\\",\\n \\"DisplayName\\": \\"测试\\",\\n \\"Description\\": \\"test\\",\\n \\"OwnerUserId\\": \\"30010010\\",\\n \\"OwnerName\\": \\"张三\\",\\n \\"GmtCreate\\": \\"2024-10-10 10:00:00\\",\\n \\"GmtModified\\": \\"2024-10-10 10:00:00\\",\\n \\"LastModifier\\": \\"30010010\\",\\n \\"LastModifierName\\": \\"张三\\",\\n \\"Icon\\": \\"icon-e-commerce\\",\\n \\"Env\\": \\"DEV\\",\\n \\"Mode\\": \\"DEV_PROD\\",\\n \\"AccountList\\": [\\n {\\n \\"Id\\": \\"20001201\\"\\n }\\n ]\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'GetBizUnitInfo' => [
+ 'summary' => '获取数据板块详情。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'Id',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '数据板块Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '101001201',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'BizUnitInfo' => [
+ 'title' => '数据板块详情',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '数据板块Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '101001201',
+ ],
+ 'Name' => [
+ 'title' => '名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test01',
+ ],
+ 'DisplayName' => [
+ 'title' => '展示名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '测试',
+ ],
+ 'EnvList' => [
+ 'title' => '生产/开发 2个环境对应的板块英文名',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '生产/开发 2个环境对应的板块英文名',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'EnvName' => [
+ 'title' => '环境标识: PROD / DEV',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'DEV',
+ ],
+ 'Name' => [
+ 'title' => '英文名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'LD_test001_dev',
+ ],
+ 'DisplayName' => [
+ 'title' => '展示名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '测试数据板块001_开发',
+ ],
+ ],
+ ],
+ ],
+ 'Description' => [
+ 'title' => '业务对象描述信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'OwnerUserId' => [
+ 'title' => '业务对象负责人',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30010010',
+ ],
+ 'OwnerName' => [
+ 'title' => '业务对象负责人',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '张三',
+ ],
+ 'GmtCreate' => [
+ 'title' => '创建时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2024-10-10 10:00:00',
+ ],
+ 'GmtModified' => [
+ 'title' => '更新时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2024-10-10 10:00:00',
+ ],
+ 'LastModifier' => [
+ 'title' => '最近一次修改人ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30010010',
+ ],
+ 'LastModifierName' => [
+ 'title' => '最近一次修改人',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '张三',
+ ],
+ 'Icon' => [
+ 'title' => '数据板块图标',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'icon-e-commerce',
+ ],
+ 'Mode' => [
+ 'title' => '生产模式:单环境模式 BASIC、开发/生产双环境模式 DEV_PROD',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'DEV_PROD',
+ ],
+ 'AccountList' => [
+ 'title' => '板块架构师',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '用户',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '用户Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '20001201',
+ ],
+ ],
+ ],
+ ],
+ 'BusinessLeaderList' => [
+ 'title' => '业务负责人',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '用户',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '用户Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '20001201',
+ ],
+ ],
+ ],
+ ],
+ 'DataLeaderList' => [
+ 'title' => '数据负责人',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '用户',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '用户Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '20001201',
+ ],
+ ],
+ ],
+ ],
+ 'DataDomainCount' => [
+ 'title' => '主题域个数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'BizObjectCount' => [
+ 'title' => '业务对象个数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'BizProcessCount' => [
+ 'title' => '业务活动个数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"BizUnitInfo\\": {\\n \\"Id\\": 101001201,\\n \\"Name\\": \\"test01\\",\\n \\"DisplayName\\": \\"测试\\",\\n \\"EnvList\\": [\\n {\\n \\"EnvName\\": \\"DEV\\",\\n \\"Name\\": \\"LD_test001_dev\\",\\n \\"DisplayName\\": \\"测试数据板块001_开发\\"\\n }\\n ],\\n \\"Description\\": \\"test\\",\\n \\"OwnerUserId\\": \\"30010010\\",\\n \\"OwnerName\\": \\"张三\\",\\n \\"GmtCreate\\": \\"2024-10-10 10:00:00\\",\\n \\"GmtModified\\": \\"2024-10-10 10:00:00\\",\\n \\"LastModifier\\": \\"30010010\\",\\n \\"LastModifierName\\": \\"张三\\",\\n \\"Icon\\": \\"icon-e-commerce\\",\\n \\"Mode\\": \\"DEV_PROD\\",\\n \\"AccountList\\": [\\n {\\n \\"Id\\": \\"20001201\\"\\n }\\n ],\\n \\"BusinessLeaderList\\": [\\n {\\n \\"Id\\": \\"20001201\\"\\n }\\n ],\\n \\"DataLeaderList\\": [\\n {\\n \\"Id\\": \\"20001201\\"\\n }\\n ],\\n \\"DataDomainCount\\": 1,\\n \\"BizObjectCount\\": 1,\\n \\"BizProcessCount\\": 1\\n }\\n}","type":"json"}]',
+ ],
+ 'DeleteBizUnit' => [
+ 'summary' => '删除数据板块。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'Id',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '业务板块Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '6798087749072704',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\"\\n}","type":"json"}]',
+ ],
+ 'CreateBizUnit' => [
+ 'summary' => '创建数据板块。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'CreateCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '创建请求',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => [
+ 'title' => '业务对象编码名称,64位字符以内,仅允许字母,数字和下划线;ADB_PG引擎编码名称长度为40位',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'create_object_code_name',
+ ],
+ 'DisplayName' => [
+ 'title' => '业务对象名称,64位字符以内,仅允许汉字,字母,数字,下划线和中划线',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'create_object_name',
+ ],
+ 'Description' => [
+ 'title' => '业务对象描述信息,128字符以内',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ 'Icon' => [
+ 'title' => '预制icon'."\n"
+ .' 电商:icon-e-commerce, 金融:icon-finance, 云计算:con-cloud-computing, 广告营销:icon-advertisement, 物流:icon-logistics, 文娱:icon-entertainment, 出行:icon-traffic, 健康:icon-health, 社交&通信:icon-social-contact, 餐饮:con-dining, 教育:icon-education, 环境:icon-environment 等',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'icon-environment',
+ ],
+ 'Mode' => [
+ 'title' => '生产模式:单环境模式 BASIC、开发/生产双环境模式 DEV_PROD',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'DEV_PROD',
+ ],
+ 'BizUnitAccountList' => [
+ 'title' => '板块架构师',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '板块架构师',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'UserId' => [
+ 'title' => '用户Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '20001201',
+ ],
+ ],
+ 'required' => true,
+ ],
+ 'required' => true,
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'CreateResult' => [
+ 'title' => '新建结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'BizUnitId' => [
+ 'title' => '新建的数据板块ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '545844456',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"CreateResult\\": {\\n \\"BizUnitId\\": 545844456\\n }\\n}","type":"json"}]',
+ ],
+ 'UpdateBizEntity' => [
+ 'summary' => '更新业务实体、',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'UpdateCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '变更请求',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '业务实体Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '101001201',
+ ],
+ 'Type' => [
+ 'title' => '业务类型: BIZ_OBJECT、BIZ_PROCESS',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'BIZ_OBJECT',
+ ],
+ 'DataDomainId' => [
+ 'title' => '业务活动所属主题域Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '20101011',
+ ],
+ 'BizUnitId' => [
+ 'title' => '业务活动所属业务板块Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '6798087749072704',
+ ],
+ 'BizObject' => [
+ 'title' => '业务对象',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => [
+ 'title' => '业务对象编码名称,64位字符以内,仅允许字母,数字和下划线;ADB_PG引擎编码名称长度为40位',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'create_object_code_name',
+ ],
+ 'DisplayName' => [
+ 'title' => '业务对象名称,64位字符以内,仅允许汉字,字母,数字,下划线和中划线',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'create_object_name',
+ ],
+ 'Description' => [
+ 'title' => '业务对象描述信息,128字符以内',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ 'OwnerUserId' => [
+ 'title' => '业务对象负责人用户Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '30010010',
+ ],
+ 'ParentId' => [
+ 'title' => '业务对象继承实体信息,仅支持普通业务对象配置继承实体,且只能继承已上线的业务对象',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '116306',
+ ],
+ 'RefBizEntityIdList' => [
+ 'title' => '关联已上线业务实体Id列表, 若不填写: 原有的值会被清空',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '关联已上线业务实体Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '116106',
+ ],
+ 'required' => false,
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'BizProcess' => [
+ 'title' => '业务活动',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => [
+ 'title' => '业务活动编码名称,64位字符以内,仅允许字母,数字和下划线;ADB_PG引擎编码名称长度为40位',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'create_process_code_name',
+ ],
+ 'DisplayName' => [
+ 'title' => '业务活动名称,64位字符以内,仅允许汉字,字母,数字,下划线和中划线',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'create_process_name',
+ ],
+ 'Description' => [
+ 'title' => '业务活动描述信息,128字符以内',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ 'OwnerUserId' => [
+ 'title' => '业务活动负责人用户Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '30010010',
+ ],
+ 'RefBizEntityIdList' => [
+ 'title' => '关联已上线业务实体Id列表, 若不填写: 原有的值会被清空',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '关联已上线业务实体Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '116106',
+ ],
+ 'required' => false,
+ ],
+ 'BizEventEntityIdList' => [
+ 'title' => '当前为业务流程活动时有效:业务流程活动包含的业务事件活动Id列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '业务流程活动包含的业务事件活动',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '1016106',
+ ],
+ 'required' => false,
+ ],
+ 'PreBizProcessIdList' => [
+ 'title' => '业务流程活动的前序业务流程活动',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '业务流程活动的前序业务流程活动',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '1016106',
+ ],
+ 'required' => false,
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\"\\n}","type":"json"}]',
+ ],
+ 'OnlineBizEntity' => [
+ 'summary' => '上线业务实体。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'OnlineCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '上线请求',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'BizUnitId' => [
+ 'title' => '所属业务板块Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '6798087749072704',
+ ],
+ 'Type' => [
+ 'title' => '业务类型: BIZ_OBJECT、BIZ_PROCESS',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'BIZ_OBJECT',
+ ],
+ 'Id' => [
+ 'title' => '业务实体Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '101001201',
+ ],
+ 'Comment' => [
+ 'title' => '下线备注',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'test',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\"\\n}","type":"json"}]',
+ ],
+ 'OfflineBizEntity' => [
+ 'summary' => '下线业务实体、',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'OfflineCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '下线请求',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'BizUnitId' => [
+ 'title' => '所属业务板块Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '6798087749072704',
+ ],
+ 'Type' => [
+ 'title' => '业务类型: BIZ_OBJECT、BIZ_PROCESS',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'BIZ_OBJECT',
+ ],
+ 'Id' => [
+ 'title' => '业务实体Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '101001201',
+ ],
+ 'Comment' => [
+ 'title' => '下线备注',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'test',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\"\\n}","type":"json"}]',
+ ],
+ 'ListBizEntities' => [
+ 'summary' => '查询业务实体列表。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'ListQuery',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '查询请求',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Keyword' => [
+ 'title' => '搜索关键字',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'object_',
+ ],
+ 'Page' => [
+ 'title' => '页码, 默认 1',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ 'PageSize' => [
+ 'title' => '分页记录数, 默认 10',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '10',
+ ],
+ 'FilterCriteria' => [
+ 'title' => '查询过滤条件',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'BizUnitIdList' => [
+ 'title' => '所属业务板块',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '所属业务板块',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '102323411',
+ ],
+ 'required' => false,
+ ],
+ 'BizUnitNameList' => [
+ 'title' => '所属业务板块',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '所属业务板块',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '测试',
+ ],
+ 'required' => false,
+ ],
+ 'DataDomainIdList' => [
+ 'title' => '所属主题域',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '所属业务板块',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '102323411',
+ ],
+ 'required' => false,
+ ],
+ 'DataDomainNameList' => [
+ 'title' => '所属主题域',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '所属主题域',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '测试',
+ ],
+ 'required' => false,
+ ],
+ 'SubTypeList' => [
+ 'title' => '业务实体细分类型: 普通对象 NORMAL、枚举对象 ENUM、虚拟对象 VIRTUAL、层级对象 HIERARCHY、业务事件 BIZ_EVENT、业务快照 BIZ_SNAPSHOT、业务流程 BIZ_PROCESS',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '所属主题域',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '测试',
+ ],
+ 'required' => false,
+ ],
+ 'OwnerUserIdList' => [
+ 'title' => '所属负责人Id',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '所属负责人Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '30001326',
+ ],
+ 'required' => false,
+ ],
+ 'HasTableRef' => [
+ 'title' => '是否有逻辑表关联',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ ],
+ 'StatusList' => [
+ 'title' => '业务实体状态: 未上线 SUBMITTED、审批中 APPROVING、已上线 PUBLISHED、上线失败 REJECT',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '业务实体状态',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'PUBLISHED',
+ ],
+ 'required' => false,
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'PageResult' => [
+ 'title' => '分页结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'TotalCount' => [
+ 'title' => '总记录数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '66',
+ ],
+ 'BizEntityList' => [
+ 'title' => '业务实体列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '业务实体',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '业务实体Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '12121111',
+ ],
+ 'Name' => [
+ 'title' => '业务实体名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'create_process_code_name',
+ ],
+ 'DisplayName' => [
+ 'title' => '业务实体展示名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '业务活动测试',
+ ],
+ 'Description' => [
+ 'title' => '业务实体描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'OwnerUserId' => [
+ 'title' => '业务实体负责人',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30010010',
+ ],
+ 'OwnerName' => [
+ 'title' => '业务实体负责人',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '张三',
+ ],
+ 'Type' => [
+ 'title' => '业务实体类型:业务对象 BIZ_OBJECT、业务活动 BIZ_PROCESS',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'BIZ_OBJECT',
+ ],
+ 'SubType' => [
+ 'title' => '业务实体细分类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'NORMAL',
+ ],
+ 'DataDomainId' => [
+ 'title' => '业务活动所属主题域Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '20101011',
+ ],
+ 'BizUnitId' => [
+ 'title' => '业务活动所属业务板块Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '6798087749072704',
+ ],
+ 'GmtCreate' => [
+ 'title' => '创建时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2024-10-10 10:00:00',
+ ],
+ 'GmtModified' => [
+ 'title' => '更新时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2024-10-10 10:00:00',
+ ],
+ 'LastModifier' => [
+ 'title' => '最近一次修改人ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30010010',
+ ],
+ 'LastModifierName' => [
+ 'title' => '最近一次修改人',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '张三',
+ ],
+ 'OnlineStatus' => [
+ 'title' => '上线状态: 未上线 SUBMITTED、审批中 APPROVING、已上线 PUBLISHED、上线失败 REJECT',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'SUBMITTED',
+ ],
+ 'Status' => [
+ 'title' => '状态: 草稿态/未上线 DRAFT、提交中 SUBMITTING、已提交 SUBMITTED、开发中 DEVELOPING、发布中 PUBLISHING、已发布 PUBLISHED',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'SUBMITTED',
+ ],
+ 'RefTableCount' => [
+ 'title' => '关联逻辑表数量',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'HasChildBizEntity' => [
+ 'title' => '是否子业务对象',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'LevelSubBizObject' => [
+ 'title' => '是否层级维度的子层级',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'RefBizEntityIdList' => [
+ 'title' => '被关联的中心业务实体列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '业务实体Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '11023',
+ ],
+ ],
+ 'BelongToBizEntityIdList' => [
+ 'title' => '被从属的业务流程, 当前类型是业务活动时有效',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '业务实体Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '11023',
+ ],
+ ],
+ 'ChildBizEntityIdList' => [
+ 'title' => '子业务对象Id列表, 当前类型是业务对象时有效',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '业务实体Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '11023',
+ ],
+ ],
+ 'SuffixBizEntityIdList' => [
+ 'title' => '后续业务流程, 当前类型是业务活动时有效',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '业务实体Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '11023',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"PageResult\\": {\\n \\"TotalCount\\": 66,\\n \\"BizEntityList\\": [\\n {\\n \\"Id\\": 12121111,\\n \\"Name\\": \\"create_process_code_name\\",\\n \\"DisplayName\\": \\"业务活动测试\\",\\n \\"Description\\": \\"test\\",\\n \\"OwnerUserId\\": \\"30010010\\",\\n \\"OwnerName\\": \\"张三\\",\\n \\"Type\\": \\"BIZ_OBJECT\\",\\n \\"SubType\\": \\"NORMAL\\",\\n \\"DataDomainId\\": 20101011,\\n \\"BizUnitId\\": 6798087749072704,\\n \\"GmtCreate\\": \\"2024-10-10 10:00:00\\",\\n \\"GmtModified\\": \\"2024-10-10 10:00:00\\",\\n \\"LastModifier\\": \\"30010010\\",\\n \\"LastModifierName\\": \\"张三\\",\\n \\"OnlineStatus\\": \\"SUBMITTED\\",\\n \\"Status\\": \\"SUBMITTED\\",\\n \\"RefTableCount\\": 1,\\n \\"HasChildBizEntity\\": true,\\n \\"LevelSubBizObject\\": true,\\n \\"RefBizEntityIdList\\": [\\n 11023\\n ],\\n \\"BelongToBizEntityIdList\\": [\\n 11023\\n ],\\n \\"ChildBizEntityIdList\\": [\\n 11023\\n ],\\n \\"SuffixBizEntityIdList\\": [\\n 11023\\n ]\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'CreateBizEntity' => [
+ 'summary' => '创建业务实体。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'CreateCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '创建请求',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'BizObject' => [
+ 'title' => '业务对象',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => [
+ 'title' => '业务对象编码名称,64位字符以内,仅允许字母,数字和下划线;ADB_PG引擎编码名称长度为40位',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'create_object_code_name',
+ ],
+ 'DisplayName' => [
+ 'title' => '业务对象名称,64位字符以内,仅允许汉字,字母,数字,下划线和中划线',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'create_object_name',
+ ],
+ 'Description' => [
+ 'title' => '业务对象描述信息,128字符以内',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ 'OwnerUserId' => [
+ 'title' => '业务对象负责人用户Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '30010010',
+ ],
+ 'Type' => [
+ 'title' => '业务对象类型:普通对象 NORMAL、枚举对象 ENUM、虚拟对象 VIRTUAL、层级对象 HIERARCHY',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'NORMAL',
+ ],
+ 'ParentId' => [
+ 'title' => '业务对象继承实体信息,仅支持普通业务对象配置继承实体,且只能继承已上线的业务对象',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '116306',
+ ],
+ 'RefBizEntityIdList' => [
+ 'title' => '关联已上线业务实体Id列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '关联已上线业务实体Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '116106',
+ ],
+ 'required' => false,
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'BizProcess' => [
+ 'title' => '业务活动',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => [
+ 'title' => '业务活动编码名称,64位字符以内,仅允许字母,数字和下划线;ADB_PG引擎编码名称长度为40位',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'create_process_code_name',
+ ],
+ 'DisplayName' => [
+ 'title' => '业务活动名称,64位字符以内,仅允许汉字,字母,数字,下划线和中划线',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'create_process_name',
+ ],
+ 'Description' => [
+ 'title' => '业务活动描述信息,128字符以内',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ 'OwnerUserId' => [
+ 'title' => '业务活动负责人用户Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '30010010',
+ ],
+ 'Type' => [
+ 'title' => '业务活动类型:业务事件 BIZ_EVENT、业务快照 BIZ_SNAPSHOT、业务流程 BIZ_PROCESS',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'BIZ_EVENT',
+ ],
+ 'RefBizEntityIdList' => [
+ 'title' => '关联已上线业务实体Id列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '关联已上线业务实体Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '116106',
+ ],
+ 'required' => false,
+ ],
+ 'BizEventEntityIdList' => [
+ 'title' => '当前为业务流程活动时有效:业务流程活动包含的业务事件活动Id列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '业务流程活动包含的业务事件活动',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '1016106',
+ ],
+ 'required' => false,
+ ],
+ 'PreBizProcessIdList' => [
+ 'title' => '业务流程活动的前序业务流程活动',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '业务流程活动的前序业务流程活动',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '1016106',
+ ],
+ 'required' => false,
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'Type' => [
+ 'title' => '业务类型: BIZ_OBJECT、BIZ_PROCESS',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'BIZ_OBJECT',
+ ],
+ 'DataDomainId' => [
+ 'title' => '业务活动所属主题域Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '20101011',
+ ],
+ 'BizUnitId' => [
+ 'title' => '业务活动所属业务板块Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '6798087749072704',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'CreateResult' => [
+ 'title' => '新建结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'BizEntityId' => [
+ 'title' => '业务实体Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '12113111',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"CreateResult\\": {\\n \\"BizEntityId\\": 12113111\\n }\\n}","type":"json"}]',
+ ],
+ 'UpdateDataDomain' => [
+ 'summary' => '更新主题域。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'UpdateCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '创建请求',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'BizUnitId' => [
+ 'title' => '数据板块ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '545844456',
+ ],
+ 'DataDomainId' => [
+ 'title' => '主题域ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '1241844456',
+ ],
+ 'Name' => [
+ 'title' => '主题域编码',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'dm_code_name',
+ ],
+ 'DisplayName' => [
+ 'title' => '主题域展示名',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '主题域测试',
+ ],
+ 'Abbreviation' => [
+ 'title' => '主题域缩写',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'dm_code_name',
+ ],
+ 'Description' => [
+ 'title' => '主题域描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ 'ParentId' => [
+ 'title' => '上级主题域Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '10232311',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\"\\n}","type":"json"}]',
+ ],
+ 'ListDataDomains' => [
+ 'summary' => '获取主题域列表。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'ListQuery',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '查询请求',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'BizUnitIdList' => [
+ 'title' => '所属数据板块Id',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '所属数据板块Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '545844456',
+ ],
+ 'required' => false,
+ ],
+ 'ParentIdList' => [
+ 'title' => '上级主题域Id',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '上级主题域Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '10232311',
+ ],
+ 'required' => false,
+ ],
+ 'Keyword' => [
+ 'title' => '搜索关键词: 主题名称/编码/描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'Data' => [
+ 'title' => '查询结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'DataDomainList' => [
+ 'title' => '主题域详情',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '主题域详情',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '主题域Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1241844456',
+ ],
+ 'BizUnitId' => [
+ 'title' => '所属数据板块',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '545844456',
+ ],
+ 'Name' => [
+ 'title' => '名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'dm_code_name',
+ ],
+ 'DisplayName' => [
+ 'title' => '展示名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '测试',
+ ],
+ 'Abbreviation' => [
+ 'title' => '主题域缩写',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'dm_code_name',
+ ],
+ 'Description' => [
+ 'title' => '业务对象描述信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'OwnerUserId' => [
+ 'title' => '业务对象负责人',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30010010',
+ ],
+ 'OwnerName' => [
+ 'title' => '业务对象负责人',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '张三',
+ ],
+ 'GmtCreate' => [
+ 'title' => '创建时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2024-10-10 10:00:00',
+ ],
+ 'GmtModified' => [
+ 'title' => '更新时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2024-10-10 10:00:00',
+ ],
+ 'LastModifier' => [
+ 'title' => '最近一次修改人ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30010010',
+ ],
+ 'LastModifierName' => [
+ 'title' => '最近一次修改人',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '张三',
+ ],
+ 'ParentId' => [
+ 'title' => '上级主题域Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '10232311',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"Data\\": {\\n \\"DataDomainList\\": [\\n {\\n \\"Id\\": 1241844456,\\n \\"BizUnitId\\": 545844456,\\n \\"Name\\": \\"dm_code_name\\",\\n \\"DisplayName\\": \\"测试\\",\\n \\"Abbreviation\\": \\"dm_code_name\\",\\n \\"Description\\": \\"test\\",\\n \\"OwnerUserId\\": \\"30010010\\",\\n \\"OwnerName\\": \\"张三\\",\\n \\"GmtCreate\\": \\"2024-10-10 10:00:00\\",\\n \\"GmtModified\\": \\"2024-10-10 10:00:00\\",\\n \\"LastModifier\\": \\"30010010\\",\\n \\"LastModifierName\\": \\"张三\\",\\n \\"ParentId\\": 10232311\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'GetDataDomainInfo' => [
+ 'summary' => '获取主题域详情。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'Id',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '主题域Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '1241844456',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'DataDomainInfo' => [
+ 'title' => '主题域详情',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '主题域Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1241844456',
+ ],
+ 'BizUnitId' => [
+ 'title' => '所属数据板块',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '545844456',
+ ],
+ 'Name' => [
+ 'title' => '名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'dm_code_name',
+ ],
+ 'DisplayName' => [
+ 'title' => '展示名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '测试',
+ ],
+ 'Abbreviation' => [
+ 'title' => '主题域缩写',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'dm_code_name',
+ ],
+ 'Description' => [
+ 'title' => '业务对象描述信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'OwnerUserId' => [
+ 'title' => '业务对象负责人',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30010010',
+ ],
+ 'OwnerName' => [
+ 'title' => '业务对象负责人',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '张三',
+ ],
+ 'GmtCreate' => [
+ 'title' => '创建时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2024-10-10 10:00:00',
+ ],
+ 'GmtModified' => [
+ 'title' => '更新时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2024-10-10 10:00:00',
+ ],
+ 'LastModifier' => [
+ 'title' => '最近一次修改人ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30010010',
+ ],
+ 'LastModifierName' => [
+ 'title' => '最近一次修改人',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '张三',
+ ],
+ 'ParentId' => [
+ 'title' => '上级主题域Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '10232311',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"DataDomainInfo\\": {\\n \\"Id\\": 1241844456,\\n \\"BizUnitId\\": 545844456,\\n \\"Name\\": \\"dm_code_name\\",\\n \\"DisplayName\\": \\"测试\\",\\n \\"Abbreviation\\": \\"dm_code_name\\",\\n \\"Description\\": \\"test\\",\\n \\"OwnerUserId\\": \\"30010010\\",\\n \\"OwnerName\\": \\"张三\\",\\n \\"GmtCreate\\": \\"2024-10-10 10:00:00\\",\\n \\"GmtModified\\": \\"2024-10-10 10:00:00\\",\\n \\"LastModifier\\": \\"30010010\\",\\n \\"LastModifierName\\": \\"张三\\",\\n \\"ParentId\\": 10232311\\n }\\n}","type":"json"}]',
+ ],
+ 'DeleteDataDomain' => [
+ 'summary' => '删除主题域。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'BizUnitId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '业务板块Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '6798087749072704',
+ ],
+ ],
+ [
+ 'name' => 'Id',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '主题域Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '1241844456',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\"\\n}","type":"json"}]',
+ ],
+ 'CreateDataDomain' => [
+ 'summary' => '创建主题域。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'CreateCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '创建请求',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'BizUnitId' => [
+ 'title' => '所属数据板块Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '545844456',
+ ],
+ 'Name' => [
+ 'title' => '主题域编码',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'dm_code_name',
+ ],
+ 'DisplayName' => [
+ 'title' => '主题域名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '主题域测试',
+ ],
+ 'Abbreviation' => [
+ 'title' => '主题域缩写',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'dm_code_name',
+ ],
+ 'Description' => [
+ 'title' => '主题域描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ 'ParentId' => [
+ 'title' => '上级主题域Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '10232311',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'CreateResult' => [
+ 'title' => '新建结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'DataDomainId' => [
+ 'title' => '主题域Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1241844456',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"CreateResult\\": {\\n \\"DataDomainId\\": 1241844456\\n }\\n}","type":"json"}]',
+ ],
+ 'DeleteBizEntity' => [
+ 'summary' => '删除业务实体。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'BizUnitId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '所属业务板块Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '6798087749072704',
+ ],
+ ],
+ [
+ 'name' => 'Type',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '业务类型: BIZ_OBJECT、BIZ_PROCESS',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'BIZ_OBJECT',
+ ],
+ ],
+ [
+ 'name' => 'Id',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '业务实体Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '101001201',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\"\\n}","type":"json"}]',
+ ],
+ 'CreateAdHocFile' => [
+ 'summary' => '创建即席查询文件',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'CreateCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '新建即席查询请求',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ProjectId' => [
+ 'title' => '项目ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '11212133',
+ ],
+ 'Name' => [
+ 'title' => '文件名',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'test_xx',
+ ],
+ 'Directory' => [
+ 'title' => '文件所在目录',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '/xx1/xx2/',
+ ],
+ 'Content' => [
+ 'title' => '文件内容',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'select 1;',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'FileId' => [
+ 'title' => '文件ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1212313222',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"FileId\\": 1212313222\\n}","type":"json"}]',
+ ],
+ 'DeleteAdHocFile' => [
+ 'summary' => '删除菜单树即席查询文件',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'ProjectId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '项目ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '12132323',
+ ],
+ ],
+ [
+ 'name' => 'FileId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '文件ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '12121111',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\"\\n}","type":"json"}]',
+ ],
+ 'UpdateAdHocFile' => [
+ 'summary' => '编辑即席查询文件。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'UpdateCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '编辑请求',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ProjectId' => [
+ 'title' => '项目ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '1212313',
+ ],
+ 'FileId' => [
+ 'title' => '文件ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '2311113',
+ ],
+ 'Content' => [
+ 'title' => '文件内容',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'select 1;',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\"\\n}","type":"json"}]',
+ ],
+ 'GetAdHocFile' => [
+ 'summary' => '查询即席查询文件。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'ProjectId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '项目ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '12132323',
+ ],
+ ],
+ [
+ 'name' => 'FileId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '文件ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '12121111',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'FileInfo' => [
+ 'title' => '即席查询文件详情',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '文件ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '12121111',
+ ],
+ 'Name' => [
+ 'title' => '文件名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'xx测试',
+ ],
+ 'ProjectId' => [
+ 'title' => '项目ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '12132323',
+ ],
+ 'Directory' => [
+ 'title' => '文件所在目录',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '/xx1/xx2/',
+ ],
+ 'Content' => [
+ 'title' => '文件内容',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'select 1;',
+ ],
+ 'Creator' => [
+ 'title' => '创建者',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '12121',
+ ],
+ 'LastModifier' => [
+ 'title' => '编辑者',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '12121',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"FileInfo\\": {\\n \\"Id\\": 12121111,\\n \\"Name\\": \\"xx测试\\",\\n \\"ProjectId\\": 12132323,\\n \\"Directory\\": \\"/xx1/xx2/\\",\\n \\"Content\\": \\"select 1;\\",\\n \\"Creator\\": \\"12121\\",\\n \\"LastModifier\\": \\"12121\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'StopAdHocTask' => [
+ 'summary' => '终止即席查询任务。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'ProjectId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '项目Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '131211211',
+ ],
+ ],
+ [
+ 'name' => 'TaskId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '任务Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'MaxCompute_SQL_300000843_1611548758327',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\"\\n}","type":"json"}]',
+ ],
+ 'GetAdHocTaskResult' => [
+ 'summary' => '获取即席查询的任务运行结果。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'ProjectId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '项目Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '131211211',
+ ],
+ ],
+ [
+ 'name' => 'TaskId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '任务Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'MaxCompute_SQL_300000843_1611548758327',
+ ],
+ ],
+ [
+ 'name' => 'SubTaskId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '子任务ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '0',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'ExecuteResult' => [
+ 'title' => '运行结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'TaskId' => [
+ 'title' => '任务Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'MaxCompute_SQL_300000843_1611548758327',
+ ],
+ 'ScheduleTaskId' => [
+ 'title' => '对应调度任务ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 't_2242892326444990464_20210125_2242892326444990465',
+ ],
+ 'Result' => [
+ 'title' => '任务执行结果',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"ExecuteResult\\": {\\n \\"TaskId\\": \\"MaxCompute_SQL_300000843_1611548758327\\",\\n \\"ScheduleTaskId\\": \\"t_2242892326444990464_20210125_2242892326444990465\\",\\n \\"Result\\": \\"1\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'ExecuteAdHocTask' => [
+ 'summary' => '执行即席查询任务。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'ExecuteCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '执行命令',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'title' => '任务脚本',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'show tables;',
+ ],
+ 'ParamList' => [
+ 'title' => '运行参数列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '运行参数',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => [
+ 'title' => '运行参数名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'param1',
+ ],
+ 'Value' => [
+ 'title' => '运行参数值',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'value1',
+ ],
+ ],
+ 'required' => true,
+ ],
+ 'required' => false,
+ ],
+ 'OperatorType' => [
+ 'title' => '任务类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'MaxCompute_SQL',
+ ],
+ 'ProjectId' => [
+ 'title' => '项目Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '123222121',
+ ],
+ 'DataSourceId' => [
+ 'title' => '数据库sql任务,数据源Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '12131111',
+ ],
+ 'DataSourceCatalog' => [
+ 'title' => '数据库sql任务,仅对如Presto等需要设置Catalog的数据源类型生效',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'mysql_catalog',
+ ],
+ 'DataSourceSchema' => [
+ 'title' => '数据库sql任务,仅对如Oracle等需要设置Schema的数据源类型生效',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'erp',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'ExecuteResult' => [
+ 'title' => '执行结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'TaskId' => [
+ 'title' => '任务Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'MaxCompute_SQL_300000843_1611548758327',
+ ],
+ 'SubTaskCount' => [
+ 'title' => '任务解析, 拆分出来子任务个数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"ExecuteResult\\": {\\n \\"TaskId\\": \\"MaxCompute_SQL_300000843_1611548758327\\",\\n \\"SubTaskCount\\": 1\\n }\\n}","type":"json"}]',
+ ],
+ 'GetAdHocTaskLog' => [
+ 'summary' => '获取即席查询任务运行日志。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'ProjectId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '项目Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '131211211',
+ ],
+ ],
+ [
+ 'name' => 'TaskId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '任务Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'MaxCompute_SQL_300000843_1611548758327',
+ ],
+ ],
+ [
+ 'name' => 'SubTaskId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '子任务ID, 从0开始',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '0',
+ ],
+ ],
+ [
+ 'name' => 'Offset',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '查询日志的偏移量, 根据返回的结果递增 初始值传0',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '1021',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'LogInfo' => [
+ 'title' => '日志详情',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'TaskId' => [
+ 'title' => '任务Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'MaxCompute_SQL_300000843_1611548758327',
+ ],
+ 'SubTaskId' => [
+ 'title' => '子任务ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'TaskStatus' => [
+ 'title' => '任务运行状态: 等待资源 WAIT_RESOURCE',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'WAIT_RESOURCE',
+ ],
+ 'HasNext' => [
+ 'title' => '是否有下一条日志',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HasResult' => [
+ 'title' => '当前查询是否会产生结果',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'NextOffset' => [
+ 'title' => '下条日志的起始位置',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '2021',
+ ],
+ 'Content' => [
+ 'title' => '运行日志',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"LogInfo\\": {\\n \\"TaskId\\": \\"MaxCompute_SQL_300000843_1611548758327\\",\\n \\"SubTaskId\\": 0,\\n \\"TaskStatus\\": \\"WAIT_RESOURCE\\",\\n \\"HasNext\\": true,\\n \\"HasResult\\": true,\\n \\"NextOffset\\": 2021,\\n \\"Content\\": \\"test\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'UpdatePipelineByAsync' => [
+ 'summary' => '异步更新集成管道任务。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'Context',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '请求上下文信息',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ProjectId' => [
+ 'title' => '集成管道任务所属项目ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '123',
+ ],
+ 'Env' => [
+ 'title' => '当前操作环境env:DEV-表示操作开发环境,PROD-表示操作生产环境',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'DEV',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ [
+ 'name' => 'UpdateCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '更新管道任务配置',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ScheduleConfig' => [
+ 'title' => '调度配置,格式为JSON字符串,参考工具类:com.alibaba.dataphin.pipeline.common.facade.openapi.model.OAScheduleConfig#toJsonString方法',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '{"cronExpression":"0 0 0 * * ?"}',
+ ],
+ 'Comment' => [
+ 'title' => '备注',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'comment',
+ ],
+ 'PipelineConfig' => [
+ 'title' => '集成管道组件配置',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Steps' => [
+ 'title' => '组件配置:包含所有用到的组件详细配置',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '组件具体配置',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'PluginConfig' => [
+ 'title' => '具体组件配置,格式为JSON字符串,参考工具类:com.alibaba.dataphin.pipeline.common.facade.openapi.model.plugin.OABasePluginConfig相关子类的toJsonString方法。开发者应继承该组件配置类,实现相应组件配置,每个组件配置与Dataphin页面创建的管道配置结构相同',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '{}',
+ ],
+ 'StepType' => [
+ 'title' => '组件类型:input-表示输入组件,output-表示输出组件,transfrom-表示转换组件,process-表示流程控制组件,参考工具类:com.alibaba.dataphin.pipeline.common.facade.openapi.model.plugin.OABasePluginConfig#stepType。开发者应继承该组件配置类,实现相应组件配置,每个组件配置与Dataphin页面创建的管道配置结构相同',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'input',
+ ],
+ 'StepName' => [
+ 'title' => '步骤名称,在同一个管道任务所有步骤名称不能重复',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'mysql_reader',
+ ],
+ 'IsDistribute' => [
+ 'title' => '用于表示当前组件有多个下游组件时当前组件数据的分发方式:'."\n"
+ .'true-表示当前组件的数据轮流发送到所有下游,例如当前组件有100条数据,有两个下游,则两个下游各有50条数据,默认为true,'."\n"
+ .'false-表示当前组件的数据全量发送到所有下游,例如当前组件有100条数据,有两个下游,则两个下游都有100条数据',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ ],
+ 'Key' => [
+ 'title' => '插件ID,每个插件都有唯一的标志,参考工具类:com.alibaba.dataphin.pipeline.common.facade.openapi.model.plugin.OABasePluginConfig#stepKey。开发者应继承该组件配置类,实现相应组件配置,每个组件配置与Dataphin页面创建的管道配置结构相同',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'mysqlinput',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => true,
+ ],
+ 'Hops' => [
+ 'title' => 'DAG有向无环图链接配置:描述所有组件的连接关系',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '集成管道输入输出组件关系配置',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Target' => [
+ 'title' => '输出步骤名称,即Steps[*].StepName',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'odps_writer',
+ ],
+ 'SendTo' => [
+ 'title' => '针对条件分发组件,连接下游条件为true时设置为true,否则设置为false',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ ],
+ 'Source' => [
+ 'title' => '输入步骤名称,即Steps[*].StepName',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'mysql_reader',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => true,
+ ],
+ ],
+ 'required' => true,
+ ],
+ 'NodeInfo' => [
+ 'title' => '集成管道任务基本信息',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'NodeName' => [
+ 'title' => '集成管道任务名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'test',
+ ],
+ 'NodeId' => [
+ 'title' => '管道任务调度节点ID,首次创建为空,更新管道任务时,pipelineId、fileId、nodeId至少配置一个',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'n_123',
+ ],
+ 'PipelineId' => [
+ 'title' => '管道任务ID,首次创建为空,更新管道任务时,pipelineId、fileId、nodeId至少配置一个',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '123',
+ ],
+ 'FileId' => [
+ 'title' => '管道文件ID,首次创建为空,更新管道任务时,pipelineId、fileId、nodeId至少配置一个',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '123',
+ ],
+ 'Directory' => [
+ 'title' => '集成管道任务节点目录(默认为根目录),该目录必须存在,如若不存在,则需要调用相关接口创建类型为offlinePipeline的目录',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '/',
+ ],
+ ],
+ 'required' => true,
+ ],
+ 'PipelineType' => [
+ 'title' => '管道任务类型:0-表示离线集成(默认),1-表示实时集成',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '0',
+ ],
+ 'Mode' => [
+ 'title' => '集成管道配置模式:PIPELINE-表示管道模式(默认),JSON-表示脚本模式',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'PIPELINE',
+ ],
+ 'Submit' => [
+ 'title' => '是否提交,默认提交',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ ],
+ 'PipelineJson' => [
+ 'title' => '脚本模式下:集成管道配置(json字符串格式)',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '{}',
+ ],
+ 'Settings' => [
+ 'title' => '通道配置,格式为JSON字符串,参考工具类:com.alibaba.dataphin.pipeline.common.facade.openapi.model.OAPipelineSetting#toJsonString方法',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '{}',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Data' => [
+ 'title' => '异步执行查询Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '123',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Message\\": \\"internal error\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Data\\": 123,\\n \\"Code\\": \\"OK\\",\\n \\"Success\\": true\\n}","type":"json"}]',
+ ],
+ 'OfflinePipelineByAsync' => [
+ 'summary' => '异步下线集成管道任务。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'Context',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '请求上下文信息',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ProjectId' => [
+ 'title' => '集成管道任务所属项目ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '123',
+ ],
+ 'Env' => [
+ 'title' => '当前操作环境env:DEV-表示操作开发环境,PROD-表示操作生产环境',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'DEV',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ [
+ 'name' => 'OfflineCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '下线管道任务',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Delete' => [
+ 'title' => '是否删除',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => true,
+ ],
+ 'Comment' => [
+ 'title' => '备注',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'comment',
+ ],
+ 'NodeId' => [
+ 'title' => '支持使用集成任务调度节点nodeId查询',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'n_123',
+ ],
+ 'PipelineId' => [
+ 'title' => '支持使用集成管道主键pipelineId查询',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '123',
+ ],
+ 'FileId' => [
+ 'title' => '支持使用集成任务文件fileId查询',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '123',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Data' => [
+ 'title' => '异步执行查询Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '123',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Message\\": \\"internal error\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Data\\": 123,\\n \\"Code\\": \\"OK\\",\\n \\"Success\\": true\\n}","type":"json"}]',
+ ],
+ 'GetPipelineById' => [
+ 'summary' => '根据管道任务id查询管道任务。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'Context',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '请求上下文信息',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ProjectId' => [
+ 'title' => '集成管道任务所属项目ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '123',
+ ],
+ 'Env' => [
+ 'title' => '当前操作环境env:DEV-表示操作开发环境,PROD-表示操作生产环境',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'DEV',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ [
+ 'name' => 'QueryId',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '用户查询管道任务的Id',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'NodeId' => [
+ 'title' => '支持使用集成任务调度节点nodeId查询',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'n_123',
+ ],
+ 'PipelineId' => [
+ 'title' => '支持使用集成管道主键pipelineId查询',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '123',
+ ],
+ 'FileId' => [
+ 'title' => '支持使用集成任务文件fileId查询',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '123',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Data' => [
+ 'title' => '管道任务详情',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ScheduleConfig' => [
+ 'title' => '集成管道调度配置,json字符串,通过工具类:com.alibaba.dataphin.pipeline.common.facade.openapi.vo.OAScheduleConfigVO进行反序列化',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '{}',
+ ],
+ 'PipelineConfig' => [
+ 'title' => '集成管道组件配置',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Steps' => [
+ 'title' => '组件配置:包含所有用到的组件详细配置',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '组件具体配置',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'PluginConfig' => [
+ 'title' => '具体组件配置,格式为JSON字符串,参考工具类:com.alibaba.dataphin.pipeline.common.facade.openapi.model.plugin.OABasePluginConfig相关子类的toJsonString方法。开发者应继承该组件配置类,实现相应组件配置,每个组件配置与Dataphin页面创建的管道配置结构相同',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '{}',
+ ],
+ 'StepType' => [
+ 'title' => '组件类型:input-表示输入组件,output-表示输出组件,transfrom-表示转换组件,process-表示流程控制组件,参考工具类:com.alibaba.dataphin.pipeline.common.facade.openapi.model.plugin.OABasePluginConfig#stepType。开发者应继承该组件配置类,实现相应组件配置,每个组件配置与Dataphin页面创建的管道配置结构相同',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'input',
+ ],
+ 'StepName' => [
+ 'title' => '步骤名称,在同一个管道任务所有步骤名称不能重复',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'mysql_reader',
+ ],
+ 'IsDistribute' => [
+ 'title' => '用于表示当前组件有多个下游组件时当前组件数据的分发方式:'."\n"
+ .'true-表示当前组件的数据轮流发送到所有下游,例如当前组件有100条数据,有两个下游,则两个下游各有50条数据,默认为true,'."\n"
+ .'false-表示当前组件的数据全量发送到所有下游,例如当前组件有100条数据,有两个下游,则两个下游都有100条数据',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'Key' => [
+ 'title' => '插件ID,每个插件都有唯一的标志,参考工具类:com.alibaba.dataphin.pipeline.common.facade.openapi.model.plugin.OABasePluginConfig#stepKey。开发者应继承该组件配置类,实现相应组件配置,每个组件配置与Dataphin页面创建的管道配置结构相同',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'mysqlinput',
+ ],
+ ],
+ ],
+ ],
+ 'Hops' => [
+ 'title' => 'DAG有向无环图链接配置:描述所有组件的连接关系',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '集成管道输入输出组件关系配置',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Target' => [
+ 'title' => '输出步骤名称,即Steps[*].StepName',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'odps_writer',
+ ],
+ 'SendTo' => [
+ 'title' => '针对条件分发组件,连接下游条件为true时设置为true,否则设置为false',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'Source' => [
+ 'title' => '输入步骤名称,即Steps[*].StepName',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'mysql_reader',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'NodeInfo' => [
+ 'title' => '管道任务基本信息',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Desc' => [
+ 'title' => '',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'comment',
+ ],
+ 'NodeName' => [
+ 'title' => '集成管道任务名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'NodeId' => [
+ 'title' => '管道任务调度节点ID,首次创建为空,更新管道任务时,pipelineId、fileId、nodeId至少配置一个',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'n_123',
+ ],
+ 'PipelineId' => [
+ 'title' => '管道任务ID,首次创建为空,更新管道任务时,pipelineId、fileId、nodeId至少配置一个',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '123',
+ ],
+ 'FileId' => [
+ 'title' => '管道文件ID,首次创建为空,更新管道任务时,pipelineId、fileId、nodeId至少配置一个',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '123',
+ ],
+ 'Directory' => [
+ 'title' => '集成管道任务节点目录(默认为根目录),该目录必须存在,如若不存在,则需要调用相关接口创建类型为offlinePipeline的目录',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '/',
+ ],
+ ],
+ ],
+ 'PipelineType' => [
+ 'title' => '管道任务类型',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '123',
+ ],
+ 'Mode' => [
+ 'title' => '集成管道配置模式',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'PIPELINE',
+ ],
+ 'PipelineJson' => [
+ 'title' => '集成管道脚本模式配置',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '{}',
+ ],
+ 'Settings' => [
+ 'title' => '集成管道的通道配置,json字符串,通过工具类:com.alibaba.dataphin.pipeline.common.facade.openapi.model.OAPipelineSetting进行反序列化',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '{}',
+ ],
+ ],
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Message\\": \\"internal error\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Data\\": {\\n \\"ScheduleConfig\\": \\"{}\\",\\n \\"PipelineConfig\\": {\\n \\"Steps\\": [\\n {\\n \\"PluginConfig\\": \\"{}\\",\\n \\"StepType\\": \\"input\\",\\n \\"StepName\\": \\"mysql_reader\\",\\n \\"IsDistribute\\": true,\\n \\"Key\\": \\"mysqlinput\\"\\n }\\n ],\\n \\"Hops\\": [\\n {\\n \\"Target\\": \\"odps_writer\\",\\n \\"SendTo\\": true,\\n \\"Source\\": \\"mysql_reader\\"\\n }\\n ]\\n },\\n \\"NodeInfo\\": {\\n \\"Desc\\": \\"comment\\",\\n \\"NodeName\\": \\"test\\",\\n \\"NodeId\\": \\"n_123\\",\\n \\"PipelineId\\": 123,\\n \\"FileId\\": 123,\\n \\"Directory\\": \\"/\\"\\n },\\n \\"PipelineType\\": 123,\\n \\"Mode\\": \\"PIPELINE\\",\\n \\"PipelineJson\\": \\"{}\\",\\n \\"Settings\\": \\"{}\\"\\n },\\n \\"Code\\": \\"OK\\",\\n \\"Success\\": true\\n}","type":"json"}]',
+ ],
+ 'OfflinePipeline' => [
+ 'summary' => '下线集成管道任务。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'Context',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '请求上下文信息',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ProjectId' => [
+ 'title' => '集成管道任务所属项目ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '123',
+ ],
+ 'Env' => [
+ 'title' => '当前操作环境env:DEV-表示操作开发环境,PROD-表示操作生产环境',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'DEV',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ [
+ 'name' => 'OfflineCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '下线管道任务',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Delete' => [
+ 'title' => '是否删除',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => true,
+ ],
+ 'Comment' => [
+ 'title' => '备注',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'comment',
+ ],
+ 'NodeId' => [
+ 'title' => '支持使用集成任务调度节点nodeId查询',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'n_123',
+ ],
+ 'PipelineId' => [
+ 'title' => '支持使用集成管道主键pipelineId查询',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '123',
+ ],
+ 'FileId' => [
+ 'title' => '支持使用集成任务文件fileId查询',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '123',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Data' => [
+ 'title' => '管道下线结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'SubmitId' => [
+ 'title' => '提交管道生成的待发布列表的submitId,通过发布域进行发布',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '123',
+ ],
+ 'HostMachine' => [
+ 'title' => '服务端执行机器名称和ip',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'hostName:hostIp',
+ ],
+ 'Version' => [
+ 'title' => '提交后生成的版本号',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1',
+ ],
+ 'NodeId' => [
+ 'title' => '创建成功后的管道任务调度节点Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '123',
+ ],
+ 'PipelineId' => [
+ 'title' => '创建成功后的管道ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '123',
+ ],
+ ],
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Message\\": \\"internal error\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Data\\": {\\n \\"SubmitId\\": 123,\\n \\"HostMachine\\": \\"hostName:hostIp\\",\\n \\"Version\\": \\"1\\",\\n \\"NodeId\\": \\"123\\",\\n \\"PipelineId\\": 123\\n },\\n \\"Code\\": \\"OK\\",\\n \\"Success\\": true\\n}","type":"json"}]',
+ ],
+ 'CreatePipeline' => [
+ 'summary' => '创建集成管道任务。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'Context',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '请求上下文信息',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ProjectId' => [
+ 'title' => '集成管道任务所属项目ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '123',
+ ],
+ 'Env' => [
+ 'title' => '当前操作环境env:DEV-表示操作开发环境,PROD-表示操作生产环境',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'DEV',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ [
+ 'name' => 'CreateCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '创建管道任务配置',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ScheduleConfig' => [
+ 'title' => '调度配置,格式为JSON字符串,参考工具类:com.alibaba.dataphin.pipeline.common.facade.openapi.model.OAScheduleConfig#toJsonString方法',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '{"cronExpression":"0 0 0 * * ?"}',
+ ],
+ 'Comment' => [
+ 'title' => '备注',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'comment',
+ ],
+ 'PipelineConfig' => [
+ 'title' => '集成管道组件配置',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Steps' => [
+ 'title' => '组件配置:包含所有用到的组件详细配置',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '组件具体配置',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'PluginConfig' => [
+ 'title' => '具体组件配置,格式为JSON字符串,参考工具类:com.alibaba.dataphin.pipeline.common.facade.openapi.model.plugin.OABasePluginConfig相关子类的toJsonString方法。开发者应继承该组件配置类,实现相应组件配置,每个组件配置与Dataphin页面创建的管道配置结构相同',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '{}',
+ ],
+ 'StepType' => [
+ 'title' => '组件类型:input-表示输入组件,output-表示输出组件,transfrom-表示转换组件,process-表示流程控制组件,参考工具类:com.alibaba.dataphin.pipeline.common.facade.openapi.model.plugin.OABasePluginConfig#stepType。开发者应继承该组件配置类,实现相应组件配置,每个组件配置与Dataphin页面创建的管道配置结构相同',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'input',
+ ],
+ 'StepName' => [
+ 'title' => '步骤名称,在同一个管道任务所有步骤名称不能重复',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'mysql_reader',
+ ],
+ 'IsDistribute' => [
+ 'title' => '用于表示当前组件有多个下游组件时当前组件数据的分发方式:'."\n"
+ .'true-表示当前组件的数据轮流发送到所有下游,例如当前组件有100条数据,有两个下游,则两个下游各有50条数据,默认为true,'."\n"
+ .'false-表示当前组件的数据全量发送到所有下游,例如当前组件有100条数据,有两个下游,则两个下游都有100条数据',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ ],
+ 'Key' => [
+ 'title' => '插件ID,每个插件都有唯一的标志,参考工具类:com.alibaba.dataphin.pipeline.common.facade.openapi.model.plugin.OABasePluginConfig#stepKey。开发者应继承该组件配置类,实现相应组件配置,每个组件配置与Dataphin页面创建的管道配置结构相同',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'mysqlinput',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => true,
+ ],
+ 'Hops' => [
+ 'title' => 'DAG有向无环图链接配置:描述所有组件的连接关系',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '集成管道输入输出组件关系配置',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Target' => [
+ 'title' => '输出步骤名称,即Steps[*].StepName',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'odps_writer',
+ ],
+ 'SendTo' => [
+ 'title' => '针对条件分发组件,连接下游条件为true时设置为true,否则设置为false',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ ],
+ 'Source' => [
+ 'title' => '输入步骤名称,即Steps[*].StepName',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'mysql_reader',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => true,
+ ],
+ ],
+ 'required' => true,
+ ],
+ 'NodeInfo' => [
+ 'title' => '集成管道任务基本信息',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'NodeName' => [
+ 'title' => '集成管道任务名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'test',
+ ],
+ 'NodeId' => [
+ 'title' => '管道任务调度节点ID,首次创建为空,更新管道任务时,pipelineId、fileId、nodeId至少配置一个',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'n_123',
+ ],
+ 'PipelineId' => [
+ 'title' => '管道任务ID,首次创建为空,更新管道任务时,pipelineId、fileId、nodeId至少配置一个',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '123',
+ ],
+ 'FileId' => [
+ 'title' => '管道文件ID,首次创建为空,更新管道任务时,pipelineId、fileId、nodeId至少配置一个',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '123',
+ ],
+ 'Directory' => [
+ 'title' => '集成管道任务节点目录(默认为根目录),该目录必须存在,如若不存在,则需要调用相关接口创建类型为offlinePipeline的目录',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '/',
+ ],
+ ],
+ 'required' => true,
+ ],
+ 'PipelineType' => [
+ 'title' => '管道任务类型:0-表示离线集成(默认),1-表示实时集成',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '0',
+ ],
+ 'Mode' => [
+ 'title' => '集成管道配置模式:PIPELINE-表示管道模式(默认),JSON-表示脚本模式',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'PIPELINE',
+ ],
+ 'Submit' => [
+ 'title' => '是否提交,默认提交',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ ],
+ 'PipelineJson' => [
+ 'title' => '脚本模式下:集成管道配置(json字符串格式)',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '{}',
+ ],
+ 'Settings' => [
+ 'title' => '通道配置,格式为JSON字符串,参考工具类:com.alibaba.dataphin.pipeline.common.facade.openapi.model.OAPipelineSetting#toJsonString方法',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '{}',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Data' => [
+ 'title' => '集成管道任务创建结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'SubmitId' => [
+ 'title' => '提交管道生成的待发布列表的submitId,通过发布域进行发布',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '123',
+ ],
+ 'HostMachine' => [
+ 'title' => '服务端执行机器名称和ip',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'hostName:hostIp',
+ ],
+ 'Version' => [
+ 'title' => '提交后生成的版本号',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1',
+ ],
+ 'NodeId' => [
+ 'title' => '创建成功后的管道任务调度节点Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '123',
+ ],
+ 'PipelineId' => [
+ 'title' => '创建成功后的管道ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '123',
+ ],
+ ],
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Message\\": \\"internal error\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Data\\": {\\n \\"SubmitId\\": 123,\\n \\"HostMachine\\": \\"hostName:hostIp\\",\\n \\"Version\\": \\"1\\",\\n \\"NodeId\\": \\"123\\",\\n \\"PipelineId\\": 123\\n },\\n \\"Code\\": \\"OK\\",\\n \\"Success\\": true\\n}","type":"json"}]',
+ ],
+ 'GetPipelineAsyncResult' => [
+ 'summary' => '查询异步操作管道任务的执行结果。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'Context',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '请求上下文信息',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ProjectId' => [
+ 'title' => '集成管道任务所属项目ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '123',
+ ],
+ 'Env' => [
+ 'title' => '当前操作环境env:DEV-表示操作开发环境,PROD-表示操作生产环境',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'DEV',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ [
+ 'name' => 'AsyncId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '异步执行Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '123',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'Id of the request',
+ 'type' => 'string',
+ 'example' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Data' => [
+ 'title' => '异步执行结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Status' => [
+ 'title' => '当前执行状态:SUCCESS-执行成功,FAILED-执行失败,RUNNING-执行中',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'SUCCESS',
+ ],
+ 'SubmitId' => [
+ 'title' => '管道任务提交后的带发布ID,通过发布域进行发布',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '123',
+ ],
+ 'HostMachine' => [
+ 'title' => '执行请求的服务端主机信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'hostName:hostIp',
+ ],
+ 'Version' => [
+ 'title' => '管道任务提交生成的版本号',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1',
+ ],
+ 'NodeId' => [
+ 'title' => '管道任务调度节点ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'n_123',
+ ],
+ 'AsyncId' => [
+ 'title' => '异步执行查询Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '123',
+ ],
+ 'PipelineId' => [
+ 'title' => '管道主键ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '123',
+ ],
+ 'ErrorCode' => [
+ 'title' => '执行异常时异常码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'DPN.Pipeline.InnerError',
+ ],
+ 'ErrorMessage' => [
+ 'title' => '执行异常时异常信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'NullPointException',
+ ],
+ ],
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Message\\": \\"internal error\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Data\\": {\\n \\"Status\\": \\"SUCCESS\\",\\n \\"SubmitId\\": 123,\\n \\"HostMachine\\": \\"hostName:hostIp\\",\\n \\"Version\\": \\"1\\",\\n \\"NodeId\\": \\"n_123\\",\\n \\"AsyncId\\": 123,\\n \\"PipelineId\\": 123,\\n \\"ErrorCode\\": \\"DPN.Pipeline.InnerError\\",\\n \\"ErrorMessage\\": \\"NullPointException\\"\\n },\\n \\"Code\\": \\"OK\\",\\n \\"Success\\": true\\n}","type":"json"}]',
+ ],
+ 'CreatePipelineByAsync' => [
+ 'summary' => '异步创建集成管道任务。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'Context',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '请求上下文信息',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ProjectId' => [
+ 'title' => '集成管道任务所属项目ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '123',
+ ],
+ 'Env' => [
+ 'title' => '当前操作环境env:DEV-表示操作开发环境,PROD-表示操作生产环境',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'DEV',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ [
+ 'name' => 'CreateCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '创建管道任务配置',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ScheduleConfig' => [
+ 'title' => '调度配置,格式为JSON字符串,参考工具类:com.alibaba.dataphin.pipeline.common.facade.openapi.model.OAScheduleConfig#toJsonString方法',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '{"cronExpression":"0 0 0 * * ?"}',
+ ],
+ 'Comment' => [
+ 'title' => '备注',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'comment',
+ ],
+ 'PipelineConfig' => [
+ 'title' => '集成管道组件配置',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Steps' => [
+ 'title' => '组件配置:包含所有用到的组件详细配置',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '组件具体配置',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'PluginConfig' => [
+ 'title' => '具体组件配置,格式为JSON字符串,参考工具类:com.alibaba.dataphin.pipeline.common.facade.openapi.model.plugin.OABasePluginConfig相关子类的toJsonString方法。开发者应继承该组件配置类,实现相应组件配置,每个组件配置与Dataphin页面创建的管道配置结构相同',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '{}',
+ ],
+ 'StepType' => [
+ 'title' => '组件类型:input-表示输入组件,output-表示输出组件,transfrom-表示转换组件,process-表示流程控制组件,参考工具类:com.alibaba.dataphin.pipeline.common.facade.openapi.model.plugin.OABasePluginConfig#stepType。开发者应继承该组件配置类,实现相应组件配置,每个组件配置与Dataphin页面创建的管道配置结构相同',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'input',
+ ],
+ 'StepName' => [
+ 'title' => '步骤名称,在同一个管道任务所有步骤名称不能重复',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'mysql_reader',
+ ],
+ 'IsDistribute' => [
+ 'title' => '用于表示当前组件有多个下游组件时当前组件数据的分发方式:'."\n"
+ .'true-表示当前组件的数据轮流发送到所有下游,例如当前组件有100条数据,有两个下游,则两个下游各有50条数据,默认为true,'."\n"
+ .'false-表示当前组件的数据全量发送到所有下游,例如当前组件有100条数据,有两个下游,则两个下游都有100条数据',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ ],
+ 'Key' => [
+ 'title' => '插件ID,每个插件都有唯一的标志,参考工具类:com.alibaba.dataphin.pipeline.common.facade.openapi.model.plugin.OABasePluginConfig#stepKey。开发者应继承该组件配置类,实现相应组件配置,每个组件配置与Dataphin页面创建的管道配置结构相同',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'mysqlinput',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => true,
+ ],
+ 'Hops' => [
+ 'title' => 'DAG有向无环图链接配置:描述所有组件的连接关系',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '集成管道输入输出组件关系配置',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Target' => [
+ 'title' => '输出步骤名称,即Steps[*].StepName',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'odps_writer',
+ ],
+ 'SendTo' => [
+ 'title' => '针对条件分发组件,连接下游条件为true时设置为true,否则设置为false',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ ],
+ 'Source' => [
+ 'title' => '输入步骤名称,即Steps[*].StepName',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'mysql_reader',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => true,
+ ],
+ ],
+ 'required' => true,
+ ],
+ 'NodeInfo' => [
+ 'title' => '集成管道任务基本信息',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'NodeName' => [
+ 'title' => '集成管道任务名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'test',
+ ],
+ 'NodeId' => [
+ 'title' => '管道任务调度节点ID,首次创建为空,更新管道任务时,pipelineId、fileId、nodeId至少配置一个',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'n_123',
+ ],
+ 'PipelineId' => [
+ 'title' => '管道任务ID,首次创建为空,更新管道任务时,pipelineId、fileId、nodeId至少配置一个',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '123',
+ ],
+ 'FileId' => [
+ 'title' => '管道文件ID,首次创建为空,更新管道任务时,pipelineId、fileId、nodeId至少配置一个',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '123',
+ ],
+ 'Directory' => [
+ 'title' => '集成管道任务节点目录(默认为根目录),该目录必须存在,如若不存在,则需要调用相关接口创建类型为offlinePipeline的目录',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '/',
+ ],
+ ],
+ 'required' => true,
+ ],
+ 'PipelineType' => [
+ 'title' => '管道任务类型:0-表示离线集成(默认),1-表示实时集成',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '0',
+ ],
+ 'Mode' => [
+ 'title' => '集成管道配置模式:PIPELINE-表示管道模式(默认),JSON-表示脚本模式',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'PIPELINE',
+ ],
+ 'Submit' => [
+ 'title' => '是否提交,默认提交',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ ],
+ 'PipelineJson' => [
+ 'title' => '脚本模式下:集成管道配置(json字符串格式)',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '{}',
+ ],
+ 'Settings' => [
+ 'title' => '通道配置,格式为JSON字符串,参考工具类:com.alibaba.dataphin.pipeline.common.facade.openapi.model.OAPipelineSetting#toJsonString方法',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '{}',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Data' => [
+ 'title' => '异步执行查询Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '123',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Message\\": \\"internal error\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Data\\": 123,\\n \\"Code\\": \\"OK\\",\\n \\"Success\\": true\\n}","type":"json"}]',
+ ],
+ 'UpdatePipeline' => [
+ 'summary' => '更新集成管道任务。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'Context',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '请求上下文信息',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ProjectId' => [
+ 'title' => '集成管道任务所属项目ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '123',
+ ],
+ 'Env' => [
+ 'title' => '当前操作环境env:DEV-表示操作开发环境,PROD-表示操作生产环境',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'DEV',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ [
+ 'name' => 'UpdateCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '更新管道任务配置',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ScheduleConfig' => [
+ 'title' => '调度配置,格式为JSON字符串,参考工具类:com.alibaba.dataphin.pipeline.common.facade.openapi.model.OAScheduleConfig#toJsonString方法',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '{"cronExpression":"0 0 0 * * ?"}',
+ ],
+ 'Comment' => [
+ 'title' => '备注',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'comment',
+ ],
+ 'PipelineConfig' => [
+ 'title' => '集成管道组件配置',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Steps' => [
+ 'title' => '组件配置:包含所有用到的组件详细配置',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '组件具体配置',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'PluginConfig' => [
+ 'title' => '具体组件配置,格式为JSON字符串,参考工具类:com.alibaba.dataphin.pipeline.common.facade.openapi.model.plugin.OABasePluginConfig相关子类的toJsonString方法。开发者应继承该组件配置类,实现相应组件配置,每个组件配置与Dataphin页面创建的管道配置结构相同',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '{}',
+ ],
+ 'StepType' => [
+ 'title' => '组件类型:input-表示输入组件,output-表示输出组件,transfrom-表示转换组件,process-表示流程控制组件,参考工具类:com.alibaba.dataphin.pipeline.common.facade.openapi.model.plugin.OABasePluginConfig#stepType。开发者应继承该组件配置类,实现相应组件配置,每个组件配置与Dataphin页面创建的管道配置结构相同',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'input',
+ ],
+ 'StepName' => [
+ 'title' => '步骤名称,在同一个管道任务所有步骤名称不能重复',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'mysql_reader',
+ ],
+ 'IsDistribute' => [
+ 'title' => '用于表示当前组件有多个下游组件时当前组件数据的分发方式:'."\n"
+ .'true-表示当前组件的数据轮流发送到所有下游,例如当前组件有100条数据,有两个下游,则两个下游各有50条数据,默认为true,'."\n"
+ .'false-表示当前组件的数据全量发送到所有下游,例如当前组件有100条数据,有两个下游,则两个下游都有100条数据',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ ],
+ 'Key' => [
+ 'title' => '插件ID,每个插件都有唯一的标志,参考工具类:com.alibaba.dataphin.pipeline.common.facade.openapi.model.plugin.OABasePluginConfig#stepKey。开发者应继承该组件配置类,实现相应组件配置,每个组件配置与Dataphin页面创建的管道配置结构相同',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'mysqlinput',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => true,
+ ],
+ 'Hops' => [
+ 'title' => 'DAG有向无环图链接配置:描述所有组件的连接关系',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '集成管道输入输出组件关系配置',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Target' => [
+ 'title' => '输出步骤名称,即Steps[*].StepName',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'odps_writer',
+ ],
+ 'SendTo' => [
+ 'title' => '针对条件分发组件,连接下游条件为true时设置为true,否则设置为false',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ ],
+ 'Source' => [
+ 'title' => '输入步骤名称,即Steps[*].StepName',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'mysql_reader',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => true,
+ ],
+ ],
+ 'required' => true,
+ ],
+ 'NodeInfo' => [
+ 'title' => '集成管道任务基本信息',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'NodeName' => [
+ 'title' => '集成管道任务名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'test',
+ ],
+ 'NodeId' => [
+ 'title' => '管道任务调度节点ID,首次创建为空,更新管道任务时,pipelineId、fileId、nodeId至少配置一个',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'n_123',
+ ],
+ 'PipelineId' => [
+ 'title' => '管道任务ID,首次创建为空,更新管道任务时,pipelineId、fileId、nodeId至少配置一个',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '123',
+ ],
+ 'FileId' => [
+ 'title' => '管道文件ID,首次创建为空,更新管道任务时,pipelineId、fileId、nodeId至少配置一个',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '123',
+ ],
+ 'Directory' => [
+ 'title' => '集成管道任务节点目录(默认为根目录),该目录必须存在,如若不存在,则需要调用相关接口创建类型为offlinePipeline的目录',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '/',
+ ],
+ ],
+ 'required' => true,
+ ],
+ 'PipelineType' => [
+ 'title' => '管道任务类型:0-表示离线集成(默认),1-表示实时集成',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '0',
+ ],
+ 'Mode' => [
+ 'title' => '集成管道配置模式:PIPELINE-表示管道模式(默认),JSON-表示脚本模式',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'PIPELINE',
+ ],
+ 'Submit' => [
+ 'title' => '是否提交,默认提交',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ ],
+ 'PipelineJson' => [
+ 'title' => '脚本模式下:集成管道配置(json字符串格式)',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '{}',
+ ],
+ 'Settings' => [
+ 'title' => '通道配置,格式为JSON字符串,参考工具类:com.alibaba.dataphin.pipeline.common.facade.openapi.model.OAPipelineSetting#toJsonString方法',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '{}',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Data' => [
+ 'title' => '管道任务更新结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'SubmitId' => [
+ 'title' => '提交管道生成的待发布列表的submitId,通过发布域进行发布',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '123',
+ ],
+ 'HostMachine' => [
+ 'title' => '服务端执行机器名称和ip',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'hostName:hostIp',
+ ],
+ 'Version' => [
+ 'title' => '提交后生成的版本号',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1',
+ ],
+ 'NodeId' => [
+ 'title' => '创建成功后的管道任务调度节点Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '123',
+ ],
+ 'PipelineId' => [
+ 'title' => '创建成功后的管道ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '123',
+ ],
+ ],
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Message\\": \\"internal error\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Data\\": {\\n \\"SubmitId\\": 123,\\n \\"HostMachine\\": \\"hostName:hostIp\\",\\n \\"Version\\": \\"1\\",\\n \\"NodeId\\": \\"123\\",\\n \\"PipelineId\\": 123\\n },\\n \\"Code\\": \\"OK\\",\\n \\"Success\\": true\\n}","type":"json"}]',
+ ],
+ 'CreatePipelineNode' => [
+ 'summary' => '创建数据集成任务。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'CreatePipelineNodeCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '创建pipeline管道,支持离线管道和实时管道',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'PipelineName' => [
+ 'title' => '管道名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'test_pipeline',
+ ],
+ 'PipelineType' => [
+ 'title' => '管道类型[OFFLINE_PIPELINE,REAL_TIME_PIPELINE]',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'REAL_TIME_PIPELINE',
+ 'enum' => [
+ 'OFFLINE_PIPELINE',
+ 'REAL_TIME_PIPELINE',
+ ],
+ ],
+ 'NodeType' => [
+ 'title' => '管道类型[NORMAL,MANUAL,REAL_TIME]',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'REAL_TIME',
+ 'enum' => [
+ 'NORMAL',
+ 'MANUAL',
+ 'REAL_TIME',
+ ],
+ ],
+ 'FileInfo' => [
+ 'title' => '任务文件信息',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'FileName' => [
+ 'title' => '文件名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'test_pipeline',
+ ],
+ 'Directory' => [
+ 'title' => '文件父目录全路径(为空,则为根路径\'/\')',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ 'default' => '/',
+ ],
+ 'Description' => [
+ 'title' => '文件描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'desc',
+ ],
+ ],
+ 'required' => true,
+ ],
+ 'ProjectId' => [
+ 'title' => '项目ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '7091124176569088',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'Data' => [
+ 'title' => '管道节点信息',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'PipelineId' => [
+ 'title' => '创建成功后的管道ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '33749',
+ ],
+ 'ErrorCodeList' => [
+ 'title' => '错误码',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '错误码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'DPN.Pipeline.Config.ErrorReason',
+ ],
+ ],
+ 'ErrorMessageList' => [
+ 'title' => '异常信息',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '异常消息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '管道配置错误:{0}',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"Data\\": {\\n \\"PipelineId\\": 33749,\\n \\"ErrorCodeList\\": [\\n \\"DPN.Pipeline.Config.ErrorReason\\"\\n ],\\n \\"ErrorMessageList\\": [\\n \\"管道配置错误:{0}\\"\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'UpdateBatchTaskUdfLineages' => [
+ 'summary' => '编辑离线计算任务自定义血缘。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'UpdateCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '编辑指令',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ProjectId' => [
+ 'title' => '任务所属项目',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '131211211',
+ ],
+ 'FileId' => [
+ 'title' => '任务目录树节点Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '12113111',
+ ],
+ 'LineageGroupList' => [
+ 'title' => '血缘组列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '血缘组',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'InputLineageList' => [
+ 'title' => '血缘输入表集合',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '血缘表',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => [
+ 'title' => '表名',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 't_input',
+ ],
+ 'Env' => [
+ 'title' => '环境 prod/dev/auto',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'dev',
+ ],
+ 'FullTable' => [
+ 'title' => '是否选择全表',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => true,
+ ],
+ 'ColumnList' => [
+ 'title' => '血缘字段列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '血缘相关字段集合: 跟FullTable二选一,默认全表',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'column1',
+ ],
+ 'required' => true,
+ ],
+ ],
+ 'required' => true,
+ ],
+ 'required' => true,
+ ],
+ 'OutputLineageList' => [
+ 'title' => '血缘输出表集合',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '血缘表',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => [
+ 'title' => '表名',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 't_output',
+ ],
+ 'Env' => [
+ 'title' => '环境 prod/dev/auto',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'dev',
+ ],
+ 'FullTable' => [
+ 'title' => '是否选择全表',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => true,
+ ],
+ 'ColumnList' => [
+ 'title' => '血缘字段列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '血缘相关字段集合: 跟FullTable二选一,默认全表',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'column1',
+ ],
+ 'required' => true,
+ ],
+ ],
+ 'required' => true,
+ ],
+ 'required' => true,
+ ],
+ ],
+ 'required' => true,
+ ],
+ 'required' => true,
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\"\\n}","type":"json"}]',
+ ],
+ 'UpdateBatchTask' => [
+ 'summary' => '编辑离线计算任务。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'UpdateCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '编辑请求',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ProjectId' => [
+ 'title' => '任务所属项目Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '10121101',
+ ],
+ 'Name' => [
+ 'title' => '离线任务名',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'test111',
+ ],
+ 'FileId' => [
+ 'title' => '任务目录树节点Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '12113111',
+ ],
+ 'NodeOutputNameList' => [
+ 'title' => '节点输出名列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '节点输出名',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'test1011',
+ ],
+ 'required' => false,
+ ],
+ 'NodeDescription' => [
+ 'title' => '任务描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'xx测试',
+ ],
+ 'Engine' => [
+ 'title' => '任务执行引擎: PYTHON2_7,PYTHON3_7,PYTHON3_11',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'PYTHON3_7',
+ ],
+ 'SchedulePeriod' => [
+ 'title' => '调度周期: 年 YEARLY、月 MONTHLY、周 WEEKLY、日 DAILY、小时 HOURLY、分钟 MINUTELY',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'DAILY',
+ ],
+ 'CronExpression' => [
+ 'title' => '自动调度的cron表达式, 可参考Linux cron表达式',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '0 0 1 * * ?',
+ ],
+ 'CustomScheduleConfig' => [
+ 'title' => '自定义调度间隔配置',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'SchedulePeriod' => [
+ 'title' => '调度周期',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'DAILY',
+ ],
+ 'Interval' => [
+ 'title' => '自定义间隔',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '1',
+ ],
+ 'IntervalUnit' => [
+ 'title' => '间隔单位:MINUTE、HOUR',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'HOUR',
+ ],
+ 'StartTime' => [
+ 'title' => '开始时间: HH:mm',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '08:00',
+ ],
+ 'EndTime' => [
+ 'title' => '结束时间: HH:mm',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '20:59',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'Code' => [
+ 'title' => '任务代码',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'show tables;',
+ ],
+ 'ParamList' => [
+ 'title' => '运行参数列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '运行参数',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => [
+ 'title' => '运行参数名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'key',
+ ],
+ 'Value' => [
+ 'title' => '运行参数值',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'value',
+ ],
+ ],
+ 'required' => true,
+ ],
+ 'required' => false,
+ ],
+ 'Priority' => [
+ 'title' => '任务调度优先级, 1-9值越大表示优先级越低',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ 'NodeStatus' => [
+ 'title' => '节点状态: 正常 1、暂停 2、空跑 3',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ 'TaskType' => [
+ 'title' => '任务类型: Hive_SQL: 1、MaxCompute_SQL: 5、Shell 10、Python 21',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '21',
+ ],
+ 'UpStreamList' => [
+ 'title' => '上游依赖',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '节点关联',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'NodeType' => [
+ 'title' => '上游依赖节点类型,PHYSICAL 物理节点,LOGICAL 逻辑表依赖',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'PHYSICAL',
+ ],
+ 'SourceNodeId' => [
+ 'title' => '上游节点Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'n_2001',
+ ],
+ 'SourceNodeOutputName' => [
+ 'title' => '上游节点的输出名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 't_input1',
+ ],
+ 'SourceTableName' => [
+ 'title' => '输入表名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 't_input1',
+ ],
+ 'PeriodDiff' => [
+ 'title' => '周期差:0表示同周期依赖,正数表示依赖前N个周期',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '1',
+ ],
+ 'FieldList' => [
+ 'title' => '依赖的逻辑表字段',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '依赖的逻辑表字段',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'column1',
+ ],
+ 'required' => false,
+ ],
+ 'DependPeriod' => [
+ 'title' => '依赖周期',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'PeriodType' => [
+ 'title' => '依赖周期类型 CURRENT_PERIOD,LAST_PERIOD,LAST_N_PERIOD,LAST_24_HOUR',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'CURRENT_PERIOD',
+ ],
+ 'PeriodOffset' => [
+ 'title' => '周期偏移量,dependencyPeriodType=LAST_N_PERIOD时须传值',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'DependStrategy' => [
+ 'title' => '依赖策略: ALL,FIRST,LAST,NEAR',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'LAST',
+ ],
+ 'SourceNodeEnabled' => [
+ 'title' => '上游节点是否生效',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ ],
+ ],
+ 'required' => true,
+ ],
+ 'required' => false,
+ ],
+ 'DataSourceId' => [
+ 'title' => '数据库sql任务,数据源Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '12131111',
+ ],
+ 'DataSourceCatalog' => [
+ 'title' => '数据库sql任务,仅对如Presto等需要设置Catalog的数据源类型生效',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'mysql_catalog',
+ ],
+ 'DataSourceSchema' => [
+ 'title' => '数据库sql任务,仅对如Oracle等需要设置Schema的数据源类型生效',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'erp',
+ ],
+ 'PythonModuleList' => [
+ 'title' => '任务依赖python三方包',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => 'python三方包',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'numpy',
+ ],
+ 'required' => false,
+ ],
+ 'SparkClientInfo' => [
+ 'title' => 'spark客户端',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'SparkClientVersion' => [
+ 'title' => 'spark客户端版本名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'abc',
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'UpdateResult' => [
+ 'title' => '编辑结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'FileId' => [
+ 'title' => '任务目录树节点Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '12113111',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"UpdateResult\\": {\\n \\"FileId\\": 12113111\\n }\\n}","type":"json"}]',
+ ],
+ 'SubmitBatchTask' => [
+ 'summary' => '提交离线计算任务。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'SubmitCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '编辑请求',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ProjectId' => [
+ 'title' => '任务所属项目Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '10121101',
+ ],
+ 'FileId' => [
+ 'title' => '任务目录树节点Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '12113111',
+ ],
+ 'Comment' => [
+ 'title' => '提交操作备注',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'test',
+ ],
+ 'Name' => [
+ 'title' => '离线任务名',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'test111',
+ ],
+ 'NodeOutputNameList' => [
+ 'title' => '节点输出名列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '节点输出名',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'test1011',
+ ],
+ 'required' => false,
+ ],
+ 'NodeDescription' => [
+ 'title' => '任务描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'xx测试',
+ ],
+ 'Engine' => [
+ 'title' => '任务执行引擎: PYTHON2_7,PYTHON3_7,PYTHON3_11',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'PYTHON3_7',
+ ],
+ 'SchedulePeriod' => [
+ 'title' => '调度周期: 年 YEARLY、月 MONTHLY、周 WEEKLY、日 DAILY、小时 HOURLY、分钟 MINUTELY',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'DAILY',
+ ],
+ 'CronExpression' => [
+ 'title' => '自动调度的cron表达式, 可参考Linux cron表达式',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '0 0 1 * * ?',
+ ],
+ 'CustomScheduleConfig' => [
+ 'title' => '自定义调度间隔配置',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'SchedulePeriod' => [
+ 'title' => '调度周期',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'DAILY',
+ ],
+ 'Interval' => [
+ 'title' => '自定义间隔',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '1',
+ ],
+ 'IntervalUnit' => [
+ 'title' => '间隔单位:MINUTE、HOUR',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'HOUR',
+ ],
+ 'StartTime' => [
+ 'title' => '开始时间: HH:mm',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '10:00',
+ ],
+ 'EndTime' => [
+ 'title' => '结束时间: HH:mm',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '10:00',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'Code' => [
+ 'title' => '任务代码',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'show tables;',
+ ],
+ 'ParamList' => [
+ 'title' => '运行参数列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '运行参数',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => [
+ 'title' => '运行参数名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'key',
+ ],
+ 'Value' => [
+ 'title' => '运行参数值',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'key',
+ ],
+ ],
+ 'required' => true,
+ ],
+ 'required' => false,
+ ],
+ 'Priority' => [
+ 'title' => '任务调度优先级, 1-9值越大表示优先级越低',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ 'NodeStatus' => [
+ 'title' => '节点状态: 正常 1、暂停 2、空跑 3',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ 'UpStreamList' => [
+ 'title' => '上游依赖',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '节点关联',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'NodeType' => [
+ 'title' => '上游依赖节点类型,PHYSICAL 物理节点,LOGICAL 逻辑表依赖',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'PHYSICAL',
+ ],
+ 'SourceNodeId' => [
+ 'title' => '上游节点Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'n_2001',
+ ],
+ 'SourceNodeOutputName' => [
+ 'title' => '上游节点的输出名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 't_input1',
+ ],
+ 'SourceTableName' => [
+ 'title' => '输入表名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 't_input1',
+ ],
+ 'PeriodDiff' => [
+ 'title' => '周期差:0表示同周期依赖,正数表示依赖前N个周期',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '1',
+ ],
+ 'FieldList' => [
+ 'title' => '依赖的逻辑表字段',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '依赖的逻辑表字段',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'column1',
+ ],
+ 'required' => false,
+ ],
+ 'SourceNodeEnabled' => [
+ 'title' => '上游节点是否生效',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ ],
+ 'DependStrategy' => [
+ 'title' => '依赖策略: ALL,FIRST,LAST,NEAR',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ALL',
+ ],
+ 'DependPeriod' => [
+ 'title' => '依赖周期',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'PeriodType' => [
+ 'title' => '依赖周期类型 CURRENT_PERIOD,LAST_PERIOD,LAST_N_PERIOD,LAST_24_HOUR',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'CURRENT_PERIOD',
+ ],
+ 'PeriodOffset' => [
+ 'title' => '周期偏移量,dependencyPeriodType=LAST_N_PERIOD时须传值',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ 'required' => true,
+ ],
+ 'required' => false,
+ ],
+ 'PythonModuleList' => [
+ 'title' => '任务依赖python三方包',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => 'python三方包',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'numpy',
+ ],
+ 'required' => false,
+ ],
+ 'SparkClientInfo' => [
+ 'title' => 'spark客户端',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'SparkClientVersion' => [
+ 'title' => 'spark客户端版本名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'abc',
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'SubmitResult' => [
+ 'title' => '编辑结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'NodeId' => [
+ 'title' => '任务调度节点ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'n_12113111',
+ ],
+ 'SubmitId' => [
+ 'title' => '待发布对象Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1010312911',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"SubmitResult\\": {\\n \\"NodeId\\": \\"n_12113111\\",\\n \\"SubmitId\\": 1010312911\\n }\\n}","type":"json"}]',
+ ],
+ 'ParseBatchTaskDependency' => [
+ 'summary' => '解析离线计算任务的逻辑表依赖,注意解析结果上游依赖信息中可能包含自依赖节点(上游节点ID和解析代码的任务节点ID相同)需要用户自己进行处理。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'ParseCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '解析请求',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ProjectId' => [
+ 'title' => '项目Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '131211211',
+ ],
+ 'Code' => [
+ 'title' => '待解析的SQL代码',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'select * from t_test limit 1;',
+ ],
+ 'IncludeAllInputTables' => [
+ 'title' => '包含未找到对应节点的输入表的依赖信息, 默认 false',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ ],
+ 'NeedQueryLineages' => [
+ 'title' => '查询上游依赖时是否查询血缘数据, 默认 false',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ ],
+ 'OperatorType' => [
+ 'title' => '任务类型: MAX_COMPUTE_SQL等',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'MaxCompute_SQL',
+ ],
+ 'DataSourceId' => [
+ 'title' => '数据库sql任务,数据源Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '12131111',
+ ],
+ 'DataSourceCatalog' => [
+ 'title' => '数据库sql任务,仅对如Presto等需要设置Catalog的数据源类型生效',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'mysql_catalog',
+ ],
+ 'DataSourceSchema' => [
+ 'title' => '数据库sql任务,仅对如Oracle等需要设置Schema的数据源类型生效',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'erp',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'ParseResult' => [
+ 'title' => '解析结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'DependNodeList' => [
+ 'title' => '依赖节点',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '依赖节点',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'NodeIoType' => [
+ 'title' => '输入输出类型: 依赖节点 input、节点输出名 output',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'input',
+ ],
+ 'ScheduleNodeInfoList' => [
+ 'title' => '调度节点列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '节点详情',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'TableName' => [
+ 'title' => '节点输出表名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 't_test',
+ ],
+ 'OutputName' => [
+ 'title' => '节点输出名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 't_test',
+ ],
+ 'FieldList' => [
+ 'title' => '字段列表,仅适用于逻辑表依赖',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '字段',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'column1',
+ ],
+ ],
+ 'OwnerUserId' => [
+ 'title' => '节点owner, 当未找到对应输入表的节点时为空',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '201122301',
+ ],
+ 'OwnerName' => [
+ 'title' => '节点owner, 当未找到对应输入表的节点时为空',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '张三',
+ ],
+ 'NodeId' => [
+ 'title' => '节点名称, 当未找到对应输入表的节点时为-1',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'n_11013121',
+ ],
+ 'NodeName' => [
+ 'title' => '节点名称, 当未找到对应输入表的节点时为空',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test11',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"ParseResult\\": {\\n \\"DependNodeList\\": [\\n {\\n \\"NodeIoType\\": \\"input\\",\\n \\"ScheduleNodeInfoList\\": [\\n {\\n \\"TableName\\": \\"t_test\\",\\n \\"OutputName\\": \\"t_test\\",\\n \\"FieldList\\": [\\n \\"column1\\"\\n ],\\n \\"OwnerUserId\\": \\"201122301\\",\\n \\"OwnerName\\": \\"张三\\",\\n \\"NodeId\\": \\"n_11013121\\",\\n \\"NodeName\\": \\"test11\\"\\n }\\n ]\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'OfflineBatchTask' => [
+ 'summary' => '下线离线计算任务。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'ProjectId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '项目Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '131211211',
+ ],
+ ],
+ [
+ 'name' => 'FileId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '任务目录树节点Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '12113111',
+ ],
+ ],
+ [
+ 'name' => 'Comment',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '下线操作备注',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'test xx',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'OfflineResult' => [
+ 'title' => '下线结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'PublishObjectId' => [
+ 'title' => '待发布对象ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '10211123',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"OfflineResult\\": {\\n \\"PublishObjectId\\": 10211123\\n }\\n}","type":"json"}]',
+ ],
+ 'GetBatchTaskUdfLineages' => [
+ 'summary' => '获取离线任务自定义血缘。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'ProjectId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '任务所属项目',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '131211211',
+ ],
+ ],
+ [
+ 'name' => 'FileId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '任务目录树节点Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '12113111',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'Data' => [
+ 'title' => '请求结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'LineageGroupList' => [
+ 'title' => '血缘组列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '血缘组',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'InputLineageList' => [
+ 'title' => '血缘输入表集合',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '血缘表',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => [
+ 'title' => '表名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 't_input',
+ ],
+ 'DisplayName' => [
+ 'title' => '表显示名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 't_input',
+ ],
+ 'Guid' => [
+ 'title' => '全局Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'Guid_101121',
+ ],
+ 'Description' => [
+ 'title' => '描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test xx',
+ ],
+ 'OwnerName' => [
+ 'title' => '表负责人',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '张三',
+ ],
+ 'OwnerUserId' => [
+ 'title' => '表负责人',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '20112101',
+ ],
+ 'ProjectName' => [
+ 'title' => '所属项目',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'prj_test',
+ ],
+ 'ProjectId' => [
+ 'title' => '所属项目',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '131211211',
+ ],
+ 'BizUnitId' => [
+ 'title' => '板块ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '103111231',
+ ],
+ 'BizUnitName' => [
+ 'title' => '板块名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'xx测试',
+ ],
+ 'Env' => [
+ 'title' => '环境 prod/dev',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'dev',
+ ],
+ 'SubType' => [
+ 'title' => '表子类型: 维度逻辑表 dim',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'dim',
+ ],
+ 'FullTable' => [
+ 'title' => '是否选择全表',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'ColumnList' => [
+ 'title' => '血缘字段列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '血缘字段',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '字段Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'c011',
+ ],
+ 'Name' => [
+ 'title' => '字段名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'c011',
+ ],
+ 'Description' => [
+ 'title' => '描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'xx',
+ ],
+ 'DataType' => [
+ 'title' => '数据类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'varchar',
+ ],
+ 'PartitionKey' => [
+ 'title' => '是否分区键',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'PrimaryKey' => [
+ 'title' => '是否主键',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'OutputLineageList' => [
+ 'title' => '血缘输出表集合',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '血缘表',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => [
+ 'title' => '表名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 't_input',
+ ],
+ 'DisplayName' => [
+ 'title' => '表显示名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 't_input',
+ ],
+ 'Guid' => [
+ 'title' => '全局Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'Guid_101121',
+ ],
+ 'Description' => [
+ 'title' => '描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test xx',
+ ],
+ 'OwnerName' => [
+ 'title' => '表负责人',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '张三',
+ ],
+ 'OwnerUserId' => [
+ 'title' => '表负责人',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '20112101',
+ ],
+ 'ProjectName' => [
+ 'title' => '所属项目',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'prj_test',
+ ],
+ 'ProjectId' => [
+ 'title' => '所属项目',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '131211211',
+ ],
+ 'BizUnitId' => [
+ 'title' => '板块ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '103111231',
+ ],
+ 'BizUnitName' => [
+ 'title' => '板块名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'xx测试',
+ ],
+ 'Env' => [
+ 'title' => '环境 prod/dev',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'dev',
+ ],
+ 'SubType' => [
+ 'title' => '表子类型: 维度逻辑表 dim',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'dim',
+ ],
+ 'FullTable' => [
+ 'title' => '是否选择全表',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'ColumnList' => [
+ 'title' => '血缘字段列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '血缘字段',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '字段Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'c011',
+ ],
+ 'Name' => [
+ 'title' => '字段名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'c011',
+ ],
+ 'Description' => [
+ 'title' => '描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'xx',
+ ],
+ 'DataType' => [
+ 'title' => '数据类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'varchar',
+ ],
+ 'PartitionKey' => [
+ 'title' => '是否分区键',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'PrimaryKey' => [
+ 'title' => '是否主键',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"Data\\": {\\n \\"LineageGroupList\\": [\\n {\\n \\"InputLineageList\\": [\\n {\\n \\"Name\\": \\"t_input\\",\\n \\"DisplayName\\": \\"t_input\\",\\n \\"Guid\\": \\"Guid_101121\\",\\n \\"Description\\": \\"test xx\\",\\n \\"OwnerName\\": \\"张三\\",\\n \\"OwnerUserId\\": \\"20112101\\",\\n \\"ProjectName\\": \\"prj_test\\",\\n \\"ProjectId\\": \\"131211211\\",\\n \\"BizUnitId\\": \\"103111231\\",\\n \\"BizUnitName\\": \\"xx测试\\",\\n \\"Env\\": \\"dev\\",\\n \\"SubType\\": \\"dim\\",\\n \\"FullTable\\": true,\\n \\"ColumnList\\": [\\n {\\n \\"Id\\": \\"c011\\",\\n \\"Name\\": \\"c011\\",\\n \\"Description\\": \\"xx\\",\\n \\"DataType\\": \\"varchar\\",\\n \\"PartitionKey\\": true,\\n \\"PrimaryKey\\": true\\n }\\n ]\\n }\\n ],\\n \\"OutputLineageList\\": [\\n {\\n \\"Name\\": \\"t_input\\",\\n \\"DisplayName\\": \\"t_input\\",\\n \\"Guid\\": \\"Guid_101121\\",\\n \\"Description\\": \\"test xx\\",\\n \\"OwnerName\\": \\"张三\\",\\n \\"OwnerUserId\\": \\"20112101\\",\\n \\"ProjectName\\": \\"prj_test\\",\\n \\"ProjectId\\": \\"131211211\\",\\n \\"BizUnitId\\": \\"103111231\\",\\n \\"BizUnitName\\": \\"xx测试\\",\\n \\"Env\\": \\"dev\\",\\n \\"SubType\\": \\"dim\\",\\n \\"FullTable\\": true,\\n \\"ColumnList\\": [\\n {\\n \\"Id\\": \\"c011\\",\\n \\"Name\\": \\"c011\\",\\n \\"Description\\": \\"xx\\",\\n \\"DataType\\": \\"varchar\\",\\n \\"PartitionKey\\": true,\\n \\"PrimaryKey\\": true\\n }\\n ]\\n }\\n ]\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'GetBatchTaskVersions' => [
+ 'summary' => '获取离线计算任务版本列表。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'ProjectId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '任务所属项目',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '131211211',
+ ],
+ ],
+ [
+ 'name' => 'FileId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '任务目录树节点Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '12113111',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'Data' => [
+ 'title' => '请求结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'BatchTaskVersionList' => [
+ 'title' => '离线计算任务版本列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '离线计算任务版本',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'NodeId' => [
+ 'title' => '节点Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'n_10231001',
+ ],
+ 'Version' => [
+ 'title' => '版本号',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1',
+ ],
+ 'UserId' => [
+ 'title' => '提交人',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '20110110',
+ ],
+ 'UserName' => [
+ 'title' => '提交人',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '张三',
+ ],
+ 'Comment' => [
+ 'title' => '提交备注',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'Published' => [
+ 'title' => '是否已经发布到线上',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'ProjectId' => [
+ 'title' => '项目Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '10232111011',
+ ],
+ 'GmtCreate' => [
+ 'title' => '创建时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2024-10-10 10:10:10',
+ ],
+ 'GmtModified' => [
+ 'title' => '更新时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2024-10-10 10:10:10',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"Data\\": {\\n \\"BatchTaskVersionList\\": [\\n {\\n \\"NodeId\\": \\"n_10231001\\",\\n \\"Version\\": \\"1\\",\\n \\"UserId\\": \\"20110110\\",\\n \\"UserName\\": \\"张三\\",\\n \\"Comment\\": \\"test\\",\\n \\"Published\\": true,\\n \\"ProjectId\\": 10232111011,\\n \\"GmtCreate\\": \\"2024-10-10 10:10:10\\",\\n \\"GmtModified\\": \\"2024-10-10 10:10:10\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'GetBatchTaskInfoByVersion' => [
+ 'summary' => '获取离线计算任务指定版本任务详情。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'ProjectId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '任务所属项目',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '131211211',
+ ],
+ ],
+ [
+ 'name' => 'FileId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '任务目录树节点Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '12113111',
+ ],
+ ],
+ [
+ 'name' => 'VersionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '版本号',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '1',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'TaskInfo' => [
+ 'title' => '任务详情',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'FileId' => [
+ 'title' => '任务目录树节点Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '12113111',
+ ],
+ 'Name' => [
+ 'title' => '任务名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '测试任务1',
+ ],
+ 'Status' => [
+ 'title' => '发布状态: 草稿0、已提交1、开发中100',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '测试任务1',
+ ],
+ 'Published' => [
+ 'title' => '是否已发布',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'NeedPublish' => [
+ 'title' => '是否需要发布',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HasDevNode' => [
+ 'title' => '是否有开发环境节点',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'NodeId' => [
+ 'title' => '节点Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'n_1011_21232132322',
+ ],
+ 'NodeName' => [
+ 'title' => '节点名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '测试任务1',
+ ],
+ 'NodeOutputNameList' => [
+ 'title' => '节点输出名称列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '节点输出名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'xx测试',
+ ],
+ ],
+ 'OwnerUserId' => [
+ 'title' => '节点负责人用户id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30231123',
+ ],
+ 'OwnerName' => [
+ 'title' => '节点负责人名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '张三',
+ ],
+ 'OperatorUserId' => [
+ 'title' => '当前操作的用户id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30231123',
+ ],
+ 'NodeDescription' => [
+ 'title' => '任务描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'xx测试',
+ ],
+ 'TaskType' => [
+ 'title' => '任务类型: MaxCompute_SQL 5、Shell 10、Python 21',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '21',
+ ],
+ 'ScheduleType' => [
+ 'title' => '节点类型: 周期任务1、手动任务3',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '3',
+ ],
+ 'SchedulePeriod' => [
+ 'title' => '调度周期: 年 YEARLY、月 MONTHLY、周 WEEKLY、日 DAILY、小时 HOURLY、分钟 MINUTELY',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'DAILY',
+ ],
+ 'CronExpression' => [
+ 'title' => '自动调度的cron表达式, 可参考Linux cron表达式',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '0 0 1 * * ?',
+ ],
+ 'CustomScheduleConfig' => [
+ 'title' => '自定义调度间隔配置',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'SchedulePeriod' => [
+ 'title' => '调度周期',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'DAILY',
+ ],
+ 'Interval' => [
+ 'title' => '自定义间隔',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'IntervalUnit' => [
+ 'title' => '间隔单位:MINUTE、HOUR',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'HOUR',
+ ],
+ 'StartTime' => [
+ 'title' => '开始时间: HH:mm',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '08:00',
+ ],
+ 'EndTime' => [
+ 'title' => '结束时间: HH:mm',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '20:59',
+ ],
+ ],
+ ],
+ 'Code' => [
+ 'title' => '任务代码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'show tables;',
+ ],
+ 'Remark' => [
+ 'title' => '备注',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test xx',
+ ],
+ 'DagId' => [
+ 'title' => '所属的dagId',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'dag_102121211',
+ ],
+ 'ParamList' => [
+ 'title' => '节点自定义参数列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '节点自定义参数',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => [
+ 'title' => '参数名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'key',
+ ],
+ 'Value' => [
+ 'title' => '参数值',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'Value',
+ ],
+ ],
+ ],
+ ],
+ 'Rerunable' => [
+ 'title' => '是否可以重跑',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'Priority' => [
+ 'title' => '任务调度优先级, 1-9值越大表示优先级越低',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'NodeStatus' => [
+ 'title' => '节点状态: 正常 1、暂停 2、空跑 3',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'Paused' => [
+ 'title' => '节点是否被暂停调度',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'NodeFrom' => [
+ 'title' => '节点来源,节点由某个组织或应用创建的',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'openapi',
+ ],
+ 'ProjectId' => [
+ 'title' => '项目Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '131211211',
+ ],
+ 'UpStreamList' => [
+ 'title' => '上游依赖',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '节点关联',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'NodeType' => [
+ 'title' => '上游依赖节点类型,PHYSICAL 物理节点,LOGICAL 逻辑表依赖',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'PHYSICAL',
+ ],
+ 'SourceNodeId' => [
+ 'title' => '上游节点Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'n_2001',
+ ],
+ 'SourceNodeName' => [
+ 'title' => '上游节点名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 't_input1',
+ ],
+ 'SourceNodeUserName' => [
+ 'title' => '上游的用户名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '张三',
+ ],
+ 'SourceNodeOutputName' => [
+ 'title' => '上游节点的输出名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 't_input1',
+ ],
+ 'SourceTableName' => [
+ 'title' => '输入表名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 't_input1',
+ ],
+ 'PeriodDiff' => [
+ 'title' => '周期差:0表示同周期依赖,正数表示依赖前N个周期',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'FieldList' => [
+ 'title' => '依赖的逻辑表字段',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '依赖的逻辑表字段',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'column1',
+ ],
+ ],
+ 'DependPeriod' => [
+ 'title' => '依赖周期',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'PeriodType' => [
+ 'title' => '依赖周期类型: CURRENT_PERIOD,LAST_PERIOD,LAST_N_PERIOD,LAST_24_HOUR',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'CURRENT_PERIOD',
+ ],
+ 'PeriodOffset' => [
+ 'title' => '周期偏移量, LAST_N_PERIOD时须传值',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ ],
+ ],
+ 'DependStrategy' => [
+ 'title' => '依赖策略: ALL,FIRST,LAST,NEAR',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'LAST',
+ ],
+ 'SourceNodeEnabled' => [
+ 'title' => '上游节点是否生效',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ ],
+ ],
+ ],
+ 'DataSourceId' => [
+ 'title' => '数据库sql任务,数据源Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '12131111',
+ ],
+ 'DataSourceCatalog' => [
+ 'title' => '数据库sql任务,仅对如Presto等需要设置Catalog的数据源类型生效',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'mysql_catalog',
+ ],
+ 'DataSourceSchema' => [
+ 'title' => '数据库sql任务,仅对如Oracle等需要设置Schema的数据源类型生效',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'erp',
+ ],
+ 'SparkClientInfo' => [
+ 'title' => 'spark客户端信息',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'SparkClientVersion' => [
+ 'title' => 'spark客户端版本名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'abc',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"TaskInfo\\": {\\n \\"FileId\\": 12113111,\\n \\"Name\\": \\"测试任务1\\",\\n \\"Status\\": \\"测试任务1\\",\\n \\"Published\\": true,\\n \\"NeedPublish\\": true,\\n \\"HasDevNode\\": true,\\n \\"NodeId\\": \\"n_1011_21232132322\\",\\n \\"NodeName\\": \\"测试任务1\\",\\n \\"NodeOutputNameList\\": [\\n \\"xx测试\\"\\n ],\\n \\"OwnerUserId\\": \\"30231123\\",\\n \\"OwnerName\\": \\"张三\\",\\n \\"OperatorUserId\\": \\"30231123\\",\\n \\"NodeDescription\\": \\"xx测试\\",\\n \\"TaskType\\": 21,\\n \\"ScheduleType\\": 3,\\n \\"SchedulePeriod\\": \\"DAILY\\",\\n \\"CronExpression\\": \\"0 0 1 * * ?\\",\\n \\"CustomScheduleConfig\\": {\\n \\"SchedulePeriod\\": \\"DAILY\\",\\n \\"Interval\\": 1,\\n \\"IntervalUnit\\": \\"HOUR\\",\\n \\"StartTime\\": \\"08:00\\",\\n \\"EndTime\\": \\"20:59\\"\\n },\\n \\"Code\\": \\"show tables;\\",\\n \\"Remark\\": \\"test xx\\",\\n \\"DagId\\": \\"dag_102121211\\",\\n \\"ParamList\\": [\\n {\\n \\"Key\\": \\"key\\",\\n \\"Value\\": \\"Value\\"\\n }\\n ],\\n \\"Rerunable\\": true,\\n \\"Priority\\": 1,\\n \\"NodeStatus\\": 1,\\n \\"Paused\\": true,\\n \\"NodeFrom\\": \\"openapi\\",\\n \\"ProjectId\\": 131211211,\\n \\"UpStreamList\\": [\\n {\\n \\"NodeType\\": \\"PHYSICAL\\",\\n \\"SourceNodeId\\": \\"n_2001\\",\\n \\"SourceNodeName\\": \\"t_input1\\",\\n \\"SourceNodeUserName\\": \\"张三\\",\\n \\"SourceNodeOutputName\\": \\"t_input1\\",\\n \\"SourceTableName\\": \\"t_input1\\",\\n \\"PeriodDiff\\": 1,\\n \\"FieldList\\": [\\n \\"column1\\"\\n ],\\n \\"DependPeriod\\": {\\n \\"PeriodType\\": \\"CURRENT_PERIOD\\",\\n \\"PeriodOffset\\": 1\\n },\\n \\"DependStrategy\\": \\"LAST\\",\\n \\"SourceNodeEnabled\\": true\\n }\\n ],\\n \\"DataSourceId\\": \\"12131111\\",\\n \\"DataSourceCatalog\\": \\"mysql_catalog\\",\\n \\"DataSourceSchema\\": \\"erp\\",\\n \\"SparkClientInfo\\": {\\n \\"SparkClientVersion\\": \\"abc\\"\\n }\\n }\\n}","type":"json"}]',
+ ],
+ 'GetBatchTaskInfo' => [
+ 'summary' => '获取离线计算任务详情。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'ProjectId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '任务所属项目',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '131211211',
+ ],
+ ],
+ [
+ 'name' => 'FileId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '任务目录树节点Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '12113111',
+ ],
+ ],
+ [
+ 'name' => 'Env',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '环境标识: dev、prod,默认值为dev',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'dev',
+ ],
+ ],
+ [
+ 'name' => 'IncludeAllUpStreams',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '是否包含完整的上游节点(包括无效依赖),默认false',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'TaskInfo' => [
+ 'title' => '任务详情',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'FileId' => [
+ 'title' => '任务目录树节点Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '12113111',
+ ],
+ 'Name' => [
+ 'title' => '任务名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '测试任务1',
+ ],
+ 'Status' => [
+ 'title' => '发布状态: 草稿0、已提交1、开发中100',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '测试任务1',
+ ],
+ 'Published' => [
+ 'title' => '是否已发布',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'NeedPublish' => [
+ 'title' => '是否需要发布',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HasDevNode' => [
+ 'title' => '是否有开发环境节点',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'NodeId' => [
+ 'title' => '节点Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'n_1011_21232132322',
+ ],
+ 'NodeName' => [
+ 'title' => '节点名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '测试任务1',
+ ],
+ 'NodeOutputNameList' => [
+ 'title' => '节点输出名称列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '节点输出名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'xx测试',
+ ],
+ ],
+ 'OwnerUserId' => [
+ 'title' => '节点负责人用户id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30231123',
+ ],
+ 'OwnerName' => [
+ 'title' => '节点负责人名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '张三',
+ ],
+ 'OperatorUserId' => [
+ 'title' => '当前操作的用户id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30231123',
+ ],
+ 'NodeDescription' => [
+ 'title' => '任务描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'xx测试',
+ ],
+ 'TaskType' => [
+ 'title' => '任务类型: MaxCompute_SQL 5、Shell 10、Python 21',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '21',
+ ],
+ 'ScheduleType' => [
+ 'title' => '节点类型: 周期任务1、手动任务3',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '3',
+ ],
+ 'SchedulePeriod' => [
+ 'title' => '调度周期: 年 YEARLY、月 MONTHLY、周 WEEKLY、日 DAILY、小时 HOURLY、分钟 MINUTELY',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'DAILY',
+ ],
+ 'CronExpression' => [
+ 'title' => '自动调度的cron表达式, 可参考Linux cron表达式',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '0 0 1 * * ?',
+ ],
+ 'CustomScheduleConfig' => [
+ 'title' => '自定义调度间隔配置',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'SchedulePeriod' => [
+ 'title' => '调度周期',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'DAILY',
+ ],
+ 'Interval' => [
+ 'title' => '自定义间隔',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'IntervalUnit' => [
+ 'title' => '间隔单位:MINUTE、HOUR',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'HOUR',
+ ],
+ 'StartTime' => [
+ 'title' => '开始时间: HH:mm',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '08:00',
+ ],
+ 'EndTime' => [
+ 'title' => '结束时间: HH:mm',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '20:59',
+ ],
+ ],
+ ],
+ 'Code' => [
+ 'title' => '任务代码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'show tables;',
+ ],
+ 'Remark' => [
+ 'title' => '备注',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test xx',
+ ],
+ 'DagId' => [
+ 'title' => '所属的dagId',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'dag_102121211',
+ ],
+ 'ParamList' => [
+ 'title' => '节点自定义参数列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '节点自定义参数',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Value' => [
+ 'title' => '参数值',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'Value',
+ ],
+ 'Key' => [
+ 'title' => '参数名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'key',
+ ],
+ ],
+ ],
+ ],
+ 'Rerunable' => [
+ 'title' => '是否可以重跑',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'Priority' => [
+ 'title' => '任务调度优先级, 1-9值越大表示优先级越低',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'NodeStatus' => [
+ 'title' => '节点状态: 正常 1、暂停 2、空跑 3',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'Paused' => [
+ 'title' => '节点是否被暂停调度',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'NodeFrom' => [
+ 'title' => '节点来源,节点由某个组织或应用创建的',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'openapi',
+ ],
+ 'ProjectId' => [
+ 'title' => '项目Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '131211211',
+ ],
+ 'UpStreamList' => [
+ 'title' => '上游依赖',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '节点关联',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'SourceTableName' => [
+ 'title' => '输入表名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 't_input1',
+ ],
+ 'SourceNodeId' => [
+ 'title' => '上游节点Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'n_2001',
+ ],
+ 'PeriodDiff' => [
+ 'title' => '周期差:0表示同周期依赖,正数表示依赖前N个周期',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'NodeType' => [
+ 'title' => '上游依赖节点类型,PHYSICAL 物理节点,LOGICAL 逻辑表依赖',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'PHYSICAL',
+ ],
+ 'SourceNodeName' => [
+ 'title' => '上游节点名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 't_input1',
+ ],
+ 'DependPeriod' => [
+ 'title' => '依赖周期',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'PeriodType' => [
+ 'title' => '依赖周期类型: CURRENT_PERIOD,LAST_PERIOD,LAST_N_PERIOD,LAST_24_HOUR',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'CURRENT_PERIOD',
+ ],
+ 'PeriodOffset' => [
+ 'title' => '周期偏移量, LAST_N_PERIOD时须传值',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ ],
+ ],
+ 'SourceNodeUserName' => [
+ 'title' => '上游的用户名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '张三',
+ ],
+ 'SourceNodeEnabled' => [
+ 'title' => '上游节点是否生效',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'SourceNodeOutputName' => [
+ 'title' => '上游节点的输出名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 't_input1',
+ ],
+ 'DependStrategy' => [
+ 'title' => '依赖策略: ALL,FIRST,LAST,NEAR',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'LAST',
+ ],
+ 'FieldList' => [
+ 'title' => '依赖的逻辑表字段',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '依赖的逻辑表字段',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'column1',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'DataSourceId' => [
+ 'title' => '数据库sql任务,数据源Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '12131111',
+ ],
+ 'DataSourceCatalog' => [
+ 'title' => '数据库sql任务,仅对如Presto等需要设置Catalog的数据源类型生效',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'mysql_catalog',
+ ],
+ 'DataSourceSchema' => [
+ 'title' => '数据库sql任务,仅对如Oracle等需要设置Schema的数据源类型生效',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'erp',
+ ],
+ 'SparkClientInfo' => [
+ 'title' => 'spark客户端信息',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'SparkClientVersion' => [
+ 'title' => 'spark客户端版本名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'abc',
+ ],
+ ],
+ ],
+ 'DevelopOwnerId' => [
+ 'title' => '开发负责人用户id',
+ 'type' => 'string',
+ 'example' => '30231123',
+ ],
+ 'DevelopOwnerName' => [
+ 'title' => '开发负责人名称',
+ 'type' => 'string',
+ 'example' => '张三',
+ ],
+ 'OpsOwnerId' => [
+ 'title' => '运维负责人用户id',
+ 'type' => 'string',
+ 'example' => '30231123',
+ ],
+ 'OpsOwnerName' => [
+ 'title' => '运维负责人名称',
+ 'type' => 'string',
+ 'example' => '张三',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"TaskInfo\\": {\\n \\"FileId\\": 12113111,\\n \\"Name\\": \\"测试任务1\\",\\n \\"Status\\": \\"测试任务1\\",\\n \\"Published\\": true,\\n \\"NeedPublish\\": true,\\n \\"HasDevNode\\": true,\\n \\"NodeId\\": \\"n_1011_21232132322\\",\\n \\"NodeName\\": \\"测试任务1\\",\\n \\"NodeOutputNameList\\": [\\n \\"xx测试\\"\\n ],\\n \\"OwnerUserId\\": \\"30231123\\",\\n \\"OwnerName\\": \\"张三\\",\\n \\"OperatorUserId\\": \\"30231123\\",\\n \\"NodeDescription\\": \\"xx测试\\",\\n \\"TaskType\\": 21,\\n \\"ScheduleType\\": 3,\\n \\"SchedulePeriod\\": \\"DAILY\\",\\n \\"CronExpression\\": \\"0 0 1 * * ?\\",\\n \\"CustomScheduleConfig\\": {\\n \\"SchedulePeriod\\": \\"DAILY\\",\\n \\"Interval\\": 1,\\n \\"IntervalUnit\\": \\"HOUR\\",\\n \\"StartTime\\": \\"08:00\\",\\n \\"EndTime\\": \\"20:59\\"\\n },\\n \\"Code\\": \\"show tables;\\",\\n \\"Remark\\": \\"test xx\\",\\n \\"DagId\\": \\"dag_102121211\\",\\n \\"ParamList\\": [\\n {\\n \\"Value\\": \\"Value\\",\\n \\"Key\\": \\"key\\"\\n }\\n ],\\n \\"Rerunable\\": true,\\n \\"Priority\\": 1,\\n \\"NodeStatus\\": 1,\\n \\"Paused\\": true,\\n \\"NodeFrom\\": \\"openapi\\",\\n \\"ProjectId\\": 131211211,\\n \\"UpStreamList\\": [\\n {\\n \\"SourceTableName\\": \\"t_input1\\",\\n \\"SourceNodeId\\": \\"n_2001\\",\\n \\"PeriodDiff\\": 1,\\n \\"NodeType\\": \\"PHYSICAL\\",\\n \\"SourceNodeName\\": \\"t_input1\\",\\n \\"DependPeriod\\": {\\n \\"PeriodType\\": \\"CURRENT_PERIOD\\",\\n \\"PeriodOffset\\": 1\\n },\\n \\"SourceNodeUserName\\": \\"张三\\",\\n \\"SourceNodeEnabled\\": true,\\n \\"SourceNodeOutputName\\": \\"t_input1\\",\\n \\"DependStrategy\\": \\"LAST\\",\\n \\"FieldList\\": [\\n \\"column1\\"\\n ]\\n }\\n ],\\n \\"DataSourceId\\": \\"12131111\\",\\n \\"DataSourceCatalog\\": \\"mysql_catalog\\",\\n \\"DataSourceSchema\\": \\"erp\\",\\n \\"SparkClientInfo\\": {\\n \\"SparkClientVersion\\": \\"abc\\"\\n },\\n \\"DevelopOwnerId\\": \\"30231123\\",\\n \\"DevelopOwnerName\\": \\"张三\\",\\n \\"OpsOwnerId\\": \\"30231123\\",\\n \\"OpsOwnerName\\": \\"张三\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'DeleteBatchTask' => [
+ 'summary' => '删除离线计算任务,如果任务还没下线需要先下线再删除。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'DeleteCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '删除请求',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ProjectId' => [
+ 'title' => '任务所属项目',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '131211211',
+ ],
+ 'FileId' => [
+ 'title' => '任务目录树节点Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '12113111',
+ ],
+ 'Comment' => [
+ 'title' => '删除操作说明',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'test task',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\"\\n}","type":"json"}]',
+ ],
+ 'CreateBatchTask' => [
+ 'summary' => '创建离线计算任务。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'CreateCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '创建指令',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Directory' => [
+ 'title' => '任务所属菜单树目录',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '/a/b',
+ ],
+ 'Name' => [
+ 'title' => '离线任务名',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'test111',
+ ],
+ 'ProjectId' => [
+ 'title' => '任务所属项目Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '10121101',
+ ],
+ 'Description' => [
+ 'title' => '描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'xx test.',
+ ],
+ 'ScheduleType' => [
+ 'title' => '调度类型: 周期任务:1、手动任务:3',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '3',
+ ],
+ 'TaskType' => [
+ 'title' => '任务类型: Hive_SQL: 1、MaxCompute_SQL: 5、Shell 10、Python 21',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '5',
+ ],
+ 'Engine' => [
+ 'title' => '任务执行引擎: PYTHON2_7,PYTHON3_7,PYTHON3_11',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'PYTHON3_7',
+ ],
+ 'DataSourceId' => [
+ 'title' => '数据库sql任务,数据源Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '12131111',
+ ],
+ 'DataSourceCatalog' => [
+ 'title' => '数据库sql任务,仅对如Presto等需要设置Catalog的数据源类型生效',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'mysql_catalog',
+ ],
+ 'DataSourceSchema' => [
+ 'title' => '数据库sql任务,仅对如Oracle等需要设置Schema的数据源类型生效',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'erp',
+ ],
+ 'PythonModuleList' => [
+ 'title' => '任务依赖python三方包',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => 'python三方包',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'numpy',
+ ],
+ 'required' => false,
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'CreateResult' => [
+ 'title' => '新建结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'FileId' => [
+ 'title' => '任务目录树节点Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '12113111',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"CreateResult\\": {\\n \\"FileId\\": 12113111\\n }\\n}","type":"json"}]',
+ ],
+ 'GetStreamJobs' => [
+ 'summary' => '获取dataphin实时研发任务集合',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'ProjectId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => 'dataphin项目id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '7162269257990111',
+ ],
+ ],
+ [
+ 'name' => 'Env',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => 'dataphin环境,DEV或者PROD',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'DEV',
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'Data' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Status' => [
+ 'title' => '任务状态',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '0',
+ ],
+ 'Type' => [
+ 'title' => '任务类型,FLINK_SQL或者FLINK_DATASTREAM',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'FLINK_SQL',
+ ],
+ 'OwnerId' => [
+ 'title' => '创建者id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '300006788',
+ ],
+ 'JobName' => [
+ 'title' => '实时任务名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'flink_order_detail',
+ ],
+ 'ProjectId' => [
+ 'title' => 'dataphin项目id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '7162269257990111',
+ ],
+ 'Id' => [
+ 'title' => '实时任务的mapping id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '716555',
+ ],
+ 'Env' => [
+ 'title' => '环境标识:DEV 开发、PROD 生产',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'DEV',
+ ],
+ 'ModifierId' => [
+ 'title' => '最近一次变更人的id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '300006788',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"Data\\": [\\n {\\n \\"Status\\": \\"0\\",\\n \\"Type\\": \\"FLINK_SQL\\",\\n \\"OwnerId\\": \\"300006788\\",\\n \\"JobName\\": \\"flink_order_detail\\",\\n \\"ProjectId\\": \\"7162269257990111\\",\\n \\"Id\\": 716555,\\n \\"Env\\": \\"DEV\\",\\n \\"ModifierId\\": \\"300006788\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'GetQueueEngineVersionByEnv' => [
+ 'summary' => '根据集群ID获取集群版本',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [
+ 'Dataphin公共云',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'Env',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '环境',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'PROD',
+ ],
+ ],
+ [
+ 'name' => 'ProjectId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '项目ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '7081229106458752',
+ ],
+ ],
+ [
+ 'name' => 'StreamBatchMode',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '流批模式'."\n",
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'BOTH',
+ 'enum' => [
+ 'BOTH',
+ 'STREAM',
+ 'BATCH',
+ ],
+ ],
+ ],
+ [
+ 'name' => 'QueueName',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '队列名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'default-queue',
+ ],
+ ],
+ [
+ 'name' => 'ClusterId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '集群Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '61187014-a3ba-4cdd-8609-1f0aa3df4a3d',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'Data' => [
+ 'title' => '引擎版本信息',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '引擎版本信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'vvr-8.0.9-flink-1.17',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"Data\\": [\\n \\"vvr-8.0.9-flink-1.17\\"\\n ]\\n}","type":"json"}]',
+ ],
+ 'GetClusterQueueInfoByEnv' => [
+ 'summary' => '根据环境获取集群信息',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [
+ 'Dataphin公共云',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'Env',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '环境',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'DEV',
+ ],
+ ],
+ [
+ 'name' => 'ProjectId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '项目ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '7081229106458752',
+ ],
+ ],
+ [
+ 'name' => 'StreamBatchMode',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '流批模式'."\n",
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'BOTH',
+ 'enum' => [
+ 'STREAM',
+ 'BATCH',
+ 'BOTH',
+ ],
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'default' => 'true',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'Data' => [
+ 'title' => '返回结果'."\n",
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '集群详细信息',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ClusterId' => [
+ 'title' => '集群clusterId',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '61187014-a3ba-4cdd-8609-1f0aa3df4a3d',
+ ],
+ 'QueueName' => [
+ 'title' => '队列名,唯一标示,k8s是资源组名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'default-queue',
+ ],
+ 'MaxVcore' => [
+ 'title' => '每个队列最大提供VCORE',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '10',
+ ],
+ 'Namespace' => [
+ 'title' => '命名空间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'dataphinv45prod',
+ ],
+ 'CreateAt' => [
+ 'title' => '创建时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2024-10-31 10:29:17',
+ ],
+ 'ModifiedAt' => [
+ 'title' => '修改时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2024-10-31 10:29:17',
+ ],
+ 'Annotations' => [
+ 'title' => '注释',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '{ "creator": "[email protected]", "modifier": "[email protected]" }',
+ ],
+ 'Labels' => [
+ 'title' => '标签',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'cdh',
+ 'default' => 'null',
+ ],
+ 'ResourceVersion' => [
+ 'title' => '资源版本',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1',
+ ],
+ 'Spec' => [
+ 'title' => '资源规范',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '{\\n \\"kind\\" : \\"kubernetes\\",\\n \\"kubernetes\\{"namespace" : "n1730341728989z7", "clusterName" : "a51578bdcce145" }, "state" : "ONLINE"}',
+ ],
+ 'VvpClusterType' => [
+ 'title' => 'VVP集群类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'PREJOB',
+ ],
+ 'FlinkVersion' => [
+ 'title' => 'Flink版本',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1.15',
+ 'default' => 'null',
+ ],
+ 'FlinkImageRegistry' => [
+ 'title' => 'Flink镜像地址',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'xxxx-registry-vpc.cn-shanghai.cr.aliyuncs.com/xxxx/flink:1.15.4-scala_2.12',
+ 'default' => 'null',
+ ],
+ 'FlinkImageRepository' => [
+ 'title' => 'Flink镜像仓库',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'xxxx-registry-vpc.cn-shanghai.cr.aliyuncs.com',
+ 'default' => 'null',
+ ],
+ 'FlinkImageTag' => [
+ 'title' => 'Flink镜像标签',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1.15.4',
+ 'default' => 'null',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"Data\\": [\\n {\\n \\"ClusterId\\": \\"61187014-a3ba-4cdd-8609-1f0aa3df4a3d\\",\\n \\"QueueName\\": \\"default-queue\\",\\n \\"MaxVcore\\": \\"10\\",\\n \\"Namespace\\": \\"dataphinv45prod\\",\\n \\"CreateAt\\": \\"2024-10-31 10:29:17\\",\\n \\"ModifiedAt\\": \\"2024-10-31 10:29:17\\",\\n \\"Annotations\\": \\"{ \\\\\\"creator\\\\\\": \\\\\\"[email protected]\\\\\\", \\\\\\"modifier\\\\\\": \\\\\\"[email protected]\\\\\\" }\\",\\n \\"Labels\\": \\"cdh\\",\\n \\"ResourceVersion\\": \\"1\\",\\n \\"Spec\\": \\"{\\\\\\\\n \\\\\\\\\\\\\\"kind\\\\\\\\\\\\\\" : \\\\\\\\\\\\\\"kubernetes\\\\\\\\\\\\\\",\\\\\\\\n \\\\\\\\\\\\\\"kubernetes\\\\\\\\{\\\\\\"namespace\\\\\\" : \\\\\\"n1730341728989z7\\\\\\", \\\\\\"clusterName\\\\\\" : \\\\\\"a51578bdcce145\\\\\\" }, \\\\\\"state\\\\\\" : \\\\\\"ONLINE\\\\\\"}\\",\\n \\"VvpClusterType\\": \\"PREJOB\\",\\n \\"FlinkVersion\\": \\"1.15\\",\\n \\"FlinkImageRegistry\\": \\"xxxx-registry-vpc.cn-shanghai.cr.aliyuncs.com/xxxx/flink:1.15.4-scala_2.12\\",\\n \\"FlinkImageRepository\\": \\"xxxx-registry-vpc.cn-shanghai.cr.aliyuncs.com\\",\\n \\"FlinkImageTag\\": \\"1.15.4\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'CreateStreamBatchJobMapping' => [
+ 'summary' => '创建流批一体任务',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [
+ 'Dataphin公共云',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'StreamBatchJobMappingCreateCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '流批一体任务信息',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Env' => [
+ 'title' => '环境',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'DEV',
+ ],
+ 'EngineVersion' => [
+ 'title' => 'flink引擎版本',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'vvr-8.0.9-flink-1.17',
+ ],
+ 'ClusterId' => [
+ 'title' => '集群ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '61187014-a3ba-4cdd-8609-1f0aa3df4a3d',
+ ],
+ 'QueueName' => [
+ 'title' => '队列名',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'default-queue',
+ ],
+ 'Directory' => [
+ 'title' => '任务生成的目录',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '/karel',
+ ],
+ 'FileName' => [
+ 'title' => '文件名',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'karel_hover_3',
+ ],
+ 'FileType' => [
+ 'title' => '文件类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'FLINK_SQL',
+ ],
+ 'ProjectId' => [
+ 'title' => '项目ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '7081229106458752',
+ ],
+ 'VvpClusterType' => [
+ 'title' => 'SESSION 或PREJOB,vvp专用,如果没有就不传或者为空',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'PREJOB',
+ ],
+ 'Description' => [
+ 'title' => '描述信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '这是一段任务的描述信息',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'Data' => [
+ 'title' => '任务创建成功的返回结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'FileId' => [
+ 'title' => '作业文件ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '7083701105376640',
+ ],
+ 'Url' => [
+ 'title' => '跳转相对路径',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '/dev/streamJob/7083701105376640?env=DEV&projectId=7081229106458752&tenantId=300001420',
+ ],
+ 'JobId' => [
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '123123',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"Data\\": {\\n \\"FileId\\": \\"7083701105376640\\",\\n \\"Url\\": \\"/dev/streamJob/7083701105376640?env=DEV&projectId=7081229106458752&tenantId=300001420\\",\\n \\"JobId\\": 123123\\n }\\n}","type":"json"}]',
+ ],
+ 'GetResource' => [
+ 'summary' => '获取资源文件详情。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'ProjectId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '项目Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '1030111021',
+ ],
+ ],
+ [
+ 'name' => 'Name',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '资源文件名',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'udf_sleep.jar',
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'ResourceInfo' => [
+ 'title' => '资源文件详情',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '资源id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '10200121011',
+ ],
+ 'Name' => [
+ 'title' => '资源文件名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'udf_sleep.jar',
+ ],
+ 'ProjectId' => [
+ 'title' => '项目id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1030111021',
+ ],
+ 'ResourceType' => [
+ 'title' => '资源类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'JAR',
+ ],
+ 'Directory' => [
+ 'title' => '存放目录',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '/',
+ ],
+ 'StorageAddress' => [
+ 'title' => '资源存储地址',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '300011448/711833/cdcd1c44-f1ee-46bb-b318-1d123dbabf6c',
+ ],
+ 'Size' => [
+ 'title' => '资源大小, 单位:b',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '102400',
+ ],
+ 'Description' => [
+ 'title' => '描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '测试',
+ ],
+ 'GmtCreate' => [
+ 'title' => '创建时间, 格式:yyyy-MM-dd HH:mm:ss',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-06-10 10:01:01',
+ ],
+ 'GmtModified' => [
+ 'title' => '更新时间, 格式:yyyy-MM-dd HH:mm:ss',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-06-10 10:01:01',
+ ],
+ 'ComputeEngineType' => [
+ 'title' => '计算引擎源类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'MAX_COMPUTE',
+ ],
+ 'Creator' => [
+ 'title' => '创建者',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30011021',
+ ],
+ 'LastModifier' => [
+ 'title' => '更新者',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30011021',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"ResourceInfo\\": {\\n \\"Id\\": 10200121011,\\n \\"Name\\": \\"udf_sleep.jar\\",\\n \\"ProjectId\\": 1030111021,\\n \\"ResourceType\\": \\"JAR\\",\\n \\"Directory\\": \\"/\\",\\n \\"StorageAddress\\": \\"300011448/711833/cdcd1c44-f1ee-46bb-b318-1d123dbabf6c\\",\\n \\"Size\\": 102400,\\n \\"Description\\": \\"测试\\",\\n \\"GmtCreate\\": \\"2025-06-10 10:01:01\\",\\n \\"GmtModified\\": \\"2025-06-10 10:01:01\\",\\n \\"ComputeEngineType\\": \\"MAX_COMPUTE\\",\\n \\"Creator\\": \\"30011021\\",\\n \\"LastModifier\\": \\"30011021\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'GetResourceByVersion' => [
+ 'summary' => '获取资源文件指定版本详情。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'ProjectId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '项目Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '1030111021',
+ ],
+ ],
+ [
+ 'name' => 'Name',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '资源文件名',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'udf_sleep.jar',
+ ],
+ ],
+ [
+ 'name' => 'VersionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '版本号',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'ResourceInfo' => [
+ 'title' => '资源文件详情',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '资源id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '10200121011',
+ ],
+ 'Name' => [
+ 'title' => '资源文件名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'udf_sleep.jar',
+ ],
+ 'ProjectId' => [
+ 'title' => '项目id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1030111021',
+ ],
+ 'ResourceType' => [
+ 'title' => '资源类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'JAR',
+ ],
+ 'Directory' => [
+ 'title' => '存放目录',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '/',
+ ],
+ 'StorageAddress' => [
+ 'title' => '资源存储地址',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '300011448/711833/cdcd1c44-f1ee-46bb-b318-1d123dbabf6c',
+ ],
+ 'Size' => [
+ 'title' => '资源大小, 单位:b',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '102400',
+ ],
+ 'Description' => [
+ 'title' => '描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '测试',
+ ],
+ 'GmtCreate' => [
+ 'title' => '创建时间, 格式:yyyy-MM-dd HH:mm:ss',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-06-10 10:01:01',
+ ],
+ 'GmtModified' => [
+ 'title' => '更新时间, 格式:yyyy-MM-dd HH:mm:ss',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-06-10 10:01:01',
+ ],
+ 'ComputeEngineType' => [
+ 'title' => '计算引擎源类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'MAX_COMPUTE',
+ ],
+ 'Creator' => [
+ 'title' => '创建者',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30011021',
+ ],
+ 'LastModifier' => [
+ 'title' => '更新者',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30011021',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"ResourceInfo\\": {\\n \\"Id\\": 10200121011,\\n \\"Name\\": \\"udf_sleep.jar\\",\\n \\"ProjectId\\": 1030111021,\\n \\"ResourceType\\": \\"JAR\\",\\n \\"Directory\\": \\"/\\",\\n \\"StorageAddress\\": \\"300011448/711833/cdcd1c44-f1ee-46bb-b318-1d123dbabf6c\\",\\n \\"Size\\": 102400,\\n \\"Description\\": \\"测试\\",\\n \\"GmtCreate\\": \\"2025-06-10 10:01:01\\",\\n \\"GmtModified\\": \\"2025-06-10 10:01:01\\",\\n \\"ComputeEngineType\\": \\"MAX_COMPUTE\\",\\n \\"Creator\\": \\"30011021\\",\\n \\"LastModifier\\": \\"30011021\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'UpdateResource' => [
+ 'summary' => '编辑资源文件。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'UpdateCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '编辑命令',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '资源Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '10112101',
+ ],
+ 'Name' => [
+ 'title' => '资源名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'test',
+ ],
+ 'StorageAddress' => [
+ 'title' => '资源存储地址',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '300011448/711833/cdcd1c44-f1ee-46bb-b318-1d123dbabf6c',
+ ],
+ 'Description' => [
+ 'title' => '资源描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'xx 测试',
+ ],
+ 'Comment' => [
+ 'title' => '提交备注',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'xx 测试',
+ ],
+ 'ProjectId' => [
+ 'title' => '项目Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '711833',
+ ],
+ 'ComputeEngineType' => [
+ 'title' => '计算引擎类型: MAX_COMPUTE、HADOOP',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'MAX_COMPUTE',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\"\\n}","type":"json"}]',
+ ],
+ 'GetFileStorageCredential' => [
+ 'summary' => '获取文件存储临时读写授权。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'ProjectId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '项目Id,临时授权用于创建资源文件时必填',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '1030131021',
+ ],
+ ],
+ [
+ 'name' => 'UseVpcEndpoint',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '使用内网地址, 默认:false',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'Purpose',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '用途: RESOURCE 创建资源文件、COMPUTE_SOURCE_SETTING 存储计算源配置、NONE 无明确用途;默认:NONE',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'RESOURCE',
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'StorageCredential' => [
+ 'title' => '临时读写授权详情',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'StorageType' => [
+ 'title' => '存储集群类型: oss、ceph',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'oss',
+ ],
+ 'Endpoint' => [
+ 'title' => '连接地址',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'oss-cn-shanghai.aliyuncs.com',
+ ],
+ 'Bucket' => [
+ 'title' => '文件存储bucket',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'dataphin',
+ ],
+ 'Region' => [
+ 'title' => 'region',
+ 'description' => 'region',
+ 'type' => 'string',
+ 'example' => 'cn-shanghai',
+ ],
+ 'AccessId' => [
+ 'title' => '临时AK',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'temp.akId',
+ ],
+ 'AccessKey' => [
+ 'title' => '临时AK',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'temp.akKey',
+ ],
+ 'ObjectName' => [
+ 'title' => '存储对象',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1023231111/abc',
+ ],
+ 'Expiration' => [
+ 'title' => '到期时间',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '17343434343434',
+ ],
+ 'SecurityToken' => [
+ 'title' => '临时授权证书',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'temp.token',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"StorageCredential\\": {\\n \\"StorageType\\": \\"oss\\",\\n \\"Endpoint\\": \\"oss-cn-shanghai.aliyuncs.com\\",\\n \\"Bucket\\": \\"dataphin\\",\\n \\"Region\\": \\"cn-shanghai\\",\\n \\"AccessId\\": \\"temp.akId\\",\\n \\"AccessKey\\": \\"temp.akKey\\",\\n \\"ObjectName\\": \\"1023231111/abc\\",\\n \\"Expiration\\": 17343434343434,\\n \\"SecurityToken\\": \\"temp.token\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'DeleteResource' => [
+ 'summary' => '删除资源文件。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'ProjectId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '项目Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '1030111021',
+ ],
+ ],
+ [
+ 'name' => 'Id',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '资源文件Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '10300010201',
+ ],
+ ],
+ [
+ 'name' => 'Comment',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '备注',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '测试',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'Id of the request',
+ 'type' => 'string',
+ 'example' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\"\\n}","type":"json"}]',
+ ],
+ 'CreateResource' => [
+ 'summary' => '创建资源文件。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'CreateCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '创建命令',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => [
+ 'title' => '资源名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'udf_sleep.jar',
+ ],
+ 'ProjectId' => [
+ 'title' => '项目Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '711833',
+ ],
+ 'Directory' => [
+ 'title' => '存放目录',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '/',
+ ],
+ 'ResourceType' => [
+ 'title' => '资源类型: FILE: 普通文件、JAR: Jar文件、PYTHON: Python文件、OTHERS: 其他类型文件',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'JAR',
+ ],
+ 'StorageAddress' => [
+ 'title' => '资源存储地址',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '300011448/711833/cdcd1c44-f1ee-46bb-b318-1d123dbabf6c',
+ ],
+ 'Description' => [
+ 'title' => '资源描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'xx 测试',
+ ],
+ 'Comment' => [
+ 'title' => '提交备注',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'xx 测试',
+ ],
+ 'ComputeEngineType' => [
+ 'title' => '计算引擎类型: MAX_COMPUTE、HADOOP、NONE',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'MAX_COMPUTE',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'Data' => [
+ 'title' => '资源文件Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '10112101',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"Data\\": 10112101\\n}","type":"json"}]',
+ ],
+ 'GetUdf' => [
+ 'summary' => '获取自定义函数详情。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'ProjectId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '项目Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '1030111021',
+ ],
+ ],
+ [
+ 'name' => 'Id',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '自定义函数Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '1123',
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'UdfInfo' => [
+ 'title' => '自定义函数详情',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '自定义函数Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1030111021',
+ ],
+ 'Name' => [
+ 'title' => '函数名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'udf_to_lower',
+ ],
+ 'ComputeEngineType' => [
+ 'title' => '计算引擎,支持 HADOOP、MAX_COMPUTE、FLINK',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'HADOOP',
+ ],
+ 'Directory' => [
+ 'title' => '存放目录',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '/',
+ ],
+ 'ClassName' => [
+ 'title' => '注册类名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'com.lydaas.dataphin.UdfTest',
+ ],
+ 'Category' => [
+ 'title' => '类目: 1 窗口函数、2 统计函数、3 数值函数、4 字符串函数、5 时间函数、6 IP地址辅助函数、7 URL相关函数、8 编解码函数、9 业务相关函数、10 其他',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '10',
+ ],
+ 'CommandHelp' => [
+ 'title' => '命令帮助',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'udf_to_lower(char x)',
+ ],
+ 'Description' => [
+ 'title' => '描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'GmtCreate' => [
+ 'title' => '创建时间, 格式:yyyy-MM-d HH:mm:ss',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-06-10 10:01:01',
+ ],
+ 'GmtModified' => [
+ 'title' => '更新时间, 格式:yyyy-MM-d HH:mm:ss',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-06-10 10:01:01',
+ ],
+ 'Creator' => [
+ 'title' => '创建者',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30012110',
+ ],
+ 'LastModifier' => [
+ 'title' => '最后更新人',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30012110',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"UdfInfo\\": {\\n \\"Id\\": 1030111021,\\n \\"Name\\": \\"udf_to_lower\\",\\n \\"ComputeEngineType\\": \\"HADOOP\\",\\n \\"Directory\\": \\"/\\",\\n \\"ClassName\\": \\"com.lydaas.dataphin.UdfTest\\",\\n \\"Category\\": 10,\\n \\"CommandHelp\\": \\"udf_to_lower(char x)\\",\\n \\"Description\\": \\"test\\",\\n \\"GmtCreate\\": \\"2025-06-10 10:01:01\\",\\n \\"GmtModified\\": \\"2025-06-10 10:01:01\\",\\n \\"Creator\\": \\"30012110\\",\\n \\"LastModifier\\": \\"30012110\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'GetUdfByVersion' => [
+ 'summary' => '查询自定义函数版本详情。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'ProjectId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '项目Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '1030111021',
+ ],
+ ],
+ [
+ 'name' => 'Id',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '自定义函数Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '1123',
+ ],
+ ],
+ [
+ 'name' => 'VersionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '版本号',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'UdfInfo' => [
+ 'title' => '自定义函数详情',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '自定义函数Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1030111021',
+ ],
+ 'Name' => [
+ 'title' => '函数名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'udf_to_lower',
+ ],
+ 'ComputeEngineType' => [
+ 'title' => '计算引擎,支持 HADOOP、MAX_COMPUTE、FLINK',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'HADOOP',
+ ],
+ 'Directory' => [
+ 'title' => '存放目录',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '/',
+ ],
+ 'ClassName' => [
+ 'title' => '注册类名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'com.lydaas.dataphin.UdfTest',
+ ],
+ 'Category' => [
+ 'title' => '类目: 1 窗口函数、2 统计函数、3 数值函数、4 字符串函数、5 时间函数、6 IP地址辅助函数、7 URL相关函数、8 编解码函数、9 业务相关函数、10 其他',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '10',
+ ],
+ 'CommandHelp' => [
+ 'title' => '命令帮助',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'udf_to_lower(char x)',
+ ],
+ 'Description' => [
+ 'title' => '描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'GmtCreate' => [
+ 'title' => '创建时间, 格式:yyyy-MM-d HH:mm:ss',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-06-10 10:01:01',
+ ],
+ 'GmtModified' => [
+ 'title' => '更新时间, 格式:yyyy-MM-d HH:mm:ss',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-06-10 10:01:01',
+ ],
+ 'Creator' => [
+ 'title' => '创建者',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30012110',
+ ],
+ 'LastModifier' => [
+ 'title' => '最后更新人',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30012110',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"UdfInfo\\": {\\n \\"Id\\": 1030111021,\\n \\"Name\\": \\"udf_to_lower\\",\\n \\"ComputeEngineType\\": \\"HADOOP\\",\\n \\"Directory\\": \\"/\\",\\n \\"ClassName\\": \\"com.lydaas.dataphin.UdfTest\\",\\n \\"Category\\": 10,\\n \\"CommandHelp\\": \\"udf_to_lower(char x)\\",\\n \\"Description\\": \\"test\\",\\n \\"GmtCreate\\": \\"2025-06-10 10:01:01\\",\\n \\"GmtModified\\": \\"2025-06-10 10:01:01\\",\\n \\"Creator\\": \\"30012110\\",\\n \\"LastModifier\\": \\"30012110\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'UpdateUdf' => [
+ 'summary' => '编辑自定义函数。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'UpdateCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '创建命令',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '自定义函数Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '1123',
+ ],
+ 'ProjectId' => [
+ 'title' => '项目Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '711833',
+ ],
+ 'RefResourceIdList' => [
+ 'title' => '引用资源id',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '引用资源id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '10200121011',
+ ],
+ 'required' => true,
+ ],
+ 'ClassName' => [
+ 'title' => '资源中实现函数的类名',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'com.lydaas.SleepTest',
+ ],
+ 'Category' => [
+ 'title' => '类目: 1 窗口函数、2 统计函数、3 数值函数、4 字符串函数、5 时间函数、6 IP地址辅助函数、7 URL相关函数、8 编解码函数、9 业务相关函数、10 其他',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '10',
+ ],
+ 'Description' => [
+ 'title' => '描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '测试',
+ ],
+ 'CommandHelp' => [
+ 'title' => '函数调用的命令格式',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'udf_sleep(100)',
+ ],
+ 'Comment' => [
+ 'title' => '提交备注',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '测试',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\"\\n}","type":"json"}]',
+ ],
+ 'DeleteUdf' => [
+ 'summary' => '删除自定义函数。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'ProjectId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '项目Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '1030111021',
+ ],
+ ],
+ [
+ 'name' => 'Id',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '自定义函数Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '10300010201',
+ ],
+ ],
+ [
+ 'name' => 'Comment',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '备注',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '测试',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'Id of the request',
+ 'type' => 'string',
+ 'example' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\"\\n}","type":"json"}]',
+ ],
+ 'CreateUdf' => [
+ 'summary' => '创建自定义函数。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'CreateCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '创建命令',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => [
+ 'title' => 'udf_sleep',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'my_udf',
+ ],
+ 'ProjectId' => [
+ 'title' => '项目Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '711833',
+ ],
+ 'ComputeEngineType' => [
+ 'title' => '计算引擎类型: MAX_COMPUTE、HADOOP',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'MAX_COMPUTE',
+ ],
+ 'Directory' => [
+ 'title' => '存放目录, 默认:/',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '/',
+ ],
+ 'RefResourceIdList' => [
+ 'title' => '引用资源id',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '引用资源id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '10200121011',
+ ],
+ 'required' => true,
+ ],
+ 'ClassName' => [
+ 'title' => '资源中实现函数的类名',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'com.lydaas.SleepTest',
+ ],
+ 'Category' => [
+ 'title' => 'UDF的分类标识: 1 窗口函数、2 统计函数、3 数值函数、4 字符串函数、5 时间函数、6 IP地址辅助函数、7 URL相关函数、8 编解码函数、9 业务相关函数、10 其他',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '1',
+ ],
+ 'Description' => [
+ 'title' => '描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '测试',
+ ],
+ 'CommandHelp' => [
+ 'title' => '函数调用的命令格式',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'udf_sleep(100)',
+ ],
+ 'Comment' => [
+ 'title' => '提交备注',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '测试',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'Data' => [
+ 'title' => '函数Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '10212101',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"Data\\": 10212101\\n}","type":"json"}]',
+ ],
+ 'ListSubmitRecords' => [
+ 'summary' => '分页获取待发布记录列表',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'ListQuery',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '查询指令',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Keyword' => [
+ 'title' => '搜索关键字',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'abc',
+ ],
+ 'SearchFilter' => [
+ 'title' => '待发布记录过滤器',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ProjectIdList' => [
+ 'title' => '项目id列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '项目id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '121321313519086',
+ ],
+ 'required' => true,
+ ],
+ 'SubmitterList' => [
+ 'title' => '提交人id列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '提交人id',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '3434222',
+ ],
+ 'required' => false,
+ ],
+ 'ChangeTypeList' => [
+ 'title' => '变更类型列表(0:新增/1:更新/2:删除',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '变更类型',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '0',
+ ],
+ 'required' => false,
+ ],
+ 'SubmitStartTime' => [
+ 'title' => '提交开始时间 yyyy-MM-dd HH:mm:ss',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2024-10-10 10:00:00',
+ ],
+ 'SubmitEndTime' => [
+ 'title' => '提交结束时间 yyyy-MM-dd HH:mm:ss',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2024-10-10 10:00:00',
+ ],
+ 'Page' => [
+ 'title' => '页码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '1',
+ ],
+ 'PageSize' => [
+ 'title' => '分页条数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '10',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'ListResult' => [
+ 'title' => '查询结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'TotalCount' => [
+ 'title' => '总数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '100',
+ ],
+ 'Data' => [
+ 'title' => '待发布记录列表查询结果',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '待发布记录',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '待发布记录id(非对象ID,在发布列表中全局唯一',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1241844456',
+ ],
+ 'ProjectId' => [
+ 'title' => '项目id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1241844456',
+ ],
+ 'Submitter' => [
+ 'title' => '提交人id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '307999999',
+ ],
+ 'SubmitterName' => [
+ 'title' => '提交人名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '张三',
+ ],
+ 'GmtCreate' => [
+ 'title' => '创建时间 yyyy-MM-dd HH:mm:ss',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2024-10-10 10:00:00',
+ ],
+ 'GmtModify' => [
+ 'title' => '修改时间 yyyy-MM-dd HH:mm:ss',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2024-10-10 10:00:00',
+ ],
+ 'ChangeType' => [
+ 'title' => '变更类型 0:新增/1:更新/2:删除',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'ObjectType' => [
+ 'title' => '对象类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2024-10-10 10:00:00',
+ ],
+ 'ObjectName' => [
+ 'title' => '对象名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '对象A',
+ ],
+ 'ObjectId' => [
+ 'title' => '对象id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1234567',
+ ],
+ 'NodeId' => [
+ 'title' => '节点id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'n_123456',
+ ],
+ 'ObjectVersion' => [
+ 'title' => '对象版本',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1',
+ ],
+ 'SubmitComment' => [
+ 'title' => '提交信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '提交信息',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"ListResult\\": {\\n \\"TotalCount\\": 100,\\n \\"Data\\": [\\n {\\n \\"Id\\": 1241844456,\\n \\"ProjectId\\": \\"1241844456\\",\\n \\"Submitter\\": \\"307999999\\",\\n \\"SubmitterName\\": \\"张三\\",\\n \\"GmtCreate\\": \\"2024-10-10 10:00:00\\",\\n \\"GmtModify\\": \\"2024-10-10 10:00:00\\",\\n \\"ChangeType\\": 0,\\n \\"ObjectType\\": \\"2024-10-10 10:00:00\\",\\n \\"ObjectName\\": \\"对象A\\",\\n \\"ObjectId\\": \\"1234567\\",\\n \\"NodeId\\": \\"n_123456\\",\\n \\"ObjectVersion\\": \\"1\\",\\n \\"SubmitComment\\": \\"提交信息\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'GetLatestSubmitDetail' => [
+ 'summary' => '获取最新的待发布记录详情',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'SubmitDetailQuery',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '待发布查询请求',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ObjectId' => [
+ 'title' => '对象id',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '12345',
+ ],
+ 'ObjectType' => [
+ 'title' => '对象类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'MAX_COMPUTE_SQL',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'SubmitDetailResult' => [
+ 'title' => '待发布详情',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '提交记录id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1234',
+ ],
+ 'SubmitStatus' => [
+ 'title' => '待发布记录状态 待发布:TO_BE_PUBLISHED/已发布:PUBLISHED/发布中:PUBLISHING',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'TO_BE_PUBLISHED',
+ ],
+ 'PublishStatus' => [
+ 'title' => '发布记录状态 未校验:NOT_VERIFIED/审批中:APPROVING/审批失败:APPROVE_FAILED/审批成功:APPROVE_SUCCESS/审批撤回:APPROVE_REVOKED/发布校验中:CHECKING/发布校验失败:CHECK_FAILED/发布校验成功:CHECK_SUCCESS/发布中:PUBLISHING/发布失败:FAILED/发布成功:SUCCESS',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'SUCCESS',
+ ],
+ 'Tag' => [
+ 'title' => '记录Tag',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'tag',
+ ],
+ 'ReleaseObject' => [
+ 'title' => '待发布记录对象',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ObjectVersion' => [
+ 'title' => '对象版本',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1',
+ ],
+ 'ChangeType' => [
+ 'title' => '变更类型列表(新增:CREATE/更新:UPDATE/删除:DELETE',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'DELETE',
+ ],
+ 'ProjectId' => [
+ 'title' => '项目id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1234',
+ ],
+ 'NodeId' => [
+ 'title' => '节点id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'n_1234',
+ ],
+ 'SubmitComment' => [
+ 'title' => '提交说明',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '提交说明',
+ ],
+ 'SubmitObject' => [
+ 'title' => '发布对象',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ObjectId' => [
+ 'title' => '对象id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1234',
+ ],
+ 'ObjectType' => [
+ 'title' => '对象类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'MAX_COMPUTE_SQL',
+ ],
+ 'ObjectName' => [
+ 'title' => '对象名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'abc',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"SubmitDetailResult\\": {\\n \\"Id\\": 1234,\\n \\"SubmitStatus\\": \\"TO_BE_PUBLISHED\\",\\n \\"PublishStatus\\": \\"SUCCESS\\",\\n \\"Tag\\": \\"tag\\",\\n \\"ReleaseObject\\": {\\n \\"ObjectVersion\\": \\"1\\",\\n \\"ChangeType\\": \\"DELETE\\",\\n \\"ProjectId\\": 1234,\\n \\"NodeId\\": \\"n_1234\\",\\n \\"SubmitComment\\": \\"提交说明\\",\\n \\"SubmitObject\\": {\\n \\"ObjectId\\": \\"1234\\",\\n \\"ObjectType\\": \\"MAX_COMPUTE_SQL\\",\\n \\"ObjectName\\": \\"abc\\"\\n }\\n }\\n }\\n}","type":"json"}]',
+ ],
+ 'PublishObjectList' => [
+ 'summary' => '批量发布对象',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'PublishCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '发布指令',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ProjectId' => [
+ 'title' => '项目id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '1234567',
+ ],
+ 'SubmitIdList' => [
+ 'title' => '要发布的待发布项,待发布记录ID列表(submitIds个数限制50)',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '待发布记录id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '12345',
+ ],
+ 'required' => true,
+ ],
+ 'Comment' => [
+ 'title' => '发布信息(字符串长度限制1024)',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '发布',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'PublishResult' => [
+ 'title' => '发布结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'SubmitIdList' => [
+ 'title' => '待发布记录id列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '待发布记录id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '12345',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"PublishResult\\": {\\n \\"SubmitIdList\\": [\\n 12345\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'ListPublishRecords' => [
+ 'summary' => '分页获取发布记录列表',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'ListQuery',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '查询指令',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Keyword' => [
+ 'title' => '搜索关键字',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'abc',
+ ],
+ 'SearchFilter' => [
+ 'title' => '发布记录过滤器',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ProjectIdList' => [
+ 'title' => '项目id列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '项目id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '1234567890',
+ ],
+ 'required' => true,
+ ],
+ 'SubmitterList' => [
+ 'title' => '提交人id列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '提交人id',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '30897000',
+ ],
+ 'required' => false,
+ ],
+ 'ChangeTypeList' => [
+ 'title' => '变更类型列表(0:新增/1:更新/2:删除',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '变更类型',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '0',
+ ],
+ 'required' => false,
+ ],
+ 'PublishStatusList' => [
+ 'title' => '发布状态列表(0:失败/1:成功/2:发布中',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '发布状态',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '0',
+ ],
+ 'required' => false,
+ ],
+ 'PublishStartTime' => [
+ 'title' => '发布开始时间 yyyy-MM-dd HH:mm:ss',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2024-10-10 10:00:00',
+ ],
+ 'PublishEndTime' => [
+ 'title' => '发布结束时间 yyyy-MM-dd HH:mm:ss',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2024-10-10 10:00:00',
+ ],
+ 'Page' => [
+ 'title' => '页码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '1',
+ ],
+ 'PageSize' => [
+ 'title' => '分页条数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '10',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'ListResult' => [
+ 'title' => '查询结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'TotalCount' => [
+ 'title' => '总数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '100',
+ ],
+ 'Data' => [
+ 'title' => '发布记录列表查询结果',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '发布记录',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '发布记录id(非对象ID,在发布列表中全局唯一',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1241844456',
+ ],
+ 'PublishName' => [
+ 'title' => '发布名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test_lc__20241118171502',
+ ],
+ 'ProjectId' => [
+ 'title' => '项目id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1241844456',
+ ],
+ 'Publisher' => [
+ 'title' => '发布人id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '307999999',
+ ],
+ 'PublisherName' => [
+ 'title' => '发布人名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '张三',
+ ],
+ 'GmtCreate' => [
+ 'title' => '创建时间 yyyy-MM-dd HH:mm:ss',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2024-10-10 10:00:00',
+ ],
+ 'GmtModify' => [
+ 'title' => '修改时间 yyyy-MM-dd HH:mm:ss',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2024-10-10 10:00:00',
+ ],
+ 'ChangeType' => [
+ 'title' => '变更类型 0:新增/1:更新/2:删除',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'ObjectType' => [
+ 'title' => '对象类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2024-10-10 10:00:00',
+ ],
+ 'ObjectName' => [
+ 'title' => '对象名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '对象A',
+ ],
+ 'ObjectId' => [
+ 'title' => '对象id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1234567',
+ ],
+ 'NodeId' => [
+ 'title' => '节点id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'n_123456',
+ ],
+ 'ObjectVersion' => [
+ 'title' => '对象版本',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1',
+ ],
+ 'FinishTime' => [
+ 'title' => '发布完成时间 yyyy-MM-dd HH:mm:ss',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2024-10-10 10:10:10',
+ ],
+ 'ErrorMessage' => [
+ 'title' => '发布错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'error',
+ ],
+ 'PublishStatus' => [
+ 'title' => '发布状态 0:失败/1:成功/2:发布中',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"ListResult\\": {\\n \\"TotalCount\\": 100,\\n \\"Data\\": [\\n {\\n \\"Id\\": 1241844456,\\n \\"PublishName\\": \\"test_lc__20241118171502\\",\\n \\"ProjectId\\": \\"1241844456\\",\\n \\"Publisher\\": \\"307999999\\",\\n \\"PublisherName\\": \\"张三\\",\\n \\"GmtCreate\\": \\"2024-10-10 10:00:00\\",\\n \\"GmtModify\\": \\"2024-10-10 10:00:00\\",\\n \\"ChangeType\\": 0,\\n \\"ObjectType\\": \\"2024-10-10 10:00:00\\",\\n \\"ObjectName\\": \\"对象A\\",\\n \\"ObjectId\\": \\"1234567\\",\\n \\"NodeId\\": \\"n_123456\\",\\n \\"ObjectVersion\\": \\"1\\",\\n \\"FinishTime\\": \\"2024-10-10 10:10:10\\",\\n \\"ErrorMessage\\": \\"error\\",\\n \\"PublishStatus\\": 1\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'UpdateStandardWordRoot' => [
+ 'summary' => '更新数据标准词根。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'UpdateCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '更新指令',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'OldName' => [
+ 'title' => '更新前词根名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '平均值',
+ ],
+ 'Name' => [
+ 'title' => '词根名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '平均值',
+ ],
+ 'FullName' => [
+ 'title' => '词根全称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'average',
+ ],
+ 'Abbreviation' => [
+ 'title' => '词根缩写',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'avg',
+ ],
+ 'Description' => [
+ 'title' => '词根描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\"\\n}","type":"json"}]',
+ ],
+ 'UpdateStandardTemplate' => [
+ 'summary' => '更新数据标准模板。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'UpdateCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '更新指令',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '标准模板Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '22',
+ ],
+ 'Version' => [
+ 'title' => '版本号, 空或-1表示最新版本',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ 'Name' => [
+ 'title' => '标准模板名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '测试模板',
+ ],
+ 'Code' => [
+ 'title' => '标准模板编码, 全局唯一;有引用时不可修改',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'test01',
+ ],
+ 'Description' => [
+ 'title' => '标准模板描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ 'MaintainerList' => [
+ 'title' => '维护人员',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '维护人员',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '300000913',
+ ],
+ 'required' => false,
+ ],
+ 'AttributesConfig' => [
+ 'title' => '属性配置',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'AttributeList' => [
+ 'title' => '属性列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => [
+ 'title' => '属性名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'attr1',
+ ],
+ 'Code' => [
+ 'title' => '属性编码',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test_attr',
+ ],
+ 'Type' => [
+ 'title' => '属性类型:BIZ_ATTRIBUTE 业务属性、TECH_ATTRIBUTE 技术属性、MANAGEMENT_ATTRIBUTE 管理属性、QUALITY_ATTRIBUTE 质量属性、MASTER_DATA_ATTRIBUTE 主数据属性、LIFECYCLE_ATTRIBUTE 生命周期属性、SECURITY_ATTRIBUTE 安全属性',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'BIZ_ATTRIBUTE',
+ ],
+ 'Required' => [
+ 'title' => '是否必填',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ ],
+ 'ValueConfig' => [
+ 'title' => '取值配置',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => [
+ 'title' => '属性值类型:CUSTOMIZED 自定义输入、SINGLE_ENUM 枚举单值、MULTIPLE_ENUMS 枚举多值、RANGE 范围值',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'CUSTOMIZED',
+ ],
+ 'DataType' => [
+ 'title' => '属性值的数据类型:STRING 字符串、BIGINT 数值类型、DOUBLE 浮点类型、DATE 日期,精确到天、DATETIME 日期,精确到ms、BOOLEAN 布尔型',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'STRING',
+ ],
+ 'Length' => [
+ 'title' => '属性值长度, 为空或-1表示不限制长度, 通常只有字符串类型才会限制属性值的长度',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ 'ValueRange' => [
+ 'title' => '取值范围',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ValueConstraint' => [
+ 'title' => '取值来源:NONE 无约束、LIST 从列表中获取、LOOKUP_TABLE 码表、MIN_MAX 在最大值和最小值之间取值、DATAPHIN_ATTRIBUTE Dataphin系统属性、BUILT_IN_DATA_TYPES 内置数据类型、BUILT_IN_DATA_CLASSIFICATION 内置数据分类、BUILT_IN_DATA_LEVEL 内置数据安全分级',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'NONE',
+ ],
+ 'ValueList' => [
+ 'title' => '取值范围,当取值来源取值为 LIST 生效',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '取值范围,当取值来源取值为 LIST 生效',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ 'required' => false,
+ ],
+ 'MinMaxValueConfig' => [
+ 'title' => '取值范围,当取值来源取值为 MIN_MAX 生效',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'MinValue' => [
+ 'title' => '最小值',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '0',
+ ],
+ 'IncludeMinValue' => [
+ 'title' => '是否包含最小值',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => true,
+ ],
+ 'MaxValue' => [
+ 'title' => '最大值',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '100',
+ ],
+ 'IncludeMaxValue' => [
+ 'title' => '是否包含最大值',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => true,
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'LookupTableReference' => [
+ 'title' => '取值范围,当取值来源取值为 LOOKUP_TABLE 生效',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'LookupTableId' => [
+ 'title' => '码表Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '11',
+ ],
+ 'Column' => [
+ 'title' => '引用的码表字段',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'col1',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'DataphinAttributeType' => [
+ 'title' => '取值范围,当取值来源取值为 DATAPHIN_ATTRIBUTE 生效:BIZ_UNIT 数据板块、PROJECT 项目、USER 用户、USER_GROUP 用户组',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'DATAPHIN_ATTRIBUTE',
+ ],
+ ],
+ 'required' => true,
+ ],
+ 'DefaultValue' => [
+ 'title' => '默认值',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'Description' => [
+ 'title' => '描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ 'RefAttribute' => [
+ 'title' => '引用的属性信息',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'AttributeId' => [
+ 'title' => '属性Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '123',
+ ],
+ 'AttributeFromInfo' => [
+ 'title' => '属性来源',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'AttributeFrom' => [
+ 'title' => '属性来源:SYSTEM 系统属性、CUSTOM 自定义属性、STANDARD 标准',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'CUSTOM',
+ ],
+ 'StandardReference' => [
+ 'title' => '对应的标准,属性来源为 STANDARD 生效',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'StandardId' => [
+ 'title' => '标准Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '22',
+ ],
+ 'Version' => [
+ 'title' => '版本号',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '1',
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => true,
+ ],
+ ],
+ 'required' => true,
+ ],
+ 'PublishInfo' => [
+ 'title' => '标准模板发布信息',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Comment' => [
+ 'title' => '发布备注',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'CodeRuleConfig' => [
+ 'title' => '标准编码自动生成规则配置',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'GenerateType' => [
+ 'title' => '标准编码生成方式: CUSTOMIZED 自定义、AUTO_GENERATE 根据标准编码规则自动生成',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'CUSTOMIZED',
+ ],
+ 'AutoConfig' => [
+ 'title' => '标准编码规则自动生成配置, 当生产方式为 AUTO_GENERATE 生效',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'NeedStrongValidate' => [
+ 'title' => '是否强校验',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => true,
+ ],
+ 'CodeRuleList' => [
+ 'title' => '标准编码规则',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Index' => [
+ 'title' => '编码规则位置索引',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '1',
+ ],
+ 'Type' => [
+ 'title' => '编码规则类型:FIXED_STRING 固定字符串、AUTO_INCREMENT 自增序列、STANDARD_SET_CODE 标准集编码',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'FIXED_STRING',
+ ],
+ 'Value' => [
+ 'title' => '编码规则格式/值',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ 'AutoIncrementSequenceConfig' => [
+ 'title' => '自增序列配置',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Digit' => [
+ 'title' => '位数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '3',
+ ],
+ 'StartValue' => [
+ 'title' => '起始值',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '1',
+ ],
+ 'Step' => [
+ 'title' => '步长',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '1',
+ ],
+ 'NeedPaddingZero' => [
+ 'title' => '是否补零',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => true,
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => true,
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\"\\n}","type":"json"}]',
+ ],
+ 'UpdateStandardSet' => [
+ 'summary' => '更新标准集。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'UpdateCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '更新指令',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'StandardSetId' => [
+ 'title' => '标准集Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '1234',
+ ],
+ 'Name' => [
+ 'title' => '标准集名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'test',
+ ],
+ 'Code' => [
+ 'title' => '标准集编码',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'CITY',
+ ],
+ 'Description' => [
+ 'title' => '标准集描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ 'DirectoryReference' => [
+ 'title' => '归属目录',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Directory' => [
+ 'title' => '所属目录',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '/dir1',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'MaintainerList' => [
+ 'title' => '维护人员',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '维护人员',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '300000913',
+ ],
+ 'required' => false,
+ ],
+ 'MemberList' => [
+ 'title' => '成员列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '成员列表',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '300000913',
+ ],
+ 'required' => false,
+ ],
+ 'MemberGroupList' => [
+ 'title' => '成员组列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '成员组列表',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1121',
+ ],
+ 'required' => false,
+ ],
+ 'VisibilityConfig' => [
+ 'title' => '可见性配置',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => [
+ 'title' => '可见类型: PUBLIC 公开、PRIVATE 私有,仅标准集人员/管理员、SPECIFIED 指定人可见',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'PUBLIC',
+ ],
+ 'SpecifiedUserList' => [
+ 'title' => '指定可见的人员列表,当可见类型为 SPECIFIED 生效',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '指定可见的人员列表,当可见类型为 SPECIFIED 生效',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1121',
+ ],
+ 'required' => false,
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'ApprovalConfig' => [
+ 'title' => '上线审批配置',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'EnableApproval' => [
+ 'title' => '是否开启审批',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => true,
+ ],
+ 'IsSubmitInBatch' => [
+ 'title' => '是否批量提交审批',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => true,
+ ],
+ 'ApprovalType' => [
+ 'title' => '审批流程类型:BY_DEFAULT 默认审批类型、BY_TEMPLATE 基于审批模板',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'BY_DEFAULT',
+ ],
+ 'TemplateId' => [
+ 'title' => '审批模板Id,当审批流程类型为 BY_TEMPLATE 生效',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '1121',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'OfflineApprovalConfig' => [
+ 'title' => '下线审批配置',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'EnableApproval' => [
+ 'title' => '是否开启审批',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => true,
+ ],
+ 'IsSubmitInBatch' => [
+ 'title' => '是否批量提交审批',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => true,
+ ],
+ 'ApprovalType' => [
+ 'title' => '审批流程类型:BY_DEFAULT 默认审批类型、BY_TEMPLATE 基于审批模板',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'BY_DEFAULT',
+ ],
+ 'TemplateId' => [
+ 'title' => '审批模板Id,当审批流程类型为 BY_TEMPLATE 生效',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '1121',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'DefaultStandardTemplateId' => [
+ 'title' => '默认标准模板ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '1001',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\"\\n}","type":"json"}]',
+ ],
+ 'UpdateStandardMappingToInvalid' => [
+ 'summary' => '将标准映射关系置为无效映射。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'UpdateCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '更新指令',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'StandardId' => [
+ 'title' => '标准Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '1',
+ ],
+ 'GuidList' => [
+ 'title' => 'guid列表,上限为1000',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => 'guid列表,上限为1000',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1022',
+ ],
+ 'required' => false,
+ ],
+ 'BelongGuidList' => [
+ 'title' => '所属guid列表,上限为1000',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '所属guid列表,上限为1000',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1023',
+ ],
+ 'required' => false,
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\"\\n}","type":"json"}]',
+ ],
+ 'UpdateStandardLookupTable' => [
+ 'summary' => '更新数据标准码表。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'UpdateCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '更新指令',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '码表Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '1234',
+ ],
+ 'Name' => [
+ 'title' => '码表名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '城市码表',
+ ],
+ 'Code' => [
+ 'title' => '码表编码',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'CITY',
+ ],
+ 'Description' => [
+ 'title' => '码表描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ 'Owner' => [
+ 'title' => '码表负责人Id,默认为调用者用户Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '30012021',
+ ],
+ 'LookupTableValueList' => [
+ 'title' => '码表值列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Value' => [
+ 'title' => '代码值',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '杭州',
+ ],
+ 'Name' => [
+ 'title' => '代码名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'Hangzhou',
+ ],
+ 'EnglishName' => [
+ 'title' => '代码英文名',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'HZ',
+ ],
+ 'Description' => [
+ 'title' => '代码描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => false,
+ ],
+ 'DirectoryReference' => [
+ 'title' => '归属目录',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Directory' => [
+ 'title' => '归属目录',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '/dir1/dir2',
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\"\\n}","type":"json"}]',
+ ],
+ 'UpdateStandard' => [
+ 'summary' => '更新标准。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'UpdateCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '更新指令',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'StandardId' => [
+ 'title' => '码表',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '1234',
+ ],
+ 'Version' => [
+ 'title' => '版本号',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ 'StandardStatus' => [
+ 'title' => '标准的状态',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'draft',
+ ],
+ 'StandardTemplateReference' => [
+ 'title' => '标准所属的标准模板',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '标准模板ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '11',
+ ],
+ 'Version' => [
+ 'title' => '标准模板版本号, 默认去最新版本',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ 'AttributeValueList' => [
+ 'title' => '引用模板下属性列表相应属性值, 若为空则使用默认值',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'AttributeId' => [
+ 'title' => '属性Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '1011',
+ ],
+ 'Value' => [
+ 'title' => '属性值',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => false,
+ ],
+ ],
+ 'required' => true,
+ ],
+ 'StandardSetReference' => [
+ 'title' => '标准集的引用, 表示当前标准所属的标准集',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '标准集Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '22',
+ ],
+ ],
+ 'required' => true,
+ ],
+ 'EffectiveTimeConfig' => [
+ 'title' => '生效时间配置',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => [
+ 'title' => '生效时间类型: FOREVER 永久、TIME_PERIOD 时间段',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'TIME_PERIOD',
+ ],
+ 'StartTime' => [
+ 'title' => '开始生效时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2025-06-30 00:00:00',
+ ],
+ 'EndTime' => [
+ 'title' => '结束生效时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2025-12-30 00:00:00',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'Description' => [
+ 'title' => '描述信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ 'Owner' => [
+ 'title' => '负责人,不传为当前用户',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '300000913',
+ ],
+ 'StandardGeneralMonitorConfig' => [
+ 'title' => '标准监控配置',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'StandardMonitorConfigList' => [
+ 'title' => '标准监控配置列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '监控配置Id:若为空会创建新的监控配置, 若传入已有的监控配置Id会更新相应的监控配置',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ 'RuleName' => [
+ 'title' => '规则名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'test',
+ ],
+ 'Description' => [
+ 'title' => '规则描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ 'Type' => [
+ 'title' => '监控类型:METADATA 元数据监控、QUALITY 数据质量监控',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'METADATA',
+ ],
+ 'MonitorFrom' => [
+ 'title' => '添加方式:BY_USER 手动添加、BY_SYSTEM_ATTRIBUTE 系统属性预置',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'BY_SYSTEM_ATTRIBUTE',
+ ],
+ 'AttributeId' => [
+ 'title' => '关联的属性Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '112',
+ ],
+ 'AttributeName' => [
+ 'title' => '属性名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'teset',
+ ],
+ 'AttributeMonitorConfig' => [
+ 'title' => '关联属性的监控配置',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => [
+ 'title' => '监控方式:METADATA 元数据监控、QUALITY 数据质量监控',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'METADATA',
+ ],
+ 'ColumnName' => [
+ 'title' => '检查的字段',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'column1',
+ ],
+ 'IsCaseSensitive' => [
+ 'title' => '大小写是否敏感',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => true,
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'RuleSubType' => [
+ 'title' => '规则子类型:BY_ATTRIBUTE 根据属性配置、CUSTOMIZED 自定义配置,当监控类型为 QUALITY 时必填',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'CUSTOMIZED',
+ ],
+ 'QualityRuleTemplate' => [
+ 'title' => '规则模板, 当监控类型为 QUALITY 时必填',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '模板Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '22',
+ ],
+ 'Type' => [
+ 'title' => '模板来源: FROM_SYSTEM 系统模板、CUSTOMIZED 自定义模板',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'CUSTOMIZED',
+ ],
+ 'Name' => [
+ 'title' => '模板名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'CUSTOMIZED',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'RuleConfigList' => [
+ 'title' => '规则配置, 当监控类型为 QUALITY 时必填',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => [
+ 'title' => '配置项',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'k1',
+ ],
+ 'Value' => [
+ 'title' => '配置项值',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'v1',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => false,
+ ],
+ 'RuleValidateConfigList' => [
+ 'title' => '规则校验配置, 当监控类型为 QUALITY 时必填',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '校验配置Id, 由业务随机生成且确保唯一',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'abc',
+ ],
+ 'ParentId' => [
+ 'title' => '父校验配置Id, 父规则校验类型只能是RELATION',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'a',
+ ],
+ 'Type' => [
+ 'title' => '规则校验类型: RELATION 关系、EXPRESSION 表达式',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'RELATION',
+ ],
+ 'Operator' => [
+ 'title' => '如果校验类型是 EXPRESSION: EQUAL 等于、NOT_EQUAL 不等于、LARGER 大于、LARGE_OR_EQUAL 大于或等于、SMALLER 小于、SMALLER_OR_EQUAL 小于或等于; 如果校验类型是 RELATION: AND 且、OR 或',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'AND',
+ ],
+ 'Metric' => [
+ 'title' => '指标, 校验类型为 EXPRESSION 时必填',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'a',
+ ],
+ 'MetricName' => [
+ 'title' => '指标名称, 校验类型为 EXPRESSION 时必填',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ 'Value' => [
+ 'title' => '比较的值',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => false,
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => true,
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'NeedGenerateStandardCode' => [
+ 'title' => '是否需要基于规则生成标准编码,如果为true则属性值部分填入的标准编码无效将重新生成',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\"\\n}","type":"json"}]',
+ ],
+ 'OfflineStandard' => [
+ 'summary' => '下线标准。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'OfflineCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '下线指令',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '标准Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '1234',
+ ],
+ 'Comment' => [
+ 'title' => '审核备注,最多128字符',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'test',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\"\\n}","type":"json"}]',
+ ],
+ 'PublishStandard' => [
+ 'summary' => '发布标准。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'PublishCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '发布指令',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '标准Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '1234',
+ ],
+ 'Version' => [
+ 'title' => '版本号, 默认取值-1(最新版本号)',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ 'StandardStage' => [
+ 'title' => '标准的阶段 :DEV、PROD,默认 DEV',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'DEV',
+ ],
+ 'AutoPublishAfterApproval' => [
+ 'title' => '是否在审批成功后自动发布, 默认 true',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ ],
+ 'ReviewerIdList' => [
+ 'title' => '指定的审批人',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '指定的审批人',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ 'required' => false,
+ ],
+ 'Comment' => [
+ 'title' => '审核备注,最多128字符',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'test',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\"\\n}","type":"json"}]',
+ ],
+ 'ListStandards' => [
+ 'summary' => '分页查询标准列表。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'ListQuery',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '检索条件',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Keyword' => [
+ 'title' => '搜索关键字: 标准名称/英文名/编码 模糊搜索,大小写不敏感,按匹配度排序',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'Test',
+ ],
+ 'Directory' => [
+ 'title' => '标准的所属目录',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '/dir1/dir2',
+ ],
+ 'StandardTypeList' => [
+ 'title' => '标准类型: Basic、EMPTY 标准类型为空',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '标准类型: Basic、EMPTY 标准类型为空',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'EMPTY',
+ ],
+ 'required' => false,
+ ],
+ 'StandardStage' => [
+ 'title' => '标准所属阶段:DEV、PROD',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'DEV',
+ ],
+ 'StandardTemplateIdList' => [
+ 'title' => '所属标准模板Id',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '所属标准模板Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ 'required' => false,
+ ],
+ 'StandardSetIdList' => [
+ 'title' => '所属标准集Id',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '所属标准集Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ 'required' => false,
+ ],
+ 'StandardStatusList' => [
+ 'title' => '标准的状态列表, DEV Stage下的标准状态为: DRAFT(草稿态)/UNDER_REVISION(修订中)/UNDER_REVIEW(审批中)/REVIEW_PASSED(审批通过)/IN_PUBLISH(发布中); PROD Stage下的标准状态为: NOT_ACTIVATED(未生效)/ACTIVE(已生效)/EXPIRED(已停用)',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '标准的状态列表, DEV Stage下的标准状态为: DRAFT(草稿态)/UNDER_REVISION(修订中)/UNDER_REVIEW(审批中)/REVIEW_PASSED(审批通过)/IN_PUBLISH(发布中); PROD Stage下的标准状态为: NOT_ACTIVATED(未生效)/ACTIVE(已生效)/EXPIRED(已停用)',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'DRAFT',
+ ],
+ 'required' => false,
+ ],
+ 'UserId' => [
+ 'title' => '用户Id: 只会查询该用户Id本身可见的标准,为空则查询当前用户可见的标准',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '30012011',
+ ],
+ 'PageNo' => [
+ 'title' => '页码, 默认1',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ 'PageSize' => [
+ 'title' => '分页记录数, 默认20',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '20',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'PageResult' => [
+ 'title' => '分页查询结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'TotalCount' => [
+ 'title' => '总记录数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '68',
+ ],
+ 'StandardList' => [
+ 'title' => '表列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '码表',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1234',
+ ],
+ 'Version' => [
+ 'title' => '版本号',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'Status' => [
+ 'title' => '标准的状态',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'draft',
+ ],
+ 'Stage' => [
+ 'title' => '标准所属的阶段',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'dev',
+ ],
+ 'StandardTemplate' => [
+ 'title' => '当前标准依赖的标准模板',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '标准模板Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'Name' => [
+ 'title' => '标准模板名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'Code' => [
+ 'title' => '标准模板编码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1121',
+ ],
+ 'TemplateFrom' => [
+ 'title' => '标准模板来源: CUSTOM 自定义标准模板、SYSTEM 系统内置标准模板',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'SYSTEM',
+ ],
+ 'Version' => [
+ 'title' => '版本号',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ ],
+ ],
+ 'StandardSet' => [
+ 'title' => '当前标准依赖的标准集',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '标准集Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'Name' => [
+ 'title' => '标准集名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'Code' => [
+ 'title' => '标准集编码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'cc',
+ ],
+ 'Directory' => [
+ 'title' => '标准集所属的目录',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '/dir1',
+ ],
+ ],
+ ],
+ 'EffectiveTimeConfig' => [
+ 'title' => '生效时间配置',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => [
+ 'title' => '生效时间类型: FOREVER 永久、TIME_PERIOD 时间段',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'TIME_PERIOD',
+ ],
+ 'StartTime' => [
+ 'title' => '开始生效时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-06-30 00:00:00',
+ ],
+ 'EndTime' => [
+ 'title' => '结束生效时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-12-30 00:00:00',
+ ],
+ ],
+ ],
+ 'Description' => [
+ 'title' => '描述信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'Owner' => [
+ 'title' => '负责人',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '用户Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '300000913',
+ ],
+ 'Name' => [
+ 'title' => '用户名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'susan',
+ ],
+ ],
+ ],
+ 'Name' => [
+ 'title' => '标准名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'EnglishName' => [
+ 'title' => '标准英文名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'Code' => [
+ 'title' => '标准编码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'zz',
+ ],
+ 'Type' => [
+ 'title' => '标准类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'zz',
+ ],
+ 'ModifyTime' => [
+ 'title' => '最近修改时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-06-30 00:00:00',
+ ],
+ 'LastModifier' => [
+ 'title' => '最近更新人',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '用户Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '300000913',
+ ],
+ 'Name' => [
+ 'title' => '用户名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'susan',
+ ],
+ ],
+ ],
+ 'Creator' => [
+ 'title' => '创建者',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '用户Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '300000913',
+ ],
+ 'Name' => [
+ 'title' => '用户名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'susan',
+ ],
+ ],
+ ],
+ 'AttributeWithValueList' => [
+ 'title' => '属性值配置',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Attribute' => [
+ 'title' => '属性详情',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => [
+ 'title' => '属性名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'attr1',
+ ],
+ 'Code' => [
+ 'title' => '属性编码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test_attr',
+ ],
+ 'Type' => [
+ 'title' => '属性类型:BIZ_ATTRIBUTE 业务属性、TECH_ATTRIBUTE 技术属性、MANAGEMENT_ATTRIBUTE 管理属性、QUALITY_ATTRIBUTE 质量属性、MASTER_DATA_ATTRIBUTE 主数据属性、LIFECYCLE_ATTRIBUTE 生命周期属性、SECURITY_ATTRIBUTE 安全属性',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'BIZ_ATTRIBUTE',
+ ],
+ 'Required' => [
+ 'title' => '是否必填',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'ValueConfig' => [
+ 'title' => '取值配置',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => [
+ 'title' => '属性值类型:CUSTOMIZED 自定义输入、SINGLE_ENUM 枚举单值、MULTIPLE_ENUMS 枚举多值、RANGE 范围值',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'CUSTOMIZED',
+ ],
+ 'DataType' => [
+ 'title' => '属性值的数据类型:STRING 字符串、BIGINT 数值类型、DOUBLE 浮点类型、DATE 日期,精确到天、DATETIME 日期,精确到ms、BOOLEAN 布尔型',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'STRING',
+ ],
+ 'Length' => [
+ 'title' => '属性值长度, 为空或-1表示不限制长度, 通常只有字符串类型才会限制属性值的长度',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'ValueRange' => [
+ 'title' => '取值范围',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ValueConstraint' => [
+ 'title' => '取值来源:NONE 无约束、LIST 从列表中获取、LOOKUP_TABLE 码表、MIN_MAX 在最大值和最小值之间取值、DATAPHIN_ATTRIBUTE Dataphin系统属性、BUILT_IN_DATA_TYPES 内置数据类型、BUILT_IN_DATA_CLASSIFICATION 内置数据分类、BUILT_IN_DATA_LEVEL 内置数据安全分级',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'NONE',
+ ],
+ 'ValueList' => [
+ 'title' => '取值范围,当取值来源取值为 LIST 生效',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '取值范围,当取值来源取值为 LIST 生效',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1',
+ ],
+ ],
+ 'MinMaxValueConfig' => [
+ 'title' => '取值范围,当取值来源取值为 MIN_MAX 生效',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'MinValue' => [
+ 'title' => '最小值',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '0',
+ ],
+ 'IncludeMinValue' => [
+ 'title' => '是否包含最小值',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'MaxValue' => [
+ 'title' => '最大值',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '100',
+ ],
+ 'IncludeMaxValue' => [
+ 'title' => '是否包含最大值',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ ],
+ ],
+ 'LookupTableReference' => [
+ 'title' => '取值范围,当取值来源取值为 LOOKUP_TABLE 生效',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'LookupTableId' => [
+ 'title' => '码表Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '11',
+ ],
+ 'Column' => [
+ 'title' => '引用的码表字段',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'col1',
+ ],
+ ],
+ ],
+ 'DataphinAttributeType' => [
+ 'title' => '取值范围,当取值来源取值为 DATAPHIN_ATTRIBUTE 生效:BIZ_UNIT 数据板块、PROJECT 项目、USER 用户、USER_GROUP 用户组',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'DATAPHIN_ATTRIBUTE',
+ ],
+ ],
+ ],
+ 'DefaultValue' => [
+ 'title' => '默认值',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ ],
+ ],
+ 'MonitorConfig' => [
+ 'title' => '监控配置',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => [
+ 'title' => '监控方式:METADATA 元数据监控、QUALITY 数据质量监控',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'METADATA',
+ ],
+ 'ColumnName' => [
+ 'title' => '检查的字段',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'column1',
+ ],
+ 'IsCaseSensitive' => [
+ 'title' => '大小写是否敏感',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ ],
+ ],
+ 'EnableMonitorConfig' => [
+ 'title' => '是否开启监控配置',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'Description' => [
+ 'title' => '描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'RefAttribute' => [
+ 'title' => '引用的属性信息',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'AttributeId' => [
+ 'title' => '属性Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '123',
+ ],
+ 'AttributeFromInfo' => [
+ 'title' => '属性来源',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'AttributeFrom' => [
+ 'title' => '属性来源:SYSTEM 系统属性、CUSTOM 自定义属性、STANDARD 标准',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'CUSTOM',
+ ],
+ 'StandardReference' => [
+ 'title' => '对应的标准,属性来源为 STANDARD 生效',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'StandardId' => [
+ 'title' => '标准Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '22',
+ ],
+ 'Version' => [
+ 'title' => '版本号',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'Id' => [
+ 'title' => '属性Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1011',
+ ],
+ ],
+ ],
+ 'Value' => [
+ 'title' => '属性值',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"PageResult\\": {\\n \\"TotalCount\\": 68,\\n \\"StandardList\\": [\\n {\\n \\"Id\\": 1234,\\n \\"Version\\": 1,\\n \\"Status\\": \\"draft\\",\\n \\"Stage\\": \\"dev\\",\\n \\"StandardTemplate\\": {\\n \\"Id\\": 1,\\n \\"Name\\": \\"test\\",\\n \\"Code\\": \\"1121\\",\\n \\"TemplateFrom\\": \\"SYSTEM\\",\\n \\"Version\\": 1\\n },\\n \\"StandardSet\\": {\\n \\"Id\\": 1,\\n \\"Name\\": \\"test\\",\\n \\"Code\\": \\"cc\\",\\n \\"Directory\\": \\"/dir1\\"\\n },\\n \\"EffectiveTimeConfig\\": {\\n \\"Type\\": \\"TIME_PERIOD\\",\\n \\"StartTime\\": \\"2025-06-30 00:00:00\\",\\n \\"EndTime\\": \\"2025-12-30 00:00:00\\"\\n },\\n \\"Description\\": \\"test\\",\\n \\"Owner\\": {\\n \\"Id\\": \\"300000913\\",\\n \\"Name\\": \\"susan\\"\\n },\\n \\"Name\\": \\"test\\",\\n \\"EnglishName\\": \\"test\\",\\n \\"Code\\": \\"zz\\",\\n \\"Type\\": \\"zz\\",\\n \\"ModifyTime\\": \\"2025-06-30 00:00:00\\",\\n \\"LastModifier\\": {\\n \\"Id\\": \\"300000913\\",\\n \\"Name\\": \\"susan\\"\\n },\\n \\"Creator\\": {\\n \\"Id\\": \\"300000913\\",\\n \\"Name\\": \\"susan\\"\\n },\\n \\"AttributeWithValueList\\": [\\n {\\n \\"Attribute\\": {\\n \\"Name\\": \\"attr1\\",\\n \\"Code\\": \\"test_attr\\",\\n \\"Type\\": \\"BIZ_ATTRIBUTE\\",\\n \\"Required\\": true,\\n \\"ValueConfig\\": {\\n \\"Type\\": \\"CUSTOMIZED\\",\\n \\"DataType\\": \\"STRING\\",\\n \\"Length\\": 1,\\n \\"ValueRange\\": {\\n \\"ValueConstraint\\": \\"NONE\\",\\n \\"ValueList\\": [\\n \\"1\\"\\n ],\\n \\"MinMaxValueConfig\\": {\\n \\"MinValue\\": \\"0\\",\\n \\"IncludeMinValue\\": true,\\n \\"MaxValue\\": \\"100\\",\\n \\"IncludeMaxValue\\": true\\n },\\n \\"LookupTableReference\\": {\\n \\"LookupTableId\\": 11,\\n \\"Column\\": \\"col1\\"\\n },\\n \\"DataphinAttributeType\\": \\"DATAPHIN_ATTRIBUTE\\"\\n },\\n \\"DefaultValue\\": \\"test\\"\\n },\\n \\"MonitorConfig\\": {\\n \\"Type\\": \\"METADATA\\",\\n \\"ColumnName\\": \\"column1\\",\\n \\"IsCaseSensitive\\": true\\n },\\n \\"EnableMonitorConfig\\": true,\\n \\"Description\\": \\"test\\",\\n \\"RefAttribute\\": {\\n \\"AttributeId\\": 123,\\n \\"AttributeFromInfo\\": {\\n \\"AttributeFrom\\": \\"CUSTOM\\",\\n \\"StandardReference\\": {\\n \\"StandardId\\": 22,\\n \\"Version\\": 1\\n }\\n }\\n },\\n \\"Id\\": 1011\\n },\\n \\"Value\\": \\"test\\"\\n }\\n ]\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'GetStandardWordRoot' => [
+ 'summary' => '获取数据标准词根详情。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'Name',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '词根名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '平均值',
+ ],
+ ],
+ [
+ 'name' => 'Nullable',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '词根不存在时是否允许返回空值, 如果为false则会抛出异常,默认:true',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'WordRootInfo' => [
+ 'title' => '词根详情',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => [
+ 'title' => '词根名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '平均值',
+ ],
+ 'FullName' => [
+ 'title' => '词根全称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'average',
+ ],
+ 'Abbreviation' => [
+ 'title' => '词根缩写',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'avg',
+ ],
+ 'Description' => [
+ 'title' => '词根描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'Creator' => [
+ 'title' => '创建人用户ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30012021',
+ ],
+ 'CreatorName' => [
+ 'title' => '创建人用户名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'LastModifier' => [
+ 'title' => '最近更新人用户ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30012021',
+ ],
+ 'LastModifierName' => [
+ 'title' => '最近更新人用户名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'CreateTime' => [
+ 'title' => '创建时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-06-30 00:00:00',
+ ],
+ 'ModifyTime' => [
+ 'title' => '修改时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-06-30 00:00:00',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"WordRootInfo\\": {\\n \\"Name\\": \\"平均值\\",\\n \\"FullName\\": \\"average\\",\\n \\"Abbreviation\\": \\"avg\\",\\n \\"Description\\": \\"test\\",\\n \\"Creator\\": \\"30012021\\",\\n \\"CreatorName\\": \\"test\\",\\n \\"LastModifier\\": \\"30012021\\",\\n \\"LastModifierName\\": \\"test\\",\\n \\"CreateTime\\": \\"2025-06-30 00:00:00\\",\\n \\"ModifyTime\\": \\"2025-06-30 00:00:00\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'GetStandardTemplate' => [
+ 'summary' => '获取数据标准模板详情。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'Id',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '标准模板Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '22',
+ ],
+ ],
+ [
+ 'name' => 'Nullable',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '模板不存在时是否允许返回空值, 如果为false则会抛出异常,默认:true',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'FilterQuery',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '过滤条件',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Version' => [
+ 'title' => '版本号, 空或-1表示最新版本',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'TemplateInfo' => [
+ 'title' => '模板详情',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '标准模板Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '22',
+ ],
+ 'TemplateFrom' => [
+ 'title' => '标准模板来源: CUSTOM 自定义标准模板、SYSTEM 系统内置标准模板',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'SYSTEM',
+ ],
+ 'UniqueId' => [
+ 'title' => 'uniqueId',
+ 'description' => 'uniqueId',
+ 'type' => 'string',
+ 'example' => '1101',
+ ],
+ 'Version' => [
+ 'title' => '版本号',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'Name' => [
+ 'title' => '标准模板名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '测试模板',
+ ],
+ 'Code' => [
+ 'title' => '标准模板编码, 全局唯一;有引用时不可修改',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test01',
+ ],
+ 'Description' => [
+ 'title' => '标准模板描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'MaintainerList' => [
+ 'title' => '维护人员',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '用户Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '300000913',
+ ],
+ 'Name' => [
+ 'title' => '用户名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'susan',
+ ],
+ ],
+ ],
+ ],
+ 'Creator' => [
+ 'title' => '创建者',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '用户Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '300000913',
+ ],
+ 'Name' => [
+ 'title' => '用户名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'susan',
+ ],
+ ],
+ ],
+ 'LastModifier' => [
+ 'title' => '最近修改人',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '用户Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '300000913',
+ ],
+ 'Name' => [
+ 'title' => '用户名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'susan',
+ ],
+ ],
+ ],
+ 'CreateTime' => [
+ 'title' => '创建时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-06-30 00:00:00',
+ ],
+ 'ModifyTime' => [
+ 'title' => '修改时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-06-30 00:00:00',
+ ],
+ 'AttributesConfig' => [
+ 'title' => '属性配置',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'AttributeList' => [
+ 'title' => '属性列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => [
+ 'title' => '属性名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'attr1',
+ ],
+ 'Code' => [
+ 'title' => '属性编码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test_attr',
+ ],
+ 'Type' => [
+ 'title' => '属性类型:BIZ_ATTRIBUTE 业务属性、TECH_ATTRIBUTE 技术属性、MANAGEMENT_ATTRIBUTE 管理属性、QUALITY_ATTRIBUTE 质量属性、MASTER_DATA_ATTRIBUTE 主数据属性、LIFECYCLE_ATTRIBUTE 生命周期属性、SECURITY_ATTRIBUTE 安全属性',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'BIZ_ATTRIBUTE',
+ ],
+ 'Required' => [
+ 'title' => '是否必填',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'ValueConfig' => [
+ 'title' => '取值配置',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => [
+ 'title' => '属性值类型:CUSTOMIZED 自定义输入、SINGLE_ENUM 枚举单值、MULTIPLE_ENUMS 枚举多值、RANGE 范围值',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'CUSTOMIZED',
+ ],
+ 'DataType' => [
+ 'title' => '属性值的数据类型:STRING 字符串、BIGINT 数值类型、DOUBLE 浮点类型、DATE 日期,精确到天、DATETIME 日期,精确到ms、BOOLEAN 布尔型',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'STRING',
+ ],
+ 'Length' => [
+ 'title' => '属性值长度, 为空或-1表示不限制长度, 通常只有字符串类型才会限制属性值的长度',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'ValueRange' => [
+ 'title' => '取值范围',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ValueConstraint' => [
+ 'title' => '取值来源:NONE 无约束、LIST 从列表中获取、LOOKUP_TABLE 码表、MIN_MAX 在最大值和最小值之间取值、DATAPHIN_ATTRIBUTE Dataphin系统属性、BUILT_IN_DATA_TYPES 内置数据类型、BUILT_IN_DATA_CLASSIFICATION 内置数据分类、BUILT_IN_DATA_LEVEL 内置数据安全分级',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'NONE',
+ ],
+ 'ValueList' => [
+ 'title' => '取值范围,当取值来源取值为 LIST 生效',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '取值范围,当取值来源取值为 LIST 生效',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1',
+ ],
+ ],
+ 'MinMaxValueConfig' => [
+ 'title' => '取值范围,当取值来源取值为 MIN_MAX 生效',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'MinValue' => [
+ 'title' => '最小值',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '0',
+ ],
+ 'IncludeMinValue' => [
+ 'title' => '是否包含最小值',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'MaxValue' => [
+ 'title' => '最大值',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '100',
+ ],
+ 'IncludeMaxValue' => [
+ 'title' => '是否包含最大值',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ ],
+ ],
+ 'LookupTableReference' => [
+ 'title' => '取值范围,当取值来源取值为 LOOKUP_TABLE 生效',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'LookupTableId' => [
+ 'title' => '码表Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '11',
+ ],
+ 'Column' => [
+ 'title' => '引用的码表字段',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'col1',
+ ],
+ ],
+ ],
+ 'DataphinAttributeType' => [
+ 'title' => '取值范围,当取值来源取值为 DATAPHIN_ATTRIBUTE 生效:BIZ_UNIT 数据板块、PROJECT 项目、USER 用户、USER_GROUP 用户组',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'DATAPHIN_ATTRIBUTE',
+ ],
+ ],
+ ],
+ 'DefaultValue' => [
+ 'title' => '默认值',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ ],
+ ],
+ 'MonitorConfig' => [
+ 'title' => '监控配置',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => [
+ 'title' => '监控方式:METADATA 元数据监控、QUALITY 数据质量监控',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'METADATA',
+ ],
+ 'ColumnName' => [
+ 'title' => '检查的字段',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'column1',
+ ],
+ 'IsCaseSensitive' => [
+ 'title' => '大小写是否敏感',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ ],
+ ],
+ 'EnableMonitorConfig' => [
+ 'title' => '是否开启监控配置',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'Description' => [
+ 'title' => '描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'RefAttribute' => [
+ 'title' => '引用的属性信息',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'AttributeId' => [
+ 'title' => '属性Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '123',
+ ],
+ 'AttributeFromInfo' => [
+ 'title' => '属性来源',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'AttributeFrom' => [
+ 'title' => '属性来源:SYSTEM 系统属性、CUSTOM 自定义属性、STANDARD 标准',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'CUSTOM',
+ ],
+ 'StandardReference' => [
+ 'title' => '对应的标准,属性来源为 STANDARD 生效',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'StandardId' => [
+ 'title' => '标准Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '22',
+ ],
+ 'Version' => [
+ 'title' => '版本号',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'Id' => [
+ 'title' => '属性Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1011',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'CodeRuleConfig' => [
+ 'title' => '标准编码自动生成规则配置',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'GenerateType' => [
+ 'title' => '标准编码生成方式: CUSTOMIZED 自定义、AUTO_GENERATE 根据标准编码规则自动生成',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'CUSTOMIZED',
+ ],
+ 'AutoConfig' => [
+ 'title' => '标准编码规则自动生成配置, 当生产方式为 AUTO_GENERATE 生效',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'NeedStrongValidate' => [
+ 'title' => '是否强校验',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'CodeRuleList' => [
+ 'title' => '标准编码规则',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Index' => [
+ 'title' => '编码规则位置索引',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'Type' => [
+ 'title' => '编码规则类型:FIXED_STRING 固定字符串、AUTO_INCREMENT 自增序列、STANDARD_SET_CODE 标准集编码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'FIXED_STRING',
+ ],
+ 'Value' => [
+ 'title' => '编码规则格式/值',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'AutoIncrementSequenceConfig' => [
+ 'title' => '自增序列配置',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Digit' => [
+ 'title' => '位数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '3',
+ ],
+ 'StartValue' => [
+ 'title' => '起始值',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'Step' => [
+ 'title' => '步长',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'NeedPaddingZero' => [
+ 'title' => '是否补零',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"TemplateInfo\\": {\\n \\"Id\\": 22,\\n \\"TemplateFrom\\": \\"SYSTEM\\",\\n \\"UniqueId\\": \\"1101\\",\\n \\"Version\\": 1,\\n \\"Name\\": \\"测试模板\\",\\n \\"Code\\": \\"test01\\",\\n \\"Description\\": \\"test\\",\\n \\"MaintainerList\\": [\\n {\\n \\"Id\\": \\"300000913\\",\\n \\"Name\\": \\"susan\\"\\n }\\n ],\\n \\"Creator\\": {\\n \\"Id\\": \\"300000913\\",\\n \\"Name\\": \\"susan\\"\\n },\\n \\"LastModifier\\": {\\n \\"Id\\": \\"300000913\\",\\n \\"Name\\": \\"susan\\"\\n },\\n \\"CreateTime\\": \\"2025-06-30 00:00:00\\",\\n \\"ModifyTime\\": \\"2025-06-30 00:00:00\\",\\n \\"AttributesConfig\\": {\\n \\"AttributeList\\": [\\n {\\n \\"Name\\": \\"attr1\\",\\n \\"Code\\": \\"test_attr\\",\\n \\"Type\\": \\"BIZ_ATTRIBUTE\\",\\n \\"Required\\": true,\\n \\"ValueConfig\\": {\\n \\"Type\\": \\"CUSTOMIZED\\",\\n \\"DataType\\": \\"STRING\\",\\n \\"Length\\": 1,\\n \\"ValueRange\\": {\\n \\"ValueConstraint\\": \\"NONE\\",\\n \\"ValueList\\": [\\n \\"1\\"\\n ],\\n \\"MinMaxValueConfig\\": {\\n \\"MinValue\\": \\"0\\",\\n \\"IncludeMinValue\\": true,\\n \\"MaxValue\\": \\"100\\",\\n \\"IncludeMaxValue\\": true\\n },\\n \\"LookupTableReference\\": {\\n \\"LookupTableId\\": 11,\\n \\"Column\\": \\"col1\\"\\n },\\n \\"DataphinAttributeType\\": \\"DATAPHIN_ATTRIBUTE\\"\\n },\\n \\"DefaultValue\\": \\"test\\"\\n },\\n \\"MonitorConfig\\": {\\n \\"Type\\": \\"METADATA\\",\\n \\"ColumnName\\": \\"column1\\",\\n \\"IsCaseSensitive\\": true\\n },\\n \\"EnableMonitorConfig\\": true,\\n \\"Description\\": \\"test\\",\\n \\"RefAttribute\\": {\\n \\"AttributeId\\": 123,\\n \\"AttributeFromInfo\\": {\\n \\"AttributeFrom\\": \\"CUSTOM\\",\\n \\"StandardReference\\": {\\n \\"StandardId\\": 22,\\n \\"Version\\": 1\\n }\\n }\\n },\\n \\"Id\\": 1011\\n }\\n ]\\n },\\n \\"CodeRuleConfig\\": {\\n \\"GenerateType\\": \\"CUSTOMIZED\\",\\n \\"AutoConfig\\": {\\n \\"NeedStrongValidate\\": true,\\n \\"CodeRuleList\\": [\\n {\\n \\"Index\\": 1,\\n \\"Type\\": \\"FIXED_STRING\\",\\n \\"Value\\": \\"test\\",\\n \\"AutoIncrementSequenceConfig\\": {\\n \\"Digit\\": 3,\\n \\"StartValue\\": 1,\\n \\"Step\\": 1,\\n \\"NeedPaddingZero\\": true\\n }\\n }\\n ]\\n }\\n }\\n }\\n}","type":"json"}]',
+ ],
+ 'GetStandardStatistics' => [
+ 'summary' => '查询目录下按照标准类型统计标准数目。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'StatisticsQuery',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '统计查询指令',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Directory' => [
+ 'title' => '所属目录,会搜索包括该目录的所有子目录下的标准',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '/dir1',
+ ],
+ 'StandardStageList' => [
+ 'title' => '标准所属stage',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '标准所属stage',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'dev',
+ ],
+ 'required' => false,
+ ],
+ 'CreateTimePeriod' => [
+ 'title' => '创建时间段',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'StartTime' => [
+ 'title' => '起始时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2025-06-01 00:00:00',
+ ],
+ 'EndTime' => [
+ 'title' => '结束时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2025-06-30 00:00:00',
+ ],
+ 'IncludeEndTime' => [
+ 'title' => '是否包含结束时间, 默认:false',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'Data' => [
+ 'title' => '统计结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'StandardTypeCountList' => [
+ 'title' => '标准类型以及每个类型的标准数目的对应关系, 如果标准本身的类型为空则key为EMPTY',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'StandardType' => [
+ 'title' => '标准类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'Count' => [
+ 'title' => '标准数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '11',
+ ],
+ ],
+ ],
+ ],
+ 'TotalCount' => [
+ 'title' => '总标准数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '101',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"Data\\": {\\n \\"StandardTypeCountList\\": [\\n {\\n \\"StandardType\\": \\"test\\",\\n \\"Count\\": 11\\n }\\n ],\\n \\"TotalCount\\": 101\\n }\\n}","type":"json"}]',
+ ],
+ 'GetStandardSet' => [
+ 'summary' => '获取标准集详情。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'Id',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '标准集Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '1234',
+ ],
+ ],
+ [
+ 'name' => 'Nullable',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '标准集不存在时是否允许返回空值, 如果为false则会抛出异常,默认:true',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'StandardSetInfo' => [
+ 'title' => '标准集详情',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '标准集Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1234',
+ ],
+ 'Name' => [
+ 'title' => '标准集名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'Code' => [
+ 'title' => '标准集编码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'CITY',
+ ],
+ 'Description' => [
+ 'title' => '标准集描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'DirectoryReference' => [
+ 'title' => '归属目录',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Directory' => [
+ 'title' => '所属目录',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '/dir1',
+ ],
+ ],
+ ],
+ 'MaintainerList' => [
+ 'title' => '维护人员/责任人',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '用户Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '300000913',
+ ],
+ 'Name' => [
+ 'title' => '用户名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'susan',
+ ],
+ ],
+ ],
+ ],
+ 'MemberList' => [
+ 'title' => '成员',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '用户Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '300000913',
+ ],
+ 'Name' => [
+ 'title' => '用户名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'susan',
+ ],
+ ],
+ ],
+ ],
+ 'MemberGroupList' => [
+ 'title' => '成员组',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '用户组Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1121',
+ ],
+ 'Name' => [
+ 'title' => '用户组名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'testGroup',
+ ],
+ ],
+ ],
+ ],
+ 'VisibilityConfig' => [
+ 'title' => '可见性配置',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => [
+ 'title' => '可见类型: PUBLIC 公开、PRIVATE 私有,仅标准集人员/管理员、SPECIFIED 指定人可见',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'PUBLIC',
+ ],
+ 'SpecifiedUserList' => [
+ 'title' => '指定可见的人员列表,当可见类型为 SPECIFIED 生效',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '用户Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '300000913',
+ ],
+ 'Name' => [
+ 'title' => '用户名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'susan',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'Creator' => [
+ 'title' => '创建者',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '用户Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '300000913',
+ ],
+ 'Name' => [
+ 'title' => '用户名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'susan',
+ ],
+ ],
+ ],
+ 'LastModifier' => [
+ 'title' => '最近修改人',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '用户Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '300000913',
+ ],
+ 'Name' => [
+ 'title' => '用户名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'susan',
+ ],
+ ],
+ ],
+ 'CreateTime' => [
+ 'title' => '创建时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-06-30 00:00:00',
+ ],
+ 'ModifyTime' => [
+ 'title' => '最近修改时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-06-30 00:00:00',
+ ],
+ 'ApprovalConfig' => [
+ 'title' => '上线审批配置',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'EnableApproval' => [
+ 'title' => '是否开启审批',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'IsSubmitInBatch' => [
+ 'title' => '是否批量提交审批',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'ApprovalType' => [
+ 'title' => '审批流程类型:BY_DEFAULT 默认审批类型、BY_TEMPLATE 基于审批模板',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'BY_DEFAULT',
+ ],
+ 'TemplateId' => [
+ 'title' => '审批模板Id,当审批流程类型为 BY_TEMPLATE 生效',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1121',
+ ],
+ ],
+ ],
+ 'OfflineApprovalConfig' => [
+ 'title' => '下线审批配置',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'EnableApproval' => [
+ 'title' => '是否开启审批',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'IsSubmitInBatch' => [
+ 'title' => '是否批量提交审批',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'ApprovalType' => [
+ 'title' => '审批流程类型:BY_DEFAULT 默认审批类型、BY_TEMPLATE 基于审批模板',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'BY_DEFAULT',
+ ],
+ 'TemplateId' => [
+ 'title' => '审批模板Id,当审批流程类型为 BY_TEMPLATE 生效',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1121',
+ ],
+ ],
+ ],
+ 'DefaultStandardTemplateId' => [
+ 'title' => '默认标准模板ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1001',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"StandardSetInfo\\": {\\n \\"Id\\": 1234,\\n \\"Name\\": \\"test\\",\\n \\"Code\\": \\"CITY\\",\\n \\"Description\\": \\"test\\",\\n \\"DirectoryReference\\": {\\n \\"Directory\\": \\"/dir1\\"\\n },\\n \\"MaintainerList\\": [\\n {\\n \\"Id\\": \\"300000913\\",\\n \\"Name\\": \\"susan\\"\\n }\\n ],\\n \\"MemberList\\": [\\n {\\n \\"Id\\": \\"300000913\\",\\n \\"Name\\": \\"susan\\"\\n }\\n ],\\n \\"MemberGroupList\\": [\\n {\\n \\"Id\\": \\"1121\\",\\n \\"Name\\": \\"testGroup\\"\\n }\\n ],\\n \\"VisibilityConfig\\": {\\n \\"Type\\": \\"PUBLIC\\",\\n \\"SpecifiedUserList\\": [\\n {\\n \\"Id\\": \\"300000913\\",\\n \\"Name\\": \\"susan\\"\\n }\\n ]\\n },\\n \\"Creator\\": {\\n \\"Id\\": \\"300000913\\",\\n \\"Name\\": \\"susan\\"\\n },\\n \\"LastModifier\\": {\\n \\"Id\\": \\"300000913\\",\\n \\"Name\\": \\"susan\\"\\n },\\n \\"CreateTime\\": \\"2025-06-30 00:00:00\\",\\n \\"ModifyTime\\": \\"2025-06-30 00:00:00\\",\\n \\"ApprovalConfig\\": {\\n \\"EnableApproval\\": true,\\n \\"IsSubmitInBatch\\": true,\\n \\"ApprovalType\\": \\"BY_DEFAULT\\",\\n \\"TemplateId\\": 1121\\n },\\n \\"OfflineApprovalConfig\\": {\\n \\"EnableApproval\\": true,\\n \\"IsSubmitInBatch\\": true,\\n \\"ApprovalType\\": \\"BY_DEFAULT\\",\\n \\"TemplateId\\": 1121\\n },\\n \\"DefaultStandardTemplateId\\": 1001\\n }\\n}","type":"json"}]',
+ ],
+ 'GetStandardLookupTable' => [
+ 'summary' => '获取数据标准码表详情。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'Id',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '码表Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '1234',
+ ],
+ ],
+ [
+ 'name' => 'Nullable',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '码表不存在时是否允许返回空值, 如果为false则会抛出异常,默认:true',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'LookupTableInfo' => [
+ 'title' => '码表详情',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '码表Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1234',
+ ],
+ 'Name' => [
+ 'title' => '码表名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '城市码表',
+ ],
+ 'Code' => [
+ 'title' => '码表编码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'CITY',
+ ],
+ 'Description' => [
+ 'title' => '码表描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'Creator' => [
+ 'title' => '创建人用户ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30012021',
+ ],
+ 'CreatorName' => [
+ 'title' => '创建人用户名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'LastModifier' => [
+ 'title' => '最近更新人用户ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30012021',
+ ],
+ 'LastModifierName' => [
+ 'title' => '最近更新人用户名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'Owner' => [
+ 'title' => '负责人用户ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30012021',
+ ],
+ 'OwnerName' => [
+ 'title' => '负责人用户名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'CreateTime' => [
+ 'title' => '创建时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-06-30 00:00:00',
+ ],
+ 'ModifyTime' => [
+ 'title' => '修改时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-06-30 00:00:00',
+ ],
+ 'LookupTableValueList' => [
+ 'title' => '码表值列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Value' => [
+ 'title' => '代码值',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '杭州',
+ ],
+ 'Name' => [
+ 'title' => '代码名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'Hangzhou',
+ ],
+ 'EnglishName' => [
+ 'title' => '代码英文名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'HZ',
+ ],
+ 'Description' => [
+ 'title' => '代码描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ ],
+ ],
+ ],
+ 'DirectoryReference' => [
+ 'title' => '归属目录',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Directory' => [
+ 'title' => '归属目录',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '/dir1/dir2',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"LookupTableInfo\\": {\\n \\"Id\\": 1234,\\n \\"Name\\": \\"城市码表\\",\\n \\"Code\\": \\"CITY\\",\\n \\"Description\\": \\"test\\",\\n \\"Creator\\": \\"30012021\\",\\n \\"CreatorName\\": \\"test\\",\\n \\"LastModifier\\": \\"30012021\\",\\n \\"LastModifierName\\": \\"test\\",\\n \\"Owner\\": \\"30012021\\",\\n \\"OwnerName\\": \\"test\\",\\n \\"CreateTime\\": \\"2025-06-30 00:00:00\\",\\n \\"ModifyTime\\": \\"2025-06-30 00:00:00\\",\\n \\"LookupTableValueList\\": [\\n {\\n \\"Value\\": \\"杭州\\",\\n \\"Name\\": \\"Hangzhou\\",\\n \\"EnglishName\\": \\"HZ\\",\\n \\"Description\\": \\"test\\"\\n }\\n ],\\n \\"DirectoryReference\\": {\\n \\"Directory\\": \\"/dir1/dir2\\"\\n }\\n }\\n}","type":"json"}]',
+ ],
+ 'GetStandard' => [
+ 'summary' => '获取标准详情。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'StandardGetQuery',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '查询指令',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'StandardId' => [
+ 'title' => '标准Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '1234',
+ ],
+ 'Nullable' => [
+ 'title' => '标准不存在时是否允许返回空值, 如果为false则会抛出异常,默认:true',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ ],
+ 'Version' => [
+ 'title' => '版本号, 为空表示最新版本',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ 'StandardStage' => [
+ 'title' => '所属阶段:dev、prod, 默认:prod',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'dev',
+ ],
+ 'NeedRelation' => [
+ 'title' => '是否需要返回关联标准和关联码表, 默认:false',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'StandardInfo' => [
+ 'title' => '标准详情',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '码表',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1234',
+ ],
+ 'Version' => [
+ 'title' => '版本号',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'Status' => [
+ 'title' => '标准的状态',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'draft',
+ ],
+ 'Stage' => [
+ 'title' => '标准所属的阶段',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'dev',
+ ],
+ 'StandardTemplate' => [
+ 'title' => '当前标准依赖的标准模板',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '标准模板Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'Name' => [
+ 'title' => '标准模板名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'Code' => [
+ 'title' => '标准模板编码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1121',
+ ],
+ 'TemplateFrom' => [
+ 'title' => '标准模板来源: CUSTOM 自定义标准模板、SYSTEM 系统内置标准模板',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'SYSTEM',
+ ],
+ 'Version' => [
+ 'title' => '版本号',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ ],
+ ],
+ 'StandardSet' => [
+ 'title' => '当前标准依赖的标准集',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '标准集Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'Name' => [
+ 'title' => '标准集名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'Code' => [
+ 'title' => '标准集编码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'cc',
+ ],
+ 'Directory' => [
+ 'title' => '标准集所属的目录',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '/dir1',
+ ],
+ ],
+ ],
+ 'EffectiveTimeConfig' => [
+ 'title' => '生效时间配置',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => [
+ 'title' => '生效时间类型: FOREVER 永久、TIME_PERIOD 时间段',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'TIME_PERIOD',
+ ],
+ 'StartTime' => [
+ 'title' => '开始生效时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-06-30 00:00:00',
+ ],
+ 'EndTime' => [
+ 'title' => '结束生效时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-12-30 00:00:00',
+ ],
+ ],
+ ],
+ 'Description' => [
+ 'title' => '描述信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'Owner' => [
+ 'title' => '负责人',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '用户Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '300000913',
+ ],
+ 'Name' => [
+ 'title' => '用户名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'susan',
+ ],
+ ],
+ ],
+ 'Name' => [
+ 'title' => '标准名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'EnglishName' => [
+ 'title' => '标准英文名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'Code' => [
+ 'title' => '标准编码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'zz',
+ ],
+ 'Type' => [
+ 'title' => '标准类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'zz',
+ ],
+ 'ModifyTime' => [
+ 'title' => '最近修改时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-06-30 00:00:00',
+ ],
+ 'LastModifier' => [
+ 'title' => '最近更新人',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '用户Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '300000913',
+ ],
+ 'Name' => [
+ 'title' => '用户名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'susan',
+ ],
+ ],
+ ],
+ 'Creator' => [
+ 'title' => '创建者',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '用户Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '300000913',
+ ],
+ 'Name' => [
+ 'title' => '用户名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'susan',
+ ],
+ ],
+ ],
+ 'AttributeWithValueList' => [
+ 'title' => '属性值配置',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Attribute' => [
+ 'title' => '属性详情',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => [
+ 'title' => '属性名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'attr1',
+ ],
+ 'Code' => [
+ 'title' => '属性编码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test_attr',
+ ],
+ 'Type' => [
+ 'title' => '属性类型:BIZ_ATTRIBUTE 业务属性、TECH_ATTRIBUTE 技术属性、MANAGEMENT_ATTRIBUTE 管理属性、QUALITY_ATTRIBUTE 质量属性、MASTER_DATA_ATTRIBUTE 主数据属性、LIFECYCLE_ATTRIBUTE 生命周期属性、SECURITY_ATTRIBUTE 安全属性',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'BIZ_ATTRIBUTE',
+ ],
+ 'Required' => [
+ 'title' => '是否必填',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'ValueConfig' => [
+ 'title' => '取值配置',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => [
+ 'title' => '属性值类型:CUSTOMIZED 自定义输入、SINGLE_ENUM 枚举单值、MULTIPLE_ENUMS 枚举多值、RANGE 范围值',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'CUSTOMIZED',
+ ],
+ 'DataType' => [
+ 'title' => '属性值的数据类型:STRING 字符串、BIGINT 数值类型、DOUBLE 浮点类型、DATE 日期,精确到天、DATETIME 日期,精确到ms、BOOLEAN 布尔型',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'STRING',
+ ],
+ 'Length' => [
+ 'title' => '属性值长度, 为空或-1表示不限制长度, 通常只有字符串类型才会限制属性值的长度',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'ValueRange' => [
+ 'title' => '取值范围',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ValueConstraint' => [
+ 'title' => '取值来源:NONE 无约束、LIST 从列表中获取、LOOKUP_TABLE 码表、MIN_MAX 在最大值和最小值之间取值、DATAPHIN_ATTRIBUTE Dataphin系统属性、BUILT_IN_DATA_TYPES 内置数据类型、BUILT_IN_DATA_CLASSIFICATION 内置数据分类、BUILT_IN_DATA_LEVEL 内置数据安全分级',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'NONE',
+ ],
+ 'ValueList' => [
+ 'title' => '取值范围,当取值来源取值为 LIST 生效',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '取值范围,当取值来源取值为 LIST 生效',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1',
+ ],
+ ],
+ 'MinMaxValueConfig' => [
+ 'title' => '取值范围,当取值来源取值为 MIN_MAX 生效',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'MinValue' => [
+ 'title' => '最小值',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '0',
+ ],
+ 'IncludeMinValue' => [
+ 'title' => '是否包含最小值',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'MaxValue' => [
+ 'title' => '最大值',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '100',
+ ],
+ 'IncludeMaxValue' => [
+ 'title' => '是否包含最大值',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ ],
+ ],
+ 'LookupTableReference' => [
+ 'title' => '取值范围,当取值来源取值为 LOOKUP_TABLE 生效',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'LookupTableId' => [
+ 'title' => '码表Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '11',
+ ],
+ 'Column' => [
+ 'title' => '引用的码表字段',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'col1',
+ ],
+ ],
+ ],
+ 'DataphinAttributeType' => [
+ 'title' => '取值范围,当取值来源取值为 DATAPHIN_ATTRIBUTE 生效:BIZ_UNIT 数据板块、PROJECT 项目、USER 用户、USER_GROUP 用户组',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'DATAPHIN_ATTRIBUTE',
+ ],
+ ],
+ ],
+ 'DefaultValue' => [
+ 'title' => '默认值',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ ],
+ ],
+ 'MonitorConfig' => [
+ 'title' => '监控配置',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => [
+ 'title' => '监控方式:METADATA 元数据监控、QUALITY 数据质量监控',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'METADATA',
+ ],
+ 'ColumnName' => [
+ 'title' => '检查的字段',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'column1',
+ ],
+ 'IsCaseSensitive' => [
+ 'title' => '大小写是否敏感',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ ],
+ ],
+ 'EnableMonitorConfig' => [
+ 'title' => '是否开启监控配置',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'Description' => [
+ 'title' => '描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'RefAttribute' => [
+ 'title' => '引用的属性信息',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'AttributeId' => [
+ 'title' => '属性Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '123',
+ ],
+ 'AttributeFromInfo' => [
+ 'title' => '属性来源',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'AttributeFrom' => [
+ 'title' => '属性来源:SYSTEM 系统属性、CUSTOM 自定义属性、STANDARD 标准',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'CUSTOM',
+ ],
+ 'StandardReference' => [
+ 'title' => '对应的标准,属性来源为 STANDARD 生效',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'StandardId' => [
+ 'title' => '标准Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '22',
+ ],
+ 'Version' => [
+ 'title' => '版本号',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'Id' => [
+ 'title' => '属性Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1011',
+ ],
+ ],
+ ],
+ 'Value' => [
+ 'title' => '属性值',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ ],
+ ],
+ ],
+ 'StandardGeneralMonitorConfig' => [
+ 'title' => '标准监控配置',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'StandardMonitorConfigList' => [
+ 'title' => '标准监控配置列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '监控配置Id:若为空会创建新的监控配置, 若传入已有的监控配置Id会更新相应的监控配置',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'RuleName' => [
+ 'title' => '规则名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'Description' => [
+ 'title' => '规则描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'Type' => [
+ 'title' => '监控类型:METADATA 元数据监控、QUALITY 数据质量监控',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'METADATA',
+ ],
+ 'MonitorFrom' => [
+ 'title' => '添加方式:BY_USER 手动添加、BY_SYSTEM_ATTRIBUTE 系统属性预置',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'BY_SYSTEM_ATTRIBUTE',
+ ],
+ 'AttributeId' => [
+ 'title' => '关联的属性Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '112',
+ ],
+ 'AttributeName' => [
+ 'title' => '属性名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'teset',
+ ],
+ 'AttributeMonitorConfig' => [
+ 'title' => '关联属性的监控配置',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => [
+ 'title' => '监控方式:METADATA 元数据监控、QUALITY 数据质量监控',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'METADATA',
+ ],
+ 'ColumnName' => [
+ 'title' => '检查的字段',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'column1',
+ ],
+ 'IsCaseSensitive' => [
+ 'title' => '大小写是否敏感',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ ],
+ ],
+ 'RuleSubType' => [
+ 'title' => '规则子类型:BY_ATTRIBUTE 根据属性配置、CUSTOMIZED 自定义配置,当监控类型为 QUALITY 时必填',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'CUSTOMIZED',
+ ],
+ 'QualityRuleTemplate' => [
+ 'title' => '规则模板, 当监控类型为 QUALITY 时必填',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '模板Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '22',
+ ],
+ 'Type' => [
+ 'title' => '模板来源: FROM_SYSTEM 系统模板、CUSTOMIZED 自定义模板',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'CUSTOMIZED',
+ ],
+ 'Name' => [
+ 'title' => '模板名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'CUSTOMIZED',
+ ],
+ ],
+ ],
+ 'RuleConfigList' => [
+ 'title' => '规则配置, 当监控类型为 QUALITY 时必填',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => [
+ 'title' => '配置项',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'k1',
+ ],
+ 'Value' => [
+ 'title' => '配置项值',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'v1',
+ ],
+ ],
+ ],
+ ],
+ 'RuleValidateConfigList' => [
+ 'title' => '规则校验配置, 当监控类型为 QUALITY 时必填',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '校验配置Id, 由业务随机生成且确保唯一',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'abc',
+ ],
+ 'ParentId' => [
+ 'title' => '父校验配置Id, 父规则校验类型只能是RELATION',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'a',
+ ],
+ 'Type' => [
+ 'title' => '规则校验类型: RELATION 关系、EXPRESSION 表达式',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'RELATION',
+ ],
+ 'Operator' => [
+ 'title' => '如果校验类型是 EXPRESSION: EQUAL 等于、NOT_EQUAL 不等于、LARGER 大于、LARGE_OR_EQUAL 大于或等于、SMALLER 小于、SMALLER_OR_EQUAL 小于或等于; 如果校验类型是 RELATION: AND 且、OR 或',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'AND',
+ ],
+ 'Metric' => [
+ 'title' => '指标, 校验类型为 EXPRESSION 时必填',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'a',
+ ],
+ 'MetricName' => [
+ 'title' => '指标名称, 校验类型为 EXPRESSION 时必填',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'Value' => [
+ 'title' => '比较的值',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'StandardRelations' => [
+ 'title' => '关联标准列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'StandardId' => [
+ 'title' => '标准Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1121',
+ ],
+ 'Version' => [
+ 'title' => '标准版本号',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'StandardStage' => [
+ 'title' => '标准所处阶段',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'DEV',
+ ],
+ 'StandardStatus' => [
+ 'title' => '标准状态',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'draft',
+ ],
+ 'RelationType' => [
+ 'title' => '关联关系类型: RELATIVE',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'RELATIVE',
+ ],
+ ],
+ ],
+ ],
+ 'LookupTableRelations' => [
+ 'title' => '关联码表列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'LookupTableId' => [
+ 'title' => '码表Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1121',
+ ],
+ 'LookupTableCode' => [
+ 'title' => '码表编码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'AttributeId' => [
+ 'title' => '属性Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1122',
+ ],
+ 'AttributeName' => [
+ 'title' => '属性名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'AttributeCode' => [
+ 'title' => '属性名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'zz',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"StandardInfo\\": {\\n \\"Id\\": 1234,\\n \\"Version\\": 1,\\n \\"Status\\": \\"draft\\",\\n \\"Stage\\": \\"dev\\",\\n \\"StandardTemplate\\": {\\n \\"Id\\": 1,\\n \\"Name\\": \\"test\\",\\n \\"Code\\": \\"1121\\",\\n \\"TemplateFrom\\": \\"SYSTEM\\",\\n \\"Version\\": 1\\n },\\n \\"StandardSet\\": {\\n \\"Id\\": 1,\\n \\"Name\\": \\"test\\",\\n \\"Code\\": \\"cc\\",\\n \\"Directory\\": \\"/dir1\\"\\n },\\n \\"EffectiveTimeConfig\\": {\\n \\"Type\\": \\"TIME_PERIOD\\",\\n \\"StartTime\\": \\"2025-06-30 00:00:00\\",\\n \\"EndTime\\": \\"2025-12-30 00:00:00\\"\\n },\\n \\"Description\\": \\"test\\",\\n \\"Owner\\": {\\n \\"Id\\": \\"300000913\\",\\n \\"Name\\": \\"susan\\"\\n },\\n \\"Name\\": \\"test\\",\\n \\"EnglishName\\": \\"test\\",\\n \\"Code\\": \\"zz\\",\\n \\"Type\\": \\"zz\\",\\n \\"ModifyTime\\": \\"2025-06-30 00:00:00\\",\\n \\"LastModifier\\": {\\n \\"Id\\": \\"300000913\\",\\n \\"Name\\": \\"susan\\"\\n },\\n \\"Creator\\": {\\n \\"Id\\": \\"300000913\\",\\n \\"Name\\": \\"susan\\"\\n },\\n \\"AttributeWithValueList\\": [\\n {\\n \\"Attribute\\": {\\n \\"Name\\": \\"attr1\\",\\n \\"Code\\": \\"test_attr\\",\\n \\"Type\\": \\"BIZ_ATTRIBUTE\\",\\n \\"Required\\": true,\\n \\"ValueConfig\\": {\\n \\"Type\\": \\"CUSTOMIZED\\",\\n \\"DataType\\": \\"STRING\\",\\n \\"Length\\": 1,\\n \\"ValueRange\\": {\\n \\"ValueConstraint\\": \\"NONE\\",\\n \\"ValueList\\": [\\n \\"1\\"\\n ],\\n \\"MinMaxValueConfig\\": {\\n \\"MinValue\\": \\"0\\",\\n \\"IncludeMinValue\\": true,\\n \\"MaxValue\\": \\"100\\",\\n \\"IncludeMaxValue\\": true\\n },\\n \\"LookupTableReference\\": {\\n \\"LookupTableId\\": 11,\\n \\"Column\\": \\"col1\\"\\n },\\n \\"DataphinAttributeType\\": \\"DATAPHIN_ATTRIBUTE\\"\\n },\\n \\"DefaultValue\\": \\"test\\"\\n },\\n \\"MonitorConfig\\": {\\n \\"Type\\": \\"METADATA\\",\\n \\"ColumnName\\": \\"column1\\",\\n \\"IsCaseSensitive\\": true\\n },\\n \\"EnableMonitorConfig\\": true,\\n \\"Description\\": \\"test\\",\\n \\"RefAttribute\\": {\\n \\"AttributeId\\": 123,\\n \\"AttributeFromInfo\\": {\\n \\"AttributeFrom\\": \\"CUSTOM\\",\\n \\"StandardReference\\": {\\n \\"StandardId\\": 22,\\n \\"Version\\": 1\\n }\\n }\\n },\\n \\"Id\\": 1011\\n },\\n \\"Value\\": \\"test\\"\\n }\\n ],\\n \\"StandardGeneralMonitorConfig\\": {\\n \\"StandardMonitorConfigList\\": [\\n {\\n \\"Id\\": 1,\\n \\"RuleName\\": \\"test\\",\\n \\"Description\\": \\"test\\",\\n \\"Type\\": \\"METADATA\\",\\n \\"MonitorFrom\\": \\"BY_SYSTEM_ATTRIBUTE\\",\\n \\"AttributeId\\": 112,\\n \\"AttributeName\\": \\"teset\\",\\n \\"AttributeMonitorConfig\\": {\\n \\"Type\\": \\"METADATA\\",\\n \\"ColumnName\\": \\"column1\\",\\n \\"IsCaseSensitive\\": true\\n },\\n \\"RuleSubType\\": \\"CUSTOMIZED\\",\\n \\"QualityRuleTemplate\\": {\\n \\"Id\\": 22,\\n \\"Type\\": \\"CUSTOMIZED\\",\\n \\"Name\\": \\"CUSTOMIZED\\"\\n },\\n \\"RuleConfigList\\": [\\n {\\n \\"Key\\": \\"k1\\",\\n \\"Value\\": \\"v1\\"\\n }\\n ],\\n \\"RuleValidateConfigList\\": [\\n {\\n \\"Id\\": \\"abc\\",\\n \\"ParentId\\": \\"a\\",\\n \\"Type\\": \\"RELATION\\",\\n \\"Operator\\": \\"AND\\",\\n \\"Metric\\": \\"a\\",\\n \\"MetricName\\": \\"test\\",\\n \\"Value\\": \\"1\\"\\n }\\n ]\\n }\\n ]\\n },\\n \\"StandardRelations\\": [\\n {\\n \\"StandardId\\": 1121,\\n \\"Version\\": 1,\\n \\"StandardStage\\": \\"DEV\\",\\n \\"StandardStatus\\": \\"draft\\",\\n \\"RelationType\\": \\"RELATIVE\\"\\n }\\n ],\\n \\"LookupTableRelations\\": [\\n {\\n \\"LookupTableId\\": 1121,\\n \\"LookupTableCode\\": \\"test\\",\\n \\"AttributeId\\": 1122,\\n \\"AttributeName\\": \\"test\\",\\n \\"AttributeCode\\": \\"zz\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'DeleteStandardWordRoot' => [
+ 'summary' => '删除数据标准词根。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'Name',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '词根名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '平均值',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'Id of the request',
+ 'type' => 'string',
+ 'example' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\"\\n}","type":"json"}]',
+ ],
+ 'DeleteStandardValidMapping' => [
+ 'summary' => '删除有效映射关系。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'DeleteCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '删除指令',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'StandardId' => [
+ 'title' => '标准Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '1',
+ ],
+ 'GuidList' => [
+ 'title' => 'guid列表,上限为1000',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => 'guid列表,上限为1000',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1022',
+ ],
+ 'required' => false,
+ ],
+ 'BelongGuidList' => [
+ 'title' => '所属guid列表,上限为1000',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '所属guid列表,上限为1000',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1023',
+ ],
+ 'required' => false,
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\"\\n}","type":"json"}]',
+ ],
+ 'DeleteStandardSet' => [
+ 'summary' => '删除标准集。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'Id',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '标准集Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '1234',
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\"\\n}","type":"json"}]',
+ ],
+ 'DeleteStandardRelations' => [
+ 'summary' => '批量删除标准关联关系。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'DeleteCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '删除指令',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'StandardId' => [
+ 'title' => '标准Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '1',
+ ],
+ 'StandardRefList' => [
+ 'title' => '被引用的标准列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'StandardId' => [
+ 'title' => '标准Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '2',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => true,
+ ],
+ 'RelationType' => [
+ 'title' => '标准关联关系:RELATIVE',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'RELATIVE',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'Data' => [
+ 'title' => '删除结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'SuccessCount' => [
+ 'title' => '添加成功数目',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '2',
+ ],
+ 'NotExistStandardIdList' => [
+ 'title' => '不存在标准Id列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '不存在标准Id列表',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1021',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"Data\\": {\\n \\"SuccessCount\\": 2,\\n \\"NotExistStandardIdList\\": [\\n 1021\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'DeleteStandardLookupTable' => [
+ 'summary' => '删除数据标准码表。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'Id',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '码表Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '1234',
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\"\\n}","type":"json"}]',
+ ],
+ 'DeleteStandardInValidMapping' => [
+ 'summary' => '删除无效映射关系。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'DeleteCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '删除指令',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'StandardId' => [
+ 'title' => '标准Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '1',
+ ],
+ 'GuidList' => [
+ 'title' => 'guid列表,上限为1000',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => 'guid列表,上限为1000',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1022',
+ ],
+ 'required' => false,
+ ],
+ 'BelongGuidList' => [
+ 'title' => '所属guid列表,上限为1000',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '所属guid列表,上限为1000',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1023',
+ ],
+ 'required' => false,
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\"\\n}","type":"json"}]',
+ ],
+ 'DeleteStandard' => [
+ 'summary' => '删除标准。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'DeleteCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '删除指令',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '标准Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '1234',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\"\\n}","type":"json"}]',
+ ],
+ 'CreateStandardWordRoot' => [
+ 'summary' => '创建数据标准词根。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'CreateCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '创建指令',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => [
+ 'title' => '词根名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '平均值',
+ ],
+ 'FullName' => [
+ 'title' => '词根全称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'average',
+ ],
+ 'Abbreviation' => [
+ 'title' => '词根缩写',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'avg',
+ ],
+ 'Description' => [
+ 'title' => '词根描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'Data' => [
+ 'title' => '词根名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'average',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"Data\\": \\"average\\"\\n}","type":"json"}]',
+ ],
+ 'CreateStandardTemplate' => [
+ 'summary' => '创建数据标准模板。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'CreateCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '创建指令',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => [
+ 'title' => '标准模板名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '测试模板',
+ ],
+ 'Code' => [
+ 'title' => '标准模板编码, 全局唯一;有引用时不可修改',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'test01',
+ ],
+ 'Description' => [
+ 'title' => '标准模板描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ 'MaintainerList' => [
+ 'title' => '维护人员',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '维护人员',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '300000913',
+ ],
+ 'required' => false,
+ ],
+ 'AttributesConfig' => [
+ 'title' => '属性配置',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'AttributeList' => [
+ 'title' => '属性列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => [
+ 'title' => '属性名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'attr1',
+ ],
+ 'Code' => [
+ 'title' => '属性编码',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test_attr',
+ ],
+ 'Type' => [
+ 'title' => '属性类型:BIZ_ATTRIBUTE 业务属性、TECH_ATTRIBUTE 技术属性、MANAGEMENT_ATTRIBUTE 管理属性、QUALITY_ATTRIBUTE 质量属性、MASTER_DATA_ATTRIBUTE 主数据属性、LIFECYCLE_ATTRIBUTE 生命周期属性、SECURITY_ATTRIBUTE 安全属性',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'BIZ_ATTRIBUTE',
+ ],
+ 'Required' => [
+ 'title' => '是否必填',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ ],
+ 'ValueConfig' => [
+ 'title' => '取值配置',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => [
+ 'title' => '属性值类型:CUSTOMIZED 自定义输入、SINGLE_ENUM 枚举单值、MULTIPLE_ENUMS 枚举多值、RANGE 范围值',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'CUSTOMIZED',
+ ],
+ 'DataType' => [
+ 'title' => '属性值的数据类型:STRING 字符串、BIGINT 数值类型、DOUBLE 浮点类型、DATE 日期,精确到天、DATETIME 日期,精确到ms、BOOLEAN 布尔型',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'STRING',
+ ],
+ 'Length' => [
+ 'title' => '属性值长度, 为空或-1表示不限制长度, 通常只有字符串类型才会限制属性值的长度',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ 'ValueRange' => [
+ 'title' => '取值范围',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ValueConstraint' => [
+ 'title' => '取值来源:NONE 无约束、LIST 从列表中获取、LOOKUP_TABLE 码表、MIN_MAX 在最大值和最小值之间取值、DATAPHIN_ATTRIBUTE Dataphin系统属性、BUILT_IN_DATA_TYPES 内置数据类型、BUILT_IN_DATA_CLASSIFICATION 内置数据分类、BUILT_IN_DATA_LEVEL 内置数据安全分级',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'NONE',
+ ],
+ 'ValueList' => [
+ 'title' => '取值范围,当取值来源取值为 LIST 生效',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '取值范围,当取值来源取值为 LIST 生效',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ 'required' => false,
+ ],
+ 'MinMaxValueConfig' => [
+ 'title' => '取值范围,当取值来源取值为 MIN_MAX 生效',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'MinValue' => [
+ 'title' => '最小值',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '0',
+ ],
+ 'IncludeMinValue' => [
+ 'title' => '是否包含最小值',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => true,
+ ],
+ 'MaxValue' => [
+ 'title' => '最大值',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '100',
+ ],
+ 'IncludeMaxValue' => [
+ 'title' => '是否包含最大值',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => true,
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'LookupTableReference' => [
+ 'title' => '取值范围,当取值来源取值为 LOOKUP_TABLE 生效',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'LookupTableId' => [
+ 'title' => '码表Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '11',
+ ],
+ 'Column' => [
+ 'title' => '引用的码表字段',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'col1',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'DataphinAttributeType' => [
+ 'title' => '取值范围,当取值来源取值为 DATAPHIN_ATTRIBUTE 生效:BIZ_UNIT 数据板块、PROJECT 项目、USER 用户、USER_GROUP 用户组',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'DATAPHIN_ATTRIBUTE',
+ ],
+ ],
+ 'required' => true,
+ ],
+ 'DefaultValue' => [
+ 'title' => '默认值',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'Description' => [
+ 'title' => '描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ 'RefAttribute' => [
+ 'title' => '引用的属性信息',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'AttributeId' => [
+ 'title' => '属性Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '123',
+ ],
+ 'AttributeFromInfo' => [
+ 'title' => '属性来源',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'AttributeFrom' => [
+ 'title' => '属性来源:SYSTEM 系统属性、CUSTOM 自定义属性、STANDARD 标准',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'CUSTOM',
+ ],
+ 'StandardReference' => [
+ 'title' => '对应的标准,属性来源为 STANDARD 生效',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'StandardId' => [
+ 'title' => '标准Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '22',
+ ],
+ 'Version' => [
+ 'title' => '版本号',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '1',
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => true,
+ ],
+ ],
+ 'required' => true,
+ ],
+ 'PublishInfo' => [
+ 'title' => '标准模板发布信息',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Comment' => [
+ 'title' => '发布备注',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'CodeRuleConfig' => [
+ 'title' => '标准编码自动生成规则配置',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'GenerateType' => [
+ 'title' => '标准编码生成方式: CUSTOMIZED 自定义、AUTO_GENERATE 根据标准编码规则自动生成',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'CUSTOMIZED',
+ ],
+ 'AutoConfig' => [
+ 'title' => '标准编码规则自动生成配置, 当生产方式为 AUTO_GENERATE 生效',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'NeedStrongValidate' => [
+ 'title' => '是否强校验',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => true,
+ ],
+ 'CodeRuleList' => [
+ 'title' => '标准编码规则',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Index' => [
+ 'title' => '编码规则位置索引',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '1',
+ ],
+ 'Type' => [
+ 'title' => '编码规则类型:FIXED_STRING 固定字符串、AUTO_INCREMENT 自增序列、STANDARD_SET_CODE 标准集编码',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'FIXED_STRING',
+ ],
+ 'Value' => [
+ 'title' => '编码规则格式/值',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ 'AutoIncrementSequenceConfig' => [
+ 'title' => '自增序列配置',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Digit' => [
+ 'title' => '位数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '3',
+ ],
+ 'StartValue' => [
+ 'title' => '起始值',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '1',
+ ],
+ 'Step' => [
+ 'title' => '步长',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '1',
+ ],
+ 'NeedPaddingZero' => [
+ 'title' => '是否补零',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => true,
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => true,
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'Data' => [
+ 'title' => '标准模板Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '22',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"Data\\": 22\\n}","type":"json"}]',
+ ],
+ 'CreateStandardSet' => [
+ 'summary' => '创建标准集。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'CreateCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '创建指令',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => [
+ 'title' => '标准集名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'test',
+ ],
+ 'Code' => [
+ 'title' => '标准集编码',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'CITY',
+ ],
+ 'Description' => [
+ 'title' => '标准集描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ 'DirectoryReference' => [
+ 'title' => '归属目录',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Directory' => [
+ 'title' => '所属目录',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '/dir1',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'MaintainerList' => [
+ 'title' => '维护人员',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '维护人员',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '300000913',
+ ],
+ 'required' => false,
+ ],
+ 'MemberList' => [
+ 'title' => '成员列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '成员列表',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '300000913',
+ ],
+ 'required' => false,
+ ],
+ 'MemberGroupList' => [
+ 'title' => '成员组列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '成员组列表',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1121',
+ ],
+ 'required' => false,
+ ],
+ 'VisibilityConfig' => [
+ 'title' => '可见性配置',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => [
+ 'title' => '可见类型: PUBLIC 公开、PRIVATE 私有,仅标准集人员/管理员、SPECIFIED 指定人可见',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'PUBLIC',
+ ],
+ 'SpecifiedUserList' => [
+ 'title' => '指定可见的人员列表,当可见类型为 SPECIFIED 生效',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '指定可见的人员列表,当可见类型为 SPECIFIED 生效',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1121',
+ ],
+ 'required' => false,
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'ApprovalConfig' => [
+ 'title' => '上线审批配置',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'EnableApproval' => [
+ 'title' => '是否开启审批',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => true,
+ ],
+ 'IsSubmitInBatch' => [
+ 'title' => '是否批量提交审批',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => true,
+ ],
+ 'ApprovalType' => [
+ 'title' => '审批流程类型:BY_DEFAULT 默认审批类型、BY_TEMPLATE 基于审批模板',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'BY_DEFAULT',
+ ],
+ 'TemplateId' => [
+ 'title' => '审批模板Id,当审批流程类型为 BY_TEMPLATE 生效',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '1121',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'OfflineApprovalConfig' => [
+ 'title' => '下线审批配置',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'EnableApproval' => [
+ 'title' => '是否开启审批',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => true,
+ ],
+ 'IsSubmitInBatch' => [
+ 'title' => '是否批量提交审批',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => true,
+ ],
+ 'ApprovalType' => [
+ 'title' => '审批流程类型:BY_DEFAULT 默认审批类型、BY_TEMPLATE 基于审批模板',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'BY_DEFAULT',
+ ],
+ 'TemplateId' => [
+ 'title' => '审批模板Id,当审批流程类型为 BY_TEMPLATE 生效',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '1121',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'DefaultStandardTemplateId' => [
+ 'title' => '默认标准模板ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '1001',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'Data' => [
+ 'title' => '标准集Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1201',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"Data\\": 1201\\n}","type":"json"}]',
+ ],
+ 'CreateStandardRelations' => [
+ 'summary' => '创建标准关联关系。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'CreateCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '创建指令',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'StandardId' => [
+ 'title' => '标准Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '1',
+ ],
+ 'StandardRefList' => [
+ 'title' => '被引用的标准列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'StandardId' => [
+ 'title' => '标准Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '2',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => true,
+ ],
+ 'RelationType' => [
+ 'title' => '标准关联关系:RELATIVE',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'RELATIVE',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'Data' => [
+ 'title' => '创建结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'SuccessCount' => [
+ 'title' => '添加成功数目',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '2',
+ ],
+ 'NotExistStandardIdList' => [
+ 'title' => '不存在标准Id列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '不存在标准Id列表',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1021',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"Data\\": {\\n \\"SuccessCount\\": 2,\\n \\"NotExistStandardIdList\\": [\\n 1021\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'CreateStandardMapping' => [
+ 'summary' => '创建标准映射关系, 包括有效映射和无效映射。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'CreateCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '创建指令',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'AssetGuidList' => [
+ 'title' => '资产guid列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '资产guid列表',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '1121',
+ ],
+ 'required' => true,
+ ],
+ 'StandardId' => [
+ 'title' => '标准Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '1',
+ ],
+ 'RelationType' => [
+ 'title' => '映射关系类型: VALID 有效映射、INVALID 无效映射, 默认: VALID',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'VALID',
+ ],
+ 'InvalidMappingRelationOperationType' => [
+ 'title' => '引入映射关系时针对无效映射的处理策略: SET_INVALID_TO_VALID 将无效映射置为有效映射、KEEP_INVALID_AND_SKIP 保留无效映射然后跳过, 默认:SET_INVALID_TO_VALID',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'SET_INVALID_TO_VALID',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'Data' => [
+ 'title' => '创建结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'SuccessCount' => [
+ 'title' => '添加成功数目',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '2',
+ ],
+ 'FailedGuidList' => [
+ 'title' => '创建失败资产guid列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '创建失败资产guid列表',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1021',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"Data\\": {\\n \\"SuccessCount\\": 2,\\n \\"FailedGuidList\\": [\\n \\"1021\\"\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'CreateStandardLookupTable' => [
+ 'summary' => '创建数据标准码表。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'CreateCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '创建指令',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => [
+ 'title' => '码表名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '城市码表',
+ ],
+ 'Code' => [
+ 'title' => '码表编码',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'CITY',
+ ],
+ 'Description' => [
+ 'title' => '码表描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ 'Owner' => [
+ 'title' => '码表负责人Id,默认为调用者用户Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '30012021',
+ ],
+ 'LookupTableValueList' => [
+ 'title' => '码表值列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Value' => [
+ 'title' => '代码值',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '杭州',
+ ],
+ 'Name' => [
+ 'title' => '代码名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'Hangzhou',
+ ],
+ 'EnglishName' => [
+ 'title' => '代码英文名',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'HZ',
+ ],
+ 'Description' => [
+ 'title' => '代码描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => false,
+ ],
+ 'DirectoryReference' => [
+ 'title' => '归属目录',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Directory' => [
+ 'title' => '归属目录',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '/dir1/dir2',
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'Data' => [
+ 'title' => '码表Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1234',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"Data\\": 1234\\n}","type":"json"}]',
+ ],
+ 'CreateStandard' => [
+ 'summary' => '创建标准。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'CreateCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '创建指令',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'EffectiveTimeConfig' => [
+ 'title' => '生效时间配置',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => [
+ 'title' => '生效时间类型: FOREVER 永久、TIME_PERIOD 时间段',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'TIME_PERIOD',
+ ],
+ 'StartTime' => [
+ 'title' => '开始生效时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2025-06-30 00:00:00',
+ ],
+ 'EndTime' => [
+ 'title' => '结束生效时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2025-12-30 00:00:00',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'Description' => [
+ 'title' => '描述信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ 'Owner' => [
+ 'title' => '负责人,不传为当前用户',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '300000913',
+ ],
+ 'StandardTemplateReference' => [
+ 'title' => '标准所属的标准模板',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '标准模板ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '11',
+ ],
+ 'Version' => [
+ 'title' => '标准模板版本号, 默认去最新版本',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ 'AttributeValueList' => [
+ 'title' => '引用模板下属性列表相应属性值, 若为空则使用默认值',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'AttributeId' => [
+ 'title' => '属性Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '1011',
+ ],
+ 'Value' => [
+ 'title' => '属性值',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => false,
+ ],
+ ],
+ 'required' => true,
+ ],
+ 'StandardSetReference' => [
+ 'title' => '标准集的引用',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '标准集Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '22',
+ ],
+ ],
+ 'required' => true,
+ ],
+ 'StandardGeneralMonitorConfig' => [
+ 'title' => '标准监控配置',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'StandardMonitorConfigList' => [
+ 'title' => '标准监控配置列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '监控配置Id:若为空会创建新的监控配置, 若传入已有的监控配置Id会更新相应的监控配置',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ 'RuleName' => [
+ 'title' => '规则名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'test',
+ ],
+ 'Description' => [
+ 'title' => '规则描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ 'Type' => [
+ 'title' => '监控类型:METADATA 元数据监控、QUALITY 数据质量监控',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'METADATA',
+ ],
+ 'MonitorFrom' => [
+ 'title' => '添加方式:BY_USER 手动添加、BY_SYSTEM_ATTRIBUTE 系统属性预置',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'BY_SYSTEM_ATTRIBUTE',
+ ],
+ 'AttributeId' => [
+ 'title' => '关联的属性Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '112',
+ ],
+ 'AttributeName' => [
+ 'title' => '属性名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'teset',
+ ],
+ 'AttributeMonitorConfig' => [
+ 'title' => '关联属性的监控配置',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => [
+ 'title' => '监控方式:METADATA 元数据监控、QUALITY 数据质量监控',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'METADATA',
+ ],
+ 'ColumnName' => [
+ 'title' => '检查的字段',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'column1',
+ ],
+ 'IsCaseSensitive' => [
+ 'title' => '大小写是否敏感',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => true,
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'RuleSubType' => [
+ 'title' => '规则子类型:BY_ATTRIBUTE 根据属性配置、CUSTOMIZED 自定义配置,当监控类型为 QUALITY 时必填',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'CUSTOMIZED',
+ ],
+ 'QualityRuleTemplate' => [
+ 'title' => '规则模板, 当监控类型为 QUALITY 时必填',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '模板Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '22',
+ ],
+ 'Type' => [
+ 'title' => '模板来源: FROM_SYSTEM 系统模板、CUSTOMIZED 自定义模板',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'CUSTOMIZED',
+ ],
+ 'Name' => [
+ 'title' => '模板名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'CUSTOMIZED',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'RuleConfigList' => [
+ 'title' => '规则配置, 当监控类型为 QUALITY 时必填',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => [
+ 'title' => '配置项',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'k1',
+ ],
+ 'Value' => [
+ 'title' => '配置项值',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'v1',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => false,
+ ],
+ 'RuleValidateConfigList' => [
+ 'title' => '规则校验配置, 当监控类型为 QUALITY 时必填',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '校验配置Id, 由业务随机生成且确保唯一',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'abc',
+ ],
+ 'ParentId' => [
+ 'title' => '父校验配置Id, 父规则校验类型只能是RELATION',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'a',
+ ],
+ 'Type' => [
+ 'title' => '规则校验类型: RELATION 关系、EXPRESSION 表达式',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'RELATION',
+ ],
+ 'Operator' => [
+ 'title' => '如果校验类型是 EXPRESSION: EQUAL 等于、NOT_EQUAL 不等于、LARGER 大于、LARGE_OR_EQUAL 大于或等于、SMALLER 小于、SMALLER_OR_EQUAL 小于或等于; 如果校验类型是 RELATION: AND 且、OR 或',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'AND',
+ ],
+ 'Metric' => [
+ 'title' => '指标, 校验类型为 EXPRESSION 时必填',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'a',
+ ],
+ 'MetricName' => [
+ 'title' => '指标名称, 校验类型为 EXPRESSION 时必填',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ 'Value' => [
+ 'title' => '比较的值',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => false,
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => true,
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'NeedGenerateStandardCode' => [
+ 'title' => '是否需要基于规则生成标准编码,如果为true则属性值部分填入的标准编码无效将重新生成',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'Data' => [
+ 'title' => '标准Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1234',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"Data\\": 1234\\n}","type":"json"}]',
+ ],
+ 'UpsertQualityWatchAlert' => [
+ 'summary' => '新建或者修改监控对象告警设置。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'UpsertCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '更改指令',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'WatchId' => [
+ 'title' => '监控对象ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '11',
+ ],
+ 'QualityAlertInfo' => [
+ 'title' => '告警设置详情',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'AlertUserChannelList' => [
+ 'title' => '用户告警渠道',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '用户告警渠道',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ 'required' => false,
+ ],
+ 'AlertUserList' => [
+ 'title' => '用户告警列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '用户id',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '30012011',
+ ],
+ 'Name' => [
+ 'title' => '用户名',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => false,
+ ],
+ 'AlertDutyList' => [
+ 'title' => '值班表告警列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '报警值班表ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ 'Name' => [
+ 'title' => '报警值班表名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => false,
+ ],
+ 'AlertDutyChannelList' => [
+ 'title' => '值班表告警渠道',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '值班表告警渠道',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ 'required' => false,
+ ],
+ 'EnableAlertQualityOwner' => [
+ 'title' => '开启质量负责人告警',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ ],
+ 'AlertQualityOwnerChannelList' => [
+ 'title' => '质量负责人告警渠道',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '质量负责人告警渠道',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ 'required' => false,
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'Data' => [
+ 'title' => '请求结果',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"Data\\": true\\n}","type":"json"}]',
+ ],
+ 'UpsertQualityWatch' => [
+ 'summary' => '新建或更改质量监控对象, 支持添加多种类型的质量监控对象,包括:Dataphin表,全域表,数据源,指标,实时元表。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'UpsertCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '更改指令',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '监控对象ID: 传递了代表更新,不传递代表新建',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ 'Type' => [
+ 'title' => '监控对象类型: TABLE Dataphin表,DATASOURCE_TABLE 全域表、DATASOURCE 数据源、INDEX 指标、REALTIME_LOGICAL_TABLE 实时元表',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'TABLE',
+ ],
+ 'DataSourceInfo' => [
+ 'title' => '数据源详情',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '数据源Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'TableInfo' => [
+ 'title' => '监控表对象',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '表Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'IndexInfo' => [
+ 'title' => '监控指标对象',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '指标Id:',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '11',
+ ],
+ 'Name' => [
+ 'title' => '指标名:',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test_idx_',
+ ],
+ 'DisplayName' => [
+ 'title' => '指标展示名:',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'logic',
+ ],
+ 'Description' => [
+ 'title' => '描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ 'GranularityId' => [
+ 'title' => '统计粒度id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '18755764',
+ ],
+ 'GranularityDisplayName' => [
+ 'title' => '统计粒度名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '全站汇总表',
+ ],
+ 'ComputeType' => [
+ 'title' => '指标计算类型类型:AUTO、CUSTOM、MOUNT、COMBINE',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'AUTO',
+ ],
+ 'CellSumLogicTableName' => [
+ 'title' => '单元汇总表名',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'dws_all',
+ ],
+ 'Type' => [
+ 'title' => '指标类型:INDEX',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'INDEX',
+ ],
+ 'BizUnitId' => [
+ 'title' => '业务板块Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '1121',
+ ],
+ 'ProjectId' => [
+ 'title' => '项目Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '1121',
+ ],
+ 'DateType' => [
+ 'title' => '指标数据类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'bigint',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'QualityOwner' => [
+ 'title' => '质量负责人',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'Data' => [
+ 'title' => '监控对象ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"Data\\": 1\\n}","type":"json"}]',
+ ],
+ 'UpsertQualityTemplate' => [
+ 'summary' => '新建或者修改质量模板。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'UpsertCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '更改指令',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '模板ID: 传递了代表更新,不传递代表新建',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ 'Name' => [
+ 'title' => '模板名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'test',
+ ],
+ 'Type' => [
+ 'title' => '模板类型: FIELD_NULL_VALUE_VALIDATE 字段空值校验,FIELD_EMPTY_STRING_VALIDATE 字段空字符串校验,FIELD_UNIQUE_VALIDATE 字段唯一性校验,FIELD_GROUP_COUNT_VALIDATE 字段唯一值个数校验,FIELD_DUPLICATE_VALUE_COUNT_VALIDATE 字段重复值个数校验,FUNCTION_TIME_COMPARE 时间函数比较,SINGLE_TABLE_TIME_COMPARE 单表时间字段比较,DOUBLE_TABLE_TIME_COMPARE 两表时间字段比较,FIELD_FORMAT_VALIDATE 字段格式校验,FIELD_LENGTH_VALIDATE 字段长度校验,FIELD_VALUE_RANGE_VALIDATE 字段值域校验,CODE_TABLE_COMPARE 码表参照对比,STANDARD_CODE_TABLE_COMPARE 数据标准码表参照对比,SINGLE_TABLE_FIELD_VALUE_COMPARE 单表字段值一致性比较,SINGLE_TABLE_FIELD_STATISTICAL_COMPARE 单表字段统计值一致性比较,SINGLE_TABLE_FIELD_EXP_COMPARE 单表字段业务逻辑一致性比较,DOUBLE_TABLE_FIELD_VALUE_COMPARE 两表字段值一致性比较,DOUBLE_TABLE_FIELD_STATISTICAL_COMPARE 两表字段统计值一致性比较,CROSS_DOUBLE_TABLE_FIELD_STATISTICAL_COMPARE 跨源两表字段统计值一致性比较,DOUBLE_TABLE_FIELD_EXP_COMPARE 两表字段业务逻辑一致性比较,TABLE_STABILITY_VALIDATE 表稳定性校验,TABLE_FLUCTUATION_VALIDATE 表波动性校验,FIELD_STABILITY_VALIDATE 字段稳定性校验,FIELD_FLUCTUATION_VALIDATE 字段波动性校验,CUSTOM_STATISTICAL_VALIDATE 自定义统计指标校验,CUSTOM_DATA_DETAILS_VALIDATE 自定义数据详情校验,DATASOURCE_AVAILABLE_CHECK 数据源连通性监测,TABLE_SCHEMA_CHECK 表结构异动监测,REAL_TIME_OFFLINE_COMPARE 实时离线对比,REAL_TIME_STATISTICAL_VALIDATE 实时统计值监测,REAL_TIME_MULTI_CHAIN_COMPARE 实时多链路对比',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'FIELD_NULL_VALUE_VALIDATE',
+ ],
+ 'Description' => [
+ 'title' => '模板描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ 'Owner' => [
+ 'title' => '模板负责人ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '30012011',
+ ],
+ 'Catalog' => [
+ 'title' => '模板分类: CONSISTENT 一致性,EFFECTIVE 有效性,TIMELINESE 时效性,ACCURATE 准确性,UNIQUENESS 唯一性,COMPLETENESS 完整性,STABILITY 稳定性,CUSTOM 自定义',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'CONSISTENT',
+ ],
+ 'SupportDataSourceTypeList' => [
+ 'title' => '支持特定数据源类型:MySQL、Oracle、Microsoft SQL Server、MaxCompute、Hive等',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '支持特定数据源类型:MySQL、Oracle、Microsoft SQL Server、MaxCompute、Hive等',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'MySQL',
+ ],
+ 'required' => false,
+ ],
+ 'FormPropertyList' => [
+ 'title' => '规则配置键值对',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ComponentType' => [
+ 'title' => '控件类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'expression',
+ ],
+ 'Name' => [
+ 'title' => '属性名',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'col',
+ ],
+ 'Value' => [
+ 'title' => '属性值',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'abc',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => false,
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'Data' => [
+ 'title' => '模板ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"Data\\": 1\\n}","type":"json"}]',
+ ],
+ 'UpsertQualitySchedule' => [
+ 'summary' => '新建或者修改调度设置。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'UpsertCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '更改指令',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '调度对象ID: 传递代表更新,不传递代表新建',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ 'WatchId' => [
+ 'title' => '监控对象Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '22',
+ ],
+ 'Name' => [
+ 'title' => '调度对象名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'test',
+ ],
+ 'Type' => [
+ 'title' => '调度类型: PERIOD_SCHEDULE 定时调度、MANUAL_SCHEDULE 手动触发、CODE_CHECK_TRIGGER 代码检查触发、STATIC_TASK_TRIGGER 固定任务触发、DEPENDENCY_SCHEDULE 依赖调度',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'PERIOD_SCHEDULE',
+ ],
+ 'PartitionType' => [
+ 'title' => '分区类型: EVERY_DAY 每天、PRE_DAY 昨天、TODAY 当天、FIRST_DAY_OF_WEEK 每周第一天(周日)、CUSTOM 自定义等',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'CUSTOM',
+ ],
+ 'PartitionExpression' => [
+ 'title' => '分区表达式-自定义表达式',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ds=${yyyyMMdd}',
+ ],
+ 'TriggerNodeList' => [
+ 'title' => '触发调度-触发任务清单',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '触发调度-触发任务清单',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'n_1121',
+ ],
+ 'required' => false,
+ ],
+ 'StaticTaskTriggerType' => [
+ 'title' => '固定任务触发-触发方式: ALL_TASKS_FINISHED、ONE_TASKS_FINISHED、PRE_ONE_TASKS_START',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ONE_TASKS_FINISHED',
+ ],
+ 'TriggerType' => [
+ 'title' => '触发调度-触发方式:STATIC_TASK_TRIGGER 固定任务触发、CODE_CHECK_TRIGGER 代码检查触发',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'STATIC_TASK_TRIGGER',
+ ],
+ 'PeriodScheduleIntervalType' => [
+ 'title' => '定时调度-调度周期类型: DAILY 天、WEEKLY 周、MONTHLY 月、HOURLY 小时、MINUTELY 分钟',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'DAILY',
+ ],
+ 'PeriodScheduleParamList' => [
+ 'title' => '定时调度-调度周期值',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '定时调度-调度周期值',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'DAILY',
+ ],
+ 'required' => false,
+ ],
+ 'CronExpression' => [
+ 'title' => '定时调度-cron表达式',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '* * 1/* * * *',
+ ],
+ 'ValidatePartitionType' => [
+ 'title' => '校验范围: TASK_REFERRED_PARTITION 任务更新分区,USER_DEFINED_PARTITION 自定义分区',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'TASK_REFERRED_PARTITION',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'Data' => [
+ 'title' => '调度对象ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"Data\\": 1\\n}","type":"json"}]',
+ ],
+ 'UpsertQualityRule' => [
+ 'summary' => '新建或者修改质量规则。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'UpsertCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '更改指令',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '规则ID,非空时代表修改,为空时代表新建',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '11',
+ ],
+ 'Name' => [
+ 'title' => '质量规则名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'test',
+ ],
+ 'Description' => [
+ 'title' => '描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ 'Strength' => [
+ 'title' => '规则强弱: STRONG、WEAK',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'STRONG',
+ ],
+ 'CatalogList' => [
+ 'title' => '规则分类: CONSISTENT 一致性,EFFECTIVE 有效性,TIMELINESE 时效性,ACCURATE 准确性,UNIQUENESS 唯一性,COMPLETENESS 完整性,STABILITY 稳定性,CUSTOM 自定义',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '规则分类: CONSISTENT 一致性,EFFECTIVE 有效性,TIMELINESE 时效性,ACCURATE 准确性,UNIQUENESS 唯一性,COMPLETENESS 完整性,STABILITY 稳定性,CUSTOM 自定义',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'CONSISTENT',
+ ],
+ 'required' => true,
+ ],
+ 'TemplateType' => [
+ 'title' => '模板类型:FIELD_NULL_VALUE_VALIDATE 字段空值校验,FIELD_EMPTY_STRING_VALIDATE 字段空字符串校验,FIELD_UNIQUE_VALIDATE 字段唯一性校验,FIELD_GROUP_COUNT_VALIDATE 字段唯一值个数校验,FIELD_DUPLICATE_VALUE_COUNT_VALIDATE 字段重复值个数校验,FUNCTION_TIME_COMPARE 时间函数比较,SINGLE_TABLE_TIME_COMPARE 单表时间字段比较,DOUBLE_TABLE_TIME_COMPARE 两表时间字段比较,FIELD_FORMAT_VALIDATE 字段格式校验,FIELD_LENGTH_VALIDATE 字段长度校验,FIELD_VALUE_RANGE_VALIDATE 字段值域校验,CODE_TABLE_COMPARE 码表参照对比,STANDARD_CODE_TABLE_COMPARE 数据标准码表参照对比,SINGLE_TABLE_FIELD_VALUE_COMPARE 单表字段值一致性比较,SINGLE_TABLE_FIELD_STATISTICAL_COMPARE 单表字段统计值一致性比较,SINGLE_TABLE_FIELD_EXP_COMPARE 单表字段业务逻辑一致性比较,DOUBLE_TABLE_FIELD_VALUE_COMPARE 两表字段值一致性比较,DOUBLE_TABLE_FIELD_STATISTICAL_COMPARE 两表字段统计值一致性比较,CROSS_DOUBLE_TABLE_FIELD_STATISTICAL_COMPARE 跨源两表字段统计值一致性比较,DOUBLE_TABLE_FIELD_EXP_COMPARE 两表字段业务逻辑一致性比较,TABLE_STABILITY_VALIDATE 表稳定性校验,TABLE_FLUCTUATION_VALIDATE 表波动性校验,FIELD_STABILITY_VALIDATE 字段稳定性校验,FIELD_FLUCTUATION_VALIDATE 字段波动性校验,CUSTOM_STATISTICAL_VALIDATE 自定义统计指标校验,CUSTOM_DATA_DETAILS_VALIDATE 自定义数据详情校验,DATASOURCE_AVAILABLE_CHECK 数据源连通性监测,TABLE_SCHEMA_CHECK 表结构异动监测,REAL_TIME_OFFLINE_COMPARE 实时离线对比,REAL_TIME_STATISTICAL_VALIDATE 实时统计值监测,REAL_TIME_MULTI_CHAIN_COMPARE 实时多链路对比 等',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'FIELD_NULL_VALUE_VALIDATE',
+ ],
+ 'TemplateId' => [
+ 'title' => '模板ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '1',
+ ],
+ 'WatchId' => [
+ 'title' => '所属监控ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '1',
+ ],
+ 'EnableErrorArchive' => [
+ 'title' => '是否启动异常归档',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ ],
+ 'ValidateConditionList' => [
+ 'title' => '校验条件',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '条件节点id',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '268',
+ ],
+ 'Type' => [
+ 'title' => '条件类型: RELATION 关系,EXPRESSION:表达式',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'RELATION',
+ ],
+ 'Operator' => [
+ 'title' => '操作符: EQUAL,NOT_EQUAL,LARGER,SMALLER,LARGE_OR_EQUAL,SMALLER_OR_EQUAL,AND,OR',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'AND',
+ ],
+ 'Metric' => [
+ 'title' => '指标',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ 'Value' => [
+ 'title' => '值',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ 'ParentId' => [
+ 'title' => '条件父节点Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '123',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => false,
+ ],
+ 'FormPropertyList' => [
+ 'title' => '规则配置键值对, 与模板类型相关:不同模板类型返回不同的表单键值对配置',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ComponentType' => [
+ 'title' => '控件类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'expression',
+ ],
+ 'Name' => [
+ 'title' => '属性名',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'col',
+ ],
+ 'Value' => [
+ 'title' => '属性值',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'abc',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => false,
+ ],
+ 'AttributeWithValueList' => [
+ 'title' => '规则业务属性配置',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'AttributeInfo' => [
+ 'title' => '属性详情',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '属性Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '711484689131',
+ ],
+ 'Name' => [
+ 'title' => '属性名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'attr01',
+ ],
+ 'Description' => [
+ 'title' => '描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ 'Enabled' => [
+ 'title' => '是否启用',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ ],
+ 'Required' => [
+ 'title' => '是否必填',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ ],
+ 'Searchable' => [
+ 'title' => '是否可搜索',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ ],
+ 'ValueConfig' => [
+ 'title' => '属性值配置详情',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => [
+ 'title' => '属性值填写方式: CUSTOMIZED 自定义输入,SINGLE_ENUM 下拉单选框,MULTIPLE_ENUMS 下拉多选框, RANGE 范围区间',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'CUSTOMIZED',
+ ],
+ 'DataType' => [
+ 'title' => '属性字段类型: STRING 文本型,BIGINT 数值整型,DOUBLE 数值浮点型,BOOLEAN 布尔型,DATE 日期型,DATETIME 时间型',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'STRING',
+ ],
+ 'Length' => [
+ 'title' => '属性字段长度, 可对文本型的属性值最大长度进行约束',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '986992',
+ ],
+ 'ValueEnumList' => [
+ 'title' => '属性选项值:仅针对填写方式为下拉单选框或下拉多选框的属性',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '属性选项值:仅针对填写方式为下拉单选框或下拉多选框的属性',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ 'required' => false,
+ ],
+ 'DefaultValue' => [
+ 'title' => '属性默认值',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ValueList' => [
+ 'title' => '属性值清单,适用于填写方式为自定义输入、下拉单选框、下拉多选框的属性',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '属性值清单,适用于填写方式为自定义输入、下拉单选框、下拉多选框的属性',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '123',
+ ],
+ 'required' => false,
+ ],
+ 'MinValue' => [
+ 'title' => '最小值,适用于范围区间属性',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ 'IncludeMinValue' => [
+ 'title' => '是否包含最小值',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ ],
+ 'MaxValue' => [
+ 'title' => '最大值,适用于范围区间属性',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '11',
+ ],
+ 'IncludeMaxValue' => [
+ 'title' => '是否包含最大值',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'AttributeValue' => [
+ 'title' => '属性值',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ValueList' => [
+ 'title' => '属性值清单,适用于填写方式为自定义输入、下拉单选框、下拉多选框的属性',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '属性值清单,适用于填写方式为自定义输入、下拉单选框、下拉多选框的属性',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '123',
+ ],
+ 'required' => false,
+ ],
+ 'MinValue' => [
+ 'title' => '最小值,适用于范围区间属性',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ 'IncludeMinValue' => [
+ 'title' => '是否包含最小值',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ ],
+ 'MaxValue' => [
+ 'title' => '最大值,适用于范围区间属性',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '11',
+ ],
+ 'IncludeMaxValue' => [
+ 'title' => '是否包含最大值',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => false,
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'Data' => [
+ 'title' => '任务规则ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"Data\\": 1\\n}","type":"json"}]',
+ ],
+ 'UpdateQualityWatchSwitch' => [
+ 'summary' => '批量开启或关闭质量监控对象。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'UpdateCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '更新指令',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Open' => [
+ 'title' => '是否开启',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => true,
+ ],
+ 'WatchIdList' => [
+ 'title' => '监控Id列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '监控Id列表',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '2',
+ ],
+ 'required' => true,
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'Data' => [
+ 'title' => '生效记录数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"Data\\": 1\\n}","type":"json"}]',
+ ],
+ 'UpdateQualityRuleSwitch' => [
+ 'summary' => '批量开启或关闭质量规则。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'UpdateCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '更新指令',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Open' => [
+ 'title' => '是否开启',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => true,
+ ],
+ 'RuleIdList' => [
+ 'title' => '规则Id列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '规则Id列表',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '2',
+ ],
+ 'required' => true,
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'Data' => [
+ 'title' => '生效记录数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"Data\\": 1\\n}","type":"json"}]',
+ ],
+ 'SubmitQualityWatchTasks' => [
+ 'summary' => '批量提交监控对象校验任务。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'SubmitCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '提交指令',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'WatchIdList' => [
+ 'title' => '监控对象ID',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '监控对象ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '1',
+ ],
+ 'required' => true,
+ ],
+ 'PartitionExpression' => [
+ 'title' => '分区表达式-自定义表达式',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ds=${yyyyMMdd}',
+ ],
+ 'BizDate' => [
+ 'title' => '业务日期,格式:yyyy-MM-dd',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2025-06-30',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'SubmitResult' => [
+ 'title' => '执行结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'WatchTaskIdList' => [
+ 'title' => '监控对象校验任务ID列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '监控对象校验任务ID列表',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"SubmitResult\\": {\\n \\"WatchTaskIdList\\": [\\n 1\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'SubmitQualityRuleTasks' => [
+ 'summary' => '批量提交规则任务,支持试跑。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'SubmitCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '提交指令',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'IsTestRun' => [
+ 'title' => '是否为试跑: true 试跑、false 正式运行, 默认 true',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => true,
+ ],
+ 'WatchRuleIdList' => [
+ 'title' => '监控及规则ID',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'WatchId' => [
+ 'title' => '监控对象ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '1',
+ ],
+ 'RuleId' => [
+ 'title' => '规则ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '1',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => true,
+ ],
+ 'PartitionExpressionFrom' => [
+ 'title' => '试跑分区表达式来源: SCHEDULE 已有调度、CUSTOM 自定义',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'CUSTOM',
+ ],
+ 'ScheduleId' => [
+ 'title' => '已有调度ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ 'PartitionExpression' => [
+ 'title' => '分区表达式-自定义表达式',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ds=${yyyyMMdd}',
+ ],
+ 'BizDate' => [
+ 'title' => '业务日期,格式:yyyy-MM-dd',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2025-06-30',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'SubmitResult' => [
+ 'title' => '执行结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RuleTaskIdList' => [
+ 'title' => '规则任务Id,试跑场景返回',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '规则任务Id,试跑场景返回',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ ],
+ 'WatchTaskIdList' => [
+ 'title' => '监控对象任务ID,非试跑场景返回',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '监控对象任务ID,非试跑场景返回',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"SubmitResult\\": {\\n \\"RuleTaskIdList\\": [\\n 1\\n ],\\n \\"WatchTaskIdList\\": [\\n 1\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'RemoveQualityRuleSchedules' => [
+ 'summary' => '批量删除质量规则和调度的绑定关系。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'RemoveCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '解绑指令',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'WatchId' => [
+ 'title' => '监控对象ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '平均值',
+ ],
+ 'RuleId' => [
+ 'title' => '规则ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '11',
+ ],
+ 'ScheduleIdList' => [
+ 'title' => '调度ID',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '调度ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '22',
+ ],
+ 'required' => true,
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'Data' => [
+ 'title' => '请求结果',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"Data\\": 0\\n}","type":"json"}]',
+ ],
+ 'ListQualityWatches' => [
+ 'summary' => '分页查询质量监控对象。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'ListQuery',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '分页查询条件',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'WatchTypeList' => [
+ 'title' => '监控对象类型: TABLE Dataphin表,DATASOURCE_TABLE 全域表,DATASOURCE 数据源,INDEX 指标,REALTIME_LOGICAL_TABLE 实时元表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '监控对象类型: TABLE Dataphin表,DATASOURCE_TABLE 全域表,DATASOURCE 数据源,INDEX 指标,REALTIME_LOGICAL_TABLE 实时元表',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'TABLE',
+ ],
+ 'required' => false,
+ ],
+ 'StatusList' => [
+ 'title' => '监控对象生效状态: ENABLE 启用、DISABLE 禁用',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '监控对象生效状态: ENABLE 启用、DISABLE 禁用',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ENABLE',
+ ],
+ 'required' => false,
+ ],
+ 'LatestWatchTaskStatusList' => [
+ 'title' => '任务状态: NOT_RUN 未执行、WAITING 等待中、RUNNING 执行中、SUCCESS 执行成功、FAILED 执行失败、CANCEL 取消、TIMEOUT 超时、OFFLINE 离线',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '任务状态: NOT_RUN 未执行、WAITING 等待中、RUNNING 执行中、SUCCESS 执行成功、FAILED 执行失败、CANCEL 取消、TIMEOUT 超时、OFFLINE 离线',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'RUNNING',
+ ],
+ 'required' => false,
+ ],
+ 'CurrentUserOwned' => [
+ 'title' => '是否当前用户负责的监控对象',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ ],
+ 'QualityOwnerList' => [
+ 'title' => '质量负责人',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '质量负责人',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '30001011',
+ ],
+ 'required' => false,
+ ],
+ 'TableOwnerList' => [
+ 'title' => '表负责人',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '表负责人',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '30001011',
+ ],
+ 'required' => false,
+ ],
+ 'TableTypeList' => [
+ 'title' => '表类型:LOGIC_DIM_TABLE 维度逻辑表,LOGIC_FACT_TABLE 事实逻辑表,LOGIC_SUM_TABLE 汇总逻辑表,LOGIC_LABEL_TABLE 标签逻辑表,PHYSICAL_TABLE 物理表,REALTIME_LOGICAL_TABLE 实时元表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '表类型:LOGIC_DIM_TABLE 维度逻辑表,LOGIC_FACT_TABLE 事实逻辑表,LOGIC_SUM_TABLE 汇总逻辑表,LOGIC_LABEL_TABLE 标签逻辑表,PHYSICAL_TABLE 物理表,REALTIME_LOGICAL_TABLE 实时元表',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'LOGIC_DIM_TABLE',
+ ],
+ 'required' => false,
+ ],
+ 'DataSourceIdList' => [
+ 'title' => '数据源Id',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '数据源Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ 'required' => false,
+ ],
+ 'DataSourceTypeList' => [
+ 'title' => '数据源类型: MAX_COMPUTE、HADOOP、MYSQL等',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '数据源类型: MAX_COMPUTE、HADOOP、MYSQL等',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'MAX_COMPUTE',
+ ],
+ 'required' => false,
+ ],
+ 'BizUnitNameList' => [
+ 'title' => '所属板块名称',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '所属板块名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ 'required' => false,
+ ],
+ 'ProjectNameList' => [
+ 'title' => '所属项目名称',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '所属项目名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ 'required' => false,
+ ],
+ 'DataSourceScopeList' => [
+ 'title' => '数据源用途: STREAMING 仅实时、OFFLINE 仅离线、ALL 实时和离线',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '数据源用途: STREAMING 仅实时、OFFLINE 仅离线、ALL 实时和离线',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ALL',
+ ],
+ 'required' => false,
+ ],
+ 'DataSourceOwnerList' => [
+ 'title' => '数据源负责人',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '数据源负责人',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '30001011',
+ ],
+ 'required' => false,
+ ],
+ 'IndexOwnerList' => [
+ 'title' => '指标负责人',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '指标负责人',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '30001011',
+ ],
+ 'required' => false,
+ ],
+ 'IndexComputeTypeList' => [
+ 'title' => '指标计算类型: AUTO 自动化编码方式、CUSTOM 专家编码方式、MOUNT 外部表注册的方式、COMBINE 衍生指标专用',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '指标计算类型: AUTO 自动化编码方式、CUSTOM 专家编码方式、MOUNT 外部表注册的方式、COMBINE 衍生指标专用',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'AUTO',
+ ],
+ 'required' => false,
+ ],
+ 'Keyword' => [
+ 'title' => '搜索关键词: 监控表名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ 'PageNo' => [
+ 'title' => '页码, 默认1',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ 'PageSize' => [
+ 'title' => '分页记录数, 默认20',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '20',
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'PageResult' => [
+ 'title' => '分页查询结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'TotalCount' => [
+ 'title' => '总记录数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '68',
+ ],
+ 'QualityWatchList' => [
+ 'title' => '分页质量告警列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => [
+ 'title' => '监控对象类型: TABLE Dataphin表,DATASOURCE_TABLE 全域表,DATASOURCE 数据源,INDEX 指标,REALTIME_LOGICAL_TABLE 实时元表',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'TABLE',
+ ],
+ 'Id' => [
+ 'title' => '监控Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '11',
+ ],
+ 'Name' => [
+ 'title' => '监控名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'Status' => [
+ 'title' => '状态:ENABLE,DISABLE',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'ENABLE',
+ ],
+ 'DataSourceInfo' => [
+ 'title' => '数据源详情',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '数据源Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1',
+ ],
+ 'Name' => [
+ 'title' => '数据源名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1',
+ ],
+ 'Type' => [
+ 'title' => '数据源类型: MAX_COMPUTE、HADOOP',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'MAX_COMPUTE',
+ ],
+ 'Creator' => [
+ 'title' => '创建者',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30012011',
+ ],
+ 'CreatorName' => [
+ 'title' => '创建者名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'Owner' => [
+ 'title' => '负责人用户ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30012011',
+ ],
+ 'OwnerName' => [
+ 'title' => '负责人用户名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'CreateTime' => [
+ 'title' => '创建时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-06-30 00:00:00',
+ ],
+ 'ModifyTime' => [
+ 'title' => '修改时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-06-30 00:00:00',
+ ],
+ 'Env' => [
+ 'title' => '环境标识:PROD、DEV',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'DEV',
+ ],
+ ],
+ ],
+ 'TableInfo' => [
+ 'title' => '监控表对象',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => [
+ 'title' => '类型:LOGIC_DIM_TABLE 维度逻辑表,LOGIC_FACT_TABLE 事实逻辑表,LOGIC_SUM_TABLE 汇总逻辑表,LOGIC_LABEL_TABLE 标签逻辑表,PHYSICAL_TABLE 物理表,REALTIME_LOGICAL_TABLE 实时元表',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'LOGIC_DIM_TABLE',
+ ],
+ 'Catalog' => [
+ 'title' => '表catalog',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'Id' => [
+ 'title' => '表Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'Name' => [
+ 'title' => '表名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'Description' => [
+ 'title' => '描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'Env' => [
+ 'title' => '环境标识:DEV、PROD',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'DEV',
+ ],
+ 'Owner' => [
+ 'title' => '负责人用户ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30012011',
+ ],
+ 'OwnerName' => [
+ 'title' => '负责人用户名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'BizUnitId' => [
+ 'title' => '业务板块Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1121',
+ ],
+ 'BizUnitName' => [
+ 'title' => '业务板块名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'ProjectId' => [
+ 'title' => '项目Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1121',
+ ],
+ 'ProjectName' => [
+ 'title' => '项目名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'DataSourceType' => [
+ 'title' => '数据源类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'MAX_COMPUTE',
+ ],
+ 'DataSourceId' => [
+ 'title' => '数据源ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '22',
+ ],
+ 'IsPartitionTable' => [
+ 'title' => '是否分区表',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ ],
+ ],
+ 'IndexInfo' => [
+ 'title' => '指标详情',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ProjectId' => [
+ 'title' => '项目Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1121',
+ ],
+ 'ProjectName' => [
+ 'title' => '项目名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'Catalog' => [
+ 'title' => '指标catalog',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'Id' => [
+ 'title' => '指标Id:',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '11',
+ ],
+ 'Guid' => [
+ 'title' => '指标guid:',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1121',
+ ],
+ 'Name' => [
+ 'title' => '指标名:',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'logic',
+ ],
+ 'DisplayName' => [
+ 'title' => '指标展示名:',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'logic',
+ ],
+ 'GranularityId' => [
+ 'title' => '统计粒度id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '18755764',
+ ],
+ 'GranularityDisplayName' => [
+ 'title' => '统计粒度名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '全站汇总表',
+ ],
+ 'ComputeType' => [
+ 'title' => '指标计算类型类型:AUTO、CUSTOM、MOUNT、COMBINE',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'AUTO',
+ ],
+ 'CellSumLogicTableName' => [
+ 'title' => '单元汇总表名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'dws_all',
+ ],
+ 'Type' => [
+ 'title' => '指标类型:INDEX',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'INDEX',
+ ],
+ 'BizUnitId' => [
+ 'title' => '业务板块Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1121',
+ ],
+ 'BizUnitName' => [
+ 'title' => '业务板块名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'Owner' => [
+ 'title' => '负责人用户ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30012011',
+ ],
+ 'OwnerName' => [
+ 'title' => '负责人用户名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'Description' => [
+ 'title' => '描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'DateType' => [
+ 'title' => '指标数据类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'bigint',
+ ],
+ ],
+ ],
+ 'QualityOwner' => [
+ 'title' => '质量负责人用户ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30012011',
+ ],
+ 'QualityOwnerName' => [
+ 'title' => '质量负责人显示名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'LatestWatchTaskId' => [
+ 'title' => '最近一次监控对象校验记录ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'LatestWatchTaskStatus' => [
+ 'title' => '最近一次监控对象校验记录状态',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'SUCCESS',
+ ],
+ 'RuleCount' => [
+ 'title' => '规则数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '11',
+ ],
+ 'EnabledRuleCount' => [
+ 'title' => '生效规则数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'Creator' => [
+ 'title' => '创建者',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30012011',
+ ],
+ 'CreatorName' => [
+ 'title' => '创建者名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'CreateTime' => [
+ 'title' => '创建时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-06-30 00:00:00',
+ ],
+ 'ModifyTime' => [
+ 'title' => '修改时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-06-30 00:00:00',
+ ],
+ 'Modifier' => [
+ 'title' => '最近修改用户ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30012011',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"PageResult\\": {\\n \\"TotalCount\\": 68,\\n \\"QualityWatchList\\": [\\n {\\n \\"Type\\": \\"TABLE\\",\\n \\"Id\\": 11,\\n \\"Name\\": \\"test\\",\\n \\"Status\\": \\"ENABLE\\",\\n \\"DataSourceInfo\\": {\\n \\"Id\\": \\"1\\",\\n \\"Name\\": \\"1\\",\\n \\"Type\\": \\"MAX_COMPUTE\\",\\n \\"Creator\\": \\"30012011\\",\\n \\"CreatorName\\": \\"test\\",\\n \\"Owner\\": \\"30012011\\",\\n \\"OwnerName\\": \\"test\\",\\n \\"CreateTime\\": \\"2025-06-30 00:00:00\\",\\n \\"ModifyTime\\": \\"2025-06-30 00:00:00\\",\\n \\"Env\\": \\"DEV\\"\\n },\\n \\"TableInfo\\": {\\n \\"Type\\": \\"LOGIC_DIM_TABLE\\",\\n \\"Catalog\\": \\"test\\",\\n \\"Id\\": \\"test\\",\\n \\"Name\\": \\"test\\",\\n \\"Description\\": \\"test\\",\\n \\"Env\\": \\"DEV\\",\\n \\"Owner\\": \\"30012011\\",\\n \\"OwnerName\\": \\"test\\",\\n \\"BizUnitId\\": 1121,\\n \\"BizUnitName\\": \\"test\\",\\n \\"ProjectId\\": 1121,\\n \\"ProjectName\\": \\"test\\",\\n \\"DataSourceType\\": \\"MAX_COMPUTE\\",\\n \\"DataSourceId\\": \\"22\\",\\n \\"IsPartitionTable\\": true\\n },\\n \\"IndexInfo\\": {\\n \\"ProjectId\\": 1121,\\n \\"ProjectName\\": \\"test\\",\\n \\"Catalog\\": \\"test\\",\\n \\"Id\\": \\"11\\",\\n \\"Guid\\": \\"1121\\",\\n \\"Name\\": \\"logic\\",\\n \\"DisplayName\\": \\"logic\\",\\n \\"GranularityId\\": 18755764,\\n \\"GranularityDisplayName\\": \\"全站汇总表\\",\\n \\"ComputeType\\": \\"AUTO\\",\\n \\"CellSumLogicTableName\\": \\"dws_all\\",\\n \\"Type\\": \\"INDEX\\",\\n \\"BizUnitId\\": 1121,\\n \\"BizUnitName\\": \\"test\\",\\n \\"Owner\\": \\"30012011\\",\\n \\"OwnerName\\": \\"test\\",\\n \\"Description\\": \\"test\\",\\n \\"DateType\\": \\"bigint\\"\\n },\\n \\"QualityOwner\\": \\"30012011\\",\\n \\"QualityOwnerName\\": \\"test\\",\\n \\"LatestWatchTaskId\\": 1,\\n \\"LatestWatchTaskStatus\\": \\"SUCCESS\\",\\n \\"RuleCount\\": 11,\\n \\"EnabledRuleCount\\": 1,\\n \\"Creator\\": \\"30012011\\",\\n \\"CreatorName\\": \\"test\\",\\n \\"CreateTime\\": \\"2025-06-30 00:00:00\\",\\n \\"ModifyTime\\": \\"2025-06-30 00:00:00\\",\\n \\"Modifier\\": \\"30012011\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'ListQualityWatchTasks' => [
+ 'summary' => '分页查询质量监控任务。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'ListQuery',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '分页查询条件',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'WatchTypeList' => [
+ 'title' => '监控对象类型: TABLE Dataphin表,DATASOURCE_TABLE 全域表,DATASOURCE 数据源,INDEX 指标,REALTIME_LOGICAL_TABLE 实时元表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '监控对象类型: TABLE Dataphin表,DATASOURCE_TABLE 全域表,DATASOURCE 数据源,INDEX 指标,REALTIME_LOGICAL_TABLE 实时元表',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'TABLE',
+ ],
+ 'required' => false,
+ ],
+ 'DataSourceIdList' => [
+ 'title' => '数据源Id',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '数据源Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ 'required' => false,
+ ],
+ 'DataSourceScopeList' => [
+ 'title' => '数据源用途: STREAMING 仅实时、OFFLINE 仅离线、ALL 实时和离线',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '数据源用途: STREAMING 仅实时、OFFLINE 仅离线、ALL 实时和离线',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ALL',
+ ],
+ 'required' => false,
+ ],
+ 'DataSourceTypeList' => [
+ 'title' => '数据源类型: MAX_COMPUTE、HADOOP、MYSQL等',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '数据源类型: MAX_COMPUTE、HADOOP、MYSQL等',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'MAX_COMPUTE',
+ ],
+ 'required' => false,
+ ],
+ 'ErrorRuleStrengthList' => [
+ 'title' => '规则异常类型:STRONG 强、WEAK 弱',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '规则异常类型:STRONG 强、WEAK 弱',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'STRONG',
+ ],
+ 'required' => false,
+ ],
+ 'TableTypeList' => [
+ 'title' => '表类型:LOGIC_DIM_TABLE 维度逻辑表,LOGIC_FACT_TABLE 事实逻辑表,LOGIC_SUM_TABLE 汇总逻辑表,LOGIC_LABEL_TABLE 标签逻辑表,PHYSICAL_TABLE 物理表,REALTIME_LOGICAL_TABLE 实时元表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '表类型:LOGIC_DIM_TABLE 维度逻辑表,LOGIC_FACT_TABLE 事实逻辑表,LOGIC_SUM_TABLE 汇总逻辑表,LOGIC_LABEL_TABLE 标签逻辑表,PHYSICAL_TABLE 物理表,REALTIME_LOGICAL_TABLE 实时元表',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'LOGIC_DIM_TABLE',
+ ],
+ 'required' => false,
+ ],
+ 'ProjectNameList' => [
+ 'title' => '所属项目名称',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '所属项目名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ 'required' => false,
+ ],
+ 'BizUnitNameList' => [
+ 'title' => '所属板块名称',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '所属板块名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ 'required' => false,
+ ],
+ 'CurrentUserOwned' => [
+ 'title' => '我负责的监控任务对象',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ ],
+ 'QualityOwnerList' => [
+ 'title' => '质量负责人',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '质量负责人',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '30001011',
+ ],
+ 'required' => false,
+ ],
+ 'StatusList' => [
+ 'title' => '任务状态: NOT_RUN 未执行、WAITING 等待中、RUNNING 执行中、SUCCESS 执行成功、FAILED 执行失败、CANCEL 取消、TIMEOUT 超时、OFFLINE 离线',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '任务状态: NOT_RUN 未执行、WAITING 等待中、RUNNING 执行中、SUCCESS 执行成功、FAILED 执行失败、CANCEL 取消、TIMEOUT 超时、OFFLINE 离线',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'RUNNING',
+ ],
+ 'required' => false,
+ ],
+ 'BizDate' => [
+ 'title' => '业务日期过滤',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2025-06-30',
+ ],
+ 'Keyword' => [
+ 'title' => '搜索关键词: 监控表名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ 'DataSourceOwnerList' => [
+ 'title' => '数据源负责人',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '数据源负责人',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '30001011',
+ ],
+ 'required' => false,
+ ],
+ 'TableOwnerList' => [
+ 'title' => '表负责人',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '表负责人',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '30001011',
+ ],
+ 'required' => false,
+ ],
+ 'PageNo' => [
+ 'title' => '页码, 默认1',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ 'PageSize' => [
+ 'title' => '分页记录数, 默认20',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '20',
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'PageResult' => [
+ 'title' => '分页查询结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'TotalCount' => [
+ 'title' => '总记录数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '68',
+ ],
+ 'QualityWatchTaskList' => [
+ 'title' => '分页质量模板列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '监控任务ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'WatchId' => [
+ 'title' => '监控对象ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'StartTime' => [
+ 'title' => '起始时间, 时间格式:yyyy-MM-dd HH:mm:ss',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-06-30 08:00:00',
+ ],
+ 'EndTime' => [
+ 'title' => '截止时间, 时间格式:yyyy-MM-dd HH:mm:ss',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-06-30 20:00:00',
+ ],
+ 'QualityOwner' => [
+ 'title' => '质量负责人用户ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30012011',
+ ],
+ 'QualityOwnerName' => [
+ 'title' => '质量负责人名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'RuleCountInfo' => [
+ 'title' => '质量规则计数',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ValidateRuleCount' => [
+ 'title' => '校验规则技术',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'TotalRuleCount' => [
+ 'title' => '总规则数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'FinishedRuleCount' => [
+ 'title' => '执行完成规则数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'ErrorRuleCount' => [
+ 'title' => '执行失败规则数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '0',
+ ],
+ 'SuccessRuleCount' => [
+ 'title' => '执行成功规则数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ ],
+ ],
+ 'StrongRuleCount' => [
+ 'title' => '强规则技术',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'TotalRuleCount' => [
+ 'title' => '总规则数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'FinishedRuleCount' => [
+ 'title' => '执行完成规则数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'ErrorRuleCount' => [
+ 'title' => '执行失败规则数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '0',
+ ],
+ 'SuccessRuleCount' => [
+ 'title' => '执行成功规则数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ ],
+ ],
+ 'WeakRuleCount' => [
+ 'title' => '弱规则技术',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'TotalRuleCount' => [
+ 'title' => '总规则数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'FinishedRuleCount' => [
+ 'title' => '执行完成规则数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'ErrorRuleCount' => [
+ 'title' => '执行失败规则数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '0',
+ ],
+ 'SuccessRuleCount' => [
+ 'title' => '执行成功规则数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'RuleIdList' => [
+ 'title' => '质量规则Id',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '质量规则Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '2',
+ ],
+ ],
+ 'Status' => [
+ 'title' => '任务状态: NOT_RUN 未执行、WAITING 等待中、RUNNING 执行中、SUCCESS 执行成功、FAILED 执行失败、CANCEL 取消、TIMEOUT 超时、OFFLINE 离线',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'RUNNING',
+ ],
+ 'BizDate' => [
+ 'title' => '业务日期',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-06-30',
+ ],
+ 'BizDateFormat' => [
+ 'title' => '业务日期格式',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'yyyy-MM-dd',
+ ],
+ 'Creator' => [
+ 'title' => '创建者',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30012011',
+ ],
+ 'CreateTime' => [
+ 'title' => '创建时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-06-30 00:00:00',
+ ],
+ 'ModifyTime' => [
+ 'title' => '修改时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-06-30 00:00:00',
+ ],
+ 'Modifier' => [
+ 'title' => '最近修改用户ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30012011',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"PageResult\\": {\\n \\"TotalCount\\": 68,\\n \\"QualityWatchTaskList\\": [\\n {\\n \\"Id\\": 1,\\n \\"WatchId\\": 1,\\n \\"StartTime\\": \\"2025-06-30 08:00:00\\",\\n \\"EndTime\\": \\"2025-06-30 20:00:00\\",\\n \\"QualityOwner\\": \\"30012011\\",\\n \\"QualityOwnerName\\": \\"test\\",\\n \\"RuleCountInfo\\": {\\n \\"ValidateRuleCount\\": {\\n \\"TotalRuleCount\\": 1,\\n \\"FinishedRuleCount\\": 1,\\n \\"ErrorRuleCount\\": 0,\\n \\"SuccessRuleCount\\": 1\\n },\\n \\"StrongRuleCount\\": {\\n \\"TotalRuleCount\\": 1,\\n \\"FinishedRuleCount\\": 1,\\n \\"ErrorRuleCount\\": 0,\\n \\"SuccessRuleCount\\": 1\\n },\\n \\"WeakRuleCount\\": {\\n \\"TotalRuleCount\\": 1,\\n \\"FinishedRuleCount\\": 1,\\n \\"ErrorRuleCount\\": 0,\\n \\"SuccessRuleCount\\": 1\\n }\\n },\\n \\"RuleIdList\\": [\\n 2\\n ],\\n \\"Status\\": \\"RUNNING\\",\\n \\"BizDate\\": \\"2025-06-30\\",\\n \\"BizDateFormat\\": \\"yyyy-MM-dd\\",\\n \\"Creator\\": \\"30012011\\",\\n \\"CreateTime\\": \\"2025-06-30 00:00:00\\",\\n \\"ModifyTime\\": \\"2025-06-30 00:00:00\\",\\n \\"Modifier\\": \\"30012011\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'ListQualityTemplates' => [
+ 'summary' => '分页查询质量模板。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'ListQuery',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '分页查询条件',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'CatalogList' => [
+ 'title' => '规则类型: CONSISTENT 一致性,EFFECTIVE 有效性,TIMELINESE 时效性,ACCURATE 准确性,UNIQUENESS 唯一性,COMPLETENESS 完整性,STABILITY 稳定性,CUSTOM 自定义',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '规则类型: CONSISTENT 一致性,EFFECTIVE 有效性,TIMELINESE 时效性,ACCURATE 准确性,UNIQUENESS 唯一性,COMPLETENESS 完整性,STABILITY 稳定性,CUSTOM 自定义',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'CONSISTENT',
+ ],
+ 'required' => false,
+ ],
+ 'SupportDataSourceTypeList' => [
+ 'title' => '支持的数据源类型: MAX_COMPUTE、MYSQL、HIVE等',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '支持的数据源类型: MAX_COMPUTE、MYSQL、HIVE等',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'MAX_COMPUTE',
+ ],
+ 'required' => false,
+ ],
+ 'TemplateTypeList' => [
+ 'title' => '模板类型: FIELD_NULL_VALUE_VALIDATE 字段空值校验,FIELD_EMPTY_STRING_VALIDATE 字段空字符串校验,FIELD_UNIQUE_VALIDATE 字段唯一性校验,FIELD_GROUP_COUNT_VALIDATE 字段唯一值个数校验,FIELD_DUPLICATE_VALUE_COUNT_VALIDATE 字段重复值个数校验,FUNCTION_TIME_COMPARE 时间函数比较,SINGLE_TABLE_TIME_COMPARE 单表时间字段比较,DOUBLE_TABLE_TIME_COMPARE 两表时间字段比较,FIELD_FORMAT_VALIDATE 字段格式校验,FIELD_LENGTH_VALIDATE 字段长度校验,FIELD_VALUE_RANGE_VALIDATE 字段值域校验,CODE_TABLE_COMPARE 码表参照对比,STANDARD_CODE_TABLE_COMPARE 数据标准码表参照对比,SINGLE_TABLE_FIELD_VALUE_COMPARE 单表字段值一致性比较,SINGLE_TABLE_FIELD_STATISTICAL_COMPARE 单表字段统计值一致性比较,SINGLE_TABLE_FIELD_EXP_COMPARE 单表字段业务逻辑一致性比较,DOUBLE_TABLE_FIELD_VALUE_COMPARE 两表字段值一致性比较,DOUBLE_TABLE_FIELD_STATISTICAL_COMPARE 两表字段统计值一致性比较,CROSS_DOUBLE_TABLE_FIELD_STATISTICAL_COMPARE 跨源两表字段统计值一致性比较,DOUBLE_TABLE_FIELD_EXP_COMPARE 两表字段业务逻辑一致性比较,TABLE_STABILITY_VALIDATE 表稳定性校验,TABLE_FLUCTUATION_VALIDATE 表波动性校验,FIELD_STABILITY_VALIDATE 字段稳定性校验,FIELD_FLUCTUATION_VALIDATE 字段波动性校验,CUSTOM_STATISTICAL_VALIDATE 自定义统计指标校验,CUSTOM_DATA_DETAILS_VALIDATE 自定义数据详情校验,DATASOURCE_AVAILABLE_CHECK 数据源连通性监测,TABLE_SCHEMA_CHECK 表结构异动监测,REAL_TIME_OFFLINE_COMPARE 实时离线对比,REAL_TIME_STATISTICAL_VALIDATE 实时统计值监测,REAL_TIME_MULTI_CHAIN_COMPARE 实时多链路对比',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '模板类型: FIELD_NULL_VALUE_VALIDATE 字段空值校验,FIELD_EMPTY_STRING_VALIDATE 字段空字符串校验,FIELD_UNIQUE_VALIDATE 字段唯一性校验,FIELD_GROUP_COUNT_VALIDATE 字段唯一值个数校验,FIELD_DUPLICATE_VALUE_COUNT_VALIDATE 字段重复值个数校验,FUNCTION_TIME_COMPARE 时间函数比较,SINGLE_TABLE_TIME_COMPARE 单表时间字段比较,DOUBLE_TABLE_TIME_COMPARE 两表时间字段比较,FIELD_FORMAT_VALIDATE 字段格式校验,FIELD_LENGTH_VALIDATE 字段长度校验,FIELD_VALUE_RANGE_VALIDATE 字段值域校验,CODE_TABLE_COMPARE 码表参照对比,STANDARD_CODE_TABLE_COMPARE 数据标准码表参照对比,SINGLE_TABLE_FIELD_VALUE_COMPARE 单表字段值一致性比较,SINGLE_TABLE_FIELD_STATISTICAL_COMPARE 单表字段统计值一致性比较,SINGLE_TABLE_FIELD_EXP_COMPARE 单表字段业务逻辑一致性比较,DOUBLE_TABLE_FIELD_VALUE_COMPARE 两表字段值一致性比较,DOUBLE_TABLE_FIELD_STATISTICAL_COMPARE 两表字段统计值一致性比较,CROSS_DOUBLE_TABLE_FIELD_STATISTICAL_COMPARE 跨源两表字段统计值一致性比较,DOUBLE_TABLE_FIELD_EXP_COMPARE 两表字段业务逻辑一致性比较,TABLE_STABILITY_VALIDATE 表稳定性校验,TABLE_FLUCTUATION_VALIDATE 表波动性校验,FIELD_STABILITY_VALIDATE 字段稳定性校验,FIELD_FLUCTUATION_VALIDATE 字段波动性校验,CUSTOM_STATISTICAL_VALIDATE 自定义统计指标校验,CUSTOM_DATA_DETAILS_VALIDATE 自定义数据详情校验,DATASOURCE_AVAILABLE_CHECK 数据源连通性监测,TABLE_SCHEMA_CHECK 表结构异动监测,REAL_TIME_OFFLINE_COMPARE 实时离线对比,REAL_TIME_STATISTICAL_VALIDATE 实时统计值监测,REAL_TIME_MULTI_CHAIN_COMPARE 实时多链路对比',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'FIELD_NULL_VALUE_VALIDATE',
+ ],
+ 'required' => false,
+ ],
+ 'WatchTypeList' => [
+ 'title' => '监控对象类型: TABLE Dataphin表,DATASOURCE_TABLE 全域表,DATASOURCE 数据源,INDEX 指标,REALTIME_LOGICAL_TABLE 实时元表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '监控对象类型: TABLE Dataphin表,DATASOURCE_TABLE 全域表,DATASOURCE 数据源,INDEX 指标,REALTIME_LOGICAL_TABLE 实时元表',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'TABLE',
+ ],
+ 'required' => false,
+ ],
+ 'TemplateSourceList' => [
+ 'title' => '模板来源,SYSTEM 系统模板、CUSTOM 自定义模板',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '模板来源,SYSTEM 系统模板、CUSTOM 自定义模板',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'CUSTOM',
+ ],
+ 'required' => false,
+ ],
+ 'CurrentUserOwned' => [
+ 'title' => '是否当前用户负责的模板',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ ],
+ 'TemplateOwnerList' => [
+ 'title' => '模板负责人',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '模板负责人',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '30012011',
+ ],
+ 'required' => false,
+ ],
+ 'Keyword' => [
+ 'title' => '搜索词筛选,支持模板名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'abc',
+ ],
+ 'PageNo' => [
+ 'title' => '页码, 默认1',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ 'PageSize' => [
+ 'title' => '分页记录数, 默认20',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '20',
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'PageResult' => [
+ 'title' => '分页查询结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'TotalCount' => [
+ 'title' => '总记录数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '68',
+ ],
+ 'QualityTemplateList' => [
+ 'title' => '分页质量模板列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '模板Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'Name' => [
+ 'title' => '模板名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'Type' => [
+ 'title' => '模板类型: FIELD_NULL_VALUE_VALIDATE 字段空值校验,FIELD_EMPTY_STRING_VALIDATE 字段空字符串校验,FIELD_UNIQUE_VALIDATE 字段唯一性校验,FIELD_GROUP_COUNT_VALIDATE 字段唯一值个数校验,FIELD_DUPLICATE_VALUE_COUNT_VALIDATE 字段重复值个数校验,FUNCTION_TIME_COMPARE 时间函数比较,SINGLE_TABLE_TIME_COMPARE 单表时间字段比较,DOUBLE_TABLE_TIME_COMPARE 两表时间字段比较,FIELD_FORMAT_VALIDATE 字段格式校验,FIELD_LENGTH_VALIDATE 字段长度校验,FIELD_VALUE_RANGE_VALIDATE 字段值域校验,CODE_TABLE_COMPARE 码表参照对比,STANDARD_CODE_TABLE_COMPARE 数据标准码表参照对比,SINGLE_TABLE_FIELD_VALUE_COMPARE 单表字段值一致性比较,SINGLE_TABLE_FIELD_STATISTICAL_COMPARE 单表字段统计值一致性比较,SINGLE_TABLE_FIELD_EXP_COMPARE 单表字段业务逻辑一致性比较,DOUBLE_TABLE_FIELD_VALUE_COMPARE 两表字段值一致性比较,DOUBLE_TABLE_FIELD_STATISTICAL_COMPARE 两表字段统计值一致性比较,CROSS_DOUBLE_TABLE_FIELD_STATISTICAL_COMPARE 跨源两表字段统计值一致性比较,DOUBLE_TABLE_FIELD_EXP_COMPARE 两表字段业务逻辑一致性比较,TABLE_STABILITY_VALIDATE 表稳定性校验,TABLE_FLUCTUATION_VALIDATE 表波动性校验,FIELD_STABILITY_VALIDATE 字段稳定性校验,FIELD_FLUCTUATION_VALIDATE 字段波动性校验,CUSTOM_STATISTICAL_VALIDATE 自定义统计指标校验,CUSTOM_DATA_DETAILS_VALIDATE 自定义数据详情校验,DATASOURCE_AVAILABLE_CHECK 数据源连通性监测,TABLE_SCHEMA_CHECK 表结构异动监测,REAL_TIME_OFFLINE_COMPARE 实时离线对比,REAL_TIME_STATISTICAL_VALIDATE 实时统计值监测,REAL_TIME_MULTI_CHAIN_COMPARE 实时多链路对比',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'FIELD_NULL_VALUE_VALIDATE',
+ ],
+ 'TypeName' => [
+ 'title' => '模板类型展示名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '字段空值校验',
+ ],
+ 'Description' => [
+ 'title' => '模板描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'Owner' => [
+ 'title' => '归属人用户ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30012011',
+ ],
+ 'OwnerName' => [
+ 'title' => '归属人名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'Catalog' => [
+ 'title' => '模板分类: CONSISTENT 一致性,EFFECTIVE 有效性,TIMELINESE 时效性,ACCURATE 准确性,UNIQUENESS 唯一性,COMPLETENESS 完整性,STABILITY 稳定性,CUSTOM 自定义',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'CONSISTENT',
+ ],
+ 'CatalogName' => [
+ 'title' => '模板分类展示名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '一致性',
+ ],
+ 'SupportAllDataSourceType' => [
+ 'title' => '支持所有数据源类型',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'SupportDataSourceTypeList' => [
+ 'title' => '支持特定数据源类型:MySQL、Oracle、Microsoft SQL Server、MaxCompute、Hive等',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '支持特定数据源类型:MySQL、Oracle、Microsoft SQL Server、MaxCompute、Hive等',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'MySQL',
+ ],
+ ],
+ 'IsSystemTemplate' => [
+ 'title' => '是否系统模板',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'FormPropertyList' => [
+ 'title' => '规则配置键值对',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ComponentType' => [
+ 'title' => '控件类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'expression',
+ ],
+ 'Name' => [
+ 'title' => '属性名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'col',
+ ],
+ 'Value' => [
+ 'title' => '属性值',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'abc',
+ ],
+ ],
+ ],
+ ],
+ 'Creator' => [
+ 'title' => '创建人用户ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30012011',
+ ],
+ 'CreatorName' => [
+ 'title' => '创建人名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'CreateTime' => [
+ 'title' => '创建时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-06-30 00:00:00',
+ ],
+ 'ModifyTime' => [
+ 'title' => '修改时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-06-30 00:00:00',
+ ],
+ 'Modifier' => [
+ 'title' => '最近修改人ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30012011',
+ ],
+ 'ModifierName' => [
+ 'title' => '最近修改人名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"PageResult\\": {\\n \\"TotalCount\\": 68,\\n \\"QualityTemplateList\\": [\\n {\\n \\"Id\\": 1,\\n \\"Name\\": \\"test\\",\\n \\"Type\\": \\"FIELD_NULL_VALUE_VALIDATE\\",\\n \\"TypeName\\": \\"字段空值校验\\",\\n \\"Description\\": \\"test\\",\\n \\"Owner\\": \\"30012011\\",\\n \\"OwnerName\\": \\"test\\",\\n \\"Catalog\\": \\"CONSISTENT\\",\\n \\"CatalogName\\": \\"一致性\\",\\n \\"SupportAllDataSourceType\\": true,\\n \\"SupportDataSourceTypeList\\": [\\n \\"MySQL\\"\\n ],\\n \\"IsSystemTemplate\\": true,\\n \\"FormPropertyList\\": [\\n {\\n \\"ComponentType\\": \\"expression\\",\\n \\"Name\\": \\"col\\",\\n \\"Value\\": \\"abc\\"\\n }\\n ],\\n \\"Creator\\": \\"30012011\\",\\n \\"CreatorName\\": \\"test\\",\\n \\"CreateTime\\": \\"2025-06-30 00:00:00\\",\\n \\"ModifyTime\\": \\"2025-06-30 00:00:00\\",\\n \\"Modifier\\": \\"30012011\\",\\n \\"ModifierName\\": \\"test\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'ListQualityRules' => [
+ 'summary' => '分页查询质量规则。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'ListQuery',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '分页查询条件',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'WatchId' => [
+ 'title' => '监控ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ 'StatusList' => [
+ 'title' => '规则生效状态: ENABLE 启用、DISABLE 禁用',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '规则生效状态: ENABLE 启用、DISABLE 禁用',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ENABLE',
+ ],
+ 'required' => false,
+ ],
+ 'CatalogList' => [
+ 'title' => '规则类型: CONSISTENT 一致性,EFFECTIVE 有效性,TIMELINESE 时效性,ACCURATE 准确性,UNIQUENESS 唯一性,COMPLETENESS 完整性,STABILITY 稳定性,CUSTOM 自定义',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '规则类型: CONSISTENT 一致性,EFFECTIVE 有效性,TIMELINESE 时效性,ACCURATE 准确性,UNIQUENESS 唯一性,COMPLETENESS 完整性,STABILITY 稳定性,CUSTOM 自定义',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'CONSISTENT',
+ ],
+ 'required' => false,
+ ],
+ 'TemplateIdList' => [
+ 'title' => '规则模板',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '规则模板',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '2',
+ ],
+ 'required' => false,
+ ],
+ 'RuleStrengthList' => [
+ 'title' => '规则强度: STRONG 强、WEAK 弱',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '规则强度: STRONG 强、WEAK 弱',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'STRONG',
+ ],
+ 'required' => false,
+ ],
+ 'TestRunTaskValidateResultList' => [
+ 'title' => '规则试跑校验结果: NOT_RUN 未执行、WAITING 等待执行、RUNNING 执行中、PASS 通过、NOT_PASS 不通过、FAILED 执行失败、OFFLINE 掉线,需要重新拉起、CANCEL 任务取消、TIMEOUT 任务超时',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '规则试跑校验结果: NOT_RUN 未执行、WAITING 等待执行、RUNNING 执行中、PASS 通过、NOT_PASS 不通过、FAILED 执行失败、OFFLINE 掉线,需要重新拉起、CANCEL 任务取消、TIMEOUT 任务超时',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'RUNNING',
+ ],
+ 'required' => false,
+ ],
+ 'TestRunTaskStatusList' => [
+ 'title' => '任务状态: NOT_RUN 未执行、WAITING 等待中、RUNNING 执行中、SUCCESS 执行成功、FAILED 执行失败、CANCEL 取消、TIMEOUT 超时、OFFLINE 离线',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '任务状态: NOT_RUN 未执行、WAITING 等待中、RUNNING 执行中、SUCCESS 执行成功、FAILED 执行失败、CANCEL 取消、TIMEOUT 超时、OFFLINE 离线',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'RUNNING',
+ ],
+ 'required' => false,
+ ],
+ 'Keyword' => [
+ 'title' => '搜索词筛选,支持规则名称和校验对象搜索',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ 'PageNo' => [
+ 'title' => '页码, 默认1',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ 'PageSize' => [
+ 'title' => '分页记录数, 默认20',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '20',
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'PageResult' => [
+ 'title' => '分页查询结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'TotalCount' => [
+ 'title' => '总记录数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '68',
+ ],
+ 'QualityRuleList' => [
+ 'title' => '分页质量规则任务列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '质量规则Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'Name' => [
+ 'title' => '质量规则名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'Status' => [
+ 'title' => '质量规则状态: ENABLE,DISABLE',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'ENABLE',
+ ],
+ 'Description' => [
+ 'title' => '描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'Strength' => [
+ 'title' => '规则强弱: STRONG、WEAK',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'STRONG',
+ ],
+ 'CatalogList' => [
+ 'title' => '规则分类: CONSISTENT 一致性,EFFECTIVE 有效性,TIMELINESE 时效性,ACCURATE 准确性,UNIQUENESS 唯一性,COMPLETENESS 完整性,STABILITY 稳定性,CUSTOM 自定义',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '规则分类: CONSISTENT 一致性,EFFECTIVE 有效性,TIMELINESE 时效性,ACCURATE 准确性,UNIQUENESS 唯一性,COMPLETENESS 完整性,STABILITY 稳定性,CUSTOM 自定义',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'CONSISTENT',
+ ],
+ ],
+ 'TemplateType' => [
+ 'title' => '模板类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'FIELD_NULL_VALUE_VALIDATE',
+ ],
+ 'TemplateId' => [
+ 'title' => '模板ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'TemplateName' => [
+ 'title' => '模板名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1',
+ ],
+ 'TemplateScope' => [
+ 'title' => '模板类型分组: SYSTEM 系统预置、CUSTOM 自定义模板、TEMPLATE SYSTEM及CUSTOM并集、 CUSTOM_SQL 自定义SQL模板',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'CUSTOM',
+ ],
+ 'WatchId' => [
+ 'title' => '所属监控ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'EnableErrorArchive' => [
+ 'title' => '是否启动异常归档',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'ValidateConditionList' => [
+ 'title' => '校验条件列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '条件节点id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '268',
+ ],
+ 'Type' => [
+ 'title' => '条件类型: RELATION 关系,EXPRESSION:表达式',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'RELATION',
+ ],
+ 'Operator' => [
+ 'title' => '操作符: EQUAL,NOT_EQUAL,LARGER,SMALLER,LARGE_OR_EQUAL,SMALLER_OR_EQUAL,AND,OR',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'AND',
+ ],
+ 'OperatorName' => [
+ 'title' => '操作符名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '且',
+ ],
+ 'Metric' => [
+ 'title' => '指标',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'MetricName' => [
+ 'title' => '指标名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'Value' => [
+ 'title' => '值',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1',
+ ],
+ 'ParentId' => [
+ 'title' => '条件父节点Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '123',
+ ],
+ ],
+ ],
+ ],
+ 'TestRunRuleTaskId' => [
+ 'title' => '最近一次试跑任务ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '22',
+ ],
+ 'TestRunRuleTaskStatus' => [
+ 'title' => '最近一次试跑任务状态:NOT_RUN,WAITING,RUNNING,SUCCESS,FAILED',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'SUCCESS',
+ ],
+ 'TestRunRuleValidateResult' => [
+ 'title' => '试跑校验是否通过',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'ScheduleBindList' => [
+ 'title' => '规则绑定的调度列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ScheduleId' => [
+ 'title' => '调度Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'ScheduleName' => [
+ 'title' => '调度名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ ],
+ ],
+ ],
+ 'FormPropertyList' => [
+ 'title' => '规则配置键值对, 与模板类型相关:不同模板类型返回不同的表单键值对配置',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ComponentType' => [
+ 'title' => '控件类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'expression',
+ ],
+ 'Name' => [
+ 'title' => '属性名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'col',
+ ],
+ 'Value' => [
+ 'title' => '属性值',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'abc',
+ ],
+ ],
+ ],
+ ],
+ 'ValidateObject' => [
+ 'title' => '校验对象',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => [
+ 'title' => '校验对象类型: UNKNOWN,TABLE,COLUMN,DATASOURCE,DATASOURCE_TABLE,REALTIME,INDEX,CHAIN',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'TABLE',
+ ],
+ 'Name' => [
+ 'title' => '校验对象名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ ],
+ ],
+ 'AttributeWithValueList' => [
+ 'title' => '规则业务属性配置',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'AttributeInfo' => [
+ 'title' => '属性详情',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '属性Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '-168890138815',
+ ],
+ 'Name' => [
+ 'title' => '属性名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'attr01',
+ ],
+ 'Description' => [
+ 'title' => '描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'Enabled' => [
+ 'title' => '是否启用',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'Required' => [
+ 'title' => '是否必填',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'Searchable' => [
+ 'title' => '是否可搜索',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'ValueConfig' => [
+ 'title' => '属性值配置详情',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => [
+ 'title' => '属性值填写方式: CUSTOMIZED 自定义输入,SINGLE_ENUM 下拉单选框,MULTIPLE_ENUMS 下拉多选框, RANGE 范围区间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'CUSTOMIZED',
+ ],
+ 'DataType' => [
+ 'title' => '属性字段类型: STRING 文本型,BIGINT 数值整型,DOUBLE 数值浮点型,BOOLEAN 布尔型,DATE 日期型,DATETIME 时间型',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'STRING',
+ ],
+ 'Length' => [
+ 'title' => '属性字段长度, 可对文本型的属性值最大长度进行约束',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '6997283',
+ ],
+ 'ValueEnumList' => [
+ 'title' => '属性选项值:仅针对填写方式为下拉单选框或下拉多选框的属性',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '属性选项值:仅针对填写方式为下拉单选框或下拉多选框的属性',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ ],
+ 'DefaultValue' => [
+ 'title' => '属性默认值',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ValueList' => [
+ 'title' => '属性值清单,适用于填写方式为自定义输入、下拉单选框、下拉多选框的属性',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '属性值清单,适用于填写方式为自定义输入、下拉单选框、下拉多选框的属性',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '123',
+ ],
+ ],
+ 'MinValue' => [
+ 'title' => '最小值,适用于范围区间属性',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1',
+ ],
+ 'IncludeMinValue' => [
+ 'title' => '是否包含最小值',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'MaxValue' => [
+ 'title' => '最大值,适用于范围区间属性',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '100',
+ ],
+ 'IncludeMaxValue' => [
+ 'title' => '是否包含最大值',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'AttributeValue' => [
+ 'title' => '属性值',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ValueList' => [
+ 'title' => '属性值清单,适用于填写方式为自定义输入、下拉单选框、下拉多选框的属性',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '属性值清单,适用于填写方式为自定义输入、下拉单选框、下拉多选框的属性',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '123',
+ ],
+ ],
+ 'MinValue' => [
+ 'title' => '最小值,适用于范围区间属性',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1',
+ ],
+ 'IncludeMinValue' => [
+ 'title' => '是否包含最小值',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'MaxValue' => [
+ 'title' => '最大值,适用于范围区间属性',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '100',
+ ],
+ 'IncludeMaxValue' => [
+ 'title' => '是否包含最大值',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'Creator' => [
+ 'title' => '创建者',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30012011',
+ ],
+ 'CreatorName' => [
+ 'title' => '创建者名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'Modifier' => [
+ 'title' => '最近修改用户ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30012011',
+ ],
+ 'ModifierName' => [
+ 'title' => '最近修改用户名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'CreateTime' => [
+ 'title' => '创建时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-06-30 00:00:00',
+ ],
+ 'ModifyTime' => [
+ 'title' => '修改时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-06-30 00:00:00',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"PageResult\\": {\\n \\"TotalCount\\": 68,\\n \\"QualityRuleList\\": [\\n {\\n \\"Id\\": 1,\\n \\"Name\\": \\"test\\",\\n \\"Status\\": \\"ENABLE\\",\\n \\"Description\\": \\"test\\",\\n \\"Strength\\": \\"STRONG\\",\\n \\"CatalogList\\": [\\n \\"CONSISTENT\\"\\n ],\\n \\"TemplateType\\": \\"FIELD_NULL_VALUE_VALIDATE\\",\\n \\"TemplateId\\": 1,\\n \\"TemplateName\\": \\"1\\",\\n \\"TemplateScope\\": \\"CUSTOM\\",\\n \\"WatchId\\": 1,\\n \\"EnableErrorArchive\\": true,\\n \\"ValidateConditionList\\": [\\n {\\n \\"Id\\": \\"268\\",\\n \\"Type\\": \\"RELATION\\",\\n \\"Operator\\": \\"AND\\",\\n \\"OperatorName\\": \\"且\\",\\n \\"Metric\\": \\"test\\",\\n \\"MetricName\\": \\"test\\",\\n \\"Value\\": \\"1\\",\\n \\"ParentId\\": \\"123\\"\\n }\\n ],\\n \\"TestRunRuleTaskId\\": 22,\\n \\"TestRunRuleTaskStatus\\": \\"SUCCESS\\",\\n \\"TestRunRuleValidateResult\\": true,\\n \\"ScheduleBindList\\": [\\n {\\n \\"ScheduleId\\": 1,\\n \\"ScheduleName\\": \\"test\\"\\n }\\n ],\\n \\"FormPropertyList\\": [\\n {\\n \\"ComponentType\\": \\"expression\\",\\n \\"Name\\": \\"col\\",\\n \\"Value\\": \\"abc\\"\\n }\\n ],\\n \\"ValidateObject\\": {\\n \\"Type\\": \\"TABLE\\",\\n \\"Name\\": \\"test\\"\\n },\\n \\"AttributeWithValueList\\": [\\n {\\n \\"AttributeInfo\\": {\\n \\"Id\\": -168890138815,\\n \\"Name\\": \\"attr01\\",\\n \\"Description\\": \\"test\\",\\n \\"Enabled\\": true,\\n \\"Required\\": true,\\n \\"Searchable\\": true,\\n \\"ValueConfig\\": {\\n \\"Type\\": \\"CUSTOMIZED\\",\\n \\"DataType\\": \\"STRING\\",\\n \\"Length\\": 6997283,\\n \\"ValueEnumList\\": [\\n \\"test\\"\\n ],\\n \\"DefaultValue\\": {\\n \\"ValueList\\": [\\n \\"123\\"\\n ],\\n \\"MinValue\\": \\"1\\",\\n \\"IncludeMinValue\\": true,\\n \\"MaxValue\\": \\"100\\",\\n \\"IncludeMaxValue\\": true\\n }\\n }\\n },\\n \\"AttributeValue\\": {\\n \\"ValueList\\": [\\n \\"123\\"\\n ],\\n \\"MinValue\\": \\"1\\",\\n \\"IncludeMinValue\\": true,\\n \\"MaxValue\\": \\"100\\",\\n \\"IncludeMaxValue\\": true\\n }\\n }\\n ],\\n \\"Creator\\": \\"30012011\\",\\n \\"CreatorName\\": \\"test\\",\\n \\"Modifier\\": \\"30012011\\",\\n \\"ModifierName\\": \\"test\\",\\n \\"CreateTime\\": \\"2025-06-30 00:00:00\\",\\n \\"ModifyTime\\": \\"2025-06-30 00:00:00\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'ListQualityRuleTasks' => [
+ 'summary' => '分页查询质量规则任务。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'ListQuery',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '分页查询条件',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'WatchTaskId' => [
+ 'title' => '监控表任务ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ 'CatalogList' => [
+ 'title' => '规则类型: CONSISTENT 一致性,EFFECTIVE 有效性,TIMELINESE 时效性,ACCURATE 准确性,UNIQUENESS 唯一性,COMPLETENESS 完整性,STABILITY 稳定性,CUSTOM 自定义',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '规则类型: CONSISTENT 一致性,EFFECTIVE 有效性,TIMELINESE 时效性,ACCURATE 准确性,UNIQUENESS 唯一性,COMPLETENESS 完整性,STABILITY 稳定性,CUSTOM 自定义',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'CONSISTENT',
+ ],
+ 'required' => false,
+ ],
+ 'RuleStrengthList' => [
+ 'title' => '规则强度: STRONG 强、WEAK 弱',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '规则强度: STRONG 强、WEAK 弱',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'STRONG',
+ ],
+ 'required' => false,
+ ],
+ 'StatusList' => [
+ 'title' => '任务状态: NOT_RUN 未执行、WAITING 等待中、RUNNING 执行中、SUCCESS 执行成功、FAILED 执行失败、CANCEL 取消、TIMEOUT 超时、OFFLINE 离线',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '任务状态: NOT_RUN 未执行、WAITING 等待中、RUNNING 执行中、SUCCESS 执行成功、FAILED 执行失败、CANCEL 取消、TIMEOUT 超时、OFFLINE 离线',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'RUNNING',
+ ],
+ 'required' => false,
+ ],
+ 'ValidateResultList' => [
+ 'title' => '校验结果: NOT_RUN 未执行、WAITING 等待执行、RUNNING 执行中、PASS 通过、NOT_PASS 不通过、FAILED 执行失败、OFFLINE 掉线,需要重新拉起、CANCEL 任务取消、TIMEOUT 任务超时',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '校验结果: NOT_RUN 未执行、WAITING 等待执行、RUNNING 执行中、PASS 通过、NOT_PASS 不通过、FAILED 执行失败、OFFLINE 掉线,需要重新拉起、CANCEL 任务取消、TIMEOUT 任务超时',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'RUNNING',
+ ],
+ 'required' => false,
+ ],
+ 'RuleTagList' => [
+ 'title' => '规则标签: DEFAULT 默认标签、DATA_STANDARD_MANUAL 手工创建的标准规则、、DATA_STANDARD_AUTO 标准自动创建的质量规则、PIPELINE PIPELINE创建的规则、DATA_MODELING 数据建模',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '规则标签: DEFAULT 默认标签、DATA_STANDARD_MANUAL 手工创建的标准规则、、DATA_STANDARD_AUTO 标准自动创建的质量规则、PIPELINE PIPELINE创建的规则、DATA_MODELING 数据建模',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'DEFAULT',
+ ],
+ 'required' => false,
+ ],
+ 'BizDate' => [
+ 'title' => '业务日期',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2025-06-30',
+ ],
+ 'Keyword' => [
+ 'title' => '搜索词,字段名或者规则名搜索',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ 'PageNo' => [
+ 'title' => '页码, 默认1',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ 'PageSize' => [
+ 'title' => '分页记录数, 默认20',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '20',
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'PageResult' => [
+ 'title' => '分页查询结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'TotalCount' => [
+ 'title' => '总记录数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '68',
+ ],
+ 'QualityRuleTaskList' => [
+ 'title' => '分页质量规则任务列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'WatchId' => [
+ 'title' => '所属监控ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'WatchTaskId' => [
+ 'title' => '监控任务ID,试跑的规则任务这个ID为空',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'Id' => [
+ 'title' => '规则任务ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'RuleId' => [
+ 'title' => '规则ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '11',
+ ],
+ 'TemplateId' => [
+ 'title' => '模板ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '11',
+ ],
+ 'Status' => [
+ 'title' => '任务状态',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'running',
+ ],
+ 'StartTime' => [
+ 'title' => '起始时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-06-30 00:00:00',
+ ],
+ 'EndTime' => [
+ 'title' => '截止时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-06-30 00:00:00',
+ ],
+ 'ValidatePartition' => [
+ 'title' => '校验分区',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '20251011',
+ ],
+ 'ValidateObjectType' => [
+ 'title' => '校验对象类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'column',
+ ],
+ 'ValidateObjectName' => [
+ 'title' => '校验对象名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'ValidateSuccess' => [
+ 'title' => '是否校验通过',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'BizDate' => [
+ 'title' => '业务日期',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-06-30',
+ ],
+ 'BizDateFormat' => [
+ 'title' => '业务日期格式',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'yyyy-MM-dd',
+ ],
+ 'Creator' => [
+ 'title' => '创建者',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30012011',
+ ],
+ 'CreateTime' => [
+ 'title' => '创建时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-06-30 00:00:00',
+ ],
+ 'ModifyTime' => [
+ 'title' => '修改时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-06-30 00:00:00',
+ ],
+ 'Modifier' => [
+ 'title' => '最近修改用户ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30012011',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"PageResult\\": {\\n \\"TotalCount\\": 68,\\n \\"QualityRuleTaskList\\": [\\n {\\n \\"WatchId\\": 1,\\n \\"WatchTaskId\\": 1,\\n \\"Id\\": 1,\\n \\"RuleId\\": 11,\\n \\"TemplateId\\": 11,\\n \\"Status\\": \\"running\\",\\n \\"StartTime\\": \\"2025-06-30 00:00:00\\",\\n \\"EndTime\\": \\"2025-06-30 00:00:00\\",\\n \\"ValidatePartition\\": \\"20251011\\",\\n \\"ValidateObjectType\\": \\"column\\",\\n \\"ValidateObjectName\\": \\"test\\",\\n \\"ValidateSuccess\\": true,\\n \\"BizDate\\": \\"2025-06-30\\",\\n \\"BizDateFormat\\": \\"yyyy-MM-dd\\",\\n \\"Creator\\": \\"30012011\\",\\n \\"CreateTime\\": \\"2025-06-30 00:00:00\\",\\n \\"ModifyTime\\": \\"2025-06-30 00:00:00\\",\\n \\"Modifier\\": \\"30012011\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'GetQualityWatchTaskLog' => [
+ 'summary' => '获取监控任务对象的日志内容。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'WatchTaskId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '监控任务ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '11',
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'Data' => [
+ 'title' => '日志内容',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"Data\\": \\"test\\"\\n}","type":"json"}]',
+ ],
+ 'GetQualityWatchTask' => [
+ 'summary' => '获取监控任务对象。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'WatchTaskId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '监控任务ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '11',
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'WatchTaskInfo' => [
+ 'title' => '监控任务对象详情',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '监控任务ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'WatchId' => [
+ 'title' => '监控对象ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'StartTime' => [
+ 'title' => '起始时间, 时间格式:yyyy-MM-dd HH:mm:ss',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-06-30 08:00:00',
+ ],
+ 'EndTime' => [
+ 'title' => '截止时间, 时间格式:yyyy-MM-dd HH:mm:ss',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-06-30 20:00:00',
+ ],
+ 'QualityOwner' => [
+ 'title' => '质量负责人用户ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30012011',
+ ],
+ 'QualityOwnerName' => [
+ 'title' => '质量负责人名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'RuleCountInfo' => [
+ 'title' => '质量规则计数',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ValidateRuleCount' => [
+ 'title' => '校验规则技术',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'TotalRuleCount' => [
+ 'title' => '总规则数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'FinishedRuleCount' => [
+ 'title' => '执行完成规则数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'ErrorRuleCount' => [
+ 'title' => '执行失败规则数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '0',
+ ],
+ 'SuccessRuleCount' => [
+ 'title' => '执行成功规则数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ ],
+ ],
+ 'StrongRuleCount' => [
+ 'title' => '强规则技术',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'TotalRuleCount' => [
+ 'title' => '总规则数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'FinishedRuleCount' => [
+ 'title' => '执行完成规则数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'ErrorRuleCount' => [
+ 'title' => '执行失败规则数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '0',
+ ],
+ 'SuccessRuleCount' => [
+ 'title' => '执行成功规则数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ ],
+ ],
+ 'WeakRuleCount' => [
+ 'title' => '弱规则技术',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'TotalRuleCount' => [
+ 'title' => '总规则数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'FinishedRuleCount' => [
+ 'title' => '执行完成规则数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'ErrorRuleCount' => [
+ 'title' => '执行失败规则数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '0',
+ ],
+ 'SuccessRuleCount' => [
+ 'title' => '执行成功规则数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'RuleIdList' => [
+ 'title' => '质量规则Id',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '质量规则Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '2',
+ ],
+ ],
+ 'Status' => [
+ 'title' => '任务状态: NOT_RUN 未执行、WAITING 等待中、RUNNING 执行中、SUCCESS 执行成功、FAILED 执行失败、CANCEL 取消、TIMEOUT 超时、OFFLINE 离线',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'RUNNING',
+ ],
+ 'BizDate' => [
+ 'title' => '业务日期',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-06-30',
+ ],
+ 'BizDateFormat' => [
+ 'title' => '业务日期格式',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'yyyy-MM-dd',
+ ],
+ 'Creator' => [
+ 'title' => '创建者',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30012011',
+ ],
+ 'CreateTime' => [
+ 'title' => '创建时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-06-30 00:00:00',
+ ],
+ 'ModifyTime' => [
+ 'title' => '修改时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-06-30 00:00:00',
+ ],
+ 'Modifier' => [
+ 'title' => '最近修改用户ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30012011',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"WatchTaskInfo\\": {\\n \\"Id\\": 1,\\n \\"WatchId\\": 1,\\n \\"StartTime\\": \\"2025-06-30 08:00:00\\",\\n \\"EndTime\\": \\"2025-06-30 20:00:00\\",\\n \\"QualityOwner\\": \\"30012011\\",\\n \\"QualityOwnerName\\": \\"test\\",\\n \\"RuleCountInfo\\": {\\n \\"ValidateRuleCount\\": {\\n \\"TotalRuleCount\\": 1,\\n \\"FinishedRuleCount\\": 1,\\n \\"ErrorRuleCount\\": 0,\\n \\"SuccessRuleCount\\": 1\\n },\\n \\"StrongRuleCount\\": {\\n \\"TotalRuleCount\\": 1,\\n \\"FinishedRuleCount\\": 1,\\n \\"ErrorRuleCount\\": 0,\\n \\"SuccessRuleCount\\": 1\\n },\\n \\"WeakRuleCount\\": {\\n \\"TotalRuleCount\\": 1,\\n \\"FinishedRuleCount\\": 1,\\n \\"ErrorRuleCount\\": 0,\\n \\"SuccessRuleCount\\": 1\\n }\\n },\\n \\"RuleIdList\\": [\\n 2\\n ],\\n \\"Status\\": \\"RUNNING\\",\\n \\"BizDate\\": \\"2025-06-30\\",\\n \\"BizDateFormat\\": \\"yyyy-MM-dd\\",\\n \\"Creator\\": \\"30012011\\",\\n \\"CreateTime\\": \\"2025-06-30 00:00:00\\",\\n \\"ModifyTime\\": \\"2025-06-30 00:00:00\\",\\n \\"Modifier\\": \\"30012011\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'GetQualityWatchByObjectId' => [
+ 'summary' => '通过监控对象原始ID获取监控对象记录,例如:数据源、表、指标等的ID。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'WatchType',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '监控对象类型:TABLE Dataphin表,DATASOURCE_TABLE 全域表,DATASOURCE 数据源,INDEX 指标,REALTIME_LOGICAL_TABLE 实时元表',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'TABLE',
+ ],
+ ],
+ [
+ 'name' => 'WatchObjectId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '对象ID,例如表ID,数据源ID,指标ID等',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'cc',
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'QualityWatchInfo' => [
+ 'title' => '监控对象详情',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => [
+ 'title' => '监控对象类型: TABLE Dataphin表,DATASOURCE_TABLE 全域表,DATASOURCE 数据源,INDEX 指标,REALTIME_LOGICAL_TABLE 实时元表',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'TABLE',
+ ],
+ 'Id' => [
+ 'title' => '监控Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '11',
+ ],
+ 'Name' => [
+ 'title' => '监控名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'Status' => [
+ 'title' => '状态:ENABLE,DISABLE',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'ENABLE',
+ ],
+ 'DataSourceInfo' => [
+ 'title' => '数据源详情',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '数据源Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1',
+ ],
+ 'Name' => [
+ 'title' => '数据源名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1',
+ ],
+ 'Type' => [
+ 'title' => '数据源类型: MAX_COMPUTE、HADOOP',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'MAX_COMPUTE',
+ ],
+ 'Creator' => [
+ 'title' => '创建者',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30012011',
+ ],
+ 'CreatorName' => [
+ 'title' => '创建者名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'Owner' => [
+ 'title' => '负责人用户ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30012011',
+ ],
+ 'OwnerName' => [
+ 'title' => '负责人用户名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'CreateTime' => [
+ 'title' => '创建时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-06-30 00:00:00',
+ ],
+ 'ModifyTime' => [
+ 'title' => '修改时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-06-30 00:00:00',
+ ],
+ 'Env' => [
+ 'title' => '环境标识:PROD、DEV',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'DEV',
+ ],
+ ],
+ ],
+ 'TableInfo' => [
+ 'title' => '监控表对象',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => [
+ 'title' => '类型:LOGIC_DIM_TABLE 维度逻辑表,LOGIC_FACT_TABLE 事实逻辑表,LOGIC_SUM_TABLE 汇总逻辑表,LOGIC_LABEL_TABLE 标签逻辑表,PHYSICAL_TABLE 物理表,REALTIME_LOGICAL_TABLE 实时元表',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'LOGIC_DIM_TABLE',
+ ],
+ 'Catalog' => [
+ 'title' => '表catalog',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'Id' => [
+ 'title' => '表Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'Name' => [
+ 'title' => '表名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'Description' => [
+ 'title' => '描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'Env' => [
+ 'title' => '环境标识:DEV、PROD',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'DEV',
+ ],
+ 'Owner' => [
+ 'title' => '负责人用户ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30012011',
+ ],
+ 'OwnerName' => [
+ 'title' => '负责人用户名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'BizUnitId' => [
+ 'title' => '业务板块Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1121',
+ ],
+ 'BizUnitName' => [
+ 'title' => '业务板块名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'ProjectId' => [
+ 'title' => '项目Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1121',
+ ],
+ 'ProjectName' => [
+ 'title' => '项目名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'DataSourceType' => [
+ 'title' => '数据源类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'MAX_COMPUTE',
+ ],
+ 'DataSourceId' => [
+ 'title' => '数据源ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '22',
+ ],
+ 'IsPartitionTable' => [
+ 'title' => '是否分区表',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ ],
+ ],
+ 'IndexInfo' => [
+ 'title' => '指标详情',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ProjectId' => [
+ 'title' => '项目Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1121',
+ ],
+ 'ProjectName' => [
+ 'title' => '项目名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'Catalog' => [
+ 'title' => '指标catalog',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'Id' => [
+ 'title' => '指标Id:',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '11',
+ ],
+ 'Guid' => [
+ 'title' => '指标guid:',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1121',
+ ],
+ 'Name' => [
+ 'title' => '指标名:',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'logic',
+ ],
+ 'DisplayName' => [
+ 'title' => '指标展示名:',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'logic',
+ ],
+ 'GranularityId' => [
+ 'title' => '统计粒度id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '18755764',
+ ],
+ 'GranularityDisplayName' => [
+ 'title' => '统计粒度名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '全站汇总表',
+ ],
+ 'ComputeType' => [
+ 'title' => '指标计算类型类型:AUTO、CUSTOM、MOUNT、COMBINE',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'AUTO',
+ ],
+ 'CellSumLogicTableName' => [
+ 'title' => '单元汇总表名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'dws_all',
+ ],
+ 'Type' => [
+ 'title' => '指标类型:INDEX',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'INDEX',
+ ],
+ 'BizUnitId' => [
+ 'title' => '业务板块Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1121',
+ ],
+ 'BizUnitName' => [
+ 'title' => '业务板块名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'Owner' => [
+ 'title' => '负责人用户ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30012011',
+ ],
+ 'OwnerName' => [
+ 'title' => '负责人用户名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'Description' => [
+ 'title' => '描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'DateType' => [
+ 'title' => '指标数据类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'bigint',
+ ],
+ ],
+ ],
+ 'QualityOwner' => [
+ 'title' => '质量负责人用户ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30012011',
+ ],
+ 'QualityOwnerName' => [
+ 'title' => '质量负责人显示名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'LatestWatchTaskId' => [
+ 'title' => '最近一次监控对象校验记录ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'LatestWatchTaskStatus' => [
+ 'title' => '最近一次监控对象校验记录状态',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'SUCCESS',
+ ],
+ 'RuleCount' => [
+ 'title' => '规则数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '11',
+ ],
+ 'EnabledRuleCount' => [
+ 'title' => '生效规则数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'Creator' => [
+ 'title' => '创建者',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30012011',
+ ],
+ 'CreatorName' => [
+ 'title' => '创建者名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'CreateTime' => [
+ 'title' => '创建时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-06-30 00:00:00',
+ ],
+ 'ModifyTime' => [
+ 'title' => '修改时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-06-30 00:00:00',
+ ],
+ 'Modifier' => [
+ 'title' => '最近修改用户ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30012011',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"QualityWatchInfo\\": {\\n \\"Type\\": \\"TABLE\\",\\n \\"Id\\": 11,\\n \\"Name\\": \\"test\\",\\n \\"Status\\": \\"ENABLE\\",\\n \\"DataSourceInfo\\": {\\n \\"Id\\": \\"1\\",\\n \\"Name\\": \\"1\\",\\n \\"Type\\": \\"MAX_COMPUTE\\",\\n \\"Creator\\": \\"30012011\\",\\n \\"CreatorName\\": \\"test\\",\\n \\"Owner\\": \\"30012011\\",\\n \\"OwnerName\\": \\"test\\",\\n \\"CreateTime\\": \\"2025-06-30 00:00:00\\",\\n \\"ModifyTime\\": \\"2025-06-30 00:00:00\\",\\n \\"Env\\": \\"DEV\\"\\n },\\n \\"TableInfo\\": {\\n \\"Type\\": \\"LOGIC_DIM_TABLE\\",\\n \\"Catalog\\": \\"test\\",\\n \\"Id\\": \\"test\\",\\n \\"Name\\": \\"test\\",\\n \\"Description\\": \\"test\\",\\n \\"Env\\": \\"DEV\\",\\n \\"Owner\\": \\"30012011\\",\\n \\"OwnerName\\": \\"test\\",\\n \\"BizUnitId\\": 1121,\\n \\"BizUnitName\\": \\"test\\",\\n \\"ProjectId\\": 1121,\\n \\"ProjectName\\": \\"test\\",\\n \\"DataSourceType\\": \\"MAX_COMPUTE\\",\\n \\"DataSourceId\\": \\"22\\",\\n \\"IsPartitionTable\\": true\\n },\\n \\"IndexInfo\\": {\\n \\"ProjectId\\": 1121,\\n \\"ProjectName\\": \\"test\\",\\n \\"Catalog\\": \\"test\\",\\n \\"Id\\": \\"11\\",\\n \\"Guid\\": \\"1121\\",\\n \\"Name\\": \\"logic\\",\\n \\"DisplayName\\": \\"logic\\",\\n \\"GranularityId\\": 18755764,\\n \\"GranularityDisplayName\\": \\"全站汇总表\\",\\n \\"ComputeType\\": \\"AUTO\\",\\n \\"CellSumLogicTableName\\": \\"dws_all\\",\\n \\"Type\\": \\"INDEX\\",\\n \\"BizUnitId\\": 1121,\\n \\"BizUnitName\\": \\"test\\",\\n \\"Owner\\": \\"30012011\\",\\n \\"OwnerName\\": \\"test\\",\\n \\"Description\\": \\"test\\",\\n \\"DateType\\": \\"bigint\\"\\n },\\n \\"QualityOwner\\": \\"30012011\\",\\n \\"QualityOwnerName\\": \\"test\\",\\n \\"LatestWatchTaskId\\": 1,\\n \\"LatestWatchTaskStatus\\": \\"SUCCESS\\",\\n \\"RuleCount\\": 11,\\n \\"EnabledRuleCount\\": 1,\\n \\"Creator\\": \\"30012011\\",\\n \\"CreatorName\\": \\"test\\",\\n \\"CreateTime\\": \\"2025-06-30 00:00:00\\",\\n \\"ModifyTime\\": \\"2025-06-30 00:00:00\\",\\n \\"Modifier\\": \\"30012011\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'GetQualityWatch' => [
+ 'summary' => '获取质量监控对象。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'Id',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '监控Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '11',
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'QualityWatchInfo' => [
+ 'title' => '监控对象详情',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => [
+ 'title' => '监控对象类型: TABLE Dataphin表,DATASOURCE_TABLE 全域表,DATASOURCE 数据源,INDEX 指标,REALTIME_LOGICAL_TABLE 实时元表',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'TABLE',
+ ],
+ 'Id' => [
+ 'title' => '监控Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '11',
+ ],
+ 'Name' => [
+ 'title' => '监控名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'Status' => [
+ 'title' => '状态:ENABLE,DISABLE',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'ENABLE',
+ ],
+ 'DataSourceInfo' => [
+ 'title' => '数据源详情',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '数据源Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1',
+ ],
+ 'Name' => [
+ 'title' => '数据源名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1',
+ ],
+ 'Type' => [
+ 'title' => '数据源类型: MAX_COMPUTE、HADOOP',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'MAX_COMPUTE',
+ ],
+ 'Creator' => [
+ 'title' => '创建者',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30012011',
+ ],
+ 'CreatorName' => [
+ 'title' => '创建者名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'Owner' => [
+ 'title' => '负责人用户ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30012011',
+ ],
+ 'OwnerName' => [
+ 'title' => '负责人用户名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'CreateTime' => [
+ 'title' => '创建时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-06-30 00:00:00',
+ ],
+ 'ModifyTime' => [
+ 'title' => '修改时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-06-30 00:00:00',
+ ],
+ 'Env' => [
+ 'title' => '环境标识:PROD、DEV',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'DEV',
+ ],
+ ],
+ ],
+ 'TableInfo' => [
+ 'title' => '监控表对象',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => [
+ 'title' => '类型:LOGIC_DIM_TABLE 维度逻辑表,LOGIC_FACT_TABLE 事实逻辑表,LOGIC_SUM_TABLE 汇总逻辑表,LOGIC_LABEL_TABLE 标签逻辑表,PHYSICAL_TABLE 物理表,REALTIME_LOGICAL_TABLE 实时元表',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'LOGIC_DIM_TABLE',
+ ],
+ 'Catalog' => [
+ 'title' => '表catalog',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'Id' => [
+ 'title' => '表Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'Name' => [
+ 'title' => '表名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'Description' => [
+ 'title' => '描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'Env' => [
+ 'title' => '环境标识:DEV、PROD',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'DEV',
+ ],
+ 'Owner' => [
+ 'title' => '负责人用户ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30012011',
+ ],
+ 'OwnerName' => [
+ 'title' => '负责人用户名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'BizUnitId' => [
+ 'title' => '业务板块Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1121',
+ ],
+ 'BizUnitName' => [
+ 'title' => '业务板块名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'ProjectId' => [
+ 'title' => '项目Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1121',
+ ],
+ 'ProjectName' => [
+ 'title' => '项目名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'DataSourceType' => [
+ 'title' => '数据源类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'MAX_COMPUTE',
+ ],
+ 'DataSourceId' => [
+ 'title' => '数据源ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '22',
+ ],
+ 'IsPartitionTable' => [
+ 'title' => '是否分区表',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ ],
+ ],
+ 'IndexInfo' => [
+ 'title' => '指标详情',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ProjectId' => [
+ 'title' => '项目Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1121',
+ ],
+ 'ProjectName' => [
+ 'title' => '项目名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'Catalog' => [
+ 'title' => '指标catalog',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'Id' => [
+ 'title' => '指标Id:',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '11',
+ ],
+ 'Guid' => [
+ 'title' => '指标guid:',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1121',
+ ],
+ 'Name' => [
+ 'title' => '指标名:',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'logic',
+ ],
+ 'DisplayName' => [
+ 'title' => '指标展示名:',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'logic',
+ ],
+ 'GranularityId' => [
+ 'title' => '统计粒度id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '18755764',
+ ],
+ 'GranularityDisplayName' => [
+ 'title' => '统计粒度名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '全站汇总表',
+ ],
+ 'ComputeType' => [
+ 'title' => '指标计算类型类型:AUTO、CUSTOM、MOUNT、COMBINE',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'AUTO',
+ ],
+ 'CellSumLogicTableName' => [
+ 'title' => '单元汇总表名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'dws_all',
+ ],
+ 'Type' => [
+ 'title' => '指标类型:INDEX',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'INDEX',
+ ],
+ 'BizUnitId' => [
+ 'title' => '业务板块Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1121',
+ ],
+ 'BizUnitName' => [
+ 'title' => '业务板块名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'Owner' => [
+ 'title' => '负责人用户ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30012011',
+ ],
+ 'OwnerName' => [
+ 'title' => '负责人用户名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'Description' => [
+ 'title' => '描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'DateType' => [
+ 'title' => '指标数据类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'bigint',
+ ],
+ ],
+ ],
+ 'QualityOwner' => [
+ 'title' => '质量负责人用户ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30012011',
+ ],
+ 'QualityOwnerName' => [
+ 'title' => '质量负责人显示名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'LatestWatchTaskId' => [
+ 'title' => '最近一次监控对象校验记录ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'LatestWatchTaskStatus' => [
+ 'title' => '最近一次监控对象校验记录状态',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'SUCCESS',
+ ],
+ 'RuleCount' => [
+ 'title' => '规则数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '11',
+ ],
+ 'EnabledRuleCount' => [
+ 'title' => '生效规则数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'Creator' => [
+ 'title' => '创建者',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30012011',
+ ],
+ 'CreatorName' => [
+ 'title' => '创建者名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'CreateTime' => [
+ 'title' => '创建时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-06-30 00:00:00',
+ ],
+ 'ModifyTime' => [
+ 'title' => '修改时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-06-30 00:00:00',
+ ],
+ 'Modifier' => [
+ 'title' => '最近修改用户ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30012011',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"QualityWatchInfo\\": {\\n \\"Type\\": \\"TABLE\\",\\n \\"Id\\": 11,\\n \\"Name\\": \\"test\\",\\n \\"Status\\": \\"ENABLE\\",\\n \\"DataSourceInfo\\": {\\n \\"Id\\": \\"1\\",\\n \\"Name\\": \\"1\\",\\n \\"Type\\": \\"MAX_COMPUTE\\",\\n \\"Creator\\": \\"30012011\\",\\n \\"CreatorName\\": \\"test\\",\\n \\"Owner\\": \\"30012011\\",\\n \\"OwnerName\\": \\"test\\",\\n \\"CreateTime\\": \\"2025-06-30 00:00:00\\",\\n \\"ModifyTime\\": \\"2025-06-30 00:00:00\\",\\n \\"Env\\": \\"DEV\\"\\n },\\n \\"TableInfo\\": {\\n \\"Type\\": \\"LOGIC_DIM_TABLE\\",\\n \\"Catalog\\": \\"test\\",\\n \\"Id\\": \\"test\\",\\n \\"Name\\": \\"test\\",\\n \\"Description\\": \\"test\\",\\n \\"Env\\": \\"DEV\\",\\n \\"Owner\\": \\"30012011\\",\\n \\"OwnerName\\": \\"test\\",\\n \\"BizUnitId\\": 1121,\\n \\"BizUnitName\\": \\"test\\",\\n \\"ProjectId\\": 1121,\\n \\"ProjectName\\": \\"test\\",\\n \\"DataSourceType\\": \\"MAX_COMPUTE\\",\\n \\"DataSourceId\\": \\"22\\",\\n \\"IsPartitionTable\\": true\\n },\\n \\"IndexInfo\\": {\\n \\"ProjectId\\": 1121,\\n \\"ProjectName\\": \\"test\\",\\n \\"Catalog\\": \\"test\\",\\n \\"Id\\": \\"11\\",\\n \\"Guid\\": \\"1121\\",\\n \\"Name\\": \\"logic\\",\\n \\"DisplayName\\": \\"logic\\",\\n \\"GranularityId\\": 18755764,\\n \\"GranularityDisplayName\\": \\"全站汇总表\\",\\n \\"ComputeType\\": \\"AUTO\\",\\n \\"CellSumLogicTableName\\": \\"dws_all\\",\\n \\"Type\\": \\"INDEX\\",\\n \\"BizUnitId\\": 1121,\\n \\"BizUnitName\\": \\"test\\",\\n \\"Owner\\": \\"30012011\\",\\n \\"OwnerName\\": \\"test\\",\\n \\"Description\\": \\"test\\",\\n \\"DateType\\": \\"bigint\\"\\n },\\n \\"QualityOwner\\": \\"30012011\\",\\n \\"QualityOwnerName\\": \\"test\\",\\n \\"LatestWatchTaskId\\": 1,\\n \\"LatestWatchTaskStatus\\": \\"SUCCESS\\",\\n \\"RuleCount\\": 11,\\n \\"EnabledRuleCount\\": 1,\\n \\"Creator\\": \\"30012011\\",\\n \\"CreatorName\\": \\"test\\",\\n \\"CreateTime\\": \\"2025-06-30 00:00:00\\",\\n \\"ModifyTime\\": \\"2025-06-30 00:00:00\\",\\n \\"Modifier\\": \\"30012011\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'GetQualityTemplate' => [
+ 'summary' => '获取质量模板对象。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'Id',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '模板ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'QualityTemplateInfo' => [
+ 'title' => '模板对象详情',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '模板Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'Name' => [
+ 'title' => '模板名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'Type' => [
+ 'title' => '模板类型: FIELD_NULL_VALUE_VALIDATE 字段空值校验,FIELD_EMPTY_STRING_VALIDATE 字段空字符串校验,FIELD_UNIQUE_VALIDATE 字段唯一性校验,FIELD_GROUP_COUNT_VALIDATE 字段唯一值个数校验,FIELD_DUPLICATE_VALUE_COUNT_VALIDATE 字段重复值个数校验,FUNCTION_TIME_COMPARE 时间函数比较,SINGLE_TABLE_TIME_COMPARE 单表时间字段比较,DOUBLE_TABLE_TIME_COMPARE 两表时间字段比较,FIELD_FORMAT_VALIDATE 字段格式校验,FIELD_LENGTH_VALIDATE 字段长度校验,FIELD_VALUE_RANGE_VALIDATE 字段值域校验,CODE_TABLE_COMPARE 码表参照对比,STANDARD_CODE_TABLE_COMPARE 数据标准码表参照对比,SINGLE_TABLE_FIELD_VALUE_COMPARE 单表字段值一致性比较,SINGLE_TABLE_FIELD_STATISTICAL_COMPARE 单表字段统计值一致性比较,SINGLE_TABLE_FIELD_EXP_COMPARE 单表字段业务逻辑一致性比较,DOUBLE_TABLE_FIELD_VALUE_COMPARE 两表字段值一致性比较,DOUBLE_TABLE_FIELD_STATISTICAL_COMPARE 两表字段统计值一致性比较,CROSS_DOUBLE_TABLE_FIELD_STATISTICAL_COMPARE 跨源两表字段统计值一致性比较,DOUBLE_TABLE_FIELD_EXP_COMPARE 两表字段业务逻辑一致性比较,TABLE_STABILITY_VALIDATE 表稳定性校验,TABLE_FLUCTUATION_VALIDATE 表波动性校验,FIELD_STABILITY_VALIDATE 字段稳定性校验,FIELD_FLUCTUATION_VALIDATE 字段波动性校验,CUSTOM_STATISTICAL_VALIDATE 自定义统计指标校验,CUSTOM_DATA_DETAILS_VALIDATE 自定义数据详情校验,DATASOURCE_AVAILABLE_CHECK 数据源连通性监测,TABLE_SCHEMA_CHECK 表结构异动监测,REAL_TIME_OFFLINE_COMPARE 实时离线对比,REAL_TIME_STATISTICAL_VALIDATE 实时统计值监测,REAL_TIME_MULTI_CHAIN_COMPARE 实时多链路对比',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'FIELD_NULL_VALUE_VALIDATE',
+ ],
+ 'TypeName' => [
+ 'title' => '模板类型展示名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '字段空值校验',
+ ],
+ 'Description' => [
+ 'title' => '模板描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'Owner' => [
+ 'title' => '归属人用户ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30012011',
+ ],
+ 'OwnerName' => [
+ 'title' => '归属人名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'Catalog' => [
+ 'title' => '模板分类: CONSISTENT 一致性,EFFECTIVE 有效性,TIMELINESE 时效性,ACCURATE 准确性,UNIQUENESS 唯一性,COMPLETENESS 完整性,STABILITY 稳定性,CUSTOM 自定义',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'CONSISTENT',
+ ],
+ 'CatalogName' => [
+ 'title' => '模板分类展示名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '一致性',
+ ],
+ 'SupportAllDataSourceType' => [
+ 'title' => '支持所有数据源类型',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'SupportDataSourceTypeList' => [
+ 'title' => '支持特定数据源类型:MySQL、Oracle、Microsoft SQL Server、MaxCompute、Hive等',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '支持特定数据源类型:MySQL、Oracle、Microsoft SQL Server、MaxCompute、Hive等',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'MySQL',
+ ],
+ ],
+ 'IsSystemTemplate' => [
+ 'title' => '是否系统模板',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'FormPropertyList' => [
+ 'title' => '规则配置键值对',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ComponentType' => [
+ 'title' => '控件类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'expression',
+ ],
+ 'Name' => [
+ 'title' => '属性名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'col',
+ ],
+ 'Value' => [
+ 'title' => '属性值',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'abc',
+ ],
+ ],
+ ],
+ ],
+ 'Creator' => [
+ 'title' => '创建人用户ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30012011',
+ ],
+ 'CreatorName' => [
+ 'title' => '创建人名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'CreateTime' => [
+ 'title' => '创建时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-06-30 00:00:00',
+ ],
+ 'ModifyTime' => [
+ 'title' => '修改时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-06-30 00:00:00',
+ ],
+ 'Modifier' => [
+ 'title' => '最近修改人ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30012011',
+ ],
+ 'ModifierName' => [
+ 'title' => '最近修改人名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"QualityTemplateInfo\\": {\\n \\"Id\\": 1,\\n \\"Name\\": \\"test\\",\\n \\"Type\\": \\"FIELD_NULL_VALUE_VALIDATE\\",\\n \\"TypeName\\": \\"字段空值校验\\",\\n \\"Description\\": \\"test\\",\\n \\"Owner\\": \\"30012011\\",\\n \\"OwnerName\\": \\"test\\",\\n \\"Catalog\\": \\"CONSISTENT\\",\\n \\"CatalogName\\": \\"一致性\\",\\n \\"SupportAllDataSourceType\\": true,\\n \\"SupportDataSourceTypeList\\": [\\n \\"MySQL\\"\\n ],\\n \\"IsSystemTemplate\\": true,\\n \\"FormPropertyList\\": [\\n {\\n \\"ComponentType\\": \\"expression\\",\\n \\"Name\\": \\"col\\",\\n \\"Value\\": \\"abc\\"\\n }\\n ],\\n \\"Creator\\": \\"30012011\\",\\n \\"CreatorName\\": \\"test\\",\\n \\"CreateTime\\": \\"2025-06-30 00:00:00\\",\\n \\"ModifyTime\\": \\"2025-06-30 00:00:00\\",\\n \\"Modifier\\": \\"30012011\\",\\n \\"ModifierName\\": \\"test\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'GetQualitySchedulesByWatchId' => [
+ 'summary' => '通过监控对象ID获取调度设置列表。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'WatchId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '监控对象ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'QualityScheduleList' => [
+ 'title' => '调度对象列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'WatchId' => [
+ 'title' => '监控对象Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '22',
+ ],
+ 'Id' => [
+ 'title' => '调度对象Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'Name' => [
+ 'title' => '调度对象名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'IsRefByRule' => [
+ 'title' => '是否被规则引用',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'Type' => [
+ 'title' => '调度类型: PERIOD_SCHEDULE 定时调度、MANUAL_SCHEDULE 手动触发、CODE_CHECK_TRIGGER 代码检查触发、STATIC_TASK_TRIGGER 固定任务触发、DEPENDENCY_SCHEDULE 依赖调度',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'PERIOD_SCHEDULE',
+ ],
+ 'PartitionType' => [
+ 'title' => '分区类型: EVERY_DAY 每天、PRE_DAY 昨天、TODAY 当天、FIRST_DAY_OF_WEEK 每周第一天(周日)、CUSTOM 自定义等',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'CUSTOM',
+ ],
+ 'PartitionExpression' => [
+ 'title' => '分区表达式-自定义表达式',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'ds=${yyyyMMdd}',
+ ],
+ 'TriggerType' => [
+ 'title' => '触发调度-触发方式:STATIC_TASK_TRIGGER 固定任务触发、CODE_CHECK_TRIGGER 代码检查触发',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'STATIC_TASK_TRIGGER',
+ ],
+ 'TriggerNodeList' => [
+ 'title' => '触发调度-触发任务清单',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '触发调度-触发任务清单',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'n_1121',
+ ],
+ ],
+ 'StaticTaskTriggerType' => [
+ 'title' => '固定任务触发-触发方式: ALL_TASKS_FINISHED、ONE_TASKS_FINISHED、PRE_ONE_TASKS_START',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'ONE_TASKS_FINISHED',
+ ],
+ 'PeriodScheduleIntervalType' => [
+ 'title' => '定时调度-调度周期类型: DAILY 天、WEEKLY 周、MONTHLY 月、HOURLY 小时、MINUTELY 分钟',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'DAILY',
+ ],
+ 'PeriodScheduleParamList' => [
+ 'title' => '定时调度-调度周期值',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '定时调度-调度周期值',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'DAILY',
+ ],
+ ],
+ 'CronExpression' => [
+ 'title' => '定时调度-cron表达式',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '* * 1/* * * *',
+ ],
+ 'ValidatePartitionType' => [
+ 'title' => '校验范围: TASK_REFERRED_PARTITION 任务更新分区,USER_DEFINED_PARTITION 自定义分区',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'TASK_REFERRED_PARTITION',
+ ],
+ 'Creator' => [
+ 'title' => '创建人用户ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30012011',
+ ],
+ 'Modifier' => [
+ 'title' => '最近修改人ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30012011',
+ ],
+ 'CreateTime' => [
+ 'title' => '创建时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-06-30 00:00:00',
+ ],
+ 'ModifyTime' => [
+ 'title' => '修改时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-06-30 00:00:00',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"QualityScheduleList\\": [\\n {\\n \\"WatchId\\": 22,\\n \\"Id\\": 1,\\n \\"Name\\": \\"test\\",\\n \\"IsRefByRule\\": true,\\n \\"Type\\": \\"PERIOD_SCHEDULE\\",\\n \\"PartitionType\\": \\"CUSTOM\\",\\n \\"PartitionExpression\\": \\"ds=${yyyyMMdd}\\",\\n \\"TriggerType\\": \\"STATIC_TASK_TRIGGER\\",\\n \\"TriggerNodeList\\": [\\n \\"n_1121\\"\\n ],\\n \\"StaticTaskTriggerType\\": \\"ONE_TASKS_FINISHED\\",\\n \\"PeriodScheduleIntervalType\\": \\"DAILY\\",\\n \\"PeriodScheduleParamList\\": [\\n \\"DAILY\\"\\n ],\\n \\"CronExpression\\": \\"* * 1/* * * *\\",\\n \\"ValidatePartitionType\\": \\"TASK_REFERRED_PARTITION\\",\\n \\"Creator\\": \\"30012011\\",\\n \\"Modifier\\": \\"30012011\\",\\n \\"CreateTime\\": \\"2025-06-30 00:00:00\\",\\n \\"ModifyTime\\": \\"2025-06-30 00:00:00\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'GetQualitySchedule' => [
+ 'summary' => '获取质量调度对象。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'Id',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '调度对象Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'QualityScheduleInfo' => [
+ 'title' => '调度对象详情',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'WatchId' => [
+ 'title' => '监控对象Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '22',
+ ],
+ 'Id' => [
+ 'title' => '调度对象Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'Name' => [
+ 'title' => '调度对象名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'IsRefByRule' => [
+ 'title' => '是否被规则引用',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'Type' => [
+ 'title' => '调度类型: PERIOD_SCHEDULE 定时调度、MANUAL_SCHEDULE 手动触发、CODE_CHECK_TRIGGER 代码检查触发、STATIC_TASK_TRIGGER 固定任务触发、DEPENDENCY_SCHEDULE 依赖调度',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'PERIOD_SCHEDULE',
+ ],
+ 'PartitionType' => [
+ 'title' => '分区类型: EVERY_DAY 每天、PRE_DAY 昨天、TODAY 当天、FIRST_DAY_OF_WEEK 每周第一天(周日)、CUSTOM 自定义等',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'CUSTOM',
+ ],
+ 'PartitionExpression' => [
+ 'title' => '分区表达式-自定义表达式',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'ds=${yyyyMMdd}',
+ ],
+ 'TriggerType' => [
+ 'title' => '触发调度-触发方式:STATIC_TASK_TRIGGER 固定任务触发、CODE_CHECK_TRIGGER 代码检查触发',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'STATIC_TASK_TRIGGER',
+ ],
+ 'TriggerNodeList' => [
+ 'title' => '触发调度-触发任务清单',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '触发调度-触发任务清单',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'n_1121',
+ ],
+ ],
+ 'StaticTaskTriggerType' => [
+ 'title' => '固定任务触发-触发方式: ALL_TASKS_FINISHED、ONE_TASKS_FINISHED、PRE_ONE_TASKS_START',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'ONE_TASKS_FINISHED',
+ ],
+ 'PeriodScheduleIntervalType' => [
+ 'title' => '定时调度-调度周期类型: DAILY 天、WEEKLY 周、MONTHLY 月、HOURLY 小时、MINUTELY 分钟',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'DAILY',
+ ],
+ 'PeriodScheduleParamList' => [
+ 'title' => '定时调度-调度周期值',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '定时调度-调度周期值',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'DAILY',
+ ],
+ ],
+ 'CronExpression' => [
+ 'title' => '定时调度-cron表达式',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '* * 1/* * * *',
+ ],
+ 'ValidatePartitionType' => [
+ 'title' => '校验范围: TASK_REFERRED_PARTITION 任务更新分区,USER_DEFINED_PARTITION 自定义分区',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'TASK_REFERRED_PARTITION',
+ ],
+ 'Creator' => [
+ 'title' => '创建人用户ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30012011',
+ ],
+ 'Modifier' => [
+ 'title' => '最近修改人ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30012011',
+ ],
+ 'CreateTime' => [
+ 'title' => '创建时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-06-30 00:00:00',
+ ],
+ 'ModifyTime' => [
+ 'title' => '修改时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-06-30 00:00:00',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"QualityScheduleInfo\\": {\\n \\"WatchId\\": 22,\\n \\"Id\\": 1,\\n \\"Name\\": \\"test\\",\\n \\"IsRefByRule\\": true,\\n \\"Type\\": \\"PERIOD_SCHEDULE\\",\\n \\"PartitionType\\": \\"CUSTOM\\",\\n \\"PartitionExpression\\": \\"ds=${yyyyMMdd}\\",\\n \\"TriggerType\\": \\"STATIC_TASK_TRIGGER\\",\\n \\"TriggerNodeList\\": [\\n \\"n_1121\\"\\n ],\\n \\"StaticTaskTriggerType\\": \\"ONE_TASKS_FINISHED\\",\\n \\"PeriodScheduleIntervalType\\": \\"DAILY\\",\\n \\"PeriodScheduleParamList\\": [\\n \\"DAILY\\"\\n ],\\n \\"CronExpression\\": \\"* * 1/* * * *\\",\\n \\"ValidatePartitionType\\": \\"TASK_REFERRED_PARTITION\\",\\n \\"Creator\\": \\"30012011\\",\\n \\"Modifier\\": \\"30012011\\",\\n \\"CreateTime\\": \\"2025-06-30 00:00:00\\",\\n \\"ModifyTime\\": \\"2025-06-30 00:00:00\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'GetQualityRuleTaskLog' => [
+ 'summary' => '获取质量任务对象日志内容。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'RuleTaskId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '规则任务ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '11',
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'Data' => [
+ 'title' => '日志内容',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"Data\\": \\"test\\"\\n}","type":"json"}]',
+ ],
+ 'GetQualityRuleTask' => [
+ 'summary' => '获取质量任务对象详情。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'RuleTaskId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '规则任务ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '11',
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'RuleTaskInfo' => [
+ 'title' => '规则任务详情',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'WatchId' => [
+ 'title' => '所属监控ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'WatchTaskId' => [
+ 'title' => '监控任务ID,试跑的规则任务这个ID为空',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'Id' => [
+ 'title' => '规则任务ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'RuleId' => [
+ 'title' => '规则ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '11',
+ ],
+ 'TemplateId' => [
+ 'title' => '模板ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '11',
+ ],
+ 'Status' => [
+ 'title' => '任务状态',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'running',
+ ],
+ 'StartTime' => [
+ 'title' => '起始时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-06-30 00:00:00',
+ ],
+ 'EndTime' => [
+ 'title' => '截止时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-06-30 00:00:00',
+ ],
+ 'ValidatePartition' => [
+ 'title' => '校验分区',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '20251011',
+ ],
+ 'ValidateObjectType' => [
+ 'title' => '校验对象类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'column',
+ ],
+ 'ValidateObjectName' => [
+ 'title' => '校验对象名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'ValidateSuccess' => [
+ 'title' => '是否校验通过',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'BizDate' => [
+ 'title' => '业务日期',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-06-30',
+ ],
+ 'BizDateFormat' => [
+ 'title' => '业务日期格式',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'yyyy-MM-dd',
+ ],
+ 'Creator' => [
+ 'title' => '创建者',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30012011',
+ ],
+ 'CreateTime' => [
+ 'title' => '创建时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-06-30 00:00:00',
+ ],
+ 'ModifyTime' => [
+ 'title' => '修改时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-06-30 00:00:00',
+ ],
+ 'Modifier' => [
+ 'title' => '最近修改用户ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30012011',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"RuleTaskInfo\\": {\\n \\"WatchId\\": 1,\\n \\"WatchTaskId\\": 1,\\n \\"Id\\": 1,\\n \\"RuleId\\": 11,\\n \\"TemplateId\\": 11,\\n \\"Status\\": \\"running\\",\\n \\"StartTime\\": \\"2025-06-30 00:00:00\\",\\n \\"EndTime\\": \\"2025-06-30 00:00:00\\",\\n \\"ValidatePartition\\": \\"20251011\\",\\n \\"ValidateObjectType\\": \\"column\\",\\n \\"ValidateObjectName\\": \\"test\\",\\n \\"ValidateSuccess\\": true,\\n \\"BizDate\\": \\"2025-06-30\\",\\n \\"BizDateFormat\\": \\"yyyy-MM-dd\\",\\n \\"Creator\\": \\"30012011\\",\\n \\"CreateTime\\": \\"2025-06-30 00:00:00\\",\\n \\"ModifyTime\\": \\"2025-06-30 00:00:00\\",\\n \\"Modifier\\": \\"30012011\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'GetQualityRule' => [
+ 'summary' => '获取质量规则对象。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'Id',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '规则ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '11',
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'QualityRuleInfo' => [
+ 'title' => '质量规则详情',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '质量规则Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'Name' => [
+ 'title' => '质量规则名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'Status' => [
+ 'title' => '质量规则状态: ENABLE,DISABLE',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'ENABLE',
+ ],
+ 'Description' => [
+ 'title' => '描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'Strength' => [
+ 'title' => '规则强弱: STRONG、WEAK',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'STRONG',
+ ],
+ 'CatalogList' => [
+ 'title' => '规则分类: CONSISTENT 一致性,EFFECTIVE 有效性,TIMELINESE 时效性,ACCURATE 准确性,UNIQUENESS 唯一性,COMPLETENESS 完整性,STABILITY 稳定性,CUSTOM 自定义',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '规则分类: CONSISTENT 一致性,EFFECTIVE 有效性,TIMELINESE 时效性,ACCURATE 准确性,UNIQUENESS 唯一性,COMPLETENESS 完整性,STABILITY 稳定性,CUSTOM 自定义',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'CONSISTENT',
+ ],
+ ],
+ 'TemplateType' => [
+ 'title' => '模板类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'FIELD_NULL_VALUE_VALIDATE',
+ ],
+ 'TemplateId' => [
+ 'title' => '模板ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'TemplateName' => [
+ 'title' => '模板名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1',
+ ],
+ 'TemplateScope' => [
+ 'title' => '模板类型分组: SYSTEM 系统预置、CUSTOM 自定义模板、TEMPLATE SYSTEM及CUSTOM并集、 CUSTOM_SQL 自定义SQL模板',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'CUSTOM',
+ ],
+ 'WatchId' => [
+ 'title' => '所属监控ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'EnableErrorArchive' => [
+ 'title' => '是否启动异常归档',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'ValidateConditionList' => [
+ 'title' => '校验条件列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '条件节点id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '268',
+ ],
+ 'Type' => [
+ 'title' => '条件类型: RELATION 关系,EXPRESSION:表达式',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'RELATION',
+ ],
+ 'Operator' => [
+ 'title' => '操作符: EQUAL,NOT_EQUAL,LARGER,SMALLER,LARGE_OR_EQUAL,SMALLER_OR_EQUAL,AND,OR',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'AND',
+ ],
+ 'OperatorName' => [
+ 'title' => '操作符名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '且',
+ ],
+ 'Metric' => [
+ 'title' => '指标',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'MetricName' => [
+ 'title' => '指标名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'Value' => [
+ 'title' => '值',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1',
+ ],
+ 'ParentId' => [
+ 'title' => '条件父节点Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '123',
+ ],
+ ],
+ ],
+ ],
+ 'TestRunRuleTaskId' => [
+ 'title' => '最近一次试跑任务ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '22',
+ ],
+ 'TestRunRuleTaskStatus' => [
+ 'title' => '最近一次试跑任务状态:NOT_RUN,WAITING,RUNNING,SUCCESS,FAILED',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'SUCCESS',
+ ],
+ 'TestRunRuleValidateResult' => [
+ 'title' => '试跑校验是否通过',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'ScheduleBindList' => [
+ 'title' => '规则绑定的调度列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ScheduleId' => [
+ 'title' => '调度Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'ScheduleName' => [
+ 'title' => '调度名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ ],
+ ],
+ ],
+ 'FormPropertyList' => [
+ 'title' => '规则配置键值对, 与模板类型相关:不同模板类型返回不同的表单键值对配置',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ComponentType' => [
+ 'title' => '控件类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'expression',
+ ],
+ 'Name' => [
+ 'title' => '属性名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'col',
+ ],
+ 'Value' => [
+ 'title' => '属性值',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'abc',
+ ],
+ ],
+ ],
+ ],
+ 'ValidateObject' => [
+ 'title' => '校验对象',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => [
+ 'title' => '校验对象类型: UNKNOWN,TABLE,COLUMN,DATASOURCE,DATASOURCE_TABLE,REALTIME,INDEX,CHAIN',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'TABLE',
+ ],
+ 'Name' => [
+ 'title' => '校验对象名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ ],
+ ],
+ 'AttributeWithValueList' => [
+ 'title' => '规则业务属性配置',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'AttributeInfo' => [
+ 'title' => '属性详情',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '属性Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '612415804007',
+ ],
+ 'Name' => [
+ 'title' => '属性名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'attr01',
+ ],
+ 'Description' => [
+ 'title' => '描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'Enabled' => [
+ 'title' => '是否启用',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'Required' => [
+ 'title' => '是否必填',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'Searchable' => [
+ 'title' => '是否可搜索',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'ValueConfig' => [
+ 'title' => '属性值配置详情',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => [
+ 'title' => '属性值填写方式: CUSTOMIZED 自定义输入,SINGLE_ENUM 下拉单选框,MULTIPLE_ENUMS 下拉多选框, RANGE 范围区间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'CUSTOMIZED',
+ ],
+ 'DataType' => [
+ 'title' => '属性字段类型: STRING 文本型,BIGINT 数值整型,DOUBLE 数值浮点型,BOOLEAN 布尔型,DATE 日期型,DATETIME 时间型',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'STRING',
+ ],
+ 'Length' => [
+ 'title' => '属性字段长度, 可对文本型的属性值最大长度进行约束',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '6921666',
+ ],
+ 'ValueEnumList' => [
+ 'title' => '属性选项值:仅针对填写方式为下拉单选框或下拉多选框的属性',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '属性选项值:仅针对填写方式为下拉单选框或下拉多选框的属性',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ ],
+ 'DefaultValue' => [
+ 'title' => '属性默认值',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ValueList' => [
+ 'title' => '属性值清单,适用于填写方式为自定义输入、下拉单选框、下拉多选框的属性',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '属性值清单,适用于填写方式为自定义输入、下拉单选框、下拉多选框的属性',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'abc',
+ ],
+ ],
+ 'MinValue' => [
+ 'title' => '最小值,适用于范围区间属性',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1',
+ ],
+ 'IncludeMinValue' => [
+ 'title' => '是否包含最小值',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'MaxValue' => [
+ 'title' => '最大值,适用于范围区间属性',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '100',
+ ],
+ 'IncludeMaxValue' => [
+ 'title' => '是否包含最大值',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'AttributeValue' => [
+ 'title' => '属性值',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ValueList' => [
+ 'title' => '属性值清单,适用于填写方式为自定义输入、下拉单选框、下拉多选框的属性',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '属性值清单,适用于填写方式为自定义输入、下拉单选框、下拉多选框的属性',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'abc',
+ ],
+ ],
+ 'MinValue' => [
+ 'title' => '最小值,适用于范围区间属性',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1',
+ ],
+ 'IncludeMinValue' => [
+ 'title' => '是否包含最小值',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'MaxValue' => [
+ 'title' => '最大值,适用于范围区间属性',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '100',
+ ],
+ 'IncludeMaxValue' => [
+ 'title' => '是否包含最大值',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'Creator' => [
+ 'title' => '创建者',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30012011',
+ ],
+ 'CreatorName' => [
+ 'title' => '创建者名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'Modifier' => [
+ 'title' => '最近修改用户ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30012011',
+ ],
+ 'ModifierName' => [
+ 'title' => '最近修改用户名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'CreateTime' => [
+ 'title' => '创建时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-06-30 00:00:00',
+ ],
+ 'ModifyTime' => [
+ 'title' => '修改时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-06-30 00:00:00',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"QualityRuleInfo\\": {\\n \\"Id\\": 1,\\n \\"Name\\": \\"test\\",\\n \\"Status\\": \\"ENABLE\\",\\n \\"Description\\": \\"test\\",\\n \\"Strength\\": \\"STRONG\\",\\n \\"CatalogList\\": [\\n \\"CONSISTENT\\"\\n ],\\n \\"TemplateType\\": \\"FIELD_NULL_VALUE_VALIDATE\\",\\n \\"TemplateId\\": 1,\\n \\"TemplateName\\": \\"1\\",\\n \\"TemplateScope\\": \\"CUSTOM\\",\\n \\"WatchId\\": 1,\\n \\"EnableErrorArchive\\": true,\\n \\"ValidateConditionList\\": [\\n {\\n \\"Id\\": \\"268\\",\\n \\"Type\\": \\"RELATION\\",\\n \\"Operator\\": \\"AND\\",\\n \\"OperatorName\\": \\"且\\",\\n \\"Metric\\": \\"test\\",\\n \\"MetricName\\": \\"test\\",\\n \\"Value\\": \\"1\\",\\n \\"ParentId\\": \\"123\\"\\n }\\n ],\\n \\"TestRunRuleTaskId\\": 22,\\n \\"TestRunRuleTaskStatus\\": \\"SUCCESS\\",\\n \\"TestRunRuleValidateResult\\": true,\\n \\"ScheduleBindList\\": [\\n {\\n \\"ScheduleId\\": 1,\\n \\"ScheduleName\\": \\"test\\"\\n }\\n ],\\n \\"FormPropertyList\\": [\\n {\\n \\"ComponentType\\": \\"expression\\",\\n \\"Name\\": \\"col\\",\\n \\"Value\\": \\"abc\\"\\n }\\n ],\\n \\"ValidateObject\\": {\\n \\"Type\\": \\"TABLE\\",\\n \\"Name\\": \\"test\\"\\n },\\n \\"AttributeWithValueList\\": [\\n {\\n \\"AttributeInfo\\": {\\n \\"Id\\": 612415804007,\\n \\"Name\\": \\"attr01\\",\\n \\"Description\\": \\"test\\",\\n \\"Enabled\\": true,\\n \\"Required\\": true,\\n \\"Searchable\\": true,\\n \\"ValueConfig\\": {\\n \\"Type\\": \\"CUSTOMIZED\\",\\n \\"DataType\\": \\"STRING\\",\\n \\"Length\\": 6921666,\\n \\"ValueEnumList\\": [\\n \\"test\\"\\n ],\\n \\"DefaultValue\\": {\\n \\"ValueList\\": [\\n \\"abc\\"\\n ],\\n \\"MinValue\\": \\"1\\",\\n \\"IncludeMinValue\\": true,\\n \\"MaxValue\\": \\"100\\",\\n \\"IncludeMaxValue\\": true\\n }\\n }\\n },\\n \\"AttributeValue\\": {\\n \\"ValueList\\": [\\n \\"abc\\"\\n ],\\n \\"MinValue\\": \\"1\\",\\n \\"IncludeMinValue\\": true,\\n \\"MaxValue\\": \\"100\\",\\n \\"IncludeMaxValue\\": true\\n }\\n }\\n ],\\n \\"Creator\\": \\"30012011\\",\\n \\"CreatorName\\": \\"test\\",\\n \\"Modifier\\": \\"30012011\\",\\n \\"ModifierName\\": \\"test\\",\\n \\"CreateTime\\": \\"2025-06-30 00:00:00\\",\\n \\"ModifyTime\\": \\"2025-06-30 00:00:00\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'GetQualityAlertOfAllRuleScopeByWatchId' => [
+ 'summary' => '通过监控对象ID获取告警设置。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'WatchId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '监控对象ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '11',
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'QualityAlertInfo' => [
+ 'title' => '告警设置详情',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'WatchId' => [
+ 'title' => '监控对象ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'AlertUserChannelList' => [
+ 'title' => '用户告警渠道',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '用户告警渠道',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ ],
+ 'AlertUserList' => [
+ 'title' => '用户告警列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '用户id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30012011',
+ ],
+ 'Name' => [
+ 'title' => '用户名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ ],
+ ],
+ ],
+ 'AlertDutyList' => [
+ 'title' => '值班表告警列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '报警值班表ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1',
+ ],
+ 'Name' => [
+ 'title' => '报警值班表名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ ],
+ ],
+ ],
+ 'AlertDutyChannelList' => [
+ 'title' => '值班表告警渠道',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '值班表告警渠道',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ ],
+ 'EnableAlertQualityOwner' => [
+ 'title' => '开启质量负责人告警',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'AlertQualityOwnerChannelList' => [
+ 'title' => '质量负责人告警渠道',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '质量负责人告警渠道',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"QualityAlertInfo\\": {\\n \\"WatchId\\": 1,\\n \\"AlertUserChannelList\\": [\\n \\"test\\"\\n ],\\n \\"AlertUserList\\": [\\n {\\n \\"Id\\": \\"30012011\\",\\n \\"Name\\": \\"test\\"\\n }\\n ],\\n \\"AlertDutyList\\": [\\n {\\n \\"Id\\": \\"1\\",\\n \\"Name\\": \\"test\\"\\n }\\n ],\\n \\"AlertDutyChannelList\\": [\\n \\"test\\"\\n ],\\n \\"EnableAlertQualityOwner\\": true,\\n \\"AlertQualityOwnerChannelList\\": [\\n \\"test\\"\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'DeleteQualityWatches' => [
+ 'summary' => '批量删除质量监控对象。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'DeleteCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '删除指令',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'WatchIdList' => [
+ 'title' => '监控对象ID',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '监控对象ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '11',
+ ],
+ 'required' => true,
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'Data' => [
+ 'title' => '删除监控对象个数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"Data\\": 1\\n}","type":"json"}]',
+ ],
+ 'DeleteQualityTemplates' => [
+ 'summary' => '批量删除质量模板对象。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'DeleteCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '删除指令',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'TemplateIdList' => [
+ 'title' => '模板对象ID',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '模板对象ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '11',
+ ],
+ 'required' => true,
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'Data' => [
+ 'title' => '删除模板个数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"Data\\": 1\\n}","type":"json"}]',
+ ],
+ 'DeleteQualitySchedules' => [
+ 'summary' => '批量删除质量调度对象。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'DeleteCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '删除指令',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ScheduleIdList' => [
+ 'title' => '调度对象ID',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '调度对象ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '11',
+ ],
+ 'required' => true,
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'Data' => [
+ 'title' => '删除调度个数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"Data\\": 1\\n}","type":"json"}]',
+ ],
+ 'DeleteQualityRules' => [
+ 'summary' => '批量删除质量规则对象。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'DeleteCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '删除指令',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RuleIdList' => [
+ 'title' => '规则ID',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '规则ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '11',
+ ],
+ 'required' => true,
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'Data' => [
+ 'title' => '删除规则个数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"Data\\": 1\\n}","type":"json"}]',
+ ],
+ 'AssignQualityRuleOfAllRuleScopeSchedules' => [
+ 'summary' => '指定质量规则和调度设置进行绑定。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'AssignCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '分派绑定指令',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'WatchId' => [
+ 'title' => '监控对象ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '平均值',
+ ],
+ 'RuleIdList' => [
+ 'title' => '规则ID',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '规则ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '11',
+ ],
+ 'required' => true,
+ ],
+ 'ScheduleIdList' => [
+ 'title' => '调度ID',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '调度ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '22',
+ ],
+ 'required' => true,
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'Data' => [
+ 'title' => '请求结果',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"Data\\": true\\n}","type":"json"}]',
+ ],
+ 'UpdateSecurityLevel' => [
+ 'summary' => '通过分级顺序更新数据分级。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'UpdateCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '更新指令',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => [
+ 'title' => '分级名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ 'Index' => [
+ 'title' => '分级顺序, 不传递时将按照分级名称匹配',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ 'Description' => [
+ 'title' => '分级描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\"\\n}","type":"json"}]',
+ ],
+ 'UpdateSecurityIdentifyResultStatus' => [
+ 'summary' => '更新安全识别结果的生效状态。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'UpdateCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '更新指令',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Enable' => [
+ 'title' => '是否生效',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => true,
+ ],
+ 'IdentifyResultIdList' => [
+ 'title' => '识别结果ID列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '识别结果ID列表',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '1',
+ ],
+ 'required' => true,
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'Data' => [
+ 'title' => '更新结果',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"Data\\": true\\n}","type":"json"}]',
+ ],
+ 'UpdateSecurityClassifyCatalog' => [
+ 'summary' => '更新数据分类目录。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'UpdateCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '更新指令',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Path' => [
+ 'title' => '目录的原始完整路径',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '/d1/d2/',
+ ],
+ 'Name' => [
+ 'title' => '分类目录名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'test',
+ ],
+ 'ParentPath' => [
+ 'title' => '分类父目录完整路径,默认/',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '/d1/',
+ ],
+ 'OwnerList' => [
+ 'title' => '管理员ID列表,仅当所属父目录为根目录时填写有效',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '管理员ID列表,仅当所属父目录为根目录时填写有效',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '30001011',
+ ],
+ 'required' => false,
+ ],
+ 'VisibleType' => [
+ 'title' => '分类可见范围:PUBLIC 公开、PRIVATE 仅管理员可查看,默认PUBLIC;仅当所属父目录为根目录时填写有效',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'PUBLIC',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'Data' => [
+ 'title' => '更新后的目录的完整路径',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '/d1/d3/',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"Data\\": \\"/d1/d3/\\"\\n}","type":"json"}]',
+ ],
+ 'UpdateSecurityClassify' => [
+ 'summary' => '更新数据分类。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'UpdateCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '更新指令',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '分类ID,不传递时按照分类名称+分类父路径匹配分类进行更新',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ 'Name' => [
+ 'title' => '分类名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ 'ParentPath' => [
+ 'title' => '分类父路径',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '/a/b/',
+ ],
+ 'Abbreviation' => [
+ 'title' => '分类简称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ 'Description' => [
+ 'title' => '分类描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ 'LevelName' => [
+ 'title' => '数据分级名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'L2',
+ ],
+ 'FeatureNameList' => [
+ 'title' => '特征名称',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '特征名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '行业',
+ ],
+ 'required' => false,
+ ],
+ 'Priority' => [
+ 'title' => '优先级,默认: 5',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '5',
+ ],
+ 'AdvancedConditionList' => [
+ 'title' => '高级配置',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ParentId' => [
+ 'title' => '特征条件父节点',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '123',
+ ],
+ 'Id' => [
+ 'title' => '特征条件节点id,由业务随机生成且确保唯一',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '234',
+ ],
+ 'Relation' => [
+ 'title' => '条件关系: EXPRESSION 表达式、RELATION 关系',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'EXPRESSION',
+ ],
+ 'Property' => [
+ 'title' => '特征属性: TABLE_NAME 表名称、TABLE_DESC 表描述、FIELD_CONTENT 字段内容、FIELD_NAME 字段名称、FIELD_DESC 字段描述、FIELD_TYPE 字段类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'TABLE_NAME',
+ ],
+ 'Operate' => [
+ 'title' => '条件操作: AND、OR、BUILT_IN_EXPRESSION 内置表达式、IGNORE_CASE_EXPRESSION 正则 - 大小写兼容、EXPRESSION 正则表达式、NOT_BELONG 不属于、CONTAINS 包含、NOT_CONTAINS 不包含、EQUAL、NOT_EQUAL',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'AND',
+ ],
+ 'ValueList' => [
+ 'title' => '条件取值',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '条件取值',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'abc',
+ ],
+ 'required' => false,
+ ],
+ 'OptionList' => [
+ 'title' => '额外属性,如字段内容',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => [
+ 'title' => '配置项',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'k1',
+ ],
+ 'Value' => [
+ 'title' => '配置项值',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'v1',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => false,
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => false,
+ ],
+ 'Status' => [
+ 'title' => '分类生效状态: ENABLE 启用、DISABLE 禁用',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ENABLE',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'Data' => [
+ 'title' => '数据分类ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"Data\\": 1\\n}","type":"json"}]',
+ ],
+ 'ListSecurityIdentifyResults' => [
+ 'summary' => '分页查询安全识别结果。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'ListQuery',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '检索条件',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ClassifyId' => [
+ 'title' => '数据分类Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ 'Env' => [
+ 'title' => '所属数据源/项目/板块环境标识',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'DEV',
+ ],
+ 'BizUnitNameList' => [
+ 'title' => '业务板块名称',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '业务板块名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ 'required' => false,
+ ],
+ 'ProjectNameList' => [
+ 'title' => '项目名称',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '项目名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ 'required' => false,
+ ],
+ 'DatasourceNameList' => [
+ 'title' => '数据源名称',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '数据源名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ 'required' => false,
+ ],
+ 'Status' => [
+ 'title' => '生效状态筛选: ENABLE 开启、DISABLE 关闭',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ENABLE',
+ ],
+ 'IsLocked' => [
+ 'title' => '是否已锁定',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ ],
+ 'Keyword' => [
+ 'title' => '搜索词筛选: 支持按表catalog、表名、表中文名、字段名匹配',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ 'PageNo' => [
+ 'title' => '页码, 默认1',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ 'PageSize' => [
+ 'title' => '分页记录数, 默认20',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '20',
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'PageResult' => [
+ 'title' => '分页查询结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'TotalCount' => [
+ 'title' => '总记录数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '68',
+ ],
+ 'SecurityIdentifyResultList' => [
+ 'title' => '分页识别结果列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '识别结果ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'ScanTaskId' => [
+ 'title' => '扫描任务ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '11',
+ ],
+ 'TableTaskId' => [
+ 'title' => '识别表任务ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '22',
+ ],
+ 'ClassifyId' => [
+ 'title' => '分类ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '33',
+ ],
+ 'ClassifyName' => [
+ 'title' => '分类名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'ClassifyAbbreviation' => [
+ 'title' => '分类简称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'LevelIndex' => [
+ 'title' => '分级等级',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'LevelName' => [
+ 'title' => '分级名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'LevelAbbreviation' => [
+ 'title' => '分级简短名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'LevelColor' => [
+ 'title' => '分级颜色',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'BizUnitId' => [
+ 'title' => '业务板块ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'BizUnitName' => [
+ 'title' => '业务板块名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'LD_test',
+ ],
+ 'BizUnitDisplayName' => [
+ 'title' => '业务板块中文名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'LD_test',
+ ],
+ 'ProjectId' => [
+ 'title' => '项目ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '101121',
+ ],
+ 'ProjectName' => [
+ 'title' => '项目名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'ProjectDisplayName' => [
+ 'title' => '项目中文名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'DatasourceId' => [
+ 'title' => '数据源ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '101121',
+ ],
+ 'DatasourceName' => [
+ 'title' => '数据源名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'ds1',
+ ],
+ 'TableEnv' => [
+ 'title' => '表环境',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'DEV',
+ ],
+ 'TableType' => [
+ 'title' => '表类型: LOGIC_TABLE 逻辑表,LOGIC_DIM_TABLE 维度逻辑表,LOGIC_FACT_TABLE 事实逻辑表,LOGIC_SUM_TABLE 汇总逻辑表,LOGIC_ODM_SOURCE 源表,LOGIC_LABEL_TABLE 标签逻辑表,PHYSICAL_TABLE 物理表,REAL_TIME_LOGIC_TABLE 实时配置的逻辑表',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'LOGIC_TABLE',
+ ],
+ 'TableCatalog' => [
+ 'title' => '表Catalog',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'testdb',
+ ],
+ 'TableId' => [
+ 'title' => '表ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1',
+ ],
+ 'TableName' => [
+ 'title' => '表名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 't_test',
+ ],
+ 'TableDescription' => [
+ 'title' => '表描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'FieldId' => [
+ 'title' => '字段ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 't_test.col1',
+ ],
+ 'FieldName' => [
+ 'title' => '字段名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'col1',
+ ],
+ 'FieldDescription' => [
+ 'title' => '字段描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'IsCustomIdentify' => [
+ 'title' => '是否是自定义打标规则',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'IsLocked' => [
+ 'title' => '是否已锁定',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HasBetterRule' => [
+ 'title' => '是否存在更匹配的结果',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'IdentifyRecordId' => [
+ 'title' => '识别记录ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '99',
+ ],
+ 'Status' => [
+ 'title' => '状态: ENABLE 启用、DISABLE 禁用',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'ENABLE',
+ ],
+ 'BizDate' => [
+ 'title' => '业务日期',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-06-30',
+ ],
+ 'Creator' => [
+ 'title' => '创建人',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30012011',
+ ],
+ 'CreateTime' => [
+ 'title' => '创建时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-06-30 10:30:30',
+ ],
+ 'Modifier' => [
+ 'title' => '修改人',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30012011',
+ ],
+ 'ModifyTime' => [
+ 'title' => '修改时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-06-30 10:30:30',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"PageResult\\": {\\n \\"TotalCount\\": 68,\\n \\"SecurityIdentifyResultList\\": [\\n {\\n \\"Id\\": 1,\\n \\"ScanTaskId\\": 11,\\n \\"TableTaskId\\": 22,\\n \\"ClassifyId\\": 33,\\n \\"ClassifyName\\": \\"test\\",\\n \\"ClassifyAbbreviation\\": \\"test\\",\\n \\"LevelIndex\\": 1,\\n \\"LevelName\\": \\"test\\",\\n \\"LevelAbbreviation\\": \\"test\\",\\n \\"LevelColor\\": 1,\\n \\"BizUnitId\\": 1,\\n \\"BizUnitName\\": \\"LD_test\\",\\n \\"BizUnitDisplayName\\": \\"LD_test\\",\\n \\"ProjectId\\": 101121,\\n \\"ProjectName\\": \\"test\\",\\n \\"ProjectDisplayName\\": \\"test\\",\\n \\"DatasourceId\\": 101121,\\n \\"DatasourceName\\": \\"ds1\\",\\n \\"TableEnv\\": \\"DEV\\",\\n \\"TableType\\": \\"LOGIC_TABLE\\",\\n \\"TableCatalog\\": \\"testdb\\",\\n \\"TableId\\": \\"1\\",\\n \\"TableName\\": \\"t_test\\",\\n \\"TableDescription\\": \\"test\\",\\n \\"FieldId\\": \\"t_test.col1\\",\\n \\"FieldName\\": \\"col1\\",\\n \\"FieldDescription\\": \\"test\\",\\n \\"IsCustomIdentify\\": true,\\n \\"IsLocked\\": true,\\n \\"HasBetterRule\\": true,\\n \\"IdentifyRecordId\\": 99,\\n \\"Status\\": \\"ENABLE\\",\\n \\"BizDate\\": \\"2025-06-30\\",\\n \\"Creator\\": \\"30012011\\",\\n \\"CreateTime\\": \\"2025-06-30 10:30:30\\",\\n \\"Modifier\\": \\"30012011\\",\\n \\"ModifyTime\\": \\"2025-06-30 10:30:30\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'ListSecurityIdentifyRecords' => [
+ 'summary' => '分页查询安全识别结果的识别记录。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'ListQuery',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '检索条件',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'IsDatasourceTable' => [
+ 'title' => '是否数据源表, 默认否(视为Dataphin表)',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ ],
+ 'DatasourceName' => [
+ 'title' => '数据源名称,仅数据源表需要填写',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ 'DatasourceEnv' => [
+ 'title' => '数据源环境标识,仅数据源表需要填写',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'DEV',
+ ],
+ 'TableCatalog' => [
+ 'title' => '表Catalog,数据源表请填写所属db或schema名称;Dataphin物理表请填写项目英文名;Dataphin逻辑表请填写板块英文名',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'test',
+ ],
+ 'TableName' => [
+ 'title' => '表名',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 't_test',
+ ],
+ 'FieldName' => [
+ 'title' => '字段名',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'col1',
+ ],
+ 'Keyword' => [
+ 'title' => '搜索词范围: 字段名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ 'PageNo' => [
+ 'title' => '页码, 默认1',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ 'PageSize' => [
+ 'title' => '分页记录数, 默认20',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '20',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'PageResult' => [
+ 'title' => '分页查询结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'TotalCount' => [
+ 'title' => '总记录数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '68',
+ ],
+ 'IdentifyRecordList' => [
+ 'title' => '识别记录列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '识别记录ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '22',
+ ],
+ 'BizUnitId' => [
+ 'title' => '业务板块ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '11',
+ ],
+ 'BizUnitName' => [
+ 'title' => '业务板块名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'BizUnitDisplayName' => [
+ 'title' => '业务板块展示名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test_abc',
+ ],
+ 'ProjectId' => [
+ 'title' => '项目ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1001',
+ ],
+ 'ProjectName' => [
+ 'title' => '项目名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'ProjectDisplayName' => [
+ 'title' => '项目展示名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test_abc',
+ ],
+ 'DatasourceId' => [
+ 'title' => '数据源ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'DatasourceName' => [
+ 'title' => '数据源名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'TableEnv' => [
+ 'title' => '表环境',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'DEV',
+ ],
+ 'TableId' => [
+ 'title' => '表ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1',
+ ],
+ 'TableName' => [
+ 'title' => '表名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 't_test',
+ ],
+ 'TableDescription' => [
+ 'title' => '表描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'TableType' => [
+ 'title' => '表类型: LOGIC_TABLE 逻辑表,LOGIC_DIM_TABLE 维度逻辑表,LOGIC_FACT_TABLE 事实逻辑表,LOGIC_SUM_TABLE 汇总逻辑表,LOGIC_ODM_SOURCE 源表,LOGIC_LABEL_TABLE 标签逻辑表,PHYSICAL_TABLE 物理表,REAL_TIME_LOGIC_TABLE 实时配置的逻辑表',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'LOGIC_TABLE',
+ ],
+ 'FieldId' => [
+ 'title' => '字段ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 't_test.col1',
+ ],
+ 'FieldName' => [
+ 'title' => '字段名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'col1',
+ ],
+ 'FieldDescription' => [
+ 'title' => '字段描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'ActualIdentifyRate' => [
+ 'title' => '实际匹配度',
+ 'description' => '',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '0.1',
+ ],
+ 'ClassifyId' => [
+ 'title' => '分类ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'ClassifyName' => [
+ 'title' => '分类名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'ClassifyAbbreviation' => [
+ 'title' => '分类简称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'ClassifyStatus' => [
+ 'title' => '分类生效状态: ENABLE 启用、DISABLE 禁用',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'ENABLE',
+ ],
+ 'LevelIndex' => [
+ 'title' => '分级等级',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'LevelName' => [
+ 'title' => '分级名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'LevelAbbreviation' => [
+ 'title' => '分级简短名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'IsCustomIdentify' => [
+ 'title' => '是否是自定义打标规则',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'IsLocked' => [
+ 'title' => '是否已锁定',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'IsBetterMatch' => [
+ 'title' => '是否更匹配',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'BizDate' => [
+ 'title' => '业务日期',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-06-30',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"PageResult\\": {\\n \\"TotalCount\\": 68,\\n \\"IdentifyRecordList\\": [\\n {\\n \\"Id\\": 22,\\n \\"BizUnitId\\": 11,\\n \\"BizUnitName\\": \\"test\\",\\n \\"BizUnitDisplayName\\": \\"test_abc\\",\\n \\"ProjectId\\": 1001,\\n \\"ProjectName\\": \\"test\\",\\n \\"ProjectDisplayName\\": \\"test_abc\\",\\n \\"DatasourceId\\": 1,\\n \\"DatasourceName\\": \\"test\\",\\n \\"TableEnv\\": \\"DEV\\",\\n \\"TableId\\": \\"1\\",\\n \\"TableName\\": \\"t_test\\",\\n \\"TableDescription\\": \\"test\\",\\n \\"TableType\\": \\"LOGIC_TABLE\\",\\n \\"FieldId\\": \\"t_test.col1\\",\\n \\"FieldName\\": \\"col1\\",\\n \\"FieldDescription\\": \\"test\\",\\n \\"ActualIdentifyRate\\": 0.1,\\n \\"ClassifyId\\": 1,\\n \\"ClassifyName\\": \\"test\\",\\n \\"ClassifyAbbreviation\\": \\"test\\",\\n \\"ClassifyStatus\\": \\"ENABLE\\",\\n \\"LevelIndex\\": 1,\\n \\"LevelName\\": \\"test\\",\\n \\"LevelAbbreviation\\": \\"test\\",\\n \\"IsCustomIdentify\\": true,\\n \\"IsLocked\\": true,\\n \\"IsBetterMatch\\": true,\\n \\"BizDate\\": \\"2025-06-30\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'GetSecuritySecretKey' => [
+ 'summary' => '通过密钥名称获取密钥值。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'Name',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '密钥名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'test',
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'SecuritySecretKeyInfo' => [
+ 'title' => '安全密钥详情',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '密钥Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'Name' => [
+ 'title' => '密钥名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'Description' => [
+ 'title' => '描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'Type' => [
+ 'title' => '密钥类型: HASH 哈希脱敏、ENCRYPT 加解密',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'HASH',
+ ],
+ 'AlgorithmType' => [
+ 'title' => '算法类型: AES、DES、DESEDE、SM2、SM4、RSA、FF1',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'AES',
+ ],
+ 'GenerationType' => [
+ 'title' => '生成方式: SYSTEM_GENERATION 系统生成、USER_GENERATION 用户生成',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'SYSTEM_GENERATION',
+ ],
+ 'SubKeyCount' => [
+ 'title' => '子密钥个数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '2',
+ ],
+ 'SecretKeyList' => [
+ 'title' => '密钥值',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '密钥值',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'abc123456',
+ ],
+ ],
+ 'IsOwnerManageOnly' => [
+ 'title' => '是否仅负责人可管理',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'EnableOpenapiQuery' => [
+ 'title' => '是否支持OpenApi查询',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'AlgorithmTypeAlias' => [
+ 'title' => '算法类型alias',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'AES',
+ ],
+ 'Owner' => [
+ 'title' => '负责人',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30012011',
+ ],
+ 'OwnerName' => [
+ 'title' => '负责人名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '张三',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"SecuritySecretKeyInfo\\": {\\n \\"Id\\": 1,\\n \\"Name\\": \\"test\\",\\n \\"Description\\": \\"test\\",\\n \\"Type\\": \\"HASH\\",\\n \\"AlgorithmType\\": \\"AES\\",\\n \\"GenerationType\\": \\"SYSTEM_GENERATION\\",\\n \\"SubKeyCount\\": 2,\\n \\"SecretKeyList\\": [\\n \\"abc123456\\"\\n ],\\n \\"IsOwnerManageOnly\\": true,\\n \\"EnableOpenapiQuery\\": true,\\n \\"AlgorithmTypeAlias\\": \\"AES\\",\\n \\"Owner\\": \\"30012011\\",\\n \\"OwnerName\\": \\"张三\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'GetSecurityLevel' => [
+ 'summary' => '获取数据分级详情。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'Index',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '数据分级敏感程度',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'SecurityLevelInfo' => [
+ 'title' => '数据分级详情',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => [
+ 'title' => '数据分级名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'Abbreviation' => [
+ 'title' => '数据分级缩写名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'Description' => [
+ 'title' => '数据分级描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'Index' => [
+ 'title' => '数据分级敏感程度',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'RelatedClassifyIdList' => [
+ 'title' => '绑定当前数据分级的数据分类Id列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '绑定当前数据分级的数据分类Id列表',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '2',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"SecurityLevelInfo\\": {\\n \\"Name\\": \\"test\\",\\n \\"Abbreviation\\": \\"test\\",\\n \\"Description\\": \\"test\\",\\n \\"Index\\": 1,\\n \\"RelatedClassifyIdList\\": [\\n 2\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'GetSecurityIdentifyResult' => [
+ 'summary' => '获取识别结果详情。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'Id',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '识别结果ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'SecurityIdentifyResultInfo' => [
+ 'title' => '识别结果详情',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '识别结果ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'ScanTaskId' => [
+ 'title' => '扫描任务ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '11',
+ ],
+ 'TableTaskId' => [
+ 'title' => '识别表任务ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '22',
+ ],
+ 'ClassifyId' => [
+ 'title' => '分类ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '33',
+ ],
+ 'ClassifyName' => [
+ 'title' => '分类名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'ClassifyAbbreviation' => [
+ 'title' => '分类简称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'LevelIndex' => [
+ 'title' => '分级等级',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'LevelName' => [
+ 'title' => '分级名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'LevelAbbreviation' => [
+ 'title' => '分级简短名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'LevelColor' => [
+ 'title' => '分级颜色',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'BizUnitId' => [
+ 'title' => '业务板块ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'BizUnitName' => [
+ 'title' => '业务板块名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'LD_test',
+ ],
+ 'BizUnitDisplayName' => [
+ 'title' => '业务板块中文名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'LD_test',
+ ],
+ 'ProjectId' => [
+ 'title' => '项目ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '101121',
+ ],
+ 'ProjectName' => [
+ 'title' => '项目名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'ProjectDisplayName' => [
+ 'title' => '项目中文名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'DatasourceId' => [
+ 'title' => '数据源ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '101121',
+ ],
+ 'DatasourceName' => [
+ 'title' => '数据源名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'ds1',
+ ],
+ 'TableEnv' => [
+ 'title' => '表环境',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'DEV',
+ ],
+ 'TableType' => [
+ 'title' => '表类型: LOGIC_TABLE 逻辑表,LOGIC_DIM_TABLE 维度逻辑表,LOGIC_FACT_TABLE 事实逻辑表,LOGIC_SUM_TABLE 汇总逻辑表,LOGIC_ODM_SOURCE 源表,LOGIC_LABEL_TABLE 标签逻辑表,PHYSICAL_TABLE 物理表,REAL_TIME_LOGIC_TABLE 实时配置的逻辑表',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'LOGIC_TABLE',
+ ],
+ 'TableCatalog' => [
+ 'title' => '表Catalog',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'testdb',
+ ],
+ 'TableId' => [
+ 'title' => '表ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1',
+ ],
+ 'TableName' => [
+ 'title' => '表名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 't_test',
+ ],
+ 'TableDescription' => [
+ 'title' => '表描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'FieldId' => [
+ 'title' => '字段ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 't_test.col1',
+ ],
+ 'FieldName' => [
+ 'title' => '字段名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'col1',
+ ],
+ 'FieldDescription' => [
+ 'title' => '字段描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'IsCustomIdentify' => [
+ 'title' => '是否是自定义打标规则',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'IsLocked' => [
+ 'title' => '是否已锁定',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HasBetterRule' => [
+ 'title' => '是否存在更匹配的结果',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'IdentifyRecordId' => [
+ 'title' => '识别记录ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '99',
+ ],
+ 'Status' => [
+ 'title' => '状态: ENABLE 启用、DISABLE 禁用',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'ENABLE',
+ ],
+ 'BizDate' => [
+ 'title' => '业务日期',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-06-30',
+ ],
+ 'Creator' => [
+ 'title' => '创建人',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30012011',
+ ],
+ 'CreateTime' => [
+ 'title' => '创建时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-06-30 10:30:30',
+ ],
+ 'Modifier' => [
+ 'title' => '修改人',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30012011',
+ ],
+ 'ModifyTime' => [
+ 'title' => '修改时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-06-30 10:30:30',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"SecurityIdentifyResultInfo\\": {\\n \\"Id\\": 1,\\n \\"ScanTaskId\\": 11,\\n \\"TableTaskId\\": 22,\\n \\"ClassifyId\\": 33,\\n \\"ClassifyName\\": \\"test\\",\\n \\"ClassifyAbbreviation\\": \\"test\\",\\n \\"LevelIndex\\": 1,\\n \\"LevelName\\": \\"test\\",\\n \\"LevelAbbreviation\\": \\"test\\",\\n \\"LevelColor\\": 1,\\n \\"BizUnitId\\": 1,\\n \\"BizUnitName\\": \\"LD_test\\",\\n \\"BizUnitDisplayName\\": \\"LD_test\\",\\n \\"ProjectId\\": 101121,\\n \\"ProjectName\\": \\"test\\",\\n \\"ProjectDisplayName\\": \\"test\\",\\n \\"DatasourceId\\": 101121,\\n \\"DatasourceName\\": \\"ds1\\",\\n \\"TableEnv\\": \\"DEV\\",\\n \\"TableType\\": \\"LOGIC_TABLE\\",\\n \\"TableCatalog\\": \\"testdb\\",\\n \\"TableId\\": \\"1\\",\\n \\"TableName\\": \\"t_test\\",\\n \\"TableDescription\\": \\"test\\",\\n \\"FieldId\\": \\"t_test.col1\\",\\n \\"FieldName\\": \\"col1\\",\\n \\"FieldDescription\\": \\"test\\",\\n \\"IsCustomIdentify\\": true,\\n \\"IsLocked\\": true,\\n \\"HasBetterRule\\": true,\\n \\"IdentifyRecordId\\": 99,\\n \\"Status\\": \\"ENABLE\\",\\n \\"BizDate\\": \\"2025-06-30\\",\\n \\"Creator\\": \\"30012011\\",\\n \\"CreateTime\\": \\"2025-06-30 10:30:30\\",\\n \\"Modifier\\": \\"30012011\\",\\n \\"ModifyTime\\": \\"2025-06-30 10:30:30\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'GetSecurityClassify' => [
+ 'summary' => '获取数据分类详情。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'Id',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '分类ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'SecurityClassifyInfo' => [
+ 'title' => '数据分类详情',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '数据分类ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'Name' => [
+ 'title' => '分类名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'Abbreviation' => [
+ 'title' => '分类简称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'Path' => [
+ 'title' => '分类路径',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '/a/b/c',
+ ],
+ 'LevelIndex' => [
+ 'title' => '分级Index',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'LevelName' => [
+ 'title' => '分级名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'lv_teat',
+ ],
+ 'LevelAbbreviation' => [
+ 'title' => '分级缩写名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'lv_test',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"SecurityClassifyInfo\\": {\\n \\"Id\\": 1,\\n \\"Name\\": \\"test\\",\\n \\"Abbreviation\\": \\"test\\",\\n \\"Path\\": \\"/a/b/c\\",\\n \\"LevelIndex\\": 1,\\n \\"LevelName\\": \\"lv_teat\\",\\n \\"LevelAbbreviation\\": \\"lv_test\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'DeleteSecurityLevel' => [
+ 'summary' => '删除数据分级。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'DeleteCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '删除指令',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Index' => [
+ 'title' => '分级敏感等级,当不传递时将按照分级名称进行精确匹配删除',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ 'Name' => [
+ 'title' => '分级名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'DeleteResult' => [
+ 'title' => '删除结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Success' => [
+ 'title' => '是否成功',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'ErrorCode' => [
+ 'title' => '异常代码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'E10012011',
+ ],
+ 'RelatedClassifyIdList' => [
+ 'title' => '绑定当前分级的数据分类ID清单,仅触发该报错时返回',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '绑定当前分级的数据分类ID清单,仅触发该报错时返回',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"DeleteResult\\": {\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"E10012011\\",\\n \\"RelatedClassifyIdList\\": [\\n 1\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'DeleteSecurityIdentifyResults' => [
+ 'summary' => '批量删除安全识别结果。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'DeleteCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '删除指令',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'IdentifyResultIdList' => [
+ 'title' => '识别结果ID列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '识别结果ID列表',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ 'required' => false,
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'Data' => [
+ 'title' => '删除结果',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"Data\\": true\\n}","type":"json"}]',
+ ],
+ 'DeleteSecurityClassifyCatalog' => [
+ 'summary' => '删除数据分类目录。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'DeleteCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '删除指令',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Path' => [
+ 'title' => '原目录的完整路径',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '/d1/d2/',
+ ],
+ 'ReturnRemovedDetails' => [
+ 'title' => '是否返回删除详情,默认: true',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'Data' => [
+ 'title' => '删除结果详情',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Success' => [
+ 'title' => '是否删除成功',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'ChildCatalogFullPathList' => [
+ 'title' => '被连带删除的子目录完整路径列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '被连带删除的子目录完整路径列表',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '/d1/d2/d3/',
+ ],
+ ],
+ 'ClassifyIdList' => [
+ 'title' => '被连带删除的分类ID列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '被连带删除的分类ID列表',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '5',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"Data\\": {\\n \\"Success\\": true,\\n \\"ChildCatalogFullPathList\\": [\\n \\"/d1/d2/d3/\\"\\n ],\\n \\"ClassifyIdList\\": [\\n 5\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'DeleteSecurityClassify' => [
+ 'summary' => '删除数据分类。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'DeleteCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '更新指令',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '分类ID, 不传递时按照分类名称+分类父路径匹配分类进行删除',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ 'Name' => [
+ 'title' => '分类名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ 'ParentPath' => [
+ 'title' => '分类路径,默认/',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '/',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'Data' => [
+ 'title' => '删除结果',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"Data\\": true\\n}","type":"json"}]',
+ ],
+ 'CreateSecurityLevel' => [
+ 'summary' => '新建数据分级。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'CreateCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '创建指令',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => [
+ 'title' => '分级名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'test',
+ ],
+ 'Abbreviation' => [
+ 'title' => '分级缩写',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ 'Index' => [
+ 'title' => '分级顺序,不传递将默认生成当前最大顺序Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ 'Description' => [
+ 'title' => '分级描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'Data' => [
+ 'title' => '数据分级Index',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"Data\\": 1\\n}","type":"json"}]',
+ ],
+ 'CreateSecurityIdentifyResult' => [
+ 'summary' => '新建安全识别结果。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'CreateCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '创建指令',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'IsDatasourceTable' => [
+ 'title' => '是否数据源表, 默认否(视为Dataphin表)',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ 'DatasourceName' => [
+ 'title' => '数据源名称,仅数据源表需要填写',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ 'DatasourceEnv' => [
+ 'title' => '数据源环境标识,仅数据源表需要填写',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'DEV',
+ ],
+ 'TableCatalog' => [
+ 'title' => '表Catalog,数据源表请填写所属db或schema名称;Dataphin物理表请填写项目英文名;Dataphin逻辑表请填写板块英文名',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'test',
+ ],
+ 'TableName' => [
+ 'title' => '表名',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 't_test',
+ ],
+ 'FieldName' => [
+ 'title' => '字段名',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'col1',
+ ],
+ 'ClassifyId' => [
+ 'title' => '分类ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '1',
+ ],
+ 'Enable' => [
+ 'title' => '生效状态: true开启、false关闭, 默认: true',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ 'ConflictStrategy' => [
+ 'title' => '去重策略: COVER_ALL 覆盖线上全部打标、COVER_UNLOCKED 仅覆盖线上未锁定打标、NOT_COVER 不覆盖,保留线上打标',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'COVER_ALL',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'Data' => [
+ 'title' => '识别结果ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"Data\\": 1\\n}","type":"json"}]',
+ ],
+ 'CreateSecurityClassifyCatalog' => [
+ 'summary' => '新建数据分类目录。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'CreateCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '创建指令',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => [
+ 'title' => '分类目录名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'test',
+ ],
+ 'ParentPath' => [
+ 'title' => '分类父目录完整路径,默认/',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '/d1/',
+ ],
+ 'OwnerList' => [
+ 'title' => '管理员ID列表,仅当所属父目录为根目录时填写有效',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '管理员ID列表,仅当所属父目录为根目录时填写有效',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '30001011',
+ ],
+ 'required' => false,
+ ],
+ 'VisibleType' => [
+ 'title' => '分类可见范围:PUBLIC 公开、PRIVATE 仅管理员可查看,默认PUBLIC;仅当所属父目录为根目录时填写有效',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'PUBLIC',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'Data' => [
+ 'title' => '新建成功的目录的完整路径',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '/d1/d2/',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"Data\\": \\"/d1/d2/\\"\\n}","type":"json"}]',
+ ],
+ 'CreateSecurityClassify' => [
+ 'summary' => '新建数据分类。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'CreateCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '创建指令',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => [
+ 'title' => '分类名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'test',
+ ],
+ 'Abbreviation' => [
+ 'title' => '分类简称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ 'Description' => [
+ 'title' => '分类描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ 'ParentPath' => [
+ 'title' => '分类路径,可选,未填写或填写/均视为直接归属根目录',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '/',
+ ],
+ 'LevelName' => [
+ 'title' => '数据分级名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'L2',
+ ],
+ 'FeatureNameList' => [
+ 'title' => '特征名称',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '特征名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '行业',
+ ],
+ 'required' => false,
+ ],
+ 'Priority' => [
+ 'title' => '优先级,默认: 5',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '5',
+ ],
+ 'AdvancedConditionList' => [
+ 'title' => '高级配置',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ParentId' => [
+ 'title' => '特征条件父节点',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '123',
+ ],
+ 'Id' => [
+ 'title' => '特征条件节点id,由业务随机生成且确保唯一',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '234',
+ ],
+ 'Relation' => [
+ 'title' => '条件关系: EXPRESSION 表达式、RELATION 关系',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'EXPRESSION',
+ ],
+ 'Property' => [
+ 'title' => '特征属性: TABLE_NAME 表名称、TABLE_DESC 表描述、FIELD_CONTENT 字段内容、FIELD_NAME 字段名称、FIELD_DESC 字段描述、FIELD_TYPE 字段类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'TABLE_NAME',
+ ],
+ 'Operate' => [
+ 'title' => '条件操作: AND、OR、BUILT_IN_EXPRESSION 内置表达式、IGNORE_CASE_EXPRESSION 正则 - 大小写兼容、EXPRESSION 正则表达式、NOT_BELONG 不属于、CONTAINS 包含、NOT_CONTAINS 不包含、EQUAL、NOT_EQUAL',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'AND',
+ ],
+ 'ValueList' => [
+ 'title' => '条件取值',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '条件取值',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'abc',
+ ],
+ 'required' => false,
+ ],
+ 'OptionList' => [
+ 'title' => '额外属性,如字段内容',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => [
+ 'title' => '配置项',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'k1',
+ ],
+ 'Value' => [
+ 'title' => '配置项值',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'v1',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => false,
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => false,
+ ],
+ 'Status' => [
+ 'title' => '分类生效状态: ENABLE 启用、DISABLE 禁用',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ENABLE',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'Data' => [
+ 'title' => '数据分类ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"Data\\": 1\\n}","type":"json"}]',
+ ],
+ 'GetTableLineages' => [
+ 'summary' => '查询资产表血缘信息。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'TableGuid',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '表Guid, 每个资产的唯一标识',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '1121',
+ ],
+ ],
+ [
+ 'name' => 'FilterQuery',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '过滤条件',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'NodeEnv' => [
+ 'title' => '用于过滤要查询的任务所属环境: dev、prod',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'dev',
+ ],
+ 'NodeIdList' => [
+ 'title' => '用于过滤要查询的任务Id列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '用于过滤要查询的任务Id列表',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '110021',
+ ],
+ 'required' => false,
+ ],
+ 'NeedUpstream' => [
+ 'title' => '是否查询上游血缘, 默认:false',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ ],
+ 'NeedDownstream' => [
+ 'title' => '是否查询下游血缘, 默认:false',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ ],
+ 'NeedNotExistObject' => [
+ 'title' => '返回在资产清单中不存在的表, 默认:false',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'Id of the request',
+ 'type' => 'string',
+ 'example' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'TableLineageList' => [
+ 'title' => '表血缘列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'NodeId' => [
+ 'title' => '血缘对应的任务Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '110021',
+ ],
+ 'NodeEnv' => [
+ 'title' => '任务所属环境: dev、prod',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'dev',
+ ],
+ 'InputTableEnv' => [
+ 'title' => '输入表所属环境: dev、prod',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'dev',
+ ],
+ 'InputTableGuid' => [
+ 'title' => '输入表Guid, 每个资产都有唯一标识',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '123211',
+ ],
+ 'InputTableName' => [
+ 'title' => '输入表名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 't_input',
+ ],
+ 'InputProjectId' => [
+ 'title' => '输入表所属项目Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1233',
+ ],
+ 'InputBizUnitId' => [
+ 'title' => '输入表所属业务板块Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'InputDataSourceId' => [
+ 'title' => '输入表所属数据源Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'InputDataSourceType' => [
+ 'title' => '输入表所属数据源类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'MAX_COMPUTE',
+ ],
+ 'InputTableDeleted' => [
+ 'title' => '输入表是否已删除',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'OutputTableEnv' => [
+ 'title' => '输出表所属的env: dev、prod',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'dev',
+ ],
+ 'OutputTableGuid' => [
+ 'title' => '输出表Guid, 每个资产都有唯一标识',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2231',
+ ],
+ 'OutputTableName' => [
+ 'title' => '输出表名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 't_output',
+ ],
+ 'OutputProjectId' => [
+ 'title' => '输出表所属项目Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1233',
+ ],
+ 'OutputBizUnitId' => [
+ 'title' => '输出表所属业务板块Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'OutputDataSourceId' => [
+ 'title' => '输出表所属数据源Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'OutputDataSourceType' => [
+ 'title' => '输出表所属数据源类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'MAX_COMPUTE',
+ ],
+ 'OutputTableDeleted' => [
+ 'title' => '输出表是否已删除',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"TableLineageList\\": [\\n {\\n \\"NodeId\\": \\"110021\\",\\n \\"NodeEnv\\": \\"dev\\",\\n \\"InputTableEnv\\": \\"dev\\",\\n \\"InputTableGuid\\": \\"123211\\",\\n \\"InputTableName\\": \\"t_input\\",\\n \\"InputProjectId\\": 1233,\\n \\"InputBizUnitId\\": 1,\\n \\"InputDataSourceId\\": 1,\\n \\"InputDataSourceType\\": \\"MAX_COMPUTE\\",\\n \\"InputTableDeleted\\": true,\\n \\"OutputTableEnv\\": \\"dev\\",\\n \\"OutputTableGuid\\": \\"2231\\",\\n \\"OutputTableName\\": \\"t_output\\",\\n \\"OutputProjectId\\": 1233,\\n \\"OutputBizUnitId\\": 1,\\n \\"OutputDataSourceId\\": 1,\\n \\"OutputDataSourceType\\": \\"MAX_COMPUTE\\",\\n \\"OutputTableDeleted\\": true\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'GetBelongAssetMapping' => [
+ 'summary' => '根据归属资产GUID查询映射关系。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'AssetMappingQuery',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '查询指令',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'BelongGuid' => [
+ 'title' => '归属资产Guid',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '1121',
+ ],
+ 'RelationType' => [
+ 'title' => '映射关系类型: VALID 已映射、INVALID 无效映射',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'VALID',
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'MappingRelationList' => [
+ 'title' => '映射关系列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ModifyTime' => [
+ 'title' => '更新时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-06-30 00:00:00',
+ ],
+ 'Guid' => [
+ 'title' => '资产guid',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1122',
+ ],
+ 'Name' => [
+ 'title' => '资产名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'AssetType' => [
+ 'title' => '资产类型: COLUMN 字段、INDEX 指标',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'COLUMN',
+ ],
+ 'StandardId' => [
+ 'title' => '标准id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'StandardName' => [
+ 'title' => '标准名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'StandardCode' => [
+ 'title' => '标准编码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'cc',
+ ],
+ 'StandardSetId' => [
+ 'title' => '标准集id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '2',
+ ],
+ 'StandardSetName' => [
+ 'title' => '标准集名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'StandardSetDirectory' => [
+ 'title' => '标准集所在的文件夹',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '/dir1',
+ ],
+ 'StandardStage' => [
+ 'title' => '标准阶段',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'PROD',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"MappingRelationList\\": [\\n {\\n \\"ModifyTime\\": \\"2025-06-30 00:00:00\\",\\n \\"Guid\\": \\"1122\\",\\n \\"Name\\": \\"test\\",\\n \\"AssetType\\": \\"COLUMN\\",\\n \\"StandardId\\": 1,\\n \\"StandardName\\": \\"test\\",\\n \\"StandardCode\\": \\"cc\\",\\n \\"StandardSetId\\": 2,\\n \\"StandardSetName\\": \\"test\\",\\n \\"StandardSetDirectory\\": \\"/dir1\\",\\n \\"StandardStage\\": \\"PROD\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'GetAssetMappingRelations' => [
+ 'summary' => '根据资产对象GUID查询映射关系。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'AssetMappingQuery',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '查询指令',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Guid' => [
+ 'title' => '资产对象guid',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '1121',
+ ],
+ 'AssetType' => [
+ 'title' => '资产对象类型: COLUMN 字段、INDEX 指标',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'INDEX',
+ ],
+ 'RelationType' => [
+ 'title' => '映射关系类型: VALID 已映射、INVALID 无效映射',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'VALID',
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'MappingRelationList' => [
+ 'title' => '映射关系列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ModifyTime' => [
+ 'title' => '更新时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-06-30 00:00:00',
+ ],
+ 'Guid' => [
+ 'title' => '资产guid',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1122',
+ ],
+ 'Name' => [
+ 'title' => '资产名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'AssetType' => [
+ 'title' => '资产类型: COLUMN 字段、INDEX 指标',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'COLUMN',
+ ],
+ 'StandardId' => [
+ 'title' => '标准id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'StandardName' => [
+ 'title' => '标准名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'StandardCode' => [
+ 'title' => '标准编码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'cc',
+ ],
+ 'StandardSetId' => [
+ 'title' => '标准集id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '2',
+ ],
+ 'StandardSetName' => [
+ 'title' => '标准集名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'StandardSetDirectory' => [
+ 'title' => '标准集所在的文件夹',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '/dir1',
+ ],
+ 'StandardStage' => [
+ 'title' => '标准阶段',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'PROD',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"MappingRelationList\\": [\\n {\\n \\"ModifyTime\\": \\"2025-06-30 00:00:00\\",\\n \\"Guid\\": \\"1122\\",\\n \\"Name\\": \\"test\\",\\n \\"AssetType\\": \\"COLUMN\\",\\n \\"StandardId\\": 1,\\n \\"StandardName\\": \\"test\\",\\n \\"StandardCode\\": \\"cc\\",\\n \\"StandardSetId\\": 2,\\n \\"StandardSetName\\": \\"test\\",\\n \\"StandardSetDirectory\\": \\"/dir1\\",\\n \\"StandardStage\\": \\"PROD\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'ListTables' => [
+ 'summary' => '分页查询查询资产表元数据。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'ListQuery',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '分页查询条件',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Catalog' => [
+ 'title' => '资产目录:项目名、业务板块名',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'LD_test01_dev',
+ ],
+ 'Keyword' => [
+ 'title' => '关键字支持:表名',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ 'PageNo' => [
+ 'title' => '页码, 默认1',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ 'PageSize' => [
+ 'title' => '分页记录数, 默认20',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '20',
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'PageResult' => [
+ 'title' => '分页查询结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'TotalCount' => [
+ 'title' => '总记录数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '68',
+ ],
+ 'TableList' => [
+ 'title' => '表列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Guid' => [
+ 'title' => '表Guid',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '10011',
+ ],
+ 'DataSourceId' => [
+ 'title' => '数据源ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '3301',
+ ],
+ 'TableSizeInBytes' => [
+ 'title' => '表存储总量, 单位:byte',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '10241024',
+ ],
+ 'LifeCycle' => [
+ 'title' => '表生命周期: 天',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '30',
+ ],
+ 'CreateTime' => [
+ 'title' => '创建时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-06-30 00:00:00',
+ ],
+ 'LastDdlTime' => [
+ 'title' => '表DDL最后变更时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-06-30 00:00:00',
+ ],
+ 'LastQueryTime' => [
+ 'title' => '最近一次查看数据的时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-06-30 00:00:00',
+ ],
+ 'Owner' => [
+ 'title' => '表负责人在Dataphin的用户Id, 未绑定可能为空',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30011211',
+ ],
+ 'Creator' => [
+ 'title' => '创建人id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30011211',
+ ],
+ 'VisitCount30d' => [
+ 'title' => '最近30天的访问次数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '22',
+ ],
+ 'Env' => [
+ 'title' => '所属环境:dev、prod',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'dev',
+ ],
+ 'Name' => [
+ 'title' => '表名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 't_test01',
+ ],
+ 'DisplayName' => [
+ 'title' => '表展示名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '学生',
+ ],
+ 'LastDmlTime' => [
+ 'title' => '表数据最近更新时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-06-30 00:00:00',
+ ],
+ 'Comment' => [
+ 'title' => '表注释',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'BizUnitId' => [
+ 'title' => '业务板块Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '2011',
+ ],
+ 'BizUnitName' => [
+ 'title' => '业务板块名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'LD_test01',
+ ],
+ 'DataDomainId' => [
+ 'title' => '数据域id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '211',
+ ],
+ 'DataDomainName' => [
+ 'title' => '主题域名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '211',
+ ],
+ 'ProjectId' => [
+ 'title' => '逻辑项目id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1011',
+ ],
+ 'ProjectName' => [
+ 'title' => '逻辑项目名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'testPrj',
+ ],
+ 'ParentModelId' => [
+ 'title' => '父模型ID, 跳转ODM模型使用',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1',
+ ],
+ 'FileId' => [
+ 'title' => '文件ID, 跳转ODM模型使用',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2',
+ ],
+ 'IsPartitionTable' => [
+ 'title' => '是否分区键',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'StorageType' => [
+ 'title' => '存储类型:HIVE、MAX_COMPUTE',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'HIVE',
+ ],
+ 'StreamTableConfig' => [
+ 'title' => '实时元表类的动态属性',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => [
+ 'title' => '配置项',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'k1',
+ ],
+ 'Value' => [
+ 'title' => '配置项值',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'v1',
+ ],
+ ],
+ ],
+ ],
+ 'IsBasicMode' => [
+ 'title' => '表所属项目或者业务版本是否是Basic模式',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'AssetTagList' => [
+ 'title' => '资产清单标签',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '资产清单标签',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'LYDAAS',
+ ],
+ ],
+ 'SecurityLevel' => [
+ 'title' => '安全分级',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'SecurityLevelName' => [
+ 'title' => '安全分级名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '高级',
+ ],
+ 'SecurityLevelAbbreviation' => [
+ 'title' => '安全分级名称缩写',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '高级',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"PageResult\\": {\\n \\"TotalCount\\": 68,\\n \\"TableList\\": [\\n {\\n \\"Guid\\": \\"10011\\",\\n \\"DataSourceId\\": 3301,\\n \\"TableSizeInBytes\\": 10241024,\\n \\"LifeCycle\\": 30,\\n \\"CreateTime\\": \\"2025-06-30 00:00:00\\",\\n \\"LastDdlTime\\": \\"2025-06-30 00:00:00\\",\\n \\"LastQueryTime\\": \\"2025-06-30 00:00:00\\",\\n \\"Owner\\": \\"30011211\\",\\n \\"Creator\\": \\"30011211\\",\\n \\"VisitCount30d\\": 22,\\n \\"Env\\": \\"dev\\",\\n \\"Name\\": \\"t_test01\\",\\n \\"DisplayName\\": \\"学生\\",\\n \\"LastDmlTime\\": \\"2025-06-30 00:00:00\\",\\n \\"Comment\\": \\"test\\",\\n \\"BizUnitId\\": 2011,\\n \\"BizUnitName\\": \\"LD_test01\\",\\n \\"DataDomainId\\": 211,\\n \\"DataDomainName\\": \\"211\\",\\n \\"ProjectId\\": 1011,\\n \\"ProjectName\\": \\"testPrj\\",\\n \\"ParentModelId\\": \\"1\\",\\n \\"FileId\\": \\"2\\",\\n \\"IsPartitionTable\\": true,\\n \\"StorageType\\": \\"HIVE\\",\\n \\"StreamTableConfig\\": [\\n {\\n \\"Key\\": \\"k1\\",\\n \\"Value\\": \\"v1\\"\\n }\\n ],\\n \\"IsBasicMode\\": true,\\n \\"AssetTagList\\": [\\n \\"LYDAAS\\"\\n ],\\n \\"SecurityLevel\\": 1,\\n \\"SecurityLevelName\\": \\"高级\\",\\n \\"SecurityLevelAbbreviation\\": \\"高级\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'GetTableColumnLineages' => [
+ 'summary' => '查询资产表字段血缘信息。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'TableGuid',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '表Guid,在资产唯一标识',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '1121',
+ ],
+ ],
+ [
+ 'name' => 'FilterQuery',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '过滤条件',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'NodeEnv' => [
+ 'title' => '用于过滤要查询的任务所属环境: dev、prod',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'dev',
+ ],
+ 'NodeIdList' => [
+ 'title' => '用于过滤要查询的任务Id列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '用于过滤要查询的任务Id列表',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '110021',
+ ],
+ 'required' => false,
+ ],
+ 'NeedUpstream' => [
+ 'title' => '是否查询上游血缘, 默认:true',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ ],
+ 'NeedDownstream' => [
+ 'title' => '是否查询下游血缘, 默认:true',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ ],
+ 'NeedNotExistObject' => [
+ 'title' => '返回在资产清单中不存在的表, 默认:false',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'Id of the request',
+ 'type' => 'string',
+ 'example' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'TableColumnLineageList' => [
+ 'title' => '表字段血缘列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'NodeId' => [
+ 'title' => '血缘对应的任务Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '110021',
+ ],
+ 'NodeEnv' => [
+ 'title' => '任务所属环境: dev、prod',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'dev',
+ ],
+ 'InputTableEnv' => [
+ 'title' => '输入表所属环境: dev、prod',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'dev',
+ ],
+ 'InputTableGuid' => [
+ 'title' => '输入表Guid, 每个资产都有唯一标识',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '123211',
+ ],
+ 'InputTableName' => [
+ 'title' => '输入表名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 't_input',
+ ],
+ 'InputColumnName' => [
+ 'title' => '输入字段名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'col1',
+ ],
+ 'InputColumnGuid' => [
+ 'title' => '输入字段Guid, 格式: 表Guid.字段名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1121.col1',
+ ],
+ 'InputProjectId' => [
+ 'title' => '输入表所属项目Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1233',
+ ],
+ 'InputBizUnitId' => [
+ 'title' => '输入表所属业务板块Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'InputDataSourceId' => [
+ 'title' => '输入表所属数据源Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'InputDataSourceType' => [
+ 'title' => '输入表所属数据源类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'MAX_COMPUTE',
+ ],
+ 'InputTableDeleted' => [
+ 'title' => '输入表是否已删除',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'OutputTableEnv' => [
+ 'title' => '输出表所属的env: dev、prod',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'dev',
+ ],
+ 'OutputTableGuid' => [
+ 'title' => '输出表Guid, 每个资产都有唯一标识',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2231',
+ ],
+ 'OutputTableName' => [
+ 'title' => '输出表名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 't_output',
+ ],
+ 'OutputColumnName' => [
+ 'title' => '输出字段名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'col2',
+ ],
+ 'OutputColumnGuid' => [
+ 'title' => '输出字段Guid, 格式为: 表Id.字段名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2231.col2',
+ ],
+ 'OutputProjectId' => [
+ 'title' => '输出表所属项目Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1233',
+ ],
+ 'OutputBizUnitId' => [
+ 'title' => '输出表所属业务板块Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'OutputDataSourceId' => [
+ 'title' => '输出表所属数据源Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'OutputDataSourceType' => [
+ 'title' => '输出表所属数据源类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'MAX_COMPUTE',
+ ],
+ 'OutputTableDeleted' => [
+ 'title' => '输出表是否已删除',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"TableColumnLineageList\\": [\\n {\\n \\"NodeId\\": \\"110021\\",\\n \\"NodeEnv\\": \\"dev\\",\\n \\"InputTableEnv\\": \\"dev\\",\\n \\"InputTableGuid\\": \\"123211\\",\\n \\"InputTableName\\": \\"t_input\\",\\n \\"InputColumnName\\": \\"col1\\",\\n \\"InputColumnGuid\\": \\"1121.col1\\",\\n \\"InputProjectId\\": 1233,\\n \\"InputBizUnitId\\": 1,\\n \\"InputDataSourceId\\": 1,\\n \\"InputDataSourceType\\": \\"MAX_COMPUTE\\",\\n \\"InputTableDeleted\\": true,\\n \\"OutputTableEnv\\": \\"dev\\",\\n \\"OutputTableGuid\\": \\"2231\\",\\n \\"OutputTableName\\": \\"t_output\\",\\n \\"OutputColumnName\\": \\"col2\\",\\n \\"OutputColumnGuid\\": \\"2231.col2\\",\\n \\"OutputProjectId\\": 1233,\\n \\"OutputBizUnitId\\": 1,\\n \\"OutputDataSourceId\\": 1,\\n \\"OutputDataSourceType\\": \\"MAX_COMPUTE\\",\\n \\"OutputTableDeleted\\": true\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'GetTableColumns' => [
+ 'summary' => '查询资产清单中Dataphin表的字段。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'Catalog',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '资产表catalog: 业务板块或项目空间的名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'LD_test01_dev',
+ ],
+ ],
+ [
+ 'name' => 'TableName',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '表名',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 't_test01',
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'ColumnList' => [
+ 'title' => '资产表列列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Guid' => [
+ 'title' => '列Guid',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1121.col1',
+ ],
+ 'Env' => [
+ 'title' => '所属环境:dev、prod',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'dev',
+ ],
+ 'TableGuid' => [
+ 'title' => '表Guid',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1121',
+ ],
+ 'DataSourceId' => [
+ 'title' => '数据源ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '3301',
+ ],
+ 'DataSourceType' => [
+ 'title' => '数据源类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'MAX_COMPUTE',
+ ],
+ 'TableName' => [
+ 'title' => '表名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 't_test',
+ ],
+ 'SeqNumber' => [
+ 'title' => '序号',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'Name' => [
+ 'title' => '字段名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'age',
+ ],
+ 'DisplayName' => [
+ 'title' => '字段展示名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '年龄',
+ ],
+ 'Comment' => [
+ 'title' => '字段注释',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'DataType' => [
+ 'title' => '数据类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'varchar',
+ ],
+ 'Nullable' => [
+ 'title' => '是否允许为空',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'DefaultValue' => [
+ 'title' => '默认值',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'IsPrimaryKey' => [
+ 'title' => '是否主键',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'IsForeignKey' => [
+ 'title' => '是否外键',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'IsPartitionColumn' => [
+ 'title' => '是否分区键',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'Creator' => [
+ 'title' => '创建者',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30012011',
+ ],
+ 'LastModifier' => [
+ 'title' => '最近更新者',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30012011',
+ ],
+ 'VisitCount30d' => [
+ 'title' => '最近30天查询',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '99',
+ ],
+ 'CreateTime' => [
+ 'title' => '创建时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-06-30 00:00:00',
+ ],
+ 'ModifyTime' => [
+ 'title' => '修改时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-06-30 00:00:00',
+ ],
+ 'ClassifyId' => [
+ 'title' => '数据分类Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '12345',
+ ],
+ 'ClassifyName' => [
+ 'title' => '数据分类名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'LevelAbbreviation' => [
+ 'title' => '数据分级缩写',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'L1',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"ColumnList\\": [\\n {\\n \\"Guid\\": \\"1121.col1\\",\\n \\"Env\\": \\"dev\\",\\n \\"TableGuid\\": \\"1121\\",\\n \\"DataSourceId\\": 3301,\\n \\"DataSourceType\\": \\"MAX_COMPUTE\\",\\n \\"TableName\\": \\"t_test\\",\\n \\"SeqNumber\\": 1,\\n \\"Name\\": \\"age\\",\\n \\"DisplayName\\": \\"年龄\\",\\n \\"Comment\\": \\"test\\",\\n \\"DataType\\": \\"varchar\\",\\n \\"Nullable\\": true,\\n \\"DefaultValue\\": \\"test\\",\\n \\"IsPrimaryKey\\": true,\\n \\"IsForeignKey\\": true,\\n \\"IsPartitionColumn\\": true,\\n \\"Creator\\": \\"30012011\\",\\n \\"LastModifier\\": \\"30012011\\",\\n \\"VisitCount30d\\": 99,\\n \\"CreateTime\\": \\"2025-06-30 00:00:00\\",\\n \\"ModifyTime\\": \\"2025-06-30 00:00:00\\",\\n \\"ClassifyId\\": 12345,\\n \\"ClassifyName\\": \\"test\\",\\n \\"LevelAbbreviation\\": \\"L1\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'CreateBizMetric' => [
+ 'summary' => '新建业务指标',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'CreateBizMetricCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '创建请求',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => [
+ 'title' => '业务指标名称,需要在租户内唯一。仅支持输入英文字母、数字及部分特殊符号(-_/\\·#$^&*()%+=),最多256字符。',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'Metric1',
+ 'maxLength' => 256,
+ ],
+ 'DisplayName' => [
+ 'title' => '展示名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'MetricDisplayName',
+ 'maxLength' => 256,
+ ],
+ 'Description' => [
+ 'title' => '描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'MetricDesc',
+ 'maxLength' => 1000,
+ ],
+ 'Labels' => [
+ 'title' => '资产标签',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'Label1',
+ ],
+ 'required' => false,
+ ],
+ 'CatalogIds' => [
+ 'title' => '归属目录ID',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '1234567890',
+ ],
+ 'required' => false,
+ ],
+ 'BizOwnerName' => [
+ 'title' => '业务负责人名称,请填写负责人账号的用户名',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'SuperAdmin',
+ ],
+ 'MetricDefinition' => [
+ 'title' => '指标口径,如需引用其他业务指标,请使用半角中括号[ ]包裹指标名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '[Metric1]+[Metric2]',
+ 'maxLength' => 2000,
+ ],
+ 'RelatedBizMetrics' => [
+ 'title' => '相关业务指标列表,请填写相关业务指标名称及其关联关系',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => [
+ 'title' => '指标名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'Metric2',
+ ],
+ 'RelationType' => [
+ 'title' => '关联关系:POSITIVE正相关;NEGATIVE负相关;OTHER其他',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'POSITIVE',
+ 'enum' => [
+ 'POSITIVE',
+ 'NEGATIVE',
+ 'OTHER',
+ ],
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => false,
+ ],
+ 'AssociatedTechMetricFullNames' => [
+ 'title' => '关联技术指标全名列表。请填写技术指标的“所属表全名.指标名称”,其中“所属表全名”等于“资产来源.所属表名”。一个技术指标只能被一个业务指标关联,无法重复关联',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'LD_bizunit.table1.index1',
+ ],
+ 'required' => false,
+ ],
+ 'MetricRelationDiagramSwitchOpen' => [
+ 'title' => '指标关系图开关:true开启;false关闭。当且仅当至少有一个“相关业务指标”时可开启,否则会自动关闭',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ 'MetricRelationDiagramExpression' => [
+ 'title' => '仅当“指标关系图”开启时会读取此信息。仅支持填写从“相关业务指标”中选取的指标名称组成的一个计算表达式,运算符号仅支持+、-、*、/、()、%、∑,各指标名称需用半角中括号[ ]包裹。如果两个指标之间未填写运算符,系统将自动填充占位符。如果未配置指标关系表达式,则“指标关系图”开关将自动关闭',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '[Metric1]+[Metric2]',
+ ],
+ 'OperateInstructionEnabled' => [
+ 'title' => '操作说明是否开启:true开启;false关闭',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ 'OperateInstructionContent' => [
+ 'title' => '操作说明内容,仅支持文本格式',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'content',
+ ],
+ 'ViewScope' => [
+ 'title' => '可见范围',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ScopeType' => [
+ 'title' => '可见范围类型:ALL_USERS_CAN_VIEW全部用户可见;PART_USERS_CAN_VIEW部分用户可见;PART_USERS_CAN_NOT_VIEW部分用户不可见',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'PART_USERS_CAN_VIEW',
+ 'enum' => [
+ 'ALL_USERS_CAN_VIEW',
+ 'PART_USERS_CAN_VIEW',
+ 'PART_USERS_CAN_NOT_VIEW',
+ ],
+ ],
+ 'UserNames' => [
+ 'title' => '请填写个人账号的用户名,当且仅当资产“可见范围”为“部分用户可见”或“部分用户不可见”时有效',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'SuperAdmin',
+ ],
+ 'required' => false,
+ ],
+ 'UserGroupNames' => [
+ 'title' => '请填写用户组名称,当且仅当资产“可见范围”为“部分用户可见”或“部分用户不可见”时会读取此信息',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'UserGroup1',
+ ],
+ 'required' => false,
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'CustomAttribute' => [
+ 'title' => '自定义属性',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '自定义属性列表,请分别填写属性的编码及属性值',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'title' => '自定义属性编码',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'CustomAttributeCode',
+ ],
+ 'Values' => [
+ 'title' => '属性值列表:1、自定义输入和下拉单选属性仅读取列表第一个属性值;2、下拉多选属性,读取列表全部属性值;3、超链接属性,读取列表第一个属性值作为展示文本,第二个属性值作为跳转链接。',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '自定义属性值',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'CustomAttributeValue',
+ ],
+ 'required' => false,
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => false,
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'Data' => [
+ 'title' => '操作结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Success' => [
+ 'title' => '是否创建成功:true成功;false失败',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'Message' => [
+ 'title' => '异常信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"success\\",\\n \\"Message\\": \\"internal error\\",\\n \\"Data\\": {\\n \\"Success\\": true,\\n \\"Message\\": \\"success\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'UpdateBizMetric' => [
+ 'summary' => '更新业务指标',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'UpdateBizMetricCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '更新请求',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => [
+ 'title' => '请输入需要更新的业务指标的名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'Metric1',
+ 'maxLength' => 256,
+ ],
+ 'NewName' => [
+ 'title' => '更新后的名称,当您需要修改指标名称时输入',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'Metric1_new',
+ 'maxLength' => 256,
+ ],
+ 'DisplayName' => [
+ 'title' => '展示名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'Metric1_DisplayName',
+ 'maxLength' => 256,
+ ],
+ 'Description' => [
+ 'title' => '描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'Metric Desc',
+ 'maxLength' => 1000,
+ ],
+ 'Labels' => [
+ 'title' => '资产标签',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '标签值',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'Label',
+ ],
+ 'required' => false,
+ ],
+ 'CatalogIds' => [
+ 'title' => '归属目录ID列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '归属目录ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '123456789',
+ ],
+ 'required' => false,
+ ],
+ 'BizOwnerName' => [
+ 'title' => '业务负责人,请填写负责人账号的用户名',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'SuperAdmin',
+ ],
+ 'MetricDefinition' => [
+ 'title' => '指标口径,如需引用其他业务指标,请使用半角中括号[ ]包裹指标名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '[Metric2]+[Metric3]',
+ 'maxLength' => 2000,
+ ],
+ 'RelatedBizMetrics' => [
+ 'title' => '相关业务指标列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '相关业务指标',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => [
+ 'title' => '业务指标名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'Metric2',
+ ],
+ 'RelationType' => [
+ 'title' => '关联关系:POSITIVE正相关;NEGATIVE负相关;OTHER其他',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'POSITIVE',
+ 'enum' => [
+ 'POSITIVE',
+ 'NEGATIVE',
+ 'OTHER',
+ ],
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => false,
+ ],
+ 'AssociatedTechMetricFullNames' => [
+ 'title' => '关联的技术指标列表。请填写技术指标的“所属表全名.指标名称”,其中“所属表全名”等于“资产来源.所属表名”。一个技术指标只能被一个业务指标关联,无法重复关联',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '技术指标全名',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'LD_BizUnit.test_table.tech_index',
+ ],
+ 'required' => false,
+ ],
+ 'MetricRelationDiagramSwitchOpen' => [
+ 'title' => '指标关系图开关:true开启;false关闭。当且仅当至少有一个“相关业务指标”时可开启,否则会自动关闭',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ 'default' => 'False',
+ ],
+ 'MetricRelationDiagramExpression' => [
+ 'title' => '仅当“指标关系图”开启时会读取此信息。仅支持填写从“相关业务指标”中选取的指标名称组成的一个计算表达式,运算符号仅支持+、-、*、/、()、%、∑,各指标名称需用半角中括号[ ]包裹。如果两个指标之间未填写运算符,系统将自动填充占位符。如果未配置指标关系表达式,则“指标关系图”开关将自动关闭',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '[Metric1]+[Metric2]',
+ ],
+ 'OperateInstructionEnabled' => [
+ 'title' => '使用说明是否开启:true开启;false关闭',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ 'default' => 'False',
+ ],
+ 'OperateInstructionContent' => [
+ 'title' => '使用说明内容,仅支持文本格式',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'content test',
+ ],
+ 'ViewScope' => [
+ 'title' => '可见范围',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ScopeType' => [
+ 'title' => '可见范围类型:ALL_USERS_CAN_VIEW全部用户可见;PART_USERS_CAN_VIEW部分用户可见;PART_USERS_CAN_NOT_VIEW部分用户不可见',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ALL_USERS_CAN_VIEW',
+ 'enum' => [
+ 'ALL_USERS_CAN_VIEW',
+ 'PART_USERS_CAN_VIEW',
+ 'PART_USERS_CAN_NOT_VIEW',
+ ],
+ ],
+ 'UserNames' => [
+ 'title' => '请填写个人账号的用户名,当且仅当资产“可见范围”为“部分用户可见”或“部分用户不可见”时有效',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '用户名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'SuperAdmin',
+ ],
+ 'required' => false,
+ 'maxItems' => 500,
+ ],
+ 'UserGroupNames' => [
+ 'title' => '请填写用户组名称,当且仅当资产“可见范围”为“部分用户可见”或“部分用户不可见”时会读取此信息',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '用户组名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '运营用户组',
+ ],
+ 'required' => false,
+ 'maxItems' => 500,
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'CustomAttribute' => [
+ 'title' => '自定义属性列表,请分别填写属性编码及属性值',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '自定义属性',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'title' => '自定义属性编码',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'CustomAttributeCode',
+ ],
+ 'Values' => [
+ 'title' => '属性值列表:1、自定义输入和下拉单选属性仅读取列表第一个属性值;2、下拉多选属性,读取列表全部属性值;3、超链接属性,读取列表第一个属性值作为展示文本,第二个属性值作为跳转链接。',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '自定义属性值',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'CustomAttributeValue',
+ ],
+ 'required' => false,
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => false,
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'Data' => [
+ 'title' => '操作结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Success' => [
+ 'title' => '是否更新成功:true成功;false失败',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'Message' => [
+ 'title' => '异常信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'npe',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"Data\\": {\\n \\"Success\\": true,\\n \\"Message\\": \\"npe\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'GetBizMetricByName' => [
+ 'summary' => '查询业务指标详情',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'BizMetricByNameQuery',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '查询请求',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => [
+ 'title' => '业务指标名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'Metric1',
+ ],
+ 'Draft' => [
+ 'title' => '查询草稿态或已发布资产详情:True草稿态;False已发布',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => true,
+ 'example' => 'True',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ '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' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'HttpStatusCode' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'SUCCESS',
+ ],
+ 'Data' => [
+ 'title' => '业务指标详情',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'TenantId' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '30001011',
+ ],
+ 'Guid' => [
+ 'title' => '业务指标GUID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'guid',
+ ],
+ 'Name' => [
+ 'title' => '业务指标名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'Metric1',
+ ],
+ 'DisplayName' => [
+ 'title' => '展示名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'Metric Display Name',
+ ],
+ 'Description' => [
+ 'title' => '描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'Metric Desc',
+ ],
+ 'Labels' => [
+ 'title' => '标签列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '标签',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'Label',
+ ],
+ ],
+ 'Catalogs' => [
+ 'title' => '归属目录列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'TopicId' => [
+ 'title' => '目录所属专题ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '43297700',
+ ],
+ 'TopicName' => [
+ 'title' => '目录所属专题名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test topic',
+ ],
+ 'CatalogId' => [
+ 'title' => '目录ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1561740764851842',
+ ],
+ 'CatalogName' => [
+ 'title' => '目录名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test catalog',
+ ],
+ 'CatalogDesc' => [
+ 'title' => '目录描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'catalog desc',
+ ],
+ 'ParentCatalogId' => [
+ 'title' => '目录所属父目录ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1561740764851841',
+ ],
+ 'ParentPath' => [
+ 'title' => '目录所属父路径',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '/catalog1/',
+ ],
+ ],
+ ],
+ ],
+ 'BizOwnerName' => [
+ 'title' => '业务负责人名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'SuperAdmin',
+ ],
+ 'MetricDefinition' => [
+ 'title' => '指标口径',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '[Metric1]+[Metric2]',
+ ],
+ 'RelatedBizMetrics' => [
+ 'title' => '相关业务指标列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Guid' => [
+ 'title' => 'guid',
+ 'description' => 'guid',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'Name' => [
+ 'title' => '名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'Metric2',
+ ],
+ 'DisplayName' => [
+ 'title' => '展示名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'display name',
+ ],
+ 'Description' => [
+ 'title' => '描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'desc',
+ ],
+ 'RelationType' => [
+ 'title' => '关联关系:POSITIVE正相关;NEGATIVE负相关;OTHER其他',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'POSITIVE',
+ ],
+ ],
+ ],
+ ],
+ 'AssociatedTechMetrics' => [
+ 'title' => '关联技术指标列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Guid' => [
+ 'title' => 'guid',
+ 'description' => 'guid',
+ 'type' => 'string',
+ 'example' => 'table1.a.b',
+ ],
+ 'Name' => [
+ 'title' => '名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'metric3',
+ ],
+ 'DisplayName' => [
+ 'title' => '展示名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'display name',
+ ],
+ 'Description' => [
+ 'title' => '描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'desc',
+ ],
+ 'SubType' => [
+ 'title' => '技术指标类型:INDEX建模指标;CUSTOM_INDEX自定义指标',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'CUSTOM_INDEX',
+ ],
+ ],
+ ],
+ ],
+ 'MetricRelationDiagramSwitchOpen' => [
+ 'title' => '指标关系图是否开启:true开启;false关闭',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'MetricRelationDiagramExpression' => [
+ 'title' => '指标关系图表达式',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '[Metric2]*10',
+ ],
+ 'OperateInstructionEnabled' => [
+ 'title' => '使用说明是否开启:true开启;false关闭',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'OperateInstructionContent' => [
+ 'title' => '使用说明文本内容',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'content',
+ ],
+ 'ViewScope' => [
+ 'title' => '可见范围',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ScopeType' => [
+ 'title' => '可见范围类型:ALL_USERS_CAN_VIEW全部用户可见;PART_USERS_CAN_VIEW部分用户可见;PART_USERS_CAN_NOT_VIEW部分用户不可见',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'PART_USERS_CAN_NOT_VIEW',
+ 'enum' => [
+ 'ALL_USERS_CAN_VIEW',
+ 'PART_USERS_CAN_VIEW',
+ 'PART_USERS_CAN_NOT_VIEW',
+ ],
+ ],
+ 'UserNames' => [
+ 'title' => '个人账号的用户名,当且仅当资产“可见范围”为“部分用户可见”或“部分用户不可见”时有效',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'SuperAdmin',
+ ],
+ ],
+ 'UserGroupNames' => [
+ 'title' => '用户组名称,当且仅当资产“可见范围”为“部分用户可见”或“部分用户不可见”时生效',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'UserGroup1',
+ ],
+ ],
+ ],
+ ],
+ 'CustomAttribute' => [
+ 'title' => '自定义属性列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'title' => '自定义属性编码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'CustomAttributeCode',
+ ],
+ 'Values' => [
+ 'title' => '属性值列表:1、自定义输入和下拉单选属性,取列表第一个属性值;2、下拉多选属性,取列表全部属性值;3、超链接属性,列表第一个属性值是展示文本,第二个属性值是跳转链接。',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '自定义属性值',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'CustomAttributeValue',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Data\\": {\\n \\"TenantId\\": 30001011,\\n \\"Guid\\": \\"guid\\",\\n \\"Name\\": \\"Metric1\\",\\n \\"DisplayName\\": \\"Metric Display Name\\",\\n \\"Description\\": \\"Metric Desc\\",\\n \\"Labels\\": [\\n \\"Label\\"\\n ],\\n \\"Catalogs\\": [\\n {\\n \\"TopicId\\": 43297700,\\n \\"TopicName\\": \\"test topic\\",\\n \\"CatalogId\\": 1561740764851842,\\n \\"CatalogName\\": \\"test catalog\\",\\n \\"CatalogDesc\\": \\"catalog desc\\",\\n \\"ParentCatalogId\\": 1561740764851841,\\n \\"ParentPath\\": \\"/catalog1/\\"\\n }\\n ],\\n \\"BizOwnerName\\": \\"SuperAdmin\\",\\n \\"MetricDefinition\\": \\"[Metric1]+[Metric2]\\",\\n \\"RelatedBizMetrics\\": [\\n {\\n \\"Guid\\": \\"test\\",\\n \\"Name\\": \\"Metric2\\",\\n \\"DisplayName\\": \\"display name\\",\\n \\"Description\\": \\"desc\\",\\n \\"RelationType\\": \\"POSITIVE\\"\\n }\\n ],\\n \\"AssociatedTechMetrics\\": [\\n {\\n \\"Guid\\": \\"table1.a.b\\",\\n \\"Name\\": \\"metric3\\",\\n \\"DisplayName\\": \\"display name\\",\\n \\"Description\\": \\"desc\\",\\n \\"SubType\\": \\"CUSTOM_INDEX\\"\\n }\\n ],\\n \\"MetricRelationDiagramSwitchOpen\\": true,\\n \\"MetricRelationDiagramExpression\\": \\"[Metric2]*10\\",\\n \\"OperateInstructionEnabled\\": true,\\n \\"OperateInstructionContent\\": \\"content\\",\\n \\"ViewScope\\": {\\n \\"ScopeType\\": \\"PART_USERS_CAN_NOT_VIEW\\",\\n \\"UserNames\\": [\\n \\"SuperAdmin\\"\\n ],\\n \\"UserGroupNames\\": [\\n \\"UserGroup1\\"\\n ]\\n },\\n \\"CustomAttribute\\": [\\n {\\n \\"Code\\": \\"CustomAttributeCode\\",\\n \\"Values\\": [\\n \\"CustomAttributeValue\\"\\n ]\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'DeleteBizMetric' => [
+ 'summary' => '删除业务指标',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'DeleteBizMetricCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '删除请求',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => [
+ 'title' => '待删除的业务指标名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'Metric1',
+ 'maxLength' => 256,
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'Data' => [
+ 'title' => '删除结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Success' => [
+ 'title' => '是否删除成功:true成功;false失败',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'Message' => [
+ 'title' => '异常信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"Data\\": {\\n \\"Success\\": true,\\n \\"Message\\": \\"success\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'DeleteRegisterLineage' => [
+ 'summary' => '删除注册血缘。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'DeleteRegisterLineageCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '注册血缘, 删除血缘command',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Source' => [
+ 'title' => '血缘的source',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ReferenceType' => [
+ 'title' => '资产引用类型: BY_GUID, BY_PROPERTY',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'BY_GUID, BY_PROPERTY',
+ ],
+ 'Guid' => [
+ 'title' => '资产guid, 在referenceType为BY_GUID时必填',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'odps.300000001.project1.table1',
+ ],
+ 'MetadataType' => [
+ 'title' => '资产类型, 按实际情况填写',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'TABLE',
+ ],
+ 'MetadataSubType' => [
+ 'title' => '资产子类型, 仅在metadataType为TABLE, 并且referenceType不是BY_GUID时填写',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'PHYSICAL_TABLE, PHYSICAL_VIEW, PHYSICAL_MATERIALIZED_VIEW, DATASOURCE_TABLE, DATASOURCE_VIEW, DATASOURCE_MATERIALIZED_VIEW, DIM_NORMAL, DIM_LEVEL, DIM_ENUM, DIM_VIRTUAL, FACT_EVENT, FACT_PROCESS, FACT_SNAPSHOT, SUM_BIZ_UNIT',
+ ],
+ 'Catalog' => [
+ 'title' => 'catalog, 资产属性. 对于表而言, 计算源表或者逻辑表的catalog统一为dataphin. 该属性用于在referenceType为BY_PROPERTY时根据属性确定对应的资产, 如果referenceType为BY_GUID, 该属性无需填写',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'dataphin',
+ ],
+ 'Schema' => [
+ 'title' => 'schema, 资产属性. 对于表而言, 一般是项目或者业务板块.该属性用于在referenceType为BY_PROPERTY时根据属性确定对应的资产, 如果referenceType为BY_GUID, 该属性无需填写',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'project1, bizUnit1',
+ ],
+ 'Env' => [
+ 'title' => 'env, 所属环境.该属性用于在referenceType为BY_PROPERTY时根据属性确定对应的资产, 如果referenceType为BY_GUID, 该属性无需填写',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'DEV, PROD',
+ ],
+ 'Name' => [
+ 'title' => 'name, 资产名称.该属性用于在referenceType为BY_PROPERTY时根据属性确定对应的资产, 如果referenceType为BY_GUID, 该属性无需填写',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'table1',
+ ],
+ 'ExtProperties' => [
+ 'title' => '扩展属性',
+ 'description' => '',
+ 'type' => 'object',
+ 'required' => false,
+ ],
+ ],
+ 'required' => true,
+ ],
+ 'Target' => [
+ 'title' => '血缘的target',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ReferenceType' => [
+ 'title' => '资产引用类型: BY_GUID, BY_PROPERTY',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'BY_GUID, BY_PROPERTY',
+ ],
+ 'Guid' => [
+ 'title' => '资产guid, 在referenceType为BY_GUID时必填',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'odps.300000001.project1.table1',
+ ],
+ 'MetadataType' => [
+ 'title' => '资产类型, 按实际情况填写',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'TABLE',
+ ],
+ 'MetadataSubType' => [
+ 'title' => '资产子类型, 仅在metadataType为TABLE, 并且referenceType不是BY_GUID时填写',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'PHYSICAL_TABLE, PHYSICAL_VIEW, PHYSICAL_MATERIALIZED_VIEW, DATASOURCE_TABLE, DATASOURCE_VIEW, DATASOURCE_MATERIALIZED_VIEW, DIM_NORMAL, DIM_LEVEL, DIM_ENUM, DIM_VIRTUAL, FACT_EVENT, FACT_PROCESS, FACT_SNAPSHOT,SUM_BIZ_UNIT',
+ ],
+ 'Catalog' => [
+ 'title' => 'catalog, 资产属性. 对于表而言, 计算源表或者逻辑表的catalog统一为dataphin. 该属性用于在referenceType为BY_PROPERTY时根据属性确定对应的资产, 如果referenceType为BY_GUID, 该属性无需填写',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'dataphin',
+ ],
+ 'Schema' => [
+ 'title' => 'schema, 资产属性. 对于表而言, 一般是项目或者业务板块.该属性用于在referenceType为BY_PROPERTY时根据属性确定对应的资产, 如果referenceType为BY_GUID, 该属性无需填写',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'project1, bizUnit1',
+ ],
+ 'Env' => [
+ 'title' => 'env, 所属环境.该属性用于在referenceType为BY_PROPERTY时根据属性确定对应的资产, 如果referenceType为BY_GUID, 该属性无需填写',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'DEV, PROD',
+ ],
+ 'Name' => [
+ 'title' => 'name, 资产名称.该属性用于在referenceType为BY_PROPERTY时根据属性确定对应的资产, 如果referenceType为BY_GUID, 该属性无需填写',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'table1',
+ ],
+ 'ExtProperties' => [
+ 'title' => '扩展属性',
+ 'description' => '',
+ 'type' => 'object',
+ 'required' => false,
+ ],
+ ],
+ 'required' => true,
+ ],
+ 'DetailedLineages' => [
+ 'title' => '详细血缘关系. 对于表, 这里的详细血缘关系就是字段血缘',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '子对象血缘关系',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'IsDirect' => [
+ 'title' => '是否是直接血缘, 默认为true',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ ],
+ 'Source' => [
+ 'title' => 'source资产引用',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ReferenceType' => [
+ 'title' => '资产引用类型: BY_GUID, BY_PROPERTY',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'BY_GUID, BY_PROPERTY',
+ ],
+ 'Guid' => [
+ 'title' => '资产guid, 在referenceType为BY_GUID时必填',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'odps.300000001.project1.table1',
+ ],
+ 'ParentGuid' => [
+ 'title' => '父资产的guid. 如果当前对象是字段, 那么parentGuid是字段所属表的Guid',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'odps.300000001.project1.table1',
+ ],
+ 'MetadataType' => [
+ 'title' => '资产类型, 按实际情况填写',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'COLUMN',
+ ],
+ 'Catalog' => [
+ 'title' => 'catalog, 资产属性. 对于表而言, 计算源表或者逻辑表的catalog统一为dataphin. 该属性用于在referenceType为BY_PROPERTY时根据属性确定对应的资产, 如果referenceType为BY_GUID, 该属性无需填写',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'dataphin',
+ ],
+ 'Schema' => [
+ 'title' => 'schema, 资产属性. 对于表而言, 一般是项目或者业务板块.该属性用于在referenceType为BY_PROPERTY时根据属性确定对应的资产, 如果referenceType为BY_GUID, 该属性无需填写',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'project1, bizUnit1',
+ ],
+ 'Env' => [
+ 'title' => 'env, 所属环境.该属性用于在referenceType为BY_PROPERTY时根据属性确定对应的资产, 如果referenceType为BY_GUID, 该属性无需填写',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'DEV, PROD',
+ ],
+ 'Name' => [
+ 'title' => 'name, 资产名称.该属性用于在referenceType为BY_PROPERTY时根据属性确定对应的资产, 如果referenceType为BY_GUID, 该属性无需填写',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'column1',
+ ],
+ 'ExtProperties' => [
+ 'title' => '扩展属性',
+ 'description' => '',
+ 'type' => 'object',
+ 'required' => false,
+ ],
+ ],
+ 'required' => true,
+ ],
+ 'Target' => [
+ 'title' => 'target资产引用',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ReferenceType' => [
+ 'title' => '资产引用类型: BY_GUID, BY_PROPERTY',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'BY_GUID, BY_PROPERTY',
+ ],
+ 'Guid' => [
+ 'title' => '资产guid, 在referenceType为BY_GUID时必填',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'odps.300000001.project1.table1',
+ ],
+ 'ParentGuid' => [
+ 'title' => '父资产的guid. 如果当前对象是字段, 那么parentGuid是字段所属表的Guid',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'odps.300000001.project1.table1',
+ ],
+ 'MetadataType' => [
+ 'title' => '资产类型, 按实际情况填写',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'COLUMN',
+ ],
+ 'Catalog' => [
+ 'title' => 'catalog, 资产属性. 对于表而言, 计算源表或者逻辑表的catalog统一为dataphin. 该属性用于在referenceType为BY_PROPERTY时根据属性确定对应的资产, 如果referenceType为BY_GUID, 该属性无需填写',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'dataphin',
+ ],
+ 'Schema' => [
+ 'title' => 'schema, 资产属性. 对于表而言, 一般是项目或者业务板块.该属性用于在referenceType为BY_PROPERTY时根据属性确定对应的资产, 如果referenceType为BY_GUID, 该属性无需填写',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'project1, bizUnit1',
+ ],
+ 'Env' => [
+ 'title' => 'env, 所属环境.该属性用于在referenceType为BY_PROPERTY时根据属性确定对应的资产, 如果referenceType为BY_GUID, 该属性无需填写',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'DEV, PROD',
+ ],
+ 'Name' => [
+ 'title' => 'name, 资产名称.该属性用于在referenceType为BY_PROPERTY时根据属性确定对应的资产, 如果referenceType为BY_GUID, 该属性无需填写',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'column1',
+ ],
+ 'ExtProperties' => [
+ 'title' => '扩展属性',
+ 'description' => '',
+ 'type' => 'object',
+ 'required' => false,
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => false,
+ ],
+ 'CascadeDeleteLineage' => [
+ 'title' => '是否在删除完所有detailedLineage后, 自动删除对象血缘, 默认为true',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'default' => 'true',
+ ],
+ 'TenantId' => [
+ 'title' => '租户Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '300001234',
+ ],
+ 'UserId' => [
+ 'title' => '当前用户Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '300004567',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Message\\": \\"internal error\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Success\\": true\\n}","type":"json"}]',
+ ],
+ 'AddRegisterLineage' => [
+ 'summary' => '新增注册血缘。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'AddRegisterLineageCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '注册血缘, 增加血缘command',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Source' => [
+ 'title' => 'source资产',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ReferenceType' => [
+ 'title' => '资产引用类型: BY_GUID, BY_PROPERTY',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'BY_GUID, BY_PROPERTY',
+ ],
+ 'Guid' => [
+ 'title' => '资产guid, 在referenceType为BY_GUID时必填',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'odps.300000001.project1.table1',
+ ],
+ 'MetadataType' => [
+ 'title' => '资产类型, 按实际情况填写',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'TABLE',
+ ],
+ 'MetadataSubType' => [
+ 'title' => '资产子类型, 仅在metadataType为TABLE, 并且referenceType不是BY_GUID时填写',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'PHYSICAL_TABLE, PHYSICAL_VIEW, PHYSICAL_MATERIALIZED_VIEW, DATASOURCE_TABLE, DATASOURCE_VIEW, DATASOURCE_MATERIALIZED_VIEW, DIM_NORMAL, DIM_LEVEL, DIM_ENUM, DIM_VIRTUAL, FACT_EVENT, FACT_PROCESS, FACT_SNAPSHOT, SUM_BIZ_UNIT',
+ ],
+ 'Catalog' => [
+ 'title' => 'catalog, 资产属性. 对于表而言, 计算源表或者逻辑表的catalog统一为dataphin. 该属性用于在referenceType为BY_PROPERTY时根据属性确定对应的资产, 如果referenceType为BY_GUID, 该属性无需填写',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'dataphin',
+ ],
+ 'Schema' => [
+ 'title' => 'schema, 资产属性. 对于表而言, 一般是项目或者业务板块.该属性用于在referenceType为BY_PROPERTY时根据属性确定对应的资产, 如果referenceType为BY_GUID, 该属性无需填写',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'project1, bizUnit1',
+ ],
+ 'Env' => [
+ 'title' => 'env, 所属环境.该属性用于在referenceType为BY_PROPERTY时根据属性确定对应的资产, 如果referenceType为BY_GUID, 该属性无需填写',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'DEV, PROD',
+ ],
+ 'Name' => [
+ 'title' => 'name, 资产名称.该属性用于在referenceType为BY_PROPERTY时根据属性确定对应的资产, 如果referenceType为BY_GUID, 该属性无需填写',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'table1',
+ ],
+ 'ExtProperties' => [
+ 'title' => '扩展属性',
+ 'description' => '',
+ 'type' => 'object',
+ 'required' => false,
+ ],
+ ],
+ 'required' => true,
+ ],
+ 'Target' => [
+ 'title' => 'target资产',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ReferenceType' => [
+ 'title' => '资产引用类型: BY_GUID, BY_PROPERTY',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'BY_GUID, BY_PROPERTY',
+ ],
+ 'Guid' => [
+ 'title' => '资产guid, 在referenceType为BY_GUID时必填',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'odps.300000001.project1.table1',
+ ],
+ 'MetadataType' => [
+ 'title' => '资产类型, 按实际情况填写',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'TABLE',
+ ],
+ 'MetadataSubType' => [
+ 'title' => '资产子类型, 仅在metadataType为TABLE, 并且referenceType不是BY_GUID时填写',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'PHYSICAL_TABLE, PHYSICAL_VIEW, PHYSICAL_MATERIALIZED_VIEW, DATASOURCE_TABLE, DATASOURCE_VIEW, DATASOURCE_MATERIALIZED_VIEW, DIM_NORMAL, DIM_LEVEL, DIM_ENUM, DIM_VIRTUAL, FACT_EVENT, FACT_PROCESS, FACT_SNAPSHOT, SUM_BIZ_UNIT',
+ ],
+ 'Catalog' => [
+ 'title' => 'catalog, 资产属性. 对于表而言, 计算源表或者逻辑表的catalog统一为dataphin. 该属性用于在referenceType为BY_PROPERTY时根据属性确定对应的资产, 如果referenceType为BY_GUID, 该属性无需填写',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'dataphin',
+ ],
+ 'Schema' => [
+ 'title' => 'schema, 资产属性. 对于表而言, 一般是项目或者业务板块.该属性用于在referenceType为BY_PROPERTY时根据属性确定对应的资产, 如果referenceType为BY_GUID, 该属性无需填写',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'project1, bizUnit1',
+ ],
+ 'Env' => [
+ 'title' => 'env, 所属环境.该属性用于在referenceType为BY_PROPERTY时根据属性确定对应的资产, 如果referenceType为BY_GUID, 该属性无需填写',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'DEV, PROD',
+ ],
+ 'Name' => [
+ 'title' => 'name, 资产名称.该属性用于在referenceType为BY_PROPERTY时根据属性确定对应的资产, 如果referenceType为BY_GUID, 该属性无需填写',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'table1',
+ ],
+ 'ExtProperties' => [
+ 'title' => '扩展属性',
+ 'description' => '',
+ 'type' => 'object',
+ 'required' => false,
+ ],
+ ],
+ 'required' => true,
+ ],
+ 'DetailedLineages' => [
+ 'title' => '详细血缘关系. 对于表, 这里的详细血缘关系就是字段血缘, 如果不想增加字段血缘, 可以为空',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '子对象血缘关系',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Source' => [
+ 'title' => 'source资产引用',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ReferenceType' => [
+ 'title' => '资产引用类型: BY_GUID, BY_PROPERTY',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'BY_GUID, BY_PROPERTY',
+ ],
+ 'Guid' => [
+ 'title' => '资产guid, 在referenceType为BY_GUID时必填',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'odps.300000001.project1.table1.column1',
+ ],
+ 'ParentGuid' => [
+ 'title' => '父资产的guid. 如果当前对象是字段, 那么parentGuid是字段所属表的Guid',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'odps.300000001.project1.table1',
+ ],
+ 'MetadataType' => [
+ 'title' => '资产类型, 按实际情况填写',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'COLUMN',
+ ],
+ 'Catalog' => [
+ 'title' => 'catalog, 资产属性. 对于表而言, 计算源表或者逻辑表的catalog统一为dataphin. 该属性用于在referenceType为BY_PROPERTY时根据属性确定对应的资产, 如果referenceType为BY_GUID, 该属性无需填写',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'dataphin',
+ ],
+ 'Schema' => [
+ 'title' => 'schema, 资产属性. 对于表而言, 一般是项目或者业务板块.该属性用于在referenceType为BY_PROPERTY时根据属性确定对应的资产, 如果referenceType为BY_GUID, 该属性无需填写',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'project1, bizUnit1',
+ ],
+ 'Env' => [
+ 'title' => 'env, 所属环境.该属性用于在referenceType为BY_PROPERTY时根据属性确定对应的资产, 如果referenceType为BY_GUID, 该属性无需填写',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'DEV, PROD',
+ ],
+ 'Name' => [
+ 'title' => 'name, 资产名称.该属性用于在referenceType为BY_PROPERTY时根据属性确定对应的资产, 如果referenceType为BY_GUID, 该属性无需填写',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'column1',
+ ],
+ 'ExtProperties' => [
+ 'title' => '扩展属性',
+ 'description' => '',
+ 'type' => 'object',
+ 'required' => false,
+ ],
+ ],
+ 'required' => true,
+ ],
+ 'Target' => [
+ 'title' => 'target资产引用',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ReferenceType' => [
+ 'title' => '资产引用类型: BY_GUID, BY_PROPERTY',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'BY_GUID, BY_PROPERTY',
+ ],
+ 'Guid' => [
+ 'title' => '资产guid, 在referenceType为BY_GUID时必填',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'odps.300000001.project1.table1.column1',
+ ],
+ 'ParentGuid' => [
+ 'title' => '父资产的guid. 如果当前对象是字段, 那么parentGuid是字段所属表的Guid',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'odps.300000001.project1.table1',
+ ],
+ 'MetadataType' => [
+ 'title' => '资产类型, 按实际情况填写',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'COLUMN',
+ ],
+ 'Catalog' => [
+ 'title' => 'catalog, 资产属性. 对于表而言, 计算源表或者逻辑表的catalog统一为dataphin. 该属性用于在referenceType为BY_PROPERTY时根据属性确定对应的资产, 如果referenceType为BY_GUID, 该属性无需填写',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'dataphin',
+ ],
+ 'Schema' => [
+ 'title' => 'schema, 资产属性. 对于表而言, 一般是项目或者业务板块.该属性用于在referenceType为BY_PROPERTY时根据属性确定对应的资产, 如果referenceType为BY_GUID, 该属性无需填写',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'project1, bizUnit1',
+ ],
+ 'Env' => [
+ 'title' => 'env, 所属环境.该属性用于在referenceType为BY_PROPERTY时根据属性确定对应的资产, 如果referenceType为BY_GUID, 该属性无需填写',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'DEV, PROD',
+ ],
+ 'Name' => [
+ 'title' => 'name, 资产名称.该属性用于在referenceType为BY_PROPERTY时根据属性确定对应的资产, 如果referenceType为BY_GUID, 该属性无需填写',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'column1',
+ ],
+ 'ExtProperties' => [
+ 'title' => '扩展属性',
+ 'description' => '',
+ 'type' => 'object',
+ 'required' => false,
+ ],
+ ],
+ 'required' => true,
+ ],
+ 'IsDirect' => [
+ 'title' => '是否是直接血缘, 默认为true',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'default' => 'true',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => false,
+ ],
+ 'CheckAssetExist' => [
+ 'title' => '是否需要校验资产本身的存在性, 默认不校验存在性',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ ],
+ 'RelationProperties' => [
+ 'title' => '血缘关系属性',
+ 'description' => '',
+ 'type' => 'object',
+ 'required' => false,
+ ],
+ 'TenantId' => [
+ 'title' => '租户Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '300001234',
+ ],
+ 'UserId' => [
+ 'title' => '当前用户Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '300004567',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Message\\": \\"internal error\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Success\\": true\\n}","type":"json"}]',
+ ],
+ 'GetTableLineageByTaskId' => [
+ 'summary' => '查询表血缘信息',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'TableLineageByTaskIdQuery',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '查询表血缘的数据结构',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'TaskId' => [
+ 'title' => '用于过滤要查询的任务(节点)Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'n_123',
+ ],
+ 'TaskEnv' => [
+ 'title' => '用于过滤要查询的任务所属的环境 DEV/PROD',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'DEV',
+ ],
+ 'NeedNotExistObject' => [
+ 'title' => '是否返回在资产清单中不存在的表, 不传不会返回不存在的表',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '返回数据',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ 'title' => '请求成功与否',
+ ],
+ 'HttpStatusCode' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ 'title' => '后端响应HttpCode',
+ ],
+ 'Code' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ 'title' => '请求错误码, OK表示请求正常',
+ ],
+ 'Message' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ 'title' => '请求错误信息',
+ ],
+ 'Data' => [
+ 'title' => '查询结果',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '血缘详情',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'TenantId' => [
+ 'title' => '租户id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '12345',
+ ],
+ 'TaskId' => [
+ 'title' => '血缘对应的任务(节点)Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'n_123',
+ ],
+ 'TaskEnv' => [
+ 'title' => '血缘对应的任务(节点)所属环境 DEV/PROD',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'DEV',
+ ],
+ 'InputEnv' => [
+ 'title' => '输入表所属的env, DEV/PROD',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'DEV',
+ ],
+ 'InputTableId' => [
+ 'title' => '输入表guid, 每个资产都有唯一的guid, 格式为: '."\n"
+ .'- 逻辑表:dp_table.[租户Id].[业务板块名].[表名]'."\n"
+ .'- 计算源物理表:[引擎类型].[租户Id].[项目名].[表名]'."\n"
+ .'- 数据源表:dp_ds_table.[租户Id].[数据源Id].[schema名].[表名]',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'odps.123.test_project.order',
+ ],
+ 'InputTableName' => [
+ 'title' => '输入表名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'order',
+ ],
+ 'InputTableType' => [
+ 'title' => '输入表类型'."\n"
+ .'- PHYSICAL_TABLE 物理表(计算源)'."\n"
+ .'- DIM_LOGIC_TABLE 维度逻辑表'."\n"
+ .'- FACT_LOGIC_TABLE 事实逻辑表'."\n"
+ .'- SUM_LOGIC_TABLE 汇总逻辑表'."\n"
+ .'- REAL_TIME_LOGIC_TABLE 实时元表'."\n"
+ .'- REAL_TIME_MIRROR_TABLE 实时镜像表'."\n"
+ .'- PHYSICAL_VIEW 物理视图'."\n"
+ .'- LOGICAL_VIEW 逻辑视图'."\n"
+ .'- DATA_SOURCE_PHYSICAL_TABLE 数据源表'."\n"
+ .'- DATA_SOURCE_VIEW 数据源视图'."\n"
+ .'- DATA_SOURCE_MATERIALIZED_VIEW 数据源物化视图',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'PHYSICAL_TABLE',
+ ],
+ 'InputDataSourceType' => [
+ 'title' => '输入表存储格式',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'MAX_COMPUTE',
+ ],
+ 'InputDbType' => [
+ 'title' => '输入数据源类型',
+ 'type' => 'string',
+ 'example' => 'MAX_COMPUTE',
+ ],
+ 'InputProjectId' => [
+ 'title' => '输入表所属项目Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '123',
+ ],
+ 'InputBizUnitId' => [
+ 'title' => '输入表所属业务板块Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '123',
+ ],
+ 'InputDataSourceId' => [
+ 'title' => '输入表所属数据源Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '123',
+ ],
+ 'InputTableDeleted' => [
+ 'title' => '输入表是否已删除',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'OutputTableType' => [
+ 'title' => '输出表类型, 枚举值见: InputTableType',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'PHYSICAL_TABLE',
+ ],
+ 'OutputEnv' => [
+ 'title' => '输出表所属的env, DEV/PROD',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'DEV/PROD',
+ ],
+ 'OutputBizUnitId' => [
+ 'title' => '输出表所属业务板块Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '123',
+ ],
+ 'OutputDataSourceType' => [
+ 'title' => '输出表存储格式',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'MAX_COMPUTE',
+ ],
+ 'OutputDbType' => [
+ 'title' => '输出数据源类型',
+ 'type' => 'string',
+ 'example' => 'MAX_COMPUTE',
+ ],
+ 'OutputProjectId' => [
+ 'title' => '输出表所属项目Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '123',
+ ],
+ 'OutputDataSourceId' => [
+ 'title' => '输出表所属数据源Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '123',
+ ],
+ 'OutputTableId' => [
+ 'title' => '输出表guid, 每个资产都有唯一的guid, 格式为参照InputTableId',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'odps.123.test_project.order',
+ ],
+ 'OutputTableName' => [
+ 'title' => '输出表名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'order',
+ ],
+ 'OutputTableDeleted' => [
+ 'title' => '输出表是否已删除',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"Data\\": [\\n {\\n \\"TenantId\\": 12345,\\n \\"TaskId\\": \\"n_123\\",\\n \\"TaskEnv\\": \\"DEV\\",\\n \\"InputEnv\\": \\"DEV\\",\\n \\"InputTableId\\": \\"odps.123.test_project.order\\",\\n \\"InputTableName\\": \\"order\\",\\n \\"InputTableType\\": \\"PHYSICAL_TABLE\\",\\n \\"InputDataSourceType\\": \\"MAX_COMPUTE\\",\\n \\"InputDbType\\": \\"MAX_COMPUTE\\",\\n \\"InputProjectId\\": 123,\\n \\"InputBizUnitId\\": 123,\\n \\"InputDataSourceId\\": 123,\\n \\"InputTableDeleted\\": true,\\n \\"OutputTableType\\": \\"PHYSICAL_TABLE\\",\\n \\"OutputEnv\\": \\"DEV/PROD\\",\\n \\"OutputBizUnitId\\": 123,\\n \\"OutputDataSourceType\\": \\"MAX_COMPUTE\\",\\n \\"OutputDbType\\": \\"MAX_COMPUTE\\",\\n \\"OutputProjectId\\": 123,\\n \\"OutputDataSourceId\\": 123,\\n \\"OutputTableId\\": \\"odps.123.test_project.order\\",\\n \\"OutputTableName\\": \\"order\\",\\n \\"OutputTableDeleted\\": true\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'GetTableColumnLineageByTaskId' => [
+ 'summary' => '查询表字段血缘信息',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'TableColumnLineageByTaskIdQuery',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '查询表字段血缘的数据结构',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'TaskId' => [
+ 'title' => '用于过滤要查询的任务(节点)Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'n_123',
+ ],
+ 'TaskEnv' => [
+ 'title' => '用于过滤要查询的任务所属的环境 DEV/PROD',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [],
+ 'example' => 'DEV',
+ ],
+ 'NeedNotExistObject' => [
+ 'title' => '是否返回在资产清单中不存在的表, 不传不会返回不存在的表',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ 'title' => '请求成功与否',
+ ],
+ 'HttpStatusCode' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ 'title' => '后端响应HttpCode',
+ ],
+ 'Code' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ 'title' => '请求错误码, OK表示请求正常',
+ ],
+ 'Message' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ 'title' => '请求错误信息',
+ ],
+ 'Data' => [
+ 'title' => '查询结果',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '血缘详情',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'TenantId' => [
+ 'title' => '租户id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '12345',
+ ],
+ 'TaskId' => [
+ 'title' => '血缘对应的任务(节点)Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'n_123',
+ ],
+ 'TaskEnv' => [
+ 'title' => '血缘对应的任务(节点)所属环境 DEV/PROD',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'DEV',
+ ],
+ 'InputEnv' => [
+ 'title' => '输入表所属的env, DEV/PROD',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'DEV',
+ ],
+ 'InputTableId' => [
+ 'title' => '输入表guid, 每个资产都有唯一的guid, 格式为: '."\n"
+ .'- 逻辑表:dp_table.[租户Id].[业务板块名].[表名]'."\n"
+ .'- 计算源物理表:[引擎类型].[租户Id].[项目名].[表名]'."\n"
+ .'- 数据源表:dp_ds_table.[租户Id].[数据源Id].[schema名].[表名]',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'odps.123.test_project.order',
+ ],
+ 'InputTableName' => [
+ 'title' => '输入表名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'order',
+ ],
+ 'InputColumnId' => [
+ 'title' => '输入字段guid',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'odps.123.test_project.input_table.id',
+ ],
+ 'InputColumnName' => [
+ 'title' => '输入字段名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'id',
+ ],
+ 'InputTableType' => [
+ 'title' => '输入表类型'."\n"
+ .'- PHYSICAL_TABLE 物理表(计算源)'."\n"
+ .'- DIM_LOGIC_TABLE 维度逻辑表'."\n"
+ .'- FACT_LOGIC_TABLE 事实逻辑表'."\n"
+ .'- SUM_LOGIC_TABLE 汇总逻辑表'."\n"
+ .'- REAL_TIME_LOGIC_TABLE 实时元表'."\n"
+ .'- REAL_TIME_MIRROR_TABLE 实时镜像表'."\n"
+ .'- PHYSICAL_VIEW 物理视图'."\n"
+ .'- LOGICAL_VIEW 逻辑视图'."\n"
+ .'- DATA_SOURCE_PHYSICAL_TABLE 数据源表'."\n"
+ .'- DATA_SOURCE_VIEW 数据源视图'."\n"
+ .'- DATA_SOURCE_MATERIALIZED_VIEW 数据源物化视图',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'PHYSICAL_TABLE',
+ ],
+ 'InputDataSourceType' => [
+ 'title' => '输入表存储格式',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'MAX_COMPUTE',
+ ],
+ 'InputDbType' => [
+ 'title' => '输入数据源类型',
+ 'type' => 'string',
+ 'example' => 'MAX_COMPUTE',
+ ],
+ 'InputProjectId' => [
+ 'title' => '输入表所属项目Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '123',
+ ],
+ 'InputBizUnitId' => [
+ 'title' => '输入表所属业务板块Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '123',
+ ],
+ 'InputDataSourceId' => [
+ 'title' => '输入表所属数据源Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '123',
+ ],
+ 'InputTableDeleted' => [
+ 'title' => '输入表是否已删除',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'OutputTableType' => [
+ 'title' => '输出表类型, 枚举值见: InputTableType',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'PHYSICAL_TABLE',
+ ],
+ 'OutputEnv' => [
+ 'title' => '输出表所属的env, DEV/PROD',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'DEV',
+ ],
+ 'OutputBizUnitId' => [
+ 'title' => '输出表所属业务板块Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '123',
+ ],
+ 'OutputDataSourceType' => [
+ 'title' => '输出表存储格式',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'MAX_COMPUTE',
+ ],
+ 'OutputDbType' => [
+ 'title' => '输出数据源类型',
+ 'type' => 'string',
+ 'example' => 'MAX_COMPUTE',
+ ],
+ 'OutputProjectId' => [
+ 'title' => '输出表所属项目Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '123',
+ ],
+ 'OutputDataSourceId' => [
+ 'title' => '输出表所属数据源Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '123',
+ ],
+ 'OutputTableId' => [
+ 'title' => '输出表guid, 每个资产都有唯一的guid, 格式为参照InputTableId',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'odps.123.test_project.order',
+ ],
+ 'OutputTableName' => [
+ 'title' => '输出表名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'order',
+ ],
+ 'OutputColumnId' => [
+ 'title' => '输出字段guid',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'odps.123.test_project.input_table.id',
+ ],
+ 'OutputColumnName' => [
+ 'title' => '输出字段名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'id',
+ ],
+ 'OutputTableDeleted' => [
+ 'title' => '输出表是否已删除',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"Data\\": [\\n {\\n \\"TenantId\\": 12345,\\n \\"TaskId\\": \\"n_123\\",\\n \\"TaskEnv\\": \\"DEV\\",\\n \\"InputEnv\\": \\"DEV\\",\\n \\"InputTableId\\": \\"odps.123.test_project.order\\",\\n \\"InputTableName\\": \\"order\\",\\n \\"InputColumnId\\": \\"odps.123.test_project.input_table.id\\",\\n \\"InputColumnName\\": \\"id\\",\\n \\"InputTableType\\": \\"PHYSICAL_TABLE\\",\\n \\"InputDataSourceType\\": \\"MAX_COMPUTE\\",\\n \\"InputDbType\\": \\"MAX_COMPUTE\\",\\n \\"InputProjectId\\": 123,\\n \\"InputBizUnitId\\": 123,\\n \\"InputDataSourceId\\": 123,\\n \\"InputTableDeleted\\": true,\\n \\"OutputTableType\\": \\"PHYSICAL_TABLE\\",\\n \\"OutputEnv\\": \\"DEV\\",\\n \\"OutputBizUnitId\\": 123,\\n \\"OutputDataSourceType\\": \\"MAX_COMPUTE\\",\\n \\"OutputDbType\\": \\"MAX_COMPUTE\\",\\n \\"OutputProjectId\\": 123,\\n \\"OutputDataSourceId\\": 123,\\n \\"OutputTableId\\": \\"odps.123.test_project.order\\",\\n \\"OutputTableName\\": \\"order\\",\\n \\"OutputColumnId\\": \\"odps.123.test_project.input_table.id\\",\\n \\"OutputColumnName\\": \\"id\\",\\n \\"OutputTableDeleted\\": true\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'GetInstanceUpDownStream' => [
+ 'summary' => '查询实例的上下游,支持逻辑表和代码任务。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '中心节点',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '实例id/',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 't_123456',
+ ],
+ 'FieldInstanceIdList' => [
+ 'title' => '当节点时逻辑表实例id时可以传,不传默认是全表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '123',
+ ],
+ 'required' => false,
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ [
+ 'name' => 'ProjectId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '项目ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '1001121',
+ ],
+ ],
+ [
+ 'name' => 'UpStreamDepth',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '上游节点层级,默认:1',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'DownStreamDepth',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '下游节点层级,默认:1',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'Env',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '环境标识'."\n"
+ .'DEV:开发环境 '."\n"
+ .'PROD(默认):生产环境',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'PROD',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'InstanceDagInfo' => [
+ 'title' => '实例上下游数据,包含当前实例,以及上下游实例',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'StartInstanceList' => [
+ 'title' => '中心实例',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '中心实例',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '实例ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 't_1234567',
+ ],
+ 'Name' => [
+ 'title' => '节点名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'xx测试',
+ ],
+ 'NodeId' => [
+ 'title' => '节点ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'n_1234567',
+ ],
+ 'NodeType' => [
+ 'title' => '节点类型'."\n"
+ .'DATA_PROCESS:代码任务'."\n"
+ .'BBOX_LOGIC_TABLE_NODE:黑盒逻辑表节点'."\n"
+ .'ONE_ID_LABEL:萃取标签节点'."\n"
+ .'ONE_ID_RULE:萃取标签节点'."\n"
+ .'PIPELINE_NODE:PIPELINE节点',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'DATA_PROCESS',
+ ],
+ 'FieldInstanceIdList' => [
+ 'title' => '字段ID列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1011',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'UpInstanceList' => [
+ 'title' => '上游实例',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '上游实例',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '实例ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 't_1234567',
+ ],
+ 'Name' => [
+ 'title' => '节点名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'xx测试',
+ ],
+ 'NodeId' => [
+ 'title' => '节点ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'n_1234567',
+ ],
+ 'NodeType' => [
+ 'title' => '节点类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'DATA_PROCESS',
+ ],
+ 'FieldInstanceIdList' => [
+ 'title' => '字段ID列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1021',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'DownInstanceList' => [
+ 'title' => '下游实例',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '下游实例',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '实例ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 't_1234567',
+ ],
+ 'Name' => [
+ 'title' => '节点名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'xx测试',
+ ],
+ 'NodeId' => [
+ 'title' => '节点ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'n_1234567',
+ ],
+ 'NodeType' => [
+ 'title' => '节点类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'DATA_PROCESS',
+ ],
+ 'FieldInstanceIdList' => [
+ 'title' => '字段ID列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1031',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"InstanceDagInfo\\": {\\n \\"StartInstanceList\\": [\\n {\\n \\"Id\\": \\"t_1234567\\",\\n \\"Name\\": \\"xx测试\\",\\n \\"NodeId\\": \\"n_1234567\\",\\n \\"NodeType\\": \\"DATA_PROCESS\\",\\n \\"FieldInstanceIdList\\": [\\n \\"1011\\"\\n ]\\n }\\n ],\\n \\"UpInstanceList\\": [\\n {\\n \\"Id\\": \\"t_1234567\\",\\n \\"Name\\": \\"xx测试\\",\\n \\"NodeId\\": \\"n_1234567\\",\\n \\"NodeType\\": \\"DATA_PROCESS\\",\\n \\"FieldInstanceIdList\\": [\\n \\"1021\\"\\n ]\\n }\\n ],\\n \\"DownInstanceList\\": [\\n {\\n \\"Id\\": \\"t_1234567\\",\\n \\"Name\\": \\"xx测试\\",\\n \\"NodeId\\": \\"n_1234567\\",\\n \\"NodeType\\": \\"DATA_PROCESS\\",\\n \\"FieldInstanceIdList\\": [\\n \\"1031\\"\\n ]\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'GetInstanceDownStream' => [
+ 'summary' => '根据起始的实例查询该实例的下游',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'InstanceGet',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'InstanceId' => [
+ 'title' => '实例ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 't_5929472_20210411_9577721',
+ ],
+ 'NodeType' => [
+ 'title' => '实例的节点类型:'."\n"
+ .'BBOX_LOGIC_TABLE_NODE,'."\n"
+ .'BBOX_LOGIC_FIELD_NODE,'."\n"
+ .'BBOX_LOGIC_FIELD_GROUP_NODE,'."\n"
+ .'BBOX_INNER_TEMP_NODE,'."\n"
+ .'DATA_PROCESS,'."\n"
+ .'STREAM_TASK_NODE,'."\n"
+ .'ONE_ID_LABEL,'."\n"
+ .'ONE_ID_RULE,'."\n"
+ .'ONE_ID_SYSTEM,PIPELINE_NODE,'."\n"
+ .'FLINK_BATCH',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'DATA_PROCESS',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ [
+ 'name' => 'RunStatus',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '实例的运行状态'."\n"
+ .'INIT、WATING、RUNNING、SUCCESS、FAILED',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'SUCCESS',
+ ],
+ ],
+ [
+ 'name' => 'DownStreamDepth',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '查询的dag向下展开的层数,允许值1~6',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'Env',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '环境标识'."\n"
+ .'DEV:开发环境 '."\n"
+ .'PROD(默认):生产环境',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'PROD',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'InstanceRelationList' => [
+ 'title' => '下游及依赖关系'."\n",
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '下游及依赖关系',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'InstanceInfo' => [
+ 'title' => '实力信息',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '实例ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 't_232411',
+ ],
+ 'Name' => [
+ 'title' => '实例名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'Type' => [
+ 'title' => '节点类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'DATA_PROCESS',
+ ],
+ ],
+ ],
+ 'SelectStatus' => [
+ 'title' => '实例选择状态,主要用于逻辑字段'."\n"
+ .'OPTIONAL可选'."\n"
+ .'SELECTED 必选'."\n"
+ .'DISABLE 不可选'."\n"
+ .'GROUP_SELECTED 全选或全不选',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OPTIONAL',
+ ],
+ 'SelectStatusCause' => [
+ 'title' => '实例被选中原因'."\n"
+ .'PK_CHANGE, LOGIC_CHANGE, RELATION, BIZ_RELATION,MV_RELATION,MODEL_REFRESH,FIELD_DELETED,FIELD_ADDED_NO_INSTANCE,PERMISSION_DENY,OUTSIDE_INCOMING, INSTANCE_STATUS,AFFECT_BY_UPSTREAM',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'FIELD_DELETED',
+ ],
+ 'RunStatus' => [
+ 'title' => '实例运行状态'."\n"
+ .'INIT、WATING、RUNNING、SUCCESS、FAILED',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'RUNNING',
+ ],
+ 'FieldInstanceList' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'SelectStatus' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OPTIONAL',
+ ],
+ 'FieldInstanceId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 't_23211',
+ ],
+ 'RunStatus' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'SUCCESS',
+ ],
+ ],
+ ],
+ ],
+ 'DownStreamDepth' => [
+ 'title' => '层级',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'ExtendInfo' => [
+ 'title' => '节点实例扩展信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '{"a":"x"}',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"InstanceRelationList\\": [\\n {\\n \\"InstanceInfo\\": {\\n \\"Id\\": \\"t_232411\\",\\n \\"Name\\": \\"xx测试\\",\\n \\"Type\\": \\"DATA_PROCESS\\"\\n },\\n \\"SelectStatus\\": \\"OPTIONAL\\",\\n \\"SelectStatusCause\\": \\"FIELD_DELETED\\",\\n \\"RunStatus\\": \\"RUNNING\\",\\n \\"FieldInstanceList\\": [\\n {\\n \\"SelectStatus\\": \\"OPTIONAL\\",\\n \\"FieldInstanceId\\": \\"t_23211\\",\\n \\"RunStatus\\": \\"SUCCESS\\"\\n }\\n ],\\n \\"DownStreamDepth\\": 1,\\n \\"ExtendInfo\\": \\"{\\\\\\"a\\\\\\":\\\\\\"x\\\\\\"}\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'GetSupplementDagrunInstance' => [
+ 'summary' => '列出补数据工作流下具体一个业务日期的所有节点的实例。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'DagrunId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => 'Dagrun ID',
+ 'description' => 'Dagrun ID',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'dr_2242792_14542',
+ ],
+ ],
+ [
+ 'name' => 'Env',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '环境标识'."\n"
+ .'DEV:开发环境 '."\n"
+ .'PROD(默认):生产环境',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'PROD',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'InstanceList' => [
+ 'title' => '实例列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '实例详情',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '实例ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 't_239496_20210411_246982077481',
+ ],
+ 'Type' => [
+ 'title' => '实例类型'."\n"
+ .'NORMAL:周期实例、'."\n"
+ .'SUPPLEMENT:补数据实例'."\n"
+ .'MANUAL:手动实例',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'SUPPLEMENT',
+ ],
+ 'BizDate' => [
+ 'title' => '业务日期',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '2024-04-01',
+ ],
+ 'DueTime' => [
+ 'title' => '调度日期',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '2024-04-02',
+ ],
+ 'StatusList' => [
+ 'title' => '实例的状态列表,物理实例列表中只会有一个状态'."\n"
+ .'NIT:初始化'."\n"
+ .'WATING:待运行'."\n"
+ .'RUNNING:运行中'."\n"
+ .'SUCCESS:成功'."\n"
+ .'FAILED:失败',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '状态',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'SUCCESS',
+ ],
+ ],
+ 'StartExecuteTime' => [
+ 'title' => '开始执行时间',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '2024-04-12 00:00:00',
+ ],
+ 'EndExecuteTime' => [
+ 'title' => '结束执行时间',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '2024-04-12 00:25:02',
+ ],
+ 'Duration' => [
+ 'title' => '执行时间,单位:秒 ',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '60',
+ ],
+ 'Index' => [
+ 'title' => '小时/分钟实例序号',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'ExtendInfo' => [
+ 'title' => '扩展信息'."\n"
+ .'不同业务系统实例的特有信息,例如pipeline的fileId,逻辑表是否层级维度以及mid节点信息,实例输出名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '{"a":"b"}',
+ ],
+ 'NodeInfo' => [
+ 'title' => '实例对应节点详情',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '节点ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'n_239496',
+ ],
+ 'Name' => [
+ 'title' => '节点名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'xx测试',
+ ],
+ 'Type' => [
+ 'title' => '节点类型'."\n"
+ .'DATA_PROCESS:代码任务'."\n"
+ .'BBOX_LOGIC_TABLE_NODE:黑盒逻辑表节点'."\n"
+ .'ONE_ID_LABEL:萃取标签节点'."\n"
+ .'ONE_ID_RULE:萃取标签节点'."\n"
+ .'PIPELINE_NODE:PIPELINE节点',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'DATA_PROCESS',
+ ],
+ 'From' => [
+ 'title' => '来源业务系统'."\n"
+ .'DATA_PROCESS:代码研发'."\n"
+ .'BLACK_BOX:黑盒'."\n"
+ .'ONE_ID:萃取'."\n"
+ .'PIPELINE:PIPELINE',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'DATA_PROCESS',
+ ],
+ 'SubDetailType' => [
+ 'title' => '节点子类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'SHELL',
+ ],
+ 'Description' => [
+ 'title' => '节点描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'xx测试',
+ ],
+ 'DryRun' => [
+ 'title' => '是否空跑',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'SchedulePaused' => [
+ 'title' => '是否暂停',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'HasProd' => [
+ 'title' => '是否存在生产环境',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'HasDev' => [
+ 'title' => '是否存在开发环境',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'ResourceGroupList' => [
+ 'title' => '资源组',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '资源组',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'rs_group_test',
+ ],
+ ],
+ 'PriorityList' => [
+ 'title' => '优先级'."\n"
+ .'HIGHEST'."\n"
+ .'HIGH'."\n"
+ .'MIDDLE'."\n"
+ .'LOW'."\n"
+ .'LOWEST',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '优先级',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'MIDDLE',
+ ],
+ ],
+ 'SchedulePeriodList' => [
+ 'title' => '调度周期'."\n"
+ .'MINUTELY'."\n"
+ .'HOURLY'."\n"
+ .'DAILY'."\n"
+ .'WEEKLY'."\n"
+ .'MONTHLY'."\n"
+ .'QUARTERLY',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '调度周期',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'DAILY',
+ ],
+ ],
+ 'BizUnitName' => [
+ 'title' => '业务板块',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'xx测试',
+ ],
+ 'Creator' => [
+ 'title' => '节点创建者',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '用户ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1001012',
+ ],
+ 'Name' => [
+ 'title' => '用户名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'xx测试',
+ ],
+ ],
+ ],
+ 'Modifier' => [
+ 'title' => '修改者',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '用户ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1001012',
+ ],
+ 'Name' => [
+ 'title' => '用户名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'xx测试',
+ ],
+ ],
+ ],
+ 'OwnerList' => [
+ 'title' => '节点负责人',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '节点负责人',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '用户ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1001012',
+ ],
+ 'Name' => [
+ 'title' => '用户名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'xx测试',
+ ],
+ ],
+ ],
+ ],
+ 'CreateTime' => [
+ 'title' => '创建时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2024-01-30 10:08:49',
+ ],
+ 'LastModifiedTime' => [
+ 'title' => '修改时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2024-01-30 10:08:49',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"InstanceList\\": [\\n {\\n \\"Id\\": \\"t_239496_20210411_246982077481\\",\\n \\"Type\\": \\"SUPPLEMENT\\",\\n \\"BizDate\\": 0,\\n \\"DueTime\\": 0,\\n \\"StatusList\\": [\\n \\"SUCCESS\\"\\n ],\\n \\"StartExecuteTime\\": 0,\\n \\"EndExecuteTime\\": 0,\\n \\"Duration\\": \\"60\\",\\n \\"Index\\": 1,\\n \\"ExtendInfo\\": \\"{\\\\\\"a\\\\\\":\\\\\\"b\\\\\\"}\\",\\n \\"NodeInfo\\": {\\n \\"Id\\": \\"n_239496\\",\\n \\"Name\\": \\"xx测试\\",\\n \\"Type\\": \\"DATA_PROCESS\\",\\n \\"From\\": \\"DATA_PROCESS\\",\\n \\"SubDetailType\\": \\"SHELL\\",\\n \\"Description\\": \\"xx测试\\",\\n \\"DryRun\\": true,\\n \\"SchedulePaused\\": true,\\n \\"HasProd\\": true,\\n \\"HasDev\\": true,\\n \\"ResourceGroupList\\": [\\n \\"rs_group_test\\"\\n ],\\n \\"PriorityList\\": [\\n \\"MIDDLE\\"\\n ],\\n \\"SchedulePeriodList\\": [\\n \\"DAILY\\"\\n ],\\n \\"BizUnitName\\": \\"xx测试\\",\\n \\"Creator\\": {\\n \\"Id\\": \\"1001012\\",\\n \\"Name\\": \\"xx测试\\"\\n },\\n \\"Modifier\\": {\\n \\"Id\\": \\"1001012\\",\\n \\"Name\\": \\"xx测试\\"\\n },\\n \\"OwnerList\\": [\\n {\\n \\"Id\\": \\"1001012\\",\\n \\"Name\\": \\"xx测试\\"\\n }\\n ],\\n \\"CreateTime\\": \\"2024-01-30 10:08:49\\",\\n \\"LastModifiedTime\\": \\"2024-01-30 10:08:49\\"\\n }\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'GetPhysicalInstance' => [
+ 'summary' => '查询脚本的实例信息, 包括实例状态、运行时间等信息.',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '实例ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 't_23231',
+ ],
+ ],
+ [
+ 'name' => 'ProjectId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '项目ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '2323131',
+ ],
+ ],
+ [
+ 'name' => 'Env',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '● 环境标识'."\n"
+ .'DEV:开发环境 '."\n"
+ .'PROD(默认):生产环境',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'PROD',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'Instance' => [
+ 'title' => '实例详情',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '实例ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 't_23231',
+ ],
+ 'BizDate' => [
+ 'title' => '业务日期',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2023-06-25',
+ ],
+ 'DueTime' => [
+ 'title' => '调度时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2023-06-27 00:30:00',
+ ],
+ 'StatusList' => [
+ 'title' => '状态列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '状态',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'SUCCESS',
+ ],
+ ],
+ 'StartExecuteTime' => [
+ 'title' => '开始运行时间',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '2023-06-27 01:30:00',
+ ],
+ 'EndExecuteTime' => [
+ 'title' => '结束运行时间',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '2023-06-27 02:30:00',
+ ],
+ 'Duration' => [
+ 'title' => '运行耗时',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '3600s',
+ ],
+ 'Index' => [
+ 'title' => '运行实例序号',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'NodeInfo' => [
+ 'title' => '节点详情',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '节点ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'n_3232312',
+ ],
+ 'From' => [
+ 'title' => '节点来源系统',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'DATA_PROCESS',
+ ],
+ 'Type' => [
+ 'title' => '节点类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'DATA_PROCESS',
+ ],
+ 'Name' => [
+ 'title' => '节点名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'SubDetailType' => [
+ 'title' => '子业务类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'SHELL',
+ ],
+ 'Description' => [
+ 'title' => '描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'DryRun' => [
+ 'title' => '是否空跑',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'SchedulePaused' => [
+ 'title' => '是否暂停调度',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'HasProd' => [
+ 'title' => '是否有生产环境',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'HasDev' => [
+ 'title' => '是否有开发环境',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'PriorityList' => [
+ 'title' => '优先级',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '优先级',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'MIDDLE',
+ ],
+ ],
+ 'ResourceGroupList' => [
+ 'title' => '资源组',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '资源组',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'rs_group_test',
+ ],
+ ],
+ 'SchedulePeriodList' => [
+ 'title' => '调度周期',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '调度周期',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'DAILY',
+ ],
+ ],
+ 'BizUnitName' => [
+ 'title' => '业务板块名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'xx',
+ ],
+ 'Creator' => [
+ 'title' => '创建者',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '用户ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2323111',
+ ],
+ 'Name' => [
+ 'title' => '用户名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'zhangsan',
+ ],
+ ],
+ ],
+ 'Modifier' => [
+ 'title' => '编辑者',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '用户ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2323111',
+ ],
+ 'Name' => [
+ 'title' => '用户名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'zhangsan',
+ ],
+ ],
+ ],
+ 'OwnerList' => [
+ 'title' => '负责人',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '负责人',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '用户ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2323111',
+ ],
+ 'Name' => [
+ 'title' => '用户名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'zhangsan',
+ ],
+ ],
+ ],
+ ],
+ 'CreateTime' => [
+ 'title' => '创建时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2023-02-02 23:53:17',
+ ],
+ 'LastModifiedTime' => [
+ 'title' => '编辑时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2024-02-02 23:53:17',
+ ],
+ ],
+ ],
+ 'ExtendInfo' => [
+ 'title' => '扩展信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'xx',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"Instance\\": {\\n \\"Id\\": \\"t_23231\\",\\n \\"BizDate\\": \\"2023-06-25\\",\\n \\"DueTime\\": \\"2023-06-27 00:30:00\\",\\n \\"StatusList\\": [\\n \\"SUCCESS\\"\\n ],\\n \\"StartExecuteTime\\": 0,\\n \\"EndExecuteTime\\": 0,\\n \\"Duration\\": \\"3600s\\",\\n \\"Index\\": 1,\\n \\"NodeInfo\\": {\\n \\"Id\\": \\"n_3232312\\",\\n \\"From\\": \\"DATA_PROCESS\\",\\n \\"Type\\": \\"DATA_PROCESS\\",\\n \\"Name\\": \\"xx测试\\",\\n \\"SubDetailType\\": \\"SHELL\\",\\n \\"Description\\": \\"xx 测试\\",\\n \\"DryRun\\": false,\\n \\"SchedulePaused\\": false,\\n \\"HasProd\\": true,\\n \\"HasDev\\": true,\\n \\"PriorityList\\": [\\n \\"MIDDLE\\"\\n ],\\n \\"ResourceGroupList\\": [\\n \\"rs_group_test\\"\\n ],\\n \\"SchedulePeriodList\\": [\\n \\"DAILY\\"\\n ],\\n \\"BizUnitName\\": \\"xx\\",\\n \\"Creator\\": {\\n \\"Id\\": \\"2323111\\",\\n \\"Name\\": \\"zhangsan\\"\\n },\\n \\"Modifier\\": {\\n \\"Id\\": \\"2323111\\",\\n \\"Name\\": \\"zhangsan\\"\\n },\\n \\"OwnerList\\": [\\n {\\n \\"Id\\": \\"2323111\\",\\n \\"Name\\": \\"zhangsan\\"\\n }\\n ],\\n \\"CreateTime\\": \\"2023-02-02 23:53:17\\",\\n \\"LastModifiedTime\\": \\"2024-02-02 23:53:17\\"\\n },\\n \\"ExtendInfo\\": \\"xx\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'ListInstances' => [
+ 'summary' => '分页查询实例。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'ListQuery',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '查询请求',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'NodeId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'n_23131',
+ ],
+ 'RunStatusList' => [
+ 'title' => 'INIT(初始化)、WAIT_SUBMISSION(等待提交)、WAIT_SCHEDULE(等待调度时间)、DISPATCH_BLOCKED(限流中)、WAIT_RESOURCE(等待调度资源)、RUNNING(运行中)、SUCCESS(成功)、FAILED(失败) ',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '允许状态',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'RUNNING',
+ ],
+ 'required' => false,
+ ],
+ 'MinBizDate' => [
+ 'title' => '开始业务日期时间,时间格式须符合业务板块指定的分区格式',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2024-05-30',
+ ],
+ 'MaxBizDate' => [
+ 'title' => '截止业务日期时间,时间格式须符合业务板块指定的分区格式'."\n",
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2024-05-31',
+ ],
+ 'BizType' => [
+ 'title' => '业务类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'SCRIPT',
+ ],
+ 'SubBizTypeList' => [
+ 'title' => '子业务类型',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'SHELL',
+ ],
+ 'required' => false,
+ ],
+ 'SchedulePeriodList' => [
+ 'title' => '调度周期',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'DAILY',
+ ],
+ 'required' => false,
+ ],
+ 'OwnerList' => [
+ 'title' => '节点负责人',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '负责人',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '123131',
+ ],
+ 'required' => false,
+ ],
+ 'PriorityList' => [
+ 'title' => '优先级',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'MIDDLE',
+ ],
+ 'required' => false,
+ ],
+ 'SchedulePaused' => [
+ 'title' => '是否暂停调度',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ ],
+ 'MinRunDate' => [
+ 'title' => '实例运行日期',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2024-05-30',
+ ],
+ 'MaxRunDate' => [
+ 'title' => '实例运行日期',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2024-05-31',
+ ],
+ 'ScheduleType' => [
+ 'title' => '实例调度类型'."\n"
+ .'NORMAL(周期实例)'."\n"
+ .'MANUAL(手动实例)',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'NORMAL',
+ ],
+ 'SearchText' => [
+ 'title' => '节点名称模糊匹配或节点ID精确匹配',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'xx',
+ ],
+ 'ProjectId' => [
+ 'title' => '项目ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '131311111321',
+ ],
+ 'Page' => [
+ 'title' => '页码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '1',
+ ],
+ 'PageSize' => [
+ 'title' => '分页记录数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '20',
+ ],
+ 'BizUnitId' => [
+ 'title' => '业务板块id,查询汇总逻辑表时需要传入',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ ],
+ 'FlowId' => [
+ 'title' => '任务流Id',
+ 'type' => 'string',
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'Env',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '环境标识'."\n"
+ .'DEV:开发环境 '."\n"
+ .'PROD(默认):生产环境',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'PROD',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'PageResult' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'TotalCount' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '107',
+ ],
+ 'Data' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '实例ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 't_23231',
+ ],
+ 'BizDate' => [
+ 'title' => '业务日期',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2024-05-30',
+ ],
+ 'DueTime' => [
+ 'title' => '调度时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2024-05-30 16:47:13',
+ ],
+ 'StatusList' => [
+ 'title' => '实例状态',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'RUNNING',
+ ],
+ ],
+ 'StartExecuteTime' => [
+ 'title' => '运行',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '2024-05-30 16:46:13',
+ ],
+ 'EndExecuteTime' => [
+ 'title' => '执行结束时间',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '2024-05-30 16:47:13'."\n",
+ ],
+ 'Duration' => [
+ 'title' => '运行耗时,单位:秒',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '60s',
+ ],
+ 'Index' => [
+ 'title' => '小时分钟实例序号',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'NodeInfo' => [
+ 'title' => '节点详情',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '节点ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'n_132331',
+ ],
+ 'From' => [
+ 'title' => '节点来源',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'DATA_PROCES',
+ ],
+ 'Type' => [
+ 'title' => '节点业务类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'DATA_PROCES',
+ ],
+ 'Name' => [
+ 'title' => '节点名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'SubDetailType' => [
+ 'title' => '子业务类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'SHELL',
+ ],
+ 'Description' => [
+ 'title' => '节点描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'DryRun' => [
+ 'title' => '是否空跑',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'SchedulePaused' => [
+ 'title' => '是否暂停调度',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'HasProd' => [
+ 'title' => '是否有生产环境',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'HasDev' => [
+ 'title' => '是否有开发环境',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'PriorityList' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'MIDDLE',
+ ],
+ ],
+ 'ResourceGroupList' => [
+ 'title' => '运行资源组',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'rs_group_test',
+ ],
+ ],
+ 'SchedulePeriodList' => [
+ 'title' => '调度周期',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'DAILY',
+ ],
+ ],
+ 'BizUnitName' => [
+ 'title' => '业务板块',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'Creator' => [
+ 'title' => '节点创建人',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '21313112',
+ ],
+ 'Name' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'Modifier' => [
+ 'title' => '编辑人',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '21313112',
+ ],
+ 'Name' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'OwnerList' => [
+ 'title' => '负责人',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '21313112',
+ ],
+ 'Name' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ ],
+ ],
+ ],
+ 'CreateTime' => [
+ 'title' => '创建时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2024-05-30 16:47:13',
+ ],
+ 'LastModifiedTime' => [
+ 'title' => '编辑时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2024-05-30 16:47:13'."\n",
+ ],
+ ],
+ ],
+ 'ExtendInfo' => [
+ 'title' => '节点扩展信息:不同业务系统实例的特有信息,例如pipeline的fileId,逻辑表是否层级维度以及mid节点信息,实例输出名 ',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'xx',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"PageResult\\": {\\n \\"TotalCount\\": 107,\\n \\"Data\\": [\\n {\\n \\"Id\\": \\"t_23231\\",\\n \\"BizDate\\": \\"2024-05-30\\",\\n \\"DueTime\\": \\"2024-05-30 16:47:13\\",\\n \\"StatusList\\": [\\n \\"RUNNING\\"\\n ],\\n \\"StartExecuteTime\\": 0,\\n \\"EndExecuteTime\\": 0,\\n \\"Duration\\": \\"60s\\",\\n \\"Index\\": 1,\\n \\"NodeInfo\\": {\\n \\"Id\\": \\"n_132331\\",\\n \\"From\\": \\"DATA_PROCES\\",\\n \\"Type\\": \\"DATA_PROCES\\",\\n \\"Name\\": \\"xx测试\\\\n\\",\\n \\"SubDetailType\\": \\"SHELL\\",\\n \\"Description\\": \\"xx 测试\\",\\n \\"DryRun\\": false,\\n \\"SchedulePaused\\": false,\\n \\"HasProd\\": true,\\n \\"HasDev\\": false,\\n \\"PriorityList\\": [\\n \\"MIDDLE\\"\\n ],\\n \\"ResourceGroupList\\": [\\n \\"rs_group_test\\"\\n ],\\n \\"SchedulePeriodList\\": [\\n \\"DAILY\\"\\n ],\\n \\"BizUnitName\\": \\"xx测试\\",\\n \\"Creator\\": {\\n \\"Id\\": \\"21313112\\",\\n \\"Name\\": \\"xx测试\\"\\n },\\n \\"Modifier\\": {\\n \\"Id\\": \\"21313112\\",\\n \\"Name\\": \\"xx测试\\"\\n },\\n \\"OwnerList\\": [\\n {\\n \\"Id\\": \\"21313112\\",\\n \\"Name\\": \\"xx测试\\"\\n }\\n ],\\n \\"CreateTime\\": \\"2024-05-30 16:47:13\\",\\n \\"LastModifiedTime\\": \\"2024-05-30 16:47:13\\\\n\\"\\n },\\n \\"ExtendInfo\\": \\"xx\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'OperateInstance' => [
+ 'summary' => '运维实例。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'OperateCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '操作请求',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'InstanceIdList' => [
+ 'title' => '运维实例列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 't_32111312',
+ ],
+ 'FieldInstanceIdList' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 't_2311',
+ ],
+ 'required' => false,
+ ],
+ ],
+ 'required' => true,
+ ],
+ 'required' => true,
+ ],
+ 'Operation' => [
+ 'title' => '操作 '."\n"
+ .'RERUN:重跑/PAUSE:暂停/RESUME:恢复/TERMINATE:终止/SET_SUCCESS:置为成功',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'RERUN',
+ ],
+ 'ProjectId' => [
+ 'title' => '项目ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'maximum' => '132324',
+ 'example' => '132311',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ [
+ 'name' => 'Env',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '环境标识'."\n"
+ .'DEV:开发环境 '."\n"
+ .'PROD(默认):生产环境',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'PROD',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'InstanceStatusList' => [
+ 'title' => '实例运维结果',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '实例ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 't_132435',
+ ],
+ 'Name' => [
+ 'title' => '实例名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'DisplayName' => [
+ 'title' => '实例显示名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'Status' => [
+ 'title' => '操作的结果,成功或者失败',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'SUCCESS',
+ ],
+ 'ErrorMessage' => [
+ 'title' => '操作失败时的错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'xx',
+ ],
+ 'OwnerId' => [
+ 'title' => '实例负责人',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '121311',
+ ],
+ 'OwnerName' => [
+ 'title' => '实例负责人',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"InstanceStatusList\\": [\\n {\\n \\"Id\\": \\"t_132435\\",\\n \\"Name\\": \\"xx测试\\",\\n \\"DisplayName\\": \\"xx测试\\",\\n \\"Status\\": \\"SUCCESS\\",\\n \\"ErrorMessage\\": \\"xx\\",\\n \\"OwnerId\\": \\"121311\\",\\n \\"OwnerName\\": \\"xx测试\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'FixData' => [
+ 'summary' => '重跑下游(修复链路数据), 支持强制重跑下游。影响范围: 1. 会产生计算成本;2. 会影响数据产出',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'FixDataCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '重跑下游(修复链路数据),可以选择强制重跑',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RootInstanceId' => [
+ 'title' => '根实例',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '实例ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 't_2323111',
+ ],
+ 'FieldInstanceIdList' => [
+ 'title' => '当节点时逻辑表实例id时可以传,不传默认是全表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '121',
+ ],
+ 'required' => false,
+ ],
+ ],
+ 'required' => true,
+ ],
+ 'DownStreamInstanceIdList' => [
+ 'title' => '下游实例(如果选择了下游范围,则此处可不传,否则需要传入下游实例列表) ',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 't_2323421',
+ ],
+ 'FieldInstanceIdList' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 't_2311',
+ ],
+ 'required' => false,
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => false,
+ ],
+ 'ContainRootInstance' => [
+ 'title' => '根实例是否重跑,不选默认为是',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ ],
+ 'DownstreamRange' => [
+ 'title' => '下游范围(快捷选项:ALL_FAILED_INSTANCE:所有失败实例; ALL_INSTANCE: 所有实例; ALL_FINAL_INSTANCE: 所有终态实例;) 不传默认需要根据传入的下游进行重跑',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ALL_INSTANCE',
+ ],
+ 'ForceRerun' => [
+ 'title' => '释放强制重跑',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ ],
+ 'ProjectId' => [
+ 'title' => '项目ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '132344',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ [
+ 'name' => 'Env',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '环境标识'."\n"
+ .'DEV:开发环境 '."\n"
+ .'PROD(默认):生产环境',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'PROD',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'SubmitId' => [
+ 'title' => '本次提交的提交id,如果选择downstreamRange为快捷模式,则此处会返回提交id,需要通过提交状态查询接口([QueryOperationSubmitJobStatus]),查询本次提交的状态。人为选择下游实例可忽略该返回',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '12324234',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"SubmitId\\": \\"12324234\\"\\n}","type":"json"}]',
+ ],
+ 'ExecuteTriggerNode' => [
+ 'summary' => '运行触发式节点。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'NodeId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '节点id',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'n_12345678',
+ ],
+ ],
+ [
+ 'name' => 'BizDate',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '业务日期',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '2025-06-01',
+ ],
+ ],
+ [
+ 'name' => 'ProjectId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '项目Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '10110201',
+ ],
+ ],
+ [
+ 'name' => 'Index',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '如果节点ID为小时或分钟节点,一天会有多个实例,index代表实例的序号',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'Env',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '开发或生产环境:DEV 开发、PROD 生产,默认PROD',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'DEV',
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\"\\n}","type":"json"}]',
+ ],
+ 'CreateNodeSupplement' => [
+ 'summary' => '通用补数据接口 1.会生成补数据实例运行:影响相关产产出表数据 2.会进行任务运行:造成计算的费用以及存储的费用',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'CreateCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '新建补数据请求',
+ 'type' => 'object',
+ 'properties' => [
+ 'NodeIdList' => [
+ 'title' => '补数据的根节点,支持多个根节点',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '根节点',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '节点ID',
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ 'FieldIdList' => [
+ 'title' => '当节点时逻辑表节点id时可以传,不传默认是全表',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ 'required' => true,
+ ],
+ 'required' => true,
+ ],
+ 'StartBizDate' => [
+ 'title' => '起始业务日期 ',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '2021-06-01',
+ ],
+ 'EndBizDate' => [
+ 'title' => '截止业务日期 ',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '2021-06-01',
+ ],
+ 'ProjectId' => [
+ 'title' => '项目ID',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '101121',
+ ],
+ 'Name' => [
+ 'title' => '补数据名称,不传时系统生成',
+ 'type' => 'string',
+ 'example' => 'xx测试',
+ ],
+ 'DownStreamNodeIdList' => [
+ 'title' => '下游节点ID,指定下游节点运行;'."\n"
+ .'ContainAllDownStream = false 时生效',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '根节点',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '节点ID',
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ 'FieldIdList' => [
+ 'title' => '当节点时逻辑表节点id时可以传,不传默认是全表',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => false,
+ ],
+ 'ContainAllDownStream' => [
+ 'title' => '海量模式:包含所有下游,默认为false ',
+ 'type' => 'boolean',
+ ],
+ 'FilterList' => [
+ 'title' => '过滤器,和ContainAllDownStream搭配使用,可以根据项目,节点等进行正选和反选,默认为空',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => [
+ 'type' => 'string',
+ ],
+ 'ValueList' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'string',
+ ],
+ ],
+ 'Exclude' => [
+ 'type' => 'boolean',
+ ],
+ ],
+ ],
+ ],
+ 'Parallelism' => [
+ 'title' => '并发数,默认为1',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ 'MinDueTime' => [
+ 'title' => '最早调起时间(HH:MM),小时任务专用',
+ 'type' => 'string',
+ ],
+ 'MaxDueTime' => [
+ 'title' => '最晚调起时间(HH:MM),小时任务专用',
+ 'type' => 'string',
+ ],
+ 'GlobalParamList' => [
+ 'title' => '运行时全局参数',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => [
+ 'type' => 'string',
+ ],
+ 'Value' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ 'NodeParamsList' => [
+ 'title' => '运行时自定义参数, 按照节点进行配置',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'NodeId' => [
+ 'type' => 'string',
+ ],
+ 'ParamList' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => [
+ 'type' => 'string',
+ ],
+ 'Value' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ [
+ 'name' => 'Env',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '环境标识'."\n"
+ .'DEV:开发环境 '."\n"
+ .'PROD(默认):生产环境',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'PROD' => 'PROD',
+ 'DEV' => 'DEV',
+ ],
+ 'example' => 'DEV/PROD',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true/false',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'SubmitId' => [
+ 'title' => '如果是普通模式,返回的是flowId; 如果是海量模式,返回提交的jobId,可以根据GetOperationSubmitStatus 查询提交的状态,提交成功后会返回flowId',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'f_2264518792396800000_20210223_2329354897145659392',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"SubmitId\\": \\"f_2264518792396800000_20210223_2329354897145659392\\"\\n}","type":"json"}]',
+ ],
+ 'PausePhysicalNode' => [
+ 'summary' => '暂停物理节点调度。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'PauseCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '暂停调度请求',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ProjectId' => [
+ 'title' => '项目ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '13222210',
+ ],
+ 'NodeIdList' => [
+ 'title' => '节点ID列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '节点ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'n_2311121',
+ ],
+ 'required' => true,
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ [
+ 'name' => 'Env',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '环境标识'."\n"
+ .'DEV:开发环境 '."\n"
+ .'PROD(默认):生产环境',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'PROD',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'NodeOperateResultList' => [
+ 'title' => '节点暂停调度操作结果',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '节点暂停调度操作结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'NodeId' => [
+ 'title' => '节点ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'n_123456',
+ ],
+ 'Status' => [
+ 'title' => '操作结果',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'SUCCESS',
+ ],
+ 'ErrorMessage' => [
+ 'title' => '操作失败时,异常信息提示',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'xx ',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"NodeOperateResultList\\": [\\n {\\n \\"NodeId\\": \\"n_123456\\",\\n \\"Status\\": \\"SUCCESS\\",\\n \\"ErrorMessage\\": \\"xx \\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'GetOperationSubmitStatus' => [
+ 'summary' => '查询补数据提交的状态',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'JobId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '海量模式下提交后返回的jobId',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '1324444131',
+ ],
+ ],
+ [
+ 'name' => 'Env',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '环境标识'."\n"
+ .'DEV:开发环境 '."\n"
+ .'PROD(默认):生产环境',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'PROD',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'OperationSubmitJob' => [
+ 'title' => '操作提交的状态',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'JobId' => [
+ 'title' => '补数据的提交id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '123456',
+ ],
+ 'Progress' => [
+ 'title' => '进度 ',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '80',
+ ],
+ 'Operation' => [
+ 'title' => '操作类型'."\n"
+ .'SUPPLY_DATA:补数据'."\n"
+ .'UPDATE_OWNER:修改责任人'."\n"
+ .'UPDATE_PRIORITY:修改优先级'."\n"
+ .'UPDATE_TASK_GROUP:修改任务组'."\n"
+ .'UPDATE_RESOURCE_GROUP:修改资源组'."\n"
+ .'PAUSE:暂停'."\n"
+ .'RESUME:恢复'."\n"
+ .'TRIGGER_EXECUTE:触发执行',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'SUPPLY_DATA',
+ ],
+ 'OperationStatus' => [
+ 'title' => '状态',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'SUCCESS',
+ ],
+ 'ExternalBizId' => [
+ 'title' => '业务id,如果是补数据操作则为补数据工作流',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'f_122_232342',
+ ],
+ 'Operator' => [
+ 'title' => '提交人用户ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '132344',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"OperationSubmitJob\\": {\\n \\"JobId\\": \\"123456\\",\\n \\"Progress\\": \\"80\\",\\n \\"Operation\\": \\"SUPPLY_DATA\\",\\n \\"OperationStatus\\": \\"SUCCESS\\",\\n \\"ExternalBizId\\": \\"f_122_232342\\",\\n \\"Operator\\": \\"132344\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'GetPhysicalInstanceLog' => [
+ 'summary' => '获取实例执行的日志,如果实例重跑了多次,则会有多条日志',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '实例ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 't_5929472_20210411_9577721',
+ ],
+ ],
+ [
+ 'name' => 'ProjectId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '项目ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '123131',
+ ],
+ ],
+ [
+ 'name' => 'Env',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '环境标识'."\n"
+ .'DEV:开发环境 '."\n"
+ .'PROD(默认):生产环境',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'PROD',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'TaskrunLogList' => [
+ 'title' => '实例所有的执行日志. 包含实例多次重跑的日志',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'TaskrunId' => [
+ 'title' => '每一次运行的任务ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'tr_23231',
+ ],
+ 'StartTime' => [
+ 'title' => '任务开始运行时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2024-05-30 16:47:13',
+ ],
+ 'EndTime' => [
+ 'title' => '任务结束运行时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2024-05-30 16:48:13',
+ ],
+ 'LogContent' => [
+ 'title' => '运行日志,如果未运行则为空',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'xx',
+ ],
+ 'Status' => [
+ 'title' => 'INIT、WAITING、RUNNING、SUCCESS、FAILED',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'SUCCESS',
+ ],
+ 'Duration' => [
+ 'title' => '任务执行耗时,单位:秒',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '60s',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"TaskrunLogList\\": [\\n {\\n \\"TaskrunId\\": \\"tr_23231\\",\\n \\"StartTime\\": \\"2024-05-30 16:47:13\\",\\n \\"EndTime\\": \\"2024-05-30 16:48:13\\",\\n \\"LogContent\\": \\"xx\\",\\n \\"Status\\": \\"SUCCESS\\",\\n \\"Duration\\": \\"60s\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'GetSupplementDagrun' => [
+ 'summary' => '获取补数据工作流所有业务日期的Dagrun信息。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'SupplementId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '补数据工作流ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'f_8241792_20201202_2099680',
+ ],
+ ],
+ [
+ 'name' => 'Env',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '环境标识'."\n"
+ .'DEV:开发环境 '."\n"
+ .'PROD(默认):生产环境',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'PROD',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'DagrunList' => [
+ 'title' => 'Dagrun列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => 'Dagrun详情',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => 'Dagrun ID',
+ 'description' => 'Dagrun ID',
+ 'type' => 'string',
+ 'example' => 'dr_2242792_14542',
+ ],
+ 'BizDate' => [
+ 'title' => '业务日期,时间格式须符合业务板块指定的分区格式',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2024-04-01',
+ ],
+ 'Status' => [
+ 'title' => '补数工作流状态:'."\n"
+ .'INIT:dagrun初始化'."\n"
+ .'CREATE_FAILED:dagrun创建失败'."\n"
+ .'CREATED:dagrun创建成功'."\n"
+ .'READY:dagrun准备好可以执行'."\n"
+ .'RUNNING:dagrun运行中'."\n"
+ .'KILLED:dagrun运行中止'."\n"
+ .'FAILED:dagrun运行失败'."\n"
+ .'SUCCESS:dagrun运行成功',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'RUNNING',
+ ],
+ 'StartExecuteTime' => [
+ 'title' => '执行起始时间戳',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1717081729000',
+ ],
+ 'EndExecuteTime' => [
+ 'title' => '执行终止时间戳',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1717081789000',
+ ],
+ 'SupplementId' => [
+ 'title' => '补数工作流Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'f_8241792_20201202_2099680',
+ ],
+ 'Duration' => [
+ 'title' => '部署工作流运行时长',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '60s',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"DagrunList\\": [\\n {\\n \\"Id\\": \\"dr_2242792_14542\\",\\n \\"BizDate\\": \\"2024-04-01\\",\\n \\"Status\\": \\"RUNNING\\",\\n \\"StartExecuteTime\\": 1717081729000,\\n \\"EndExecuteTime\\": 1717081789000,\\n \\"SupplementId\\": \\"f_8241792_20201202_2099680\\",\\n \\"Duration\\": \\"60s\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'GetPhysicalNode' => [
+ 'summary' => '查询物理调度节点。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'NodeId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '节点ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'n_232132',
+ ],
+ ],
+ [
+ 'name' => 'Env',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '环境标识'."\n"
+ .'DEV:开发环境 '."\n"
+ .'PROD(默认):生产环境',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'PROD',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'NodeInfo' => [
+ 'title' => '节点详情',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '节点ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'n_232132',
+ ],
+ 'Name' => [
+ 'title' => '节点名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'Description' => [
+ 'title' => '节点描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'OperatorType' => [
+ 'title' => '节点子类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'SHELL',
+ ],
+ 'ScheduleType' => [
+ 'title' => '调度周期类型'."\n"
+ .'MINUTELY'."\n"
+ .'HOURLY'."\n"
+ .'DAILY'."\n"
+ .'WEEKLY'."\n"
+ .'MONTHLY'."\n"
+ .'QUARTERLY',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'DAILY',
+ ],
+ 'Priority' => [
+ 'title' => '调度优先级'."\n"
+ .'HIGHEST'."\n"
+ .'HIGH'."\n"
+ .'MIDDLE'."\n"
+ .'LOW'."\n"
+ .'LOWEST',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'MIDDLE',
+ ],
+ 'ProjectInfo' => [
+ 'title' => '节点归属项目',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '项目ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '102132',
+ ],
+ 'Name' => [
+ 'title' => '项目名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'Creator' => [
+ 'title' => '节点创建者',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '用户ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '101312',
+ ],
+ 'Name' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'Owner' => [
+ 'title' => '节点负责人',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '101312',
+ ],
+ 'Name' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'Modifier' => [
+ 'title' => '更新人',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '101312',
+ ],
+ 'Name' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'CreateTime' => [
+ 'title' => '创建时间',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1717343597000',
+ ],
+ 'LastModifiedTime' => [
+ 'title' => '最新1次更新时间',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1717343597000',
+ ],
+ 'Status' => [
+ 'title' => '调度状态',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'SUCCESS',
+ ],
+ 'TriggerConfig' => [
+ 'title' => '触发配置, 用于实现对逻辑表的字段依赖',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '{"expression":"any_success"}',
+ ],
+ 'From' => [
+ 'title' => '节点来源',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'DATA_PROCESS',
+ ],
+ 'CronExpression' => [
+ 'title' => 'cron表达式,用于计算调起时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '0 0 10 * * *',
+ ],
+ 'OutputNameList' => [
+ 'title' => '输出名列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'xxtest',
+ ],
+ ],
+ 'DataSourceId' => [
+ 'title' => '数据源ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '123456789',
+ ],
+ 'DataSourceSchema' => [
+ 'title' => '数据源SCHEMA',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"NodeInfo\\": {\\n \\"Id\\": \\"n_232132\\",\\n \\"Name\\": \\"节点名称\\",\\n \\"Description\\": \\"xx测试\\",\\n \\"OperatorType\\": \\"SHELL\\",\\n \\"ScheduleType\\": \\"DAILY\\",\\n \\"Priority\\": \\"MIDDLE\\",\\n \\"ProjectInfo\\": {\\n \\"Id\\": \\"102132\\",\\n \\"Name\\": \\"xx测试\\"\\n },\\n \\"Creator\\": {\\n \\"Id\\": \\"101312\\",\\n \\"Name\\": \\"xx测试\\"\\n },\\n \\"Owner\\": {\\n \\"Id\\": \\"101312\\",\\n \\"Name\\": \\"xx测试\\"\\n },\\n \\"Modifier\\": {\\n \\"Id\\": \\"101312\\",\\n \\"Name\\": \\"xx测试\\"\\n },\\n \\"CreateTime\\": 1717343597000,\\n \\"LastModifiedTime\\": 1717343597000,\\n \\"Status\\": \\"SUCCESS\\",\\n \\"TriggerConfig\\": \\"{\\\\\\"expression\\\\\\":\\\\\\"any_success\\\\\\"}\\",\\n \\"From\\": \\"DATA_PROCESS\\",\\n \\"CronExpression\\": \\"0 0 10 * * *\\",\\n \\"OutputNameList\\": [\\n \\"xxtest\\"\\n ],\\n \\"DataSourceId\\": 123456789,\\n \\"DataSourceSchema\\": \\"null\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'GetPhysicalNodeContent' => [
+ 'summary' => '查询调度节点代码内容。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'NodeId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '节点ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'n_232411',
+ ],
+ ],
+ [
+ 'name' => 'Env',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '环境标识'."\n"
+ .'DEV:开发环境 '."\n"
+ .'PROD(默认):生产环境',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'PROD',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'Data' => [
+ 'title' => '节点信息',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'NodeId' => [
+ 'title' => '节点ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'n_232411',
+ ],
+ 'NodeName' => [
+ 'title' => '节点名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'CodeContent' => [
+ 'title' => '节点代码内容',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'select 1;',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"Data\\": {\\n \\"NodeId\\": \\"n_232411\\",\\n \\"NodeName\\": \\"xx测试\\",\\n \\"CodeContent\\": \\"select 1;\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'GetNodeUpDownStream' => [
+ 'summary' => '通用查询节点上下游接口',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'NodeId',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '节点id',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '节点id',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '11313',
+ ],
+ 'FieldIdList' => [
+ 'title' => '当节点时逻辑表节点id时可以传,不传默认是全表',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '12',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ [
+ 'name' => 'ProjectId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '项目ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '113123',
+ ],
+ ],
+ [
+ 'name' => 'UpStreamDepth',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '上游层级,默认:1',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'DownStreamDepth',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '下游层级,默认:1',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'Env',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '环境标识'."\n"
+ .'DEV:开发环境 '."\n"
+ .'PROD(默认):生产环境',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'DEV',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'NodeDagInfo' => [
+ 'title' => '节点上下游数据',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'StartNodeList' => [
+ 'title' => '中心节点 ',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '节点',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '节点ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'n_123456',
+ ],
+ 'Name' => [
+ 'title' => '节点名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'xx测试',
+ ],
+ 'Type' => [
+ 'title' => '节点类型'."\n"
+ .'DATA_PROCESS:代码任务'."\n"
+ .'BBOX_LOGIC_TABLE_NODE:黑盒逻辑表节点'."\n"
+ .'ONE_ID_LABEL:萃取标签节点'."\n"
+ .'ONE_ID_RULE:萃取标签节点'."\n"
+ .'PIPELINE_NODE:PIPELINE节点',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'DATA_PROCESS',
+ ],
+ 'FieldIdList' => [
+ 'title' => '字段id列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '字段ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '123',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'UpStreamNodeList' => [
+ 'title' => '上游节点',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '节点',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '节点ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'n_123456',
+ ],
+ 'Name' => [
+ 'title' => '节点名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'xx测试',
+ ],
+ 'Type' => [
+ 'title' => '节点类型'."\n"
+ .'DATA_PROCESS:代码任务'."\n"
+ .'BBOX_LOGIC_TABLE_NODE:黑盒逻辑表节点'."\n"
+ .'ONE_ID_LABEL:萃取标签节点'."\n"
+ .'ONE_ID_RULE:萃取标签节点'."\n"
+ .'PIPELINE_NODE:PIPELINE节点',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'DATA_PROCESS',
+ ],
+ 'FieldIdList' => [
+ 'title' => '字段id列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '字段ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '123',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'DownStreamNodeList' => [
+ 'title' => '下游节点',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '节点',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '节点ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'n_123456',
+ ],
+ 'Name' => [
+ 'title' => '节点名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'xx测试',
+ ],
+ 'Type' => [
+ 'title' => '节点类型'."\n"
+ .'DATA_PROCESS:代码任务'."\n"
+ .'BBOX_LOGIC_TABLE_NODE:黑盒逻辑表节点'."\n"
+ .'ONE_ID_LABEL:萃取标签节点'."\n"
+ .'ONE_ID_RULE:萃取标签节点'."\n"
+ .'PIPELINE_NODE:PIPELINE节点',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'DATA_PROCESS',
+ ],
+ 'FieldIdList' => [
+ 'title' => '字段id列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '字段ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '123',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"NodeDagInfo\\": {\\n \\"StartNodeList\\": [\\n {\\n \\"Id\\": \\"n_123456\\",\\n \\"Name\\": \\"xx测试\\",\\n \\"Type\\": \\"DATA_PROCESS\\",\\n \\"FieldIdList\\": [\\n \\"123\\"\\n ]\\n }\\n ],\\n \\"UpStreamNodeList\\": [\\n {\\n \\"Id\\": \\"n_123456\\",\\n \\"Name\\": \\"xx测试\\",\\n \\"Type\\": \\"DATA_PROCESS\\",\\n \\"FieldIdList\\": [\\n \\"123\\"\\n ]\\n }\\n ],\\n \\"DownStreamNodeList\\": [\\n {\\n \\"Id\\": \\"n_123456\\",\\n \\"Name\\": \\"xx测试\\",\\n \\"Type\\": \\"DATA_PROCESS\\",\\n \\"FieldIdList\\": [\\n \\"123\\"\\n ]\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'ListNodes' => [
+ 'summary' => '查询调度节点列表。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'ListQuery',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '查询条件',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ProjectId' => [
+ 'title' => '项目ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '12111',
+ ],
+ 'NodeBizType' => [
+ 'title' => '节点业务类型(脚本、逻辑表、萃取):SCRIPT/LOGICAL_TABLE/ONE_ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'SCRIPT',
+ ],
+ 'NodeSubBizTypeList' => [
+ 'title' => '子业务类型(HIVE_SQL/HADOOP_MR/SHELL/DATAX/PYTHON等)'."\n",
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'SHELL',
+ ],
+ 'required' => true,
+ ],
+ 'SchedulePeriodList' => [
+ 'title' => '调度周期(年、月、周、日、时、分):YEARLY/MONTHLY/WEEKLY/DAILY/HOURLY/MINUTELY',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'DAILY',
+ ],
+ 'required' => false,
+ ],
+ 'OwnerList' => [
+ 'title' => '负责人用户ID',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '121112',
+ ],
+ 'required' => false,
+ ],
+ 'PriorityList' => [
+ 'title' => '节点优先级(最高,高,中,低,最低):HIGHEST/HIGH/MIDDLE/LOW/LOWEST',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'MIDDLE',
+ ],
+ 'required' => false,
+ ],
+ 'SchedulePaused' => [
+ 'title' => '是否暂停',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ 'DryRun' => [
+ 'title' => '是否空跑',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ ],
+ 'ScheduleType' => [
+ 'title' => '节点调度类型(如周期、补数据、手工):NORMAL/SUPPLEMENT/MANUAL',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'NORMAL',
+ ],
+ 'SearchText' => [
+ 'title' => '关键词搜索:支持节点名称模糊搜索,节点id精确搜索',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'xx',
+ ],
+ 'Page' => [
+ 'title' => '页码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ 'PageSize' => [
+ 'title' => '分页记录数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '10',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ [
+ 'name' => 'Env',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '环境标识'."\n"
+ .'DEV:开发环境 '."\n"
+ .'PROD(默认):生产环境',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'PROD',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'PageResult' => [
+ 'title' => '分页查询结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'TotalCount' => [
+ 'title' => '总记录数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '100',
+ ],
+ 'NodeList' => [
+ 'title' => '分页节点列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '节点详情',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Description' => [
+ 'title' => '描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'xx test',
+ ],
+ 'PriorityList' => [
+ 'title' => '优先级',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'MIDDLE',
+ ],
+ ],
+ 'CreateTime' => [
+ 'title' => '创建时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2024-05-30 16:47:13',
+ ],
+ 'DryRun' => [
+ 'title' => '是否空跑',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'OwnerList' => [
+ 'title' => '负责人',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '23222',
+ ],
+ 'Name' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ ],
+ ],
+ ],
+ 'From' => [
+ 'title' => '来源',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'DATA_PROCESS',
+ ],
+ 'Creator' => [
+ 'title' => '创建者',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '23222',
+ ],
+ 'Name' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'SubDetailType' => [
+ 'title' => '节点子类型(如数据处理中的MAX_COMPUTER_SQL/HIVE_SQL/SHELL等,如逻辑表中的维度表/事实表/汇总表等)。如DATA_PROCESS中的MAX_COMPUTER_SQL、HIVE_SQL、SHELL等,如BBOX_LOGIC_TABLE_NODE中的DIM_LOGICAL_TABLE、FACT_LOGICAL_TABLE、SUMMARY_LOGICAL_TABLE等',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'SHELL',
+ ],
+ 'Name' => [
+ 'title' => '节点名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'HasProd' => [
+ 'title' => '是否有生产环境',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'Type' => [
+ 'title' => '节点类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'DATA_PROCESS',
+ ],
+ 'HasDev' => [
+ 'title' => '是否有开发环境',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'SchedulePaused' => [
+ 'title' => '是否暂停',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'SchedulePeriodList' => [
+ 'title' => '调度周期',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'HOURLY',
+ ],
+ ],
+ 'ProjectInfo' => [
+ 'title' => '归属项目',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1121321',
+ ],
+ 'Name' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'LastModifiedTime' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2024-05-30 16:47:13',
+ ],
+ 'BizUnitName' => [
+ 'title' => '所属业务板块名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'Id' => [
+ 'title' => '节点ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'n_31111',
+ ],
+ 'Modifier' => [
+ 'title' => '节点更新者',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '311131',
+ ],
+ 'Name' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'ExtendInfo' => [
+ 'title' => '扩展信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '{"xx":"zz"}',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"PageResult\\": {\\n \\"TotalCount\\": 100,\\n \\"NodeList\\": [\\n {\\n \\"Description\\": \\"xx test\\",\\n \\"PriorityList\\": [\\n \\"MIDDLE\\"\\n ],\\n \\"CreateTime\\": \\"2024-05-30 16:47:13\\",\\n \\"DryRun\\": true,\\n \\"OwnerList\\": [\\n {\\n \\"Id\\": \\"23222\\",\\n \\"Name\\": \\"xx测试\\"\\n }\\n ],\\n \\"From\\": \\"DATA_PROCESS\\",\\n \\"Creator\\": {\\n \\"Id\\": \\"23222\\",\\n \\"Name\\": \\"xx测试\\"\\n },\\n \\"SubDetailType\\": \\"SHELL\\",\\n \\"Name\\": \\"xx测试\\",\\n \\"HasProd\\": true,\\n \\"Type\\": \\"DATA_PROCESS\\",\\n \\"HasDev\\": true,\\n \\"SchedulePaused\\": true,\\n \\"SchedulePeriodList\\": [\\n \\"HOURLY\\"\\n ],\\n \\"ProjectInfo\\": {\\n \\"Id\\": \\"1121321\\",\\n \\"Name\\": \\"xx测试\\"\\n },\\n \\"LastModifiedTime\\": \\"2024-05-30 16:47:13\\",\\n \\"BizUnitName\\": \\"xx测试\\",\\n \\"Id\\": \\"n_31111\\",\\n \\"Modifier\\": {\\n \\"Id\\": \\"311131\\",\\n \\"Name\\": \\"xx测试\\"\\n },\\n \\"ExtendInfo\\": \\"{\\\\\\"xx\\\\\\":\\\\\\"zz\\\\\\"}\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'GetPhysicalNodeOperationLog' => [
+ 'summary' => '查询节点的操作日志。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'NodeId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '节点ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'n_231131',
+ ],
+ ],
+ [
+ 'name' => 'Env',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '环境标识'."\n"
+ .'DEV:开发环境 '."\n"
+ .'PROD(默认):生产环境',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'PROD',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'OperationLogList' => [
+ 'title' => '节点操作日志',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '节点操作日志信息',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Context' => [
+ 'title' => '日志详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'xx',
+ ],
+ 'OperationType' => [
+ 'title' => '操作类型'."\n"
+ .'TASK_UPDATE_PRIORITY:修改节点优先级'."\n"
+ .'PAUSE_TASK:暂停调度'."\n"
+ .'RESUME_TASK:恢复调度'."\n"
+ .'CREATE_NODE:创建节点'."\n"
+ .'FORCE_DELETE_NODE:强制删除节点'."\n"
+ .'UPDATE_NODE:更新节点'."\n"
+ .'DELETE_NODE:删除节点'."\n"
+ .'CHANGE_NODE_OWNER:修改节点负责人',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'PAUSE_TASK',
+ ],
+ 'Operator' => [
+ 'title' => '操作人ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '132222',
+ ],
+ 'OperationTime' => [
+ 'title' => '操作时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2024-05-30 16:47:13',
+ ],
+ 'OperatorName' => [
+ 'title' => '操作者名字',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"OperationLogList\\": [\\n {\\n \\"Context\\": \\"xx\\",\\n \\"OperationType\\": \\"PAUSE_TASK\\",\\n \\"Operator\\": \\"132222\\",\\n \\"OperationTime\\": \\"2024-05-30 16:47:13\\",\\n \\"OperatorName\\": \\"xx测试\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'ListNodeDownStream' => [
+ 'summary' => '查询节点下游,创建补数据工作流时可以作为数据参考',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'ListQuery',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '查询节点下游请求',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'NodeIdList' => [
+ 'title' => '节点列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '节点',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '节点ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'n_23431',
+ ],
+ 'FieldIdList' => [
+ 'title' => '字段ID列表:当节点是逻辑表节点ID时可以传,不传默认是全表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '字段ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ 'required' => false,
+ 'example' => '112',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => true,
+ ],
+ 'DownStreamDepth' => [
+ 'title' => '深度, 默认3',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ 'FilterList' => [
+ 'title' => '过滤器',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'PROJECT',
+ ],
+ 'ValueList' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '102113',
+ ],
+ 'required' => false,
+ ],
+ 'Exclude' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => false,
+ ],
+ 'ProjectId' => [
+ 'title' => '项目ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '123011',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ [
+ 'name' => 'Env',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '环境标识'."\n"
+ .'DEV:开发环境 '."\n"
+ .'PROD(默认):生产环境',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'PROD',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'NodeInfoList' => [
+ 'title' => '节点列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '节点',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '节点ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'n_2423351',
+ ],
+ 'Name' => [
+ 'title' => '节点名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'Type' => [
+ 'title' => '节点类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'DATA_PROCESS',
+ ],
+ 'FieldIdList' => [
+ 'title' => '字段id列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '123',
+ ],
+ ],
+ 'Depth' => [
+ 'title' => '层级',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"NodeInfoList\\": [\\n {\\n \\"Id\\": \\"n_2423351\\",\\n \\"Name\\": \\"xx测试\\",\\n \\"Type\\": \\"DATA_PROCESS\\",\\n \\"FieldIdList\\": [\\n \\"123\\"\\n ],\\n \\"Depth\\": 1\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'GetPhysicalNodeByOutputName' => [
+ 'summary' => '根据输出名查询对应的物理节点。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'OutputName',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '节点输出名',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 't_test',
+ ],
+ ],
+ [
+ 'name' => 'Env',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '环境标识'."\n"
+ .'DEV:开发环境 '."\n"
+ .'PROD(默认):生产环境',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'PROD',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'NodeInfo' => [
+ 'title' => '节点详情',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '节点ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'n_2321',
+ ],
+ 'Name' => [
+ 'title' => '名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'Description' => [
+ 'title' => '描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'OperatorType' => [
+ 'title' => '节点子类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'SHELL',
+ ],
+ 'ScheduleType' => [
+ 'title' => '调度周期类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'DAILY',
+ ],
+ 'Priority' => [
+ 'title' => '调度优先级',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'MIDDLE',
+ ],
+ 'ProjectInfo' => [
+ 'title' => '节点归属项目',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1324211',
+ ],
+ 'Name' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'Creator' => [
+ 'title' => '节点创建者',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1311131',
+ ],
+ 'Name' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'Owner' => [
+ 'title' => '节点负责人',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1311131',
+ ],
+ 'Name' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'Modifier' => [
+ 'title' => '节点修改者',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1311131',
+ ],
+ 'Name' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'CreateTime' => [
+ 'title' => '创建时间',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1717343597000',
+ ],
+ 'LastModifiedTime' => [
+ 'title' => '更新时间',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1717343597000',
+ ],
+ 'Status' => [
+ 'title' => '节点调度状态',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'SUCCESS',
+ ],
+ 'TriggerConfig' => [
+ 'title' => '触发配置, 用于实现对逻辑表的字段依赖',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '{"expression":"any_success"}',
+ ],
+ 'From' => [
+ 'title' => '节点来源',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'DATA_PROCESS',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"NodeInfo\\": {\\n \\"Id\\": \\"n_2321\\",\\n \\"Name\\": \\"xx测试\\",\\n \\"Description\\": \\"xx测试\\",\\n \\"OperatorType\\": \\"SHELL\\",\\n \\"ScheduleType\\": \\"DAILY\\",\\n \\"Priority\\": \\"MIDDLE\\",\\n \\"ProjectInfo\\": {\\n \\"Id\\": \\"1324211\\",\\n \\"Name\\": \\"xx测试\\"\\n },\\n \\"Creator\\": {\\n \\"Id\\": \\"1311131\\",\\n \\"Name\\": \\"xx测试\\"\\n },\\n \\"Owner\\": {\\n \\"Id\\": \\"1311131\\",\\n \\"Name\\": \\"xx测试\\"\\n },\\n \\"Modifier\\": {\\n \\"Id\\": \\"1311131\\",\\n \\"Name\\": \\"xx测试\\"\\n },\\n \\"CreateTime\\": 1717343597000,\\n \\"LastModifiedTime\\": 1717343597000,\\n \\"Status\\": \\"SUCCESS\\",\\n \\"TriggerConfig\\": \\"{\\\\\\"expression\\\\\\":\\\\\\"any_success\\\\\\"}\\",\\n \\"From\\": \\"DATA_PROCESS\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'GetDevObjectDependency' => [
+ 'summary' => '查询开发态对象上游依赖。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'ObjectId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '开发对象id, 对于逻辑表需要传入模型id,对于其他任务需要传入FileId',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '7026498387616064',
+ ],
+ ],
+ [
+ 'name' => 'ObjectType',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '开发对象类型. 任务FileId:FILE_ID, 逻辑表:MODEL_ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '7026498387616064',
+ ],
+ ],
+ [
+ 'name' => 'ObjectFrom',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '开发对象来源. BLACK_BOX: 逻辑表;DATA_PROCESS:计算任务;PIPELINE:集成任务',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'DATA_PROCESS',
+ ],
+ ],
+ [
+ 'name' => 'ProjectId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '项目ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '7021037162911616L',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'DevObjectDependencyList' => [
+ 'title' => '依赖列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '依赖',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ScheduleType' => [
+ 'title' => '调度类型'."\n"
+ .'MINUTELY: 分钟,HOURLY: 小时,DAILY: 天,WEEKLY: 周,MONTHLY: 月,YEARLY: 年',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'DAILY',
+ ],
+ 'NodeName' => [
+ 'title' => '节点名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'ProjectName' => [
+ 'title' => '项目名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'NodeOutputTableName' => [
+ 'title' => '输出表信息 ',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 't_xx',
+ ],
+ 'DependencyPeriod' => [
+ 'title' => '依赖周期配置',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'PeriodType' => [
+ 'title' => '依赖周期类型:CURRENT_PERIOD,LAST_PERIOD,LAST_N_PERIOD,LAST_24_HOUR',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'CURRENT_PERIOD',
+ ],
+ 'PeriodOffset' => [
+ 'title' => '周期偏移量,dependencyPeriodType=LAST_N_PERIOD时须传值'."\n",
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ ],
+ ],
+ 'NodeOutputName' => [
+ 'title' => '节点输出名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'n_xx',
+ ],
+ 'ManuallyAdd' => [
+ 'title' => '是否手动添加',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'BizUnitId' => [
+ 'title' => '业务模块ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '13111',
+ ],
+ 'CustomCronExpression' => [
+ 'title' => '是否自定义调度节点表达式',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'DependencyStrategy' => [
+ 'title' => '依赖策略:ALL,FIRST,LAST,NEAR'."\n",
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'ALL',
+ ],
+ 'BizUnitName' => [
+ 'title' => '业务板块名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'EffectFieldList' => [
+ 'title' => '依赖字段',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '112',
+ ],
+ ],
+ 'CronExpression' => [
+ 'title' => '调度节点表达式',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '0 0 0 * * ?',
+ ],
+ 'SubBizType' => [
+ 'title' => '子业务类型:'."\n"
+ .'DIM_LOGICAL_TABLE,FACT_LOGICAL_TABLE,SUMMARY_LOGICAL_TABLE,MAX_COMPUTE_SQL,MAX_COMPUTE_MR,HIVE_SQL,HADOOP_MR,SPARK_JAR_ON_HIVE,SPARK_SQL_ON_HIVE,SPARK_JAR_ON_MAX_COMPUTE,SHELL,PYTHON,PYTHON37,DATAX,MERGE,DLINK,CHECK,PERL,ONE_SERVICE_SQL_ADB_FOR_PG,ONE_SERVICE_SQL_ADB_FOR_MYSQL,ADB_FOR_PG,INCEPTOR_SQL,VIRTUAL,FLINK_SQL,FLINK_TEMPLATE_SQL,FLINK_DATASTREAM,REAL_TIME_PIPELINE,PAI_DESIGNER,HOLOGRES_SQL,ARGODB_SQL,IMPALA_SQL,STARROCKS_SQL'."\n",
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'SHELL',
+ ],
+ 'DimMidNode' => [
+ 'title' => '是否是维度表中间节点',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'ProjectId' => [
+ 'title' => '项目ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '123131',
+ ],
+ 'BizType' => [
+ 'title' => '业务类型:'."\n"
+ .'SCRIPT: 脚本,LOGICAL_TABLE:逻辑表',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'SCRIPT',
+ ],
+ 'OwnerList' => [
+ 'title' => '节点负责人',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '节点ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '11123',
+ ],
+ 'Name' => [
+ 'title' => '节点名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ ],
+ ],
+ ],
+ 'SelfDepend' => [
+ 'title' => '是否自依赖',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'DependFieldList' => [
+ 'title' => '依赖字段',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '121',
+ ],
+ ],
+ 'ExternalBizInfo' => [
+ 'title' => '额外业务信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'PeriodDiff' => [
+ 'title' => '依赖周期差',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'Valid' => [
+ 'title' => '配置是否生效',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'NodeType' => [
+ 'title' => '节点类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'DATA_PROCESS',
+ ],
+ 'NodeId' => [
+ 'title' => '节点ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'n_13211',
+ ],
+ 'OutputContextParamList' => [
+ 'title' => '跨节点输出参数 ',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'v1',
+ ],
+ 'Description' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'xxtest',
+ ],
+ 'DefaultValue' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'v1',
+ ],
+ ],
+ ],
+ ],
+ 'AutoParse' => [
+ 'title' => '任务是否自动解析 ',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"DevObjectDependencyList\\": [\\n {\\n \\"ScheduleType\\": \\"DAILY\\",\\n \\"NodeName\\": \\"xx测试\\",\\n \\"ProjectName\\": \\"xx测试\\",\\n \\"NodeOutputTableName\\": \\"t_xx\\",\\n \\"DependencyPeriod\\": {\\n \\"PeriodType\\": \\"CURRENT_PERIOD\\",\\n \\"PeriodOffset\\": 1\\n },\\n \\"NodeOutputName\\": \\"n_xx\\",\\n \\"ManuallyAdd\\": false,\\n \\"BizUnitId\\": \\"13111\\",\\n \\"CustomCronExpression\\": true,\\n \\"DependencyStrategy\\": \\"ALL\\",\\n \\"BizUnitName\\": \\"xx测试\\",\\n \\"EffectFieldList\\": [\\n \\"112\\"\\n ],\\n \\"CronExpression\\": \\"0 0 0 * * ?\\",\\n \\"SubBizType\\": \\"SHELL\\",\\n \\"DimMidNode\\": true,\\n \\"ProjectId\\": 123131,\\n \\"BizType\\": \\"SCRIPT\\",\\n \\"OwnerList\\": [\\n {\\n \\"Id\\": \\"11123\\",\\n \\"Name\\": \\"xx测试\\"\\n }\\n ],\\n \\"SelfDepend\\": true,\\n \\"DependFieldList\\": [\\n \\"121\\"\\n ],\\n \\"ExternalBizInfo\\": \\"所有字段信息/hasProd/hasDev等信息\\",\\n \\"PeriodDiff\\": 1,\\n \\"Valid\\": true,\\n \\"NodeType\\": \\"DATA_PROCESS\\",\\n \\"NodeId\\": \\"n_13211\\",\\n \\"OutputContextParamList\\": [\\n {\\n \\"Key\\": \\"v1\\",\\n \\"Description\\": \\"xxtest\\",\\n \\"DefaultValue\\": \\"v1\\"\\n }\\n ],\\n \\"AutoParse\\": true\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'ResumePhysicalNode' => [
+ 'summary' => '恢复物理节点调度。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'ResumeCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '恢复调度请求',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ProjectId' => [
+ 'title' => '项目ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '102011',
+ ],
+ 'NodeIdList' => [
+ 'title' => '节点ID列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '节点ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '30132',
+ ],
+ 'required' => true,
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ [
+ 'name' => 'Env',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '环境标识'."\n"
+ .'DEV:开发环境 '."\n"
+ .'PROD(默认):生产环境',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'PROD',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'NodeOperateResultList' => [
+ 'title' => '',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'NodeId' => [
+ 'title' => '节点ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'n_123456',
+ ],
+ 'Status' => [
+ 'title' => '操作结果',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'SUCCESS',
+ ],
+ 'ErrorMessage' => [
+ 'title' => '操作失败时,异常信息提示',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'xx',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"NodeOperateResultList\\": [\\n {\\n \\"NodeId\\": \\"n_123456\\",\\n \\"Status\\": \\"SUCCESS\\",\\n \\"ErrorMessage\\": \\"xx\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'ExecuteManualNode' => [
+ 'summary' => '运行手动调度节点。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'ExecuteCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '运行手动任务请求',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'NodeId' => [
+ 'title' => '节点ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'n_12132',
+ ],
+ 'FlowName' => [
+ 'title' => '工作流名字',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'xx测试',
+ ],
+ 'ProjectId' => [
+ 'title' => '项目ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '123324',
+ ],
+ 'StartBizDate' => [
+ 'title' => '起始业务日期',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '2024-05-01',
+ ],
+ 'EndBizDate' => [
+ 'title' => '终止业务日期',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '2024-05-07',
+ ],
+ 'ParamList' => [
+ 'title' => '运行参数',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '运行参数',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => [
+ 'title' => '参数',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'param1',
+ ],
+ 'Value' => [
+ 'title' => '参数值',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => false,
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ [
+ 'name' => 'Env',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '环境标识'."\n"
+ .'DEV:开发环境 '."\n"
+ .'PROD(默认):生产环境',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'PROD',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'FlowId' => [
+ 'title' => '工作流ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'f_1231_121324',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"FlowId\\": \\"f_1231_121324\\"\\n}","type":"json"}]',
+ ],
+ 'ListAlertNotifications' => [
+ 'summary' => '根据条件查询多个推送记录',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'ListQuery',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '查询条件',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'UserIdList' => [
+ 'title' => '推送接收人id列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '推送接收人id',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '12345',
+ ],
+ 'required' => false,
+ ],
+ 'NotifyStartTime' => [
+ 'title' => '推送起始时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '2024-11-16 00:00:00',
+ ],
+ 'NotifyEndTime' => [
+ 'title' => '推送结束时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '2024-11-27 13:47:00',
+ ],
+ 'ChannelTypeList' => [
+ 'title' => '推送渠道类型列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '推送渠道类型:'."\n"
+ .'- VOICE:电话'."\n"
+ .'- SMS:短信'."\n"
+ .'- MAIL:邮件'."\n"
+ .'- DINGTALK_ROBOT:邮件'."\n"
+ .'- DINGDING:钉钉工作通知'."\n"
+ .'- CUSTOM:自定义消息渠道'."\n"
+ .'- WECHAT:企业微信'."\n"
+ .'- FEISHU:飞书'."\n"
+ .'- SILENCE:不发送',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'SMS',
+ ],
+ 'required' => false,
+ ],
+ 'CustomChannelIdList' => [
+ 'title' => '自定义消息渠道id列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '自定义消息渠道id',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '12345',
+ ],
+ 'required' => false,
+ ],
+ 'StatusList' => [
+ 'title' => '推送状态列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '推送状态:'."\n"
+ .'- SUCCESS:发送成功'."\n"
+ .'- FAILED:发送失败'."\n"
+ .'- SENDING:发送中',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'SUCCESS',
+ ],
+ 'required' => false,
+ ],
+ 'AlertReasonList' => [
+ 'title' => '告警原因列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '告警原因类型:'."\n"
+ .'- DQE_COLUMN:字段规则异'."\n"
+ .'- DQE_DATA_SOURCE:数据源规则异常'."\n"
+ .'- DQE_CUSTOMIZE:自定义规则异常'."\n"
+ .'- DQE_TABLE:表规则异常'."\n"
+ .'- DQE_REALTIME_TABLE:实时表规则异常'."\n"
+ .'- DQE_INDEX:指标规则异常'."\n"
+ .'- OS_AVG_RESPONSE:平均响应时间异常'."\n"
+ .'- OS_CALL_TIMES:调用次数异常'."\n"
+ .'- OS_ERROR_RATE:错误率异常'."\n"
+ .'- OS_OFFLINE:Offline百分比异常'."\n"
+ .'- STREAM_BIZ_DELAY:业务延迟过高'."\n"
+ .'- STREAM_DATA_RETENTION:数据滞留超过配置'."\n"
+ .'- STREAM_MORE_THAN_FAILURE:失败频率超过配置'."\n"
+ .'- STREAM_TPS_OUT_RANGE:TPS超过范围'."\n"
+ .'- STREAM_CHECKPOINT_FAILURE:checkpoint失败超过配置'."\n"
+ .'- STREAM_BACKPRESSURE:反压持续时间超过配置'."\n"
+ .'- STREAM_JOB_FAILURE:运行失败'."\n"
+ .'- VDM_BATCH_ERROR:出错'."\n"
+ .'- VDM_BATCH_FINISH:完成'."\n"
+ .'- VDM_BATCH_TIME_OUT:运行超时'."\n"
+ .'- VDM_BATCH_UNDONE:未完成'."\n"
+ .'- VDM_BATCH_LOGIC_DATA_DELAY:数据延迟'."\n"
+ .'- QD_DECISION_CALL_TIMES:决策调用次数异常'."\n"
+ .'- QD_DECISION_MAX_RESPONSE:最大响应时间异常'."\n"
+ .'- QD_DECISION_ERROR_RATE:错误率异常'."\n"
+ .'- QD_DECISION_PARAM_COUNT:决策参数统计次数异常'."\n"
+ .'- QD_DECISION_PARAM_PERCENTAGE:决策参数统计百分比异常'."\n"
+ .'- QD_DECISION_PARAM_SUM:决策参数求和异常'."\n"
+ .'- QD_DECISION_PARAM_AVG:决策参数平均值异常'."\n"
+ .'- LOGICAL_INSTANCE_GENERATION:逻辑实例生成监控'."\n"
+ .'- KGB_TASK_ERROR:基线任务出错'."\n"
+ .'- KGB_TASK_SLOW_DOWN:基线任务变慢'."\n"
+ .'- KGB_EARLY_WARNING:基线预警'."\n"
+ .'- KGB_BROKEN_LINE:基线破线'."\n"
+ ."\n"
+ .'等',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'VDM_BATCH_FINISH',
+ ],
+ 'required' => false,
+ ],
+ 'SourceSystem' => [
+ 'title' => '来源系统:'."\n"
+ ."\n"
+ .'- ALL:所有'."\n"
+ .'- DQE:数据质量'."\n"
+ .'- OS:数据服务'."\n"
+ .'- STREAM:实时计算'."\n"
+ .'- VDM_BATCH:离线计算'."\n"
+ .'- SOP:运维平台'."\n"
+ .'- REAL_TIME_PIPELINE:实时集成'."\n"
+ .'- KGB:基线监控'."\n"
+ ."\n"
+ .'等',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'ALL',
+ ],
+ 'MonitoredItemIdList' => [
+ 'title' => '监控项id列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '监控项id',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '12345',
+ ],
+ 'required' => false,
+ ],
+ 'Keyword' => [
+ 'title' => '关键字查询',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ 'Page' => [
+ 'title' => '页码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '1',
+ ],
+ 'PageSize' => [
+ 'title' => '一页数据条数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '10',
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'ListResult' => [
+ 'title' => '查询结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'TotalCount' => [
+ 'title' => '总数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '5',
+ ],
+ 'Data' => [
+ 'title' => '推送记录列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '推送记录信息',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'AlertEventId' => [
+ 'title' => '告警事件id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '12345',
+ ],
+ 'AlertObject' => [
+ 'title' => '告警对象',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'SourceSystemType' => [
+ 'title' => '来源系统:'."\n"
+ ."\n"
+ .'- ALL:所有'."\n"
+ .'- DQE:数据质量'."\n"
+ .'- OS:数据服务'."\n"
+ .'- STREAM:实时计算'."\n"
+ .'- VDM_BATCH:离线计算'."\n"
+ .'- SOP:运维平台'."\n"
+ .'- REAL_TIME_PIPELINE:实时集成'."\n"
+ .'- KGB:基线监控'."\n"
+ ."\n"
+ .'等',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'VDM_BATCH',
+ ],
+ 'Name' => [
+ 'title' => '对象名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'Type' => [
+ 'title' => '告警对象类型:'."\n"
+ .'- OS_API:API接口'."\n"
+ .'- OS_APPLICATION_SERVICE:服务应用'."\n"
+ .'- STREAM_TASK:实时计算'."\n"
+ .'- REAL_TIME_PIPELINE_TASK:实时集成'."\n"
+ .'- VDM_BATCH_SHELL:SHELL'."\n"
+ .'- VDM_BATCH_PYTHON:PYTHON'."\n"
+ .'- VDM_BATCH_DATAX:DATAX'."\n"
+ .'- VDM_BATCH_DLINK:DLINK'."\n"
+ .'- VDM_BATCH_VIRTUAL:VIRTUAL'."\n"
+ .'- VDM_BATCH_PYTHON37:PYTHON37'."\n"
+ .'- VDM_BATCH_PYTHON311:PYTHON311'."\n"
+ .'- VDM_BATCH_MAX_COMPUTE_SQL:MAXCOMPUTE_SQL'."\n"
+ .'- VDM_BATCH_MAX_COMPUTE_MR:MAXCOMPUTE_MR'."\n"
+ .'- VDM_BATCH_SPARK_JAR_ON_MAX_COMPUTE:SPARK_JAR_ON_MAX_COMPUTE'."\n"
+ .'- VDM_BATCH_HIVE_SQL:HIVE_SQL'."\n"
+ .'- VDM_BATCH_HADOOP_MR:HADOOP_MR'."\n"
+ .'- VDM_BATCH_SPARK_JAR_ON_HIVE:SPARK_JAR_ON_HIVE'."\n"
+ .'- VDM_BATCH_SPARK_SQL_ON_HIVE:SPARK_SQL_ON_HIVE'."\n"
+ .'- VDM_BATCH_SPARK_SQL:VDM_BATCH_SPARK_SQL'."\n"
+ .'- DQE_LOGICAL_TABLE:逻辑表'."\n"
+ .'- DQE_PHYSICAL_TABLE:物理表'."\n"
+ .'- DQE_REALTIME_TABLE:实时元表'."\n"
+ .'- DQE_DATA_SOURCE:数据源'."\n"
+ .'- DQE_INDEX:指标'."\n"
+ .'- QD_DECISION_INVOKE:QD决策调用'."\n"
+ .'- BASELINE:基线'."\n"
+ ."\n"
+ .'等',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'VDM_BATCH_SHELL',
+ ],
+ ],
+ ],
+ 'AlertReason' => [
+ 'title' => '告警原因',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => [
+ 'title' => '告警原因类型:'."\n"
+ .'- DQE_COLUMN:字段规则异'."\n"
+ .'- DQE_DATA_SOURCE:数据源规则异常'."\n"
+ .'- DQE_CUSTOMIZE:自定义规则异常'."\n"
+ .'- DQE_TABLE:表规则异常'."\n"
+ .'- DQE_REALTIME_TABLE:实时表规则异常'."\n"
+ .'- DQE_INDEX:指标规则异常'."\n"
+ .'- OS_AVG_RESPONSE:平均响应时间异常'."\n"
+ .'- OS_CALL_TIMES:调用次数异常'."\n"
+ .'- OS_ERROR_RATE:错误率异常'."\n"
+ .'- OS_OFFLINE:Offline百分比异常'."\n"
+ .'- STREAM_BIZ_DELAY:业务延迟过高'."\n"
+ .'- STREAM_DATA_RETENTION:数据滞留超过配置'."\n"
+ .'- STREAM_MORE_THAN_FAILURE:失败频率超过配置'."\n"
+ .'- STREAM_TPS_OUT_RANGE:TPS超过范围'."\n"
+ .'- STREAM_CHECKPOINT_FAILURE:checkpoint失败超过配置'."\n"
+ .'- STREAM_BACKPRESSURE:反压持续时间超过配置'."\n"
+ .'- STREAM_JOB_FAILURE:运行失败'."\n"
+ .'- VDM_BATCH_ERROR:出错'."\n"
+ .'- VDM_BATCH_FINISH:完成'."\n"
+ .'- VDM_BATCH_TIME_OUT:运行超时'."\n"
+ .'- VDM_BATCH_UNDONE:未完成'."\n"
+ .'- VDM_BATCH_LOGIC_DATA_DELAY:数据延迟'."\n"
+ .'- QD_DECISION_CALL_TIMES:决策调用次数异常'."\n"
+ .'- QD_DECISION_MAX_RESPONSE:最大响应时间异常'."\n"
+ .'- QD_DECISION_ERROR_RATE:错误率异常'."\n"
+ .'- QD_DECISION_PARAM_COUNT:决策参数统计次数异常'."\n"
+ .'- QD_DECISION_PARAM_PERCENTAGE:决策参数统计百分比异常'."\n"
+ .'- QD_DECISION_PARAM_SUM:决策参数求和异常'."\n"
+ .'- QD_DECISION_PARAM_AVG:决策参数平均值异常'."\n"
+ .'- LOGICAL_INSTANCE_GENERATION:逻辑实例生成监控'."\n"
+ .'- KGB_TASK_ERROR:基线任务出错'."\n"
+ .'- KGB_TASK_SLOW_DOWN:基线任务变慢'."\n"
+ .'- KGB_EARLY_WARNING:基线预警'."\n"
+ .'- KGB_BROKEN_LINE:基线破线'."\n"
+ ."\n"
+ .'等',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'VDM_BATCH_FINISH',
+ ],
+ 'BizDate' => [
+ 'title' => '业务日期',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '20241125',
+ ],
+ 'UniqueKey' => [
+ 'title' => '唯一标识',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '123456',
+ ],
+ 'AlertReasonParamList' => [
+ 'title' => '告警参数列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '告警参数',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => [
+ 'title' => '告警参数名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'biz_date',
+ ],
+ 'Value' => [
+ 'title' => '告警参数值',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2024-11-24 00:00:00',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'AlertReceiver' => [
+ 'title' => '接收人信息',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'AlertChannelType' => [
+ 'title' => '推送渠道类型:'."\n"
+ .'- VOICE:电话'."\n"
+ .'- SMS:短信'."\n"
+ .'- MAIL:邮件'."\n"
+ .'- DINGTALK_ROBOT:邮件'."\n"
+ .'- DINGDING:钉钉工作通知'."\n"
+ .'- CUSTOM:自定义消息渠道'."\n"
+ .'- WECHAT:企业微信'."\n"
+ .'- FEISHU:飞书'."\n"
+ .'- SILENCE:不发送',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'SMS',
+ ],
+ 'CustomAlertChannelId' => [
+ 'title' => '自定义消息消息渠道id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '123456',
+ ],
+ 'Type' => [
+ 'title' => '告警接收人类型:'."\n"
+ .'- ON_CALL_TABLE:值班表'."\n"
+ .'- USER_DEFINED:自定义用户'."\n"
+ .'- OWNER:负责人',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OWNER',
+ ],
+ 'User' => [
+ 'title' => '用户信息',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => [
+ 'title' => '告警接收人姓名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'ADMIN',
+ ],
+ ],
+ ],
+ 'OnCallTableId' => [
+ 'title' => '值班表id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '12345',
+ ],
+ 'OnCallTableName' => [
+ 'title' => '值班表名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ ],
+ ],
+ 'AlertSend' => [
+ 'title' => '告警发送信息',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Status' => [
+ 'title' => '推送状态:'."\n"
+ .'- SUCCESS:发送成功'."\n"
+ .'- FAILE:发送失败'."\n"
+ .'- SENDING:发送中',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'SUCCESS',
+ ],
+ 'FailReason' => [
+ 'title' => '告警原因',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'SendTime' => [
+ 'title' => '推送时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2024-11-25 10:02:47',
+ ],
+ 'SendContent' => [
+ 'title' => '推送内容',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"ListResult\\": {\\n \\"TotalCount\\": 5,\\n \\"Data\\": [\\n {\\n \\"AlertEventId\\": \\"12345\\",\\n \\"AlertObject\\": {\\n \\"SourceSystemType\\": \\"VDM_BATCH\\",\\n \\"Name\\": \\"test\\",\\n \\"Type\\": \\"VDM_BATCH_SHELL\\"\\n },\\n \\"AlertReason\\": {\\n \\"Type\\": \\"VDM_BATCH_FINISH\\",\\n \\"BizDate\\": \\"20241125\\",\\n \\"UniqueKey\\": \\"123456\\",\\n \\"AlertReasonParamList\\": [\\n {\\n \\"Key\\": \\"biz_date\\",\\n \\"Value\\": \\"2024-11-24 00:00:00\\"\\n }\\n ]\\n },\\n \\"AlertReceiver\\": {\\n \\"AlertChannelType\\": \\"SMS\\",\\n \\"CustomAlertChannelId\\": \\"123456\\",\\n \\"Type\\": \\"OWNER\\",\\n \\"User\\": {\\n \\"Name\\": \\"ADMIN\\"\\n },\\n \\"OnCallTableId\\": \\"12345\\",\\n \\"OnCallTableName\\": \\"test\\"\\n },\\n \\"AlertSend\\": {\\n \\"Status\\": \\"SUCCESS\\",\\n \\"FailReason\\": \\"不合法\\",\\n \\"SendTime\\": \\"2024-11-25 10:02:47\\",\\n \\"SendContent\\": \\"test\\"\\n }\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'ListAlertEvents' => [
+ 'summary' => '根据条件查询多个告警事件',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'ListQuery',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '查询请求',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'UserIdList' => [
+ 'title' => '告警接口人id列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '告警接口人id',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '12345',
+ ],
+ 'required' => false,
+ ],
+ 'AlertStartTime' => [
+ 'title' => '告警起始日期',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '2024-11-16 00:00:00',
+ ],
+ 'AlertEndTime' => [
+ 'title' => '告警结束日期',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '2024-11-27 13:47:00',
+ ],
+ 'StatusList' => [
+ 'title' => '告警状态列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '告警状态:'."\n"
+ .'- ALERTING:告警中'."\n"
+ .'- DO_NOT_DISTURB:免打扰'."\n"
+ .'- SILENCING:告警中(静默期)'."\n"
+ .'- FINISH:告警完成',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'FINISH',
+ ],
+ 'required' => false,
+ ],
+ 'ProjectNameList' => [
+ 'title' => '所属项目列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '所属项目名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'project_1',
+ ],
+ 'required' => false,
+ ],
+ 'BizNameList' => [
+ 'title' => '业务板块列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '业务板块名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'biz_1',
+ ],
+ 'required' => false,
+ ],
+ 'AlertObjectTypeList' => [
+ 'title' => '告警对象类型列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '告警对象类型:'."\n"
+ .'- OS_API:API接口'."\n"
+ .'- OS_APPLICATION_SERVICE:服务应用'."\n"
+ .'- STREAM_TASK:实时计算'."\n"
+ .'- REAL_TIME_PIPELINE_TASK:实时集成'."\n"
+ .'- VDM_BATCH_SHELL:SHELL'."\n"
+ .'- VDM_BATCH_PYTHON:PYTHON'."\n"
+ .'- VDM_BATCH_DATAX:DATAX'."\n"
+ .'- VDM_BATCH_DLINK:DLINK'."\n"
+ .'- VDM_BATCH_VIRTUAL:VIRTUAL'."\n"
+ .'- VDM_BATCH_PYTHON37:PYTHON37'."\n"
+ .'- VDM_BATCH_PYTHON311:PYTHON311'."\n"
+ .'- VDM_BATCH_MAX_COMPUTE_SQL:MAXCOMPUTE_SQL'."\n"
+ .'- VDM_BATCH_MAX_COMPUTE_MR:MAXCOMPUTE_MR'."\n"
+ .'- VDM_BATCH_SPARK_JAR_ON_MAX_COMPUTE:SPARK_JAR_ON_MAX_COMPUTE'."\n"
+ .'- VDM_BATCH_HIVE_SQL:HIVE_SQL'."\n"
+ .'- VDM_BATCH_HADOOP_MR:HADOOP_MR'."\n"
+ .'- VDM_BATCH_SPARK_JAR_ON_HIVE:SPARK_JAR_ON_HIVE'."\n"
+ .'- VDM_BATCH_SPARK_SQL_ON_HIVE:SPARK_SQL_ON_HIVE'."\n"
+ .'- VDM_BATCH_SPARK_SQL:VDM_BATCH_SPARK_SQL'."\n"
+ .'- DQE_LOGICAL_TABLE:逻辑表'."\n"
+ .'- DQE_PHYSICAL_TABLE:物理表'."\n"
+ .'- DQE_REALTIME_TABLE:实时元表'."\n"
+ .'- DQE_DATA_SOURCE:数据源'."\n"
+ .'- DQE_INDEX:指标'."\n"
+ .'- QD_DECISION_INVOKE:QD决策调用'."\n"
+ .'- BASELINE:基线'."\n"
+ ."\n"
+ .'等',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'VDM_BATCH_PYTHON37',
+ ],
+ 'required' => false,
+ ],
+ 'AlertReasonList' => [
+ 'title' => '告警原因列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '告警原因类型:'."\n"
+ .'- DQE_COLUMN:字段规则异'."\n"
+ .'- DQE_DATA_SOURCE:数据源规则异常'."\n"
+ .'- DQE_CUSTOMIZE:自定义规则异常'."\n"
+ .'- DQE_TABLE:表规则异常'."\n"
+ .'- DQE_REALTIME_TABLE:实时表规则异常'."\n"
+ .'- DQE_INDEX:指标规则异常'."\n"
+ .'- OS_AVG_RESPONSE:平均响应时间异常'."\n"
+ .'- OS_CALL_TIMES:调用次数异常'."\n"
+ .'- OS_ERROR_RATE:错误率异常'."\n"
+ .'- OS_OFFLINE:Offline百分比异常'."\n"
+ .'- STREAM_BIZ_DELAY:业务延迟过高'."\n"
+ .'- STREAM_DATA_RETENTION:数据滞留超过配置'."\n"
+ .'- STREAM_MORE_THAN_FAILURE:失败频率超过配置'."\n"
+ .'- STREAM_TPS_OUT_RANGE:TPS超过范围'."\n"
+ .'- STREAM_CHECKPOINT_FAILURE:checkpoint失败超过配置'."\n"
+ .'- STREAM_BACKPRESSURE:反压持续时间超过配置'."\n"
+ .'- STREAM_JOB_FAILURE:运行失败'."\n"
+ .'- VDM_BATCH_ERROR:出错'."\n"
+ .'- VDM_BATCH_FINISH:完成'."\n"
+ .'- VDM_BATCH_TIME_OUT:运行超时'."\n"
+ .'- VDM_BATCH_UNDONE:未完成'."\n"
+ .'- VDM_BATCH_LOGIC_DATA_DELAY:数据延迟'."\n"
+ .'- QD_DECISION_CALL_TIMES:决策调用次数异常'."\n"
+ .'- QD_DECISION_MAX_RESPONSE:最大响应时间异常'."\n"
+ .'- QD_DECISION_ERROR_RATE:错误率异常'."\n"
+ .'- QD_DECISION_PARAM_COUNT:决策参数统计次数异常'."\n"
+ .'- QD_DECISION_PARAM_PERCENTAGE:决策参数统计百分比异常'."\n"
+ .'- QD_DECISION_PARAM_SUM:决策参数求和异常'."\n"
+ .'- QD_DECISION_PARAM_AVG:决策参数平均值异常'."\n"
+ .'- LOGICAL_INSTANCE_GENERATION:逻辑实例生成监控'."\n"
+ .'- KGB_TASK_ERROR:基线任务出错'."\n"
+ .'- KGB_TASK_SLOW_DOWN:基线任务变慢'."\n"
+ .'- KGB_EARLY_WARNING:基线预警'."\n"
+ .'- KGB_BROKEN_LINE:基线破线'."\n"
+ ."\n"
+ .'等',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'VDM_BATCH_FINISH',
+ ],
+ 'required' => false,
+ ],
+ 'SourceSystem' => [
+ 'title' => '来源系统:'."\n"
+ ."\n"
+ .'- ALL:所有'."\n"
+ .'- DQE:数据质量'."\n"
+ .'- OS:数据服务'."\n"
+ .'- STREAM:实时计算'."\n"
+ .'- VDM_BATCH:离线计算'."\n"
+ .'- SOP:运维平台'."\n"
+ .'- REAL_TIME_PIPELINE:实时集成'."\n"
+ .'- KGB:基线监控'."\n"
+ ."\n"
+ .'等',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'ALL',
+ ],
+ 'MonitoredItemIdList' => [
+ 'title' => '监控项id列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '监控项id',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '12345',
+ ],
+ 'required' => false,
+ ],
+ 'Keyword' => [
+ 'title' => '关键字查询',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ 'Page' => [
+ 'title' => '页码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '1',
+ ],
+ 'PageSize' => [
+ 'title' => '一页数据条数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '10',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'ListResult' => [
+ 'title' => '查询结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'TotalCount' => [
+ 'title' => '总数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '5',
+ ],
+ 'Data' => [
+ 'title' => '告警事件查询结果',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '告警事件信息',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '告警事件id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '12345',
+ ],
+ 'AlertObject' => [
+ 'title' => '告警对象',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'SourceSystemType' => [
+ 'title' => '来源系统:'."\n"
+ ."\n"
+ .'- ALL:所有'."\n"
+ .'- DQE:数据质量'."\n"
+ .'- OS:数据服务'."\n"
+ .'- STREAM:实时计算'."\n"
+ .'- VDM_BATCH:离线计算'."\n"
+ .'- SOP:运维平台'."\n"
+ .'- REAL_TIME_PIPELINE:实时集成'."\n"
+ .'- KGB:基线监控'."\n"
+ ."\n"
+ .'等',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'VDM_BATCH',
+ ],
+ 'Name' => [
+ 'title' => '告警对象名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'Type' => [
+ 'title' => '告警对象类型:'."\n"
+ .'- OS_API:API接口'."\n"
+ .'- OS_APPLICATION_SERVICE:服务应用'."\n"
+ .'- STREAM_TASK:实时计算'."\n"
+ .'- REAL_TIME_PIPELINE_TASK:实时集成'."\n"
+ .'- VDM_BATCH_SHELL:SHELL'."\n"
+ .'- VDM_BATCH_PYTHON:PYTHON'."\n"
+ .'- VDM_BATCH_DATAX:DATAX'."\n"
+ .'- VDM_BATCH_DLINK:DLINK'."\n"
+ .'- VDM_BATCH_VIRTUAL:VIRTUAL'."\n"
+ .'- VDM_BATCH_PYTHON37:PYTHON37'."\n"
+ .'- VDM_BATCH_PYTHON311:PYTHON311'."\n"
+ .'- VDM_BATCH_MAX_COMPUTE_SQL:MAXCOMPUTE_SQL'."\n"
+ .'- VDM_BATCH_MAX_COMPUTE_MR:MAXCOMPUTE_MR'."\n"
+ .'- VDM_BATCH_SPARK_JAR_ON_MAX_COMPUTE:SPARK_JAR_ON_MAX_COMPUTE'."\n"
+ .'- VDM_BATCH_HIVE_SQL:HIVE_SQL'."\n"
+ .'- VDM_BATCH_HADOOP_MR:HADOOP_MR'."\n"
+ .'- VDM_BATCH_SPARK_JAR_ON_HIVE:SPARK_JAR_ON_HIVE'."\n"
+ .'- VDM_BATCH_SPARK_SQL_ON_HIVE:SPARK_SQL_ON_HIVE'."\n"
+ .'- VDM_BATCH_SPARK_SQL:VDM_BATCH_SPARK_SQL'."\n"
+ .'- DQE_LOGICAL_TABLE:逻辑表'."\n"
+ .'- DQE_PHYSICAL_TABLE:物理表'."\n"
+ .'- DQE_REALTIME_TABLE:实时元表'."\n"
+ .'- DQE_DATA_SOURCE:数据源'."\n"
+ .'- DQE_INDEX:指标'."\n"
+ .'- QD_DECISION_INVOKE:QD决策调用'."\n"
+ .'- BASELINE:基线'."\n"
+ ."\n"
+ .'等',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'STREAM_TASK',
+ ],
+ ],
+ ],
+ 'LatestAlertTime' => [
+ 'title' => '最新告警时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2024-11-25 10:02:47',
+ ],
+ 'FirstAlertTime' => [
+ 'title' => '首次告警时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2024-11-25 10:02:47',
+ ],
+ 'AlertReceiverList' => [
+ 'title' => '告警接收人列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '告警接收人',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => [
+ 'title' => '告警接收人类型:'."\n"
+ .'- ON_CALL_TABLE:值班表'."\n"
+ .'- USER_DEFINED:自定义用户'."\n"
+ .'- OWNER:负责人',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OWNER',
+ ],
+ 'AlertChannelTypeList' => [
+ 'title' => '告警渠道类型列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '告警渠道类型:'."\n"
+ .'- VOICE:电话'."\n"
+ .'- SMS:短信'."\n"
+ .'- MAIL:邮件'."\n"
+ .'- DINGTALK_ROBOT:邮件'."\n"
+ .'- DINGDING:钉钉工作通知'."\n"
+ .'- CUSTOM:自定义消息渠道'."\n"
+ .'- WECHAT:企业微信'."\n"
+ .'- FEISHU:飞书'."\n"
+ .'- SILENCE:不发送',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'SMS',
+ ],
+ ],
+ 'CustomAlertChannelIdList' => [
+ 'title' => '自定义告警渠道id列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '自定义告警渠道id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '12345',
+ ],
+ ],
+ 'UserList' => [
+ 'title' => '告警用户列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '用户信息',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => [
+ 'title' => '用户名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'ADMIN',
+ ],
+ ],
+ ],
+ ],
+ 'OnCallTableName' => [
+ 'title' => '值班表名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ ],
+ ],
+ ],
+ 'AlertReason' => [
+ 'title' => '告警原因',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => [
+ 'title' => '告警原因类型:'."\n"
+ .'- DQE_COLUMN:字段规则异'."\n"
+ .'- DQE_DATA_SOURCE:数据源规则异常'."\n"
+ .'- DQE_CUSTOMIZE:自定义规则异常'."\n"
+ .'- DQE_TABLE:表规则异常'."\n"
+ .'- DQE_REALTIME_TABLE:实时表规则异常'."\n"
+ .'- DQE_INDEX:指标规则异常'."\n"
+ .'- OS_AVG_RESPONSE:平均响应时间异常'."\n"
+ .'- OS_CALL_TIMES:调用次数异常'."\n"
+ .'- OS_ERROR_RATE:错误率异常'."\n"
+ .'- OS_OFFLINE:Offline百分比异常'."\n"
+ .'- STREAM_BIZ_DELAY:业务延迟过高'."\n"
+ .'- STREAM_DATA_RETENTION:数据滞留超过配置'."\n"
+ .'- STREAM_MORE_THAN_FAILURE:失败频率超过配置'."\n"
+ .'- STREAM_TPS_OUT_RANGE:TPS超过范围'."\n"
+ .'- STREAM_CHECKPOINT_FAILURE:checkpoint失败超过配置'."\n"
+ .'- STREAM_BACKPRESSURE:反压持续时间超过配置'."\n"
+ .'- STREAM_JOB_FAILURE:运行失败'."\n"
+ .'- VDM_BATCH_ERROR:出错'."\n"
+ .'- VDM_BATCH_FINISH:完成'."\n"
+ .'- VDM_BATCH_TIME_OUT:运行超时'."\n"
+ .'- VDM_BATCH_UNDONE:未完成'."\n"
+ .'- VDM_BATCH_LOGIC_DATA_DELAY:数据延迟'."\n"
+ .'- QD_DECISION_CALL_TIMES:决策调用次数异常'."\n"
+ .'- QD_DECISION_MAX_RESPONSE:最大响应时间异常'."\n"
+ .'- QD_DECISION_ERROR_RATE:错误率异常'."\n"
+ .'- QD_DECISION_PARAM_COUNT:决策参数统计次数异常'."\n"
+ .'- QD_DECISION_PARAM_PERCENTAGE:决策参数统计百分比异常'."\n"
+ .'- QD_DECISION_PARAM_SUM:决策参数求和异常'."\n"
+ .'- QD_DECISION_PARAM_AVG:决策参数平均值异常'."\n"
+ .'- LOGICAL_INSTANCE_GENERATION:逻辑实例生成监控'."\n"
+ .'- KGB_TASK_ERROR:基线任务出错'."\n"
+ .'- KGB_TASK_SLOW_DOWN:基线任务变慢'."\n"
+ .'- KGB_EARLY_WARNING:基线预警'."\n"
+ .'- KGB_BROKEN_LINE:基线破线'."\n"
+ ."\n"
+ .'等',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'VDM_BATCH_FINISH',
+ ],
+ 'BizDate' => [
+ 'title' => '业务日期',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2024-11-25 10:02:47',
+ ],
+ 'UniqueKey' => [
+ 'title' => '唯一标识',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 't_6340134343289405440_20241124_639873707610',
+ ],
+ 'AlertReasonParamList' => [
+ 'title' => '告警原因参数列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '告警原因参数',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => [
+ 'title' => '告警原因参数名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'biz_date',
+ ],
+ 'Value' => [
+ 'title' => '告警原因参数值',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2024-11-24 00:00:00',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'BelongProject' => [
+ 'title' => '所属项目',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ProjectName' => [
+ 'title' => '所属项目名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'project_1',
+ ],
+ 'BizName' => [
+ 'title' => '业务板块名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'biz_1',
+ ],
+ ],
+ ],
+ 'Status' => [
+ 'title' => '告警状态:'."\n"
+ .'- ALERTING:告警中'."\n"
+ .'- DO_NOT_DISTURB:免打扰'."\n"
+ .'- SILENCING:告警中(静默期)'."\n"
+ .'- FINISH:告警完成',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'FINISH',
+ ],
+ 'AlertFrequency' => [
+ 'title' => '告警频率',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'ONCE',
+ ],
+ 'TotalAlertTimes' => [
+ 'title' => '告警次数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'DoNotDisturbEndTime' => [
+ 'title' => '消息免打扰到期时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2024-11-25 00:00:00',
+ ],
+ 'UrlConfig' => [
+ 'title' => 'Url信息',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ObjectUrl' => [
+ 'title' => '告警对象页面url',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'https://dataphin.com/ops/test1',
+ ],
+ 'LogUrl' => [
+ 'title' => '日志页面url',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'https://dataphin.com/ops/test2',
+ ],
+ 'AlertConfigUrl' => [
+ 'title' => '告警配置页面url',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'https://dataphin.com/ops/test3',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"ListResult\\": {\\n \\"TotalCount\\": 5,\\n \\"Data\\": [\\n {\\n \\"Id\\": \\"12345\\",\\n \\"AlertObject\\": {\\n \\"SourceSystemType\\": \\"VDM_BATCH\\",\\n \\"Name\\": \\"test\\",\\n \\"Type\\": \\"STREAM_TASK\\"\\n },\\n \\"LatestAlertTime\\": \\"2024-11-25 10:02:47\\",\\n \\"FirstAlertTime\\": \\"2024-11-25 10:02:47\\",\\n \\"AlertReceiverList\\": [\\n {\\n \\"Type\\": \\"OWNER\\",\\n \\"AlertChannelTypeList\\": [\\n \\"SMS\\"\\n ],\\n \\"CustomAlertChannelIdList\\": [\\n \\"12345\\"\\n ],\\n \\"UserList\\": [\\n {\\n \\"Name\\": \\"ADMIN\\"\\n }\\n ],\\n \\"OnCallTableName\\": \\"test\\"\\n }\\n ],\\n \\"AlertReason\\": {\\n \\"Type\\": \\"VDM_BATCH_FINISH\\",\\n \\"BizDate\\": \\"2024-11-25 10:02:47\\",\\n \\"UniqueKey\\": \\"t_6340134343289405440_20241124_639873707610\\",\\n \\"AlertReasonParamList\\": [\\n {\\n \\"Key\\": \\"biz_date\\",\\n \\"Value\\": \\"2024-11-24 00:00:00\\"\\n }\\n ]\\n },\\n \\"BelongProject\\": {\\n \\"ProjectName\\": \\"project_1\\",\\n \\"BizName\\": \\"biz_1\\"\\n },\\n \\"Status\\": \\"FINISH\\",\\n \\"AlertFrequency\\": \\"ONCE\\",\\n \\"TotalAlertTimes\\": 1,\\n \\"DoNotDisturbEndTime\\": \\"2024-11-25 00:00:00\\",\\n \\"UrlConfig\\": {\\n \\"ObjectUrl\\": \\"https://dataphin.com/ops/test1\\",\\n \\"LogUrl\\": \\"https://dataphin.com/ops/test2\\",\\n \\"AlertConfigUrl\\": \\"https://dataphin.com/ops/test3\\"\\n }\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'GetAlertEvent' => [
+ 'summary' => '获取告警事件详情',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'Id',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '告警事件Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '12345',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => '后端响应HttpCode',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码, OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'AlertEventInfo' => [
+ 'title' => '请求结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '告警事件id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '12345',
+ ],
+ 'AlertObject' => [
+ 'title' => '告警对象',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'SourceSystemType' => [
+ 'title' => '来源系统:'."\n"
+ ."\n"
+ .'- ALL:所有'."\n"
+ .'- DQE:数据质量'."\n"
+ .'- OS:数据服务'."\n"
+ .'- STREAM:实时计算'."\n"
+ .'- VDM_BATCH:离线计算'."\n"
+ .'- SOP:运维平台'."\n"
+ .'- REAL_TIME_PIPELINE:实时集成'."\n"
+ .'- KGB:基线监控'."\n"
+ ."\n"
+ .'等',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'ALL',
+ ],
+ 'Name' => [
+ 'title' => '告警对象名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'Type' => [
+ 'title' => '告警对象类型:'."\n"
+ .'- OS_API:API接口'."\n"
+ .'- OS_APPLICATION_SERVICE:服务应用'."\n"
+ .'- STREAM_TASK:实时计算'."\n"
+ .'- REAL_TIME_PIPELINE_TASK:实时集成'."\n"
+ .'- VDM_BATCH_SHELL:SHELL'."\n"
+ .'- VDM_BATCH_PYTHON:PYTHON'."\n"
+ .'- VDM_BATCH_DATAX:DATAX'."\n"
+ .'- VDM_BATCH_DLINK:DLINK'."\n"
+ .'- VDM_BATCH_VIRTUAL:VIRTUAL'."\n"
+ .'- VDM_BATCH_PYTHON37:PYTHON37'."\n"
+ .'- VDM_BATCH_PYTHON311:PYTHON311'."\n"
+ .'- VDM_BATCH_MAX_COMPUTE_SQL:MAXCOMPUTE_SQL'."\n"
+ .'- VDM_BATCH_MAX_COMPUTE_MR:MAXCOMPUTE_MR'."\n"
+ .'- VDM_BATCH_SPARK_JAR_ON_MAX_COMPUTE:SPARK_JAR_ON_MAX_COMPUTE'."\n"
+ .'- VDM_BATCH_HIVE_SQL:HIVE_SQL'."\n"
+ .'- VDM_BATCH_HADOOP_MR:HADOOP_MR'."\n"
+ .'- VDM_BATCH_SPARK_JAR_ON_HIVE:SPARK_JAR_ON_HIVE'."\n"
+ .'- VDM_BATCH_SPARK_SQL_ON_HIVE:SPARK_SQL_ON_HIVE'."\n"
+ .'- VDM_BATCH_SPARK_SQL:VDM_BATCH_SPARK_SQL'."\n"
+ .'- DQE_LOGICAL_TABLE:逻辑表'."\n"
+ .'- DQE_PHYSICAL_TABLE:物理表'."\n"
+ .'- DQE_REALTIME_TABLE:实时元表'."\n"
+ .'- DQE_DATA_SOURCE:数据源'."\n"
+ .'- DQE_INDEX:指标'."\n"
+ .'- QD_DECISION_INVOKE:QD决策调用'."\n"
+ .'- BASELINE:基线'."\n"
+ ."\n"
+ .'等',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'VDM_BATCH_PYTHON37',
+ ],
+ ],
+ ],
+ 'LatestAlertTime' => [
+ 'title' => '最新告警时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2024-11-05 16:19:33',
+ ],
+ 'FirstAlertTime' => [
+ 'title' => '首次告警时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2024-11-05 16:19:33',
+ ],
+ 'AlertReceiverList' => [
+ 'title' => '告警接收人列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '告警接收人',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => [
+ 'title' => '告警接收人类型:'."\n"
+ .'- ON_CALL_TABLE:值班表'."\n"
+ .'- USER_DEFINED:自定义用户'."\n"
+ .'- OWNER:负责人',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OWNER',
+ ],
+ 'AlertChannelTypeList' => [
+ 'title' => '告警渠道类型列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '告警渠道类型:'."\n"
+ .'- VOICE:电话'."\n"
+ .'- SMS:短信'."\n"
+ .'- MAIL:邮件'."\n"
+ .'- DINGTALK_ROBOT:邮件'."\n"
+ .'- DINGDING:钉钉工作通知'."\n"
+ .'- CUSTOM:自定义消息渠道'."\n"
+ .'- WECHAT:企业微信'."\n"
+ .'- FEISHU:飞书'."\n"
+ .'- SILENCE:不发送',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'SMS',
+ ],
+ ],
+ 'CustomAlertChannelIdList' => [
+ 'title' => '自定义告警渠道id列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '自定义告警渠道id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '12345',
+ ],
+ ],
+ 'UserList' => [
+ 'title' => '告警用户列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '用户信息',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => [
+ 'title' => '用户名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'Admin',
+ ],
+ ],
+ ],
+ ],
+ 'OnCallTableName' => [
+ 'title' => '值班表名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ ],
+ ],
+ ],
+ 'AlertReason' => [
+ 'title' => '告警原因',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => [
+ 'title' => '告警原因类型:'."\n"
+ .'- DQE_COLUMN:字段规则异'."\n"
+ .'- DQE_DATA_SOURCE:数据源规则异常'."\n"
+ .'- DQE_CUSTOMIZE:自定义规则异常'."\n"
+ .'- DQE_TABLE:表规则异常'."\n"
+ .'- DQE_REALTIME_TABLE:实时表规则异常'."\n"
+ .'- DQE_INDEX:指标规则异常'."\n"
+ .'- OS_AVG_RESPONSE:平均响应时间异常'."\n"
+ .'- OS_CALL_TIMES:调用次数异常'."\n"
+ .'- OS_ERROR_RATE:错误率异常'."\n"
+ .'- OS_OFFLINE:Offline百分比异常'."\n"
+ .'- STREAM_BIZ_DELAY:业务延迟过高'."\n"
+ .'- STREAM_DATA_RETENTION:数据滞留超过配置'."\n"
+ .'- STREAM_MORE_THAN_FAILURE:失败频率超过配置'."\n"
+ .'- STREAM_TPS_OUT_RANGE:TPS超过范围'."\n"
+ .'- STREAM_CHECKPOINT_FAILURE:checkpoint失败超过配置'."\n"
+ .'- STREAM_BACKPRESSURE:反压持续时间超过配置'."\n"
+ .'- STREAM_JOB_FAILURE:运行失败'."\n"
+ .'- VDM_BATCH_ERROR:出错'."\n"
+ .'- VDM_BATCH_FINISH:完成'."\n"
+ .'- VDM_BATCH_TIME_OUT:运行超时'."\n"
+ .'- VDM_BATCH_UNDONE:未完成'."\n"
+ .'- VDM_BATCH_LOGIC_DATA_DELAY:数据延迟'."\n"
+ .'- QD_DECISION_CALL_TIMES:决策调用次数异常'."\n"
+ .'- QD_DECISION_MAX_RESPONSE:最大响应时间异常'."\n"
+ .'- QD_DECISION_ERROR_RATE:错误率异常'."\n"
+ .'- QD_DECISION_PARAM_COUNT:决策参数统计次数异常'."\n"
+ .'- QD_DECISION_PARAM_PERCENTAGE:决策参数统计百分比异常'."\n"
+ .'- QD_DECISION_PARAM_SUM:决策参数求和异常'."\n"
+ .'- QD_DECISION_PARAM_AVG:决策参数平均值异常'."\n"
+ .'- LOGICAL_INSTANCE_GENERATION:逻辑实例生成监控'."\n"
+ .'- KGB_TASK_ERROR:基线任务出错'."\n"
+ .'- KGB_TASK_SLOW_DOWN:基线任务变慢'."\n"
+ .'- KGB_EARLY_WARNING:基线预警'."\n"
+ .'- KGB_BROKEN_LINE:基线破线'."\n"
+ ."\n"
+ .'等',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'VDM_BATCH_FINISH',
+ ],
+ 'BizDate' => [
+ 'title' => '业务日期',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2024-11-05 16:19:32',
+ ],
+ 'UniqueKey' => [
+ 'title' => '唯一标识',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 't_6340131422711644160_20241104_6340142',
+ ],
+ 'AlertReasonParamList' => [
+ 'title' => '告警原因参数列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '告警原因参数',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => [
+ 'title' => '告警原因参数名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'biz_date',
+ ],
+ 'Value' => [
+ 'title' => '告警原因参数值',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2024-11-04 00:00:00',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'BelongProject' => [
+ 'title' => '所属项目',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ProjectName' => [
+ 'title' => '所属项目名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'project_1',
+ ],
+ 'BizName' => [
+ 'title' => '业务板块名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'biz_1',
+ ],
+ ],
+ ],
+ 'Status' => [
+ 'title' => '告警状态:'."\n"
+ .'- ALERTING:告警中'."\n"
+ .'- DO_NOT_DISTURB:免打扰'."\n"
+ .'- SILENCING:告警中(静默期)'."\n"
+ .'- FINISH:告警完成',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'FINISH',
+ ],
+ 'AlertFrequency' => [
+ 'title' => '告警频率:'."\n"
+ .'- ONCE:即时告警'."\n"
+ .'- PERIOD:周期告警,格式:1HOUR,1MINUTE,1SECOND',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'ONCE',
+ ],
+ 'TotalAlertTimes' => [
+ 'title' => '告警次数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'DoNotDisturbEndTime' => [
+ 'title' => '消息免打扰到期时间',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2024-11-05 00:00:00',
+ ],
+ 'UrlConfig' => [
+ 'title' => 'Url信息',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ObjectUrl' => [
+ 'title' => '告警对象页面Url',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'https://dataphin.com/ops/test1',
+ ],
+ 'LogUrl' => [
+ 'title' => '日志页面Url',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'https://dataphin.com/ops/test2',
+ ],
+ 'AlertConfigUrl' => [
+ 'title' => '告警配置页面url',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'https://dataphin.com/ops/test3',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"successful\\",\\n \\"AlertEventInfo\\": {\\n \\"Id\\": 12345,\\n \\"AlertObject\\": {\\n \\"SourceSystemType\\": \\"ALL\\",\\n \\"Name\\": \\"test\\",\\n \\"Type\\": \\"VDM_BATCH_PYTHON37\\"\\n },\\n \\"LatestAlertTime\\": \\"2024-11-05 16:19:33\\",\\n \\"FirstAlertTime\\": \\"2024-11-05 16:19:33\\",\\n \\"AlertReceiverList\\": [\\n {\\n \\"Type\\": \\"OWNER\\",\\n \\"AlertChannelTypeList\\": [\\n \\"SMS\\"\\n ],\\n \\"CustomAlertChannelIdList\\": [\\n \\"12345\\"\\n ],\\n \\"UserList\\": [\\n {\\n \\"Name\\": \\"Admin\\"\\n }\\n ],\\n \\"OnCallTableName\\": \\"test\\"\\n }\\n ],\\n \\"AlertReason\\": {\\n \\"Type\\": \\"VDM_BATCH_FINISH\\",\\n \\"BizDate\\": \\"2024-11-05 16:19:32\\",\\n \\"UniqueKey\\": \\"t_6340131422711644160_20241104_6340142\\",\\n \\"AlertReasonParamList\\": [\\n {\\n \\"Key\\": \\"biz_date\\",\\n \\"Value\\": \\"2024-11-04 00:00:00\\"\\n }\\n ]\\n },\\n \\"BelongProject\\": {\\n \\"ProjectName\\": \\"project_1\\",\\n \\"BizName\\": \\"biz_1\\"\\n },\\n \\"Status\\": \\"FINISH\\",\\n \\"AlertFrequency\\": \\"ONCE\\",\\n \\"TotalAlertTimes\\": 1,\\n \\"DoNotDisturbEndTime\\": \\"2024-11-05 00:00:00\\",\\n \\"UrlConfig\\": {\\n \\"ObjectUrl\\": \\"https://dataphin.com/ops/test1\\",\\n \\"LogUrl\\": \\"https://dataphin.com/ops/test2\\",\\n \\"AlertConfigUrl\\": \\"https://dataphin.com/ops/test3\\"\\n }\\n }\\n}","type":"json"}]',
+ ],
+ 'RevokeDataServiceApi' => [
+ 'summary' => '回收API授权。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'ProjectId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '数据服务项目Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '102102',
+ ],
+ ],
+ [
+ 'name' => 'RevokeCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '授权指令',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'AppId' => [
+ 'title' => 'App的ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '1203',
+ ],
+ 'ApiId' => [
+ 'title' => 'Api编号',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '1021',
+ ],
+ 'Reason' => [
+ 'title' => '申请原因',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'test',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\"\\n}","type":"json"}]',
+ ],
+ 'PublishDataServiceApi' => [
+ 'summary' => '发布数据服务API到生产环境。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'ProjectId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '数据服务项目Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '102102',
+ ],
+ ],
+ [
+ 'name' => 'ApiId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => 'Api编码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '102102',
+ ],
+ ],
+ [
+ 'name' => 'VersionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => 'Api 版本号',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\"\\n}","type":"json"}]',
+ ],
+ 'ListDataServicePublishedApis' => [
+ 'summary' => '分页查询已发布的API列表。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'ProjectId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '数据服务项目Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '102102',
+ ],
+ ],
+ [
+ 'name' => 'ListQuery',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '检索条件',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'GroupId' => [
+ 'title' => '分组Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '102113',
+ ],
+ 'ApiName' => [
+ 'title' => 'Api名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ 'PageNo' => [
+ 'title' => '页码, 默认1',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ 'PageSize' => [
+ 'title' => '分页记录数, 默认20',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '20',
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'PageResult' => [
+ 'title' => '分页查询结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'TotalCount' => [
+ 'title' => '总记录数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '68',
+ ],
+ 'ApiList' => [
+ 'title' => '分页API列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'GroupName' => [
+ 'title' => 'api分组名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'Owner' => [
+ 'title' => '负责人ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30012011',
+ ],
+ 'Description' => [
+ 'title' => 'api描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test xx',
+ ],
+ 'UpdateRate' => [
+ 'title' => '更新频率: 0 自定义、1 每天、2 每小时、3 每分钟',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'ApiName' => [
+ 'title' => 'api名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'ProjectName' => [
+ 'title' => '服务项目名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'AppCount' => [
+ 'title' => '绑定的应用数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'Mode' => [
+ 'title' => '模式:0 basic,1 dev_prod',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'ApplyStatus' => [
+ 'title' => '申请状态:0 未全部申请:1 已申请、2 无app、需要先申请app',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'ProjectId' => [
+ 'title' => '数据服务项目ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '102101',
+ ],
+ 'GroupId' => [
+ 'title' => '分组id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '102131',
+ ],
+ 'CustomUpdateRate' => [
+ 'title' => '更新频率自定义内容',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '0 0 0/1 * * *',
+ ],
+ 'DeployTime' => [
+ 'title' => '发布时间, 时间格式:yyyy-MM-dd HH:mm:ss',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-06-30 08:00:00',
+ ],
+ 'Version' => [
+ 'title' => 'api版本',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1.0',
+ ],
+ 'LogicUnitNo' => [
+ 'title' => '服务单元编号',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1022',
+ ],
+ 'AppInfoList' => [
+ 'title' => '所引用的app信息列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'AppId' => [
+ 'title' => '应用ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '10211',
+ ],
+ 'AppKey' => [
+ 'title' => 'appKey',
+ 'description' => 'appKey',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1201',
+ ],
+ 'AppName' => [
+ 'title' => '应用名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ ],
+ ],
+ ],
+ 'UpdateTime' => [
+ 'title' => '修改时间, 时间格式:yyyy-MM-dd HH:mm:ss',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-06-30 08:00:00',
+ ],
+ 'CreateType' => [
+ 'title' => '创建类型:0自定义模式,1.向导模式,2-直连API',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'OwnerUserName' => [
+ 'title' => '负责人',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '张三',
+ ],
+ 'CallCount' => [
+ 'title' => '调用次数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '21',
+ ],
+ 'ExecuteMode' => [
+ 'title' => '调用类型 1-同步 2-异步',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'ApiId' => [
+ 'title' => 'api编码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1022',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"PageResult\\": {\\n \\"TotalCount\\": 68,\\n \\"ApiList\\": [\\n {\\n \\"GroupName\\": \\"test\\",\\n \\"Owner\\": \\"30012011\\",\\n \\"Description\\": \\"test xx\\",\\n \\"UpdateRate\\": 1,\\n \\"ApiName\\": \\"test\\",\\n \\"ProjectName\\": \\"test\\",\\n \\"AppCount\\": 1,\\n \\"Mode\\": 1,\\n \\"ApplyStatus\\": 1,\\n \\"ProjectId\\": 102101,\\n \\"GroupId\\": 102131,\\n \\"CustomUpdateRate\\": \\"0 0 0/1 * * *\\",\\n \\"DeployTime\\": \\"2025-06-30 08:00:00\\",\\n \\"Version\\": \\"1.0\\",\\n \\"LogicUnitNo\\": 1022,\\n \\"AppInfoList\\": [\\n {\\n \\"AppId\\": 10211,\\n \\"AppKey\\": 1201,\\n \\"AppName\\": \\"test\\"\\n }\\n ],\\n \\"UpdateTime\\": \\"2025-06-30 08:00:00\\",\\n \\"CreateType\\": 1,\\n \\"OwnerUserName\\": \\"张三\\",\\n \\"CallCount\\": 21,\\n \\"ExecuteMode\\": 1,\\n \\"ApiId\\": 1022\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'ListDataServiceMyAppPermissions' => [
+ 'summary' => '查询当前用户有权限的应用。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'ProjectId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '数据服务项目Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '102102',
+ ],
+ ],
+ [
+ 'name' => 'ListQuery',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '检索条件',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Keyword' => [
+ 'title' => '搜索关键字',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ 'PageNo' => [
+ 'title' => '页码, 默认1',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ 'PageSize' => [
+ 'title' => '分页记录数, 默认20',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '20',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'PageResult' => [
+ 'title' => '分页查询结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'TotalCount' => [
+ 'title' => '总记录数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '68',
+ ],
+ 'PermissionList' => [
+ 'title' => '分页权限列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Owner' => [
+ 'title' => '负责人ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1121',
+ ],
+ 'ProjectName' => [
+ 'title' => '项目名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'ProjectId' => [
+ 'title' => '项目ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '112101',
+ ],
+ 'Creator' => [
+ 'title' => '创建人ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1121',
+ ],
+ 'CreateUserName' => [
+ 'title' => '创建人',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'AppName' => [
+ 'title' => 'App名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'Role' => [
+ 'title' => '角色: 0 负责人',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'PrivilegeBelongTo' => [
+ 'title' => '权限归属人',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1121',
+ ],
+ 'AppId' => [
+ 'title' => 'AppId',
+ 'description' => 'AppId',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1021',
+ ],
+ 'PrivilegeFrom' => [
+ 'title' => '授权来源:0 负责人',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'OwnerUserName' => [
+ 'title' => '负责人',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'CurrentUserRole' => [
+ 'title' => '当前登录用户相对于这条记录的角色: SuperAdmin 当前用户是超管,ProjMan 当前用户对于这条数据是项管,NormalUser 当前用户对于这条数据是普通用户(即非超管且非项管)',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'NormalUser',
+ ],
+ 'RemarkForDebugList' => [
+ 'title' => '描述,用于排查问题',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Value' => [
+ 'title' => '配置项值',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'v1',
+ ],
+ 'Key' => [
+ 'title' => '配置项',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'k1',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"PageResult\\": {\\n \\"TotalCount\\": 68,\\n \\"PermissionList\\": [\\n {\\n \\"Owner\\": \\"1121\\",\\n \\"ProjectName\\": \\"test\\",\\n \\"ProjectId\\": 112101,\\n \\"Creator\\": \\"1121\\",\\n \\"CreateUserName\\": \\"test\\",\\n \\"AppName\\": \\"test\\",\\n \\"Role\\": 0,\\n \\"PrivilegeBelongTo\\": \\"1121\\",\\n \\"AppId\\": 1021,\\n \\"PrivilegeFrom\\": 0,\\n \\"OwnerUserName\\": \\"test\\",\\n \\"CurrentUserRole\\": \\"NormalUser\\",\\n \\"RemarkForDebugList\\": [\\n {\\n \\"Value\\": \\"v1\\",\\n \\"Key\\": \\"k1\\"\\n }\\n ]\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'ListDataServiceMyApiPermissions' => [
+ 'summary' => '获取我管理的API权限列表。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'ProjectId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '数据服务项目Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '102102',
+ ],
+ ],
+ [
+ 'name' => 'ListQuery',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '检索条件',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Keyword' => [
+ 'title' => '搜索关键字',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ 'PageNo' => [
+ 'title' => '页码, 默认1',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ 'PageSize' => [
+ 'title' => '分页记录数, 默认20',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '20',
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'PageResult' => [
+ 'title' => '分页查询结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'TotalCount' => [
+ 'title' => '总记录数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '68',
+ ],
+ 'PermissionList' => [
+ 'title' => '分页权限列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Role' => [
+ 'title' => '角色: 0 负责人',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'Owner' => [
+ 'title' => '负责人ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1121',
+ ],
+ 'PrivilegeBelongTo' => [
+ 'title' => '权限归属人',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1121',
+ ],
+ 'ApiName' => [
+ 'title' => 'API名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'teset',
+ ],
+ 'PrivilegeFrom' => [
+ 'title' => '授权来源:0 负责人',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'ProjectName' => [
+ 'title' => '项目名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'ProjectId' => [
+ 'title' => '项目ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '102122',
+ ],
+ 'OwnerUserName' => [
+ 'title' => '负责人',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'Creator' => [
+ 'title' => '创建人ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1121',
+ ],
+ 'ApiId' => [
+ 'title' => 'Api编号',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1322',
+ ],
+ 'CreateUserName' => [
+ 'title' => '创建人',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"PageResult\\": {\\n \\"TotalCount\\": 68,\\n \\"PermissionList\\": [\\n {\\n \\"Role\\": 0,\\n \\"Owner\\": \\"1121\\",\\n \\"PrivilegeBelongTo\\": \\"1121\\",\\n \\"ApiName\\": \\"teset\\",\\n \\"PrivilegeFrom\\": 0,\\n \\"ProjectName\\": \\"test\\",\\n \\"ProjectId\\": 102122,\\n \\"OwnerUserName\\": \\"test\\",\\n \\"Creator\\": \\"1121\\",\\n \\"ApiId\\": 1322,\\n \\"CreateUserName\\": \\"test\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'ListDataServiceAuthorizedApps' => [
+ 'summary' => '查询当前用户有权限的应用列表。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'ProjectId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '数据服务项目Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '102102',
+ ],
+ ],
+ [
+ 'name' => 'ListQuery',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '检索条件',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Keyword' => [
+ 'title' => '搜索关键字',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ 'PageNo' => [
+ 'title' => '页码, 默认1',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ 'PageSize' => [
+ 'title' => '分页记录数, 默认20',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '20',
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'PageResult' => [
+ 'title' => '分页查询结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'TotalCount' => [
+ 'title' => '总记录数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '68',
+ ],
+ 'AuthorizedAppList' => [
+ 'title' => '分页App授权列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Owner' => [
+ 'title' => '负责人ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1121',
+ ],
+ 'RealHasOwnerPrivilege' => [
+ 'title' => '是否真的有这个app负责人权限(可能因为过期了或者其他情况而无权限)',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'ExpireDate' => [
+ 'title' => '有效期,日期格式:yyyy-MM-dd',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-06-30',
+ ],
+ 'ProjectName' => [
+ 'title' => '项目名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'ProjectId' => [
+ 'title' => '项目ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '102122',
+ ],
+ 'RevocableDetail' => [
+ 'title' => '这个按钮详细的状态:-1 超管不可交还,-2 负责人无法交还,-3 项管且无实际权限置灰,-4 普通用户没权限不可交还,1 项管且有实际权限可以交还,2 普通用户有权限可以交还',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '-1',
+ ],
+ 'AppName' => [
+ 'title' => '应用名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'ApplyUserId' => [
+ 'title' => '权限账号ID(即申请人ID)',
+ 'description' => '',
+ 'type' => 'string',
+ 'enumValueTitles' => [],
+ 'example' => '30012101',
+ ],
+ 'ApplyUserName' => [
+ 'title' => '权限账号(即申请人)',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'AppId' => [
+ 'title' => '应用主键id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1022',
+ ],
+ 'RealHasPrivilege' => [
+ 'title' => '是否实际有权限',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'PrivilegeAccount' => [
+ 'title' => '权限账号:0 个人账号',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'OwnerUserName' => [
+ 'title' => '负责人',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'IsProjectManager' => [
+ 'title' => '当前用户是否项管',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'Id' => [
+ 'title' => '申请ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1121',
+ ],
+ 'RemarkForDebugList' => [
+ 'title' => '描述,用于排查问题',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Value' => [
+ 'title' => '配置项值',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'v1',
+ ],
+ 'Key' => [
+ 'title' => '配置项',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'k1',
+ ],
+ ],
+ ],
+ ],
+ 'Revocable' => [
+ 'title' => '是否可以交还/回收',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'PrivilegeType' => [
+ 'title' => '权限类型:0 使用权限、1 开发权限',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"PageResult\\": {\\n \\"TotalCount\\": 68,\\n \\"AuthorizedAppList\\": [\\n {\\n \\"Owner\\": \\"1121\\",\\n \\"RealHasOwnerPrivilege\\": true,\\n \\"ExpireDate\\": \\"2025-06-30\\",\\n \\"ProjectName\\": \\"test\\",\\n \\"ProjectId\\": 102122,\\n \\"RevocableDetail\\": -1,\\n \\"AppName\\": \\"test\\",\\n \\"ApplyUserId\\": \\"30012101\\",\\n \\"ApplyUserName\\": \\"测试\\",\\n \\"AppId\\": 1022,\\n \\"RealHasPrivilege\\": true,\\n \\"PrivilegeAccount\\": 0,\\n \\"OwnerUserName\\": \\"test\\",\\n \\"IsProjectManager\\": true,\\n \\"Id\\": 1121,\\n \\"RemarkForDebugList\\": [\\n {\\n \\"Value\\": \\"v1\\",\\n \\"Key\\": \\"k1\\"\\n }\\n ],\\n \\"Revocable\\": true,\\n \\"PrivilegeType\\": 1\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'ListDataServiceApiImpacts' => [
+ 'summary' => 'API影响分析列表。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'ProjectId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '数据服务项目Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '102102',
+ ],
+ ],
+ [
+ 'name' => 'ListQuery',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '检索条件',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'PageNo' => [
+ 'title' => '页码, 默认1',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ 'PageSize' => [
+ 'title' => '分页记录数, 默认20',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '20',
+ ],
+ 'StartTime' => [
+ 'title' => '起始时间, 时间格式:yyyy-MM-dd HH:mm:ss',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '2025-06-30 08:00:00',
+ ],
+ 'EndTime' => [
+ 'title' => '截止时间, 时间格式:yyyy-MM-dd HH:mm:ss',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '2025-06-30 20:00:00',
+ ],
+ 'ApiId' => [
+ 'title' => '调用的apiId',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '1021',
+ ],
+ 'OrderColumn' => [
+ 'title' => '排序列:CALL_COUNT 调用次数、ERROR_COUNT 异常次数、ERROR_RATE 错误率; 默认:CALL_COUNT',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'CALL_COUNT',
+ ],
+ 'OrderType' => [
+ 'title' => '排序方式:1 顺序、2 倒序;默认:1',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ 'AppName' => [
+ 'title' => 'app名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'PageResult' => [
+ 'title' => '分页查询结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'TotalCount' => [
+ 'title' => '总记录数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '68',
+ ],
+ 'ImpactList' => [
+ 'title' => 'API影响分析列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ClientFailCount' => [
+ 'title' => '客户端失败数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '2',
+ ],
+ 'TotalTimeCost' => [
+ 'title' => '接口总耗时(包括失败的)',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '231',
+ ],
+ 'SuccessTimeCost' => [
+ 'title' => '成功调用的总耗时',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '99',
+ ],
+ 'ErrorCount' => [
+ 'title' => '异常次数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'ClientIp' => [
+ 'title' => '访问来源IP',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '192.168.1.1',
+ ],
+ 'AppName' => [
+ 'title' => 'app名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'ErrorApiCount' => [
+ 'title' => 'api调用异常数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'TotalCount' => [
+ 'title' => '调用总数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '88',
+ ],
+ 'LastCallTime' => [
+ 'title' => '最近调用时间, 时间格式:yyyy-MM-dd HH:mm:ss',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-06-30 08:00:00',
+ ],
+ 'Minute' => [
+ 'title' => '网关统计时间: yyyy_MMdd_HHmm',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025_0611_1011',
+ ],
+ 'OfflineCount' => [
+ 'title' => '离线数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'AppKey' => [
+ 'title' => 'appKey',
+ 'description' => 'appKey',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1101',
+ ],
+ 'CallCount' => [
+ 'title' => '调用次数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '11',
+ ],
+ 'ApiId' => [
+ 'title' => 'apiNo',
+ 'description' => 'apiNo',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '2011',
+ ],
+ 'ErrorRate' => [
+ 'title' => '错误率',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '10.0',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"PageResult\\": {\\n \\"TotalCount\\": 68,\\n \\"ImpactList\\": [\\n {\\n \\"ClientFailCount\\": 2,\\n \\"TotalTimeCost\\": \\"231\\",\\n \\"SuccessTimeCost\\": \\"99\\",\\n \\"ErrorCount\\": 1,\\n \\"ClientIp\\": \\"192.168.1.1\\",\\n \\"AppName\\": \\"test\\",\\n \\"ErrorApiCount\\": 1,\\n \\"TotalCount\\": 88,\\n \\"LastCallTime\\": \\"2025-06-30 08:00:00\\",\\n \\"Minute\\": \\"2025_0611_1011\\",\\n \\"OfflineCount\\": 1,\\n \\"AppKey\\": 1101,\\n \\"CallCount\\": 11,\\n \\"ApiId\\": 2011,\\n \\"ErrorRate\\": \\"10.0\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'ListDataServiceApiCalls' => [
+ 'summary' => '分页查询数据服务调用日志。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'ProjectId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '数据服务项目Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '102102',
+ ],
+ ],
+ [
+ 'name' => 'ListQuery',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '检索条件',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'PageNo' => [
+ 'title' => '页码, 默认1',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ 'PageSize' => [
+ 'title' => '分页记录数, 默认20',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '20',
+ ],
+ 'AppKey' => [
+ 'title' => 'appKey',
+ 'description' => 'appKey',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '1021',
+ ],
+ 'ApiName' => [
+ 'title' => 'api名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ 'ApiId' => [
+ 'title' => 'api编码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '20122',
+ ],
+ 'StartTime' => [
+ 'title' => '起始时间, 时间格式:yyyy-MM-dd HH:mm:ss',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '2025-06-30 08:00:00',
+ ],
+ 'EndTime' => [
+ 'title' => '截止时间, 时间格式:yyyy-MM-dd HH:mm:ss',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '2025-06-30 20:00:00',
+ ],
+ 'ClientIp' => [
+ 'title' => 'IP地址',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '192.168.1.1',
+ ],
+ 'Successful' => [
+ 'title' => '成功/失败',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'PageResult' => [
+ 'title' => '分页查询结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'TotalCount' => [
+ 'title' => '总记录数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '68',
+ ],
+ 'CallLogList' => [
+ 'title' => '分页API调用列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'EndTime' => [
+ 'title' => '请求结束时间, 格式:yyyy-MM-dd HH:mm:ss.SSS',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2024-11-01 01:01:03.000',
+ ],
+ 'ProjectName' => [
+ 'title' => '项目名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'ResultCount' => [
+ 'title' => '返回数据条数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'Env' => [
+ 'title' => '环境:0 dev,1 prod',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'ClientIp' => [
+ 'title' => '请求IP',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '192.168.1.1',
+ ],
+ 'AppName' => [
+ 'title' => '应用名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'CostTime' => [
+ 'title' => '请求耗时(ms)',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '2000',
+ ],
+ 'ResponseSize' => [
+ 'title' => '响应大小',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1024',
+ ],
+ 'ResponseParameter' => [
+ 'title' => '返回参数',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '{"code":"200","message":"success"}',
+ ],
+ 'AppKey' => [
+ 'title' => '应用Key',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '201211',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'http 状态码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'BizCodeDescription' => [
+ 'title' => '业务状态码描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'ExecuteMode' => [
+ 'title' => '执行模式 1-同步 2-异步',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'JobId' => [
+ 'title' => '任务ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '102356',
+ ],
+ 'HttpStatusDescription' => [
+ 'title' => '状态码描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'BizCode' => [
+ 'title' => '业务状态码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Status' => [
+ 'title' => '任务调用状态',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'RequestId' => [
+ 'title' => '请求id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1234567890-232sds-3e232-ae2e232',
+ ],
+ 'ApiName' => [
+ 'title' => 'api名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'RequestParameter' => [
+ 'title' => '请求参数',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '{"name":"test"}',
+ ],
+ 'RequestSize' => [
+ 'title' => '请求大小',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1024',
+ ],
+ 'StartTime' => [
+ 'title' => '请求开始时间, 格式:yyyy-MM-dd HH:mm:ss.SSS',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2024-11-01 01:01:01.000',
+ ],
+ 'ProjectId' => [
+ 'title' => '项目ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '102356',
+ ],
+ 'Successful' => [
+ 'title' => '是否成功',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'Sql' => [
+ 'title' => 'sql语句',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'select col1 from t_test1 limit 100;',
+ ],
+ 'ExecuteCostTime' => [
+ 'title' => '执行耗时',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1000',
+ ],
+ 'ApiId' => [
+ 'title' => 'Api编号',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '102112',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"PageResult\\": {\\n \\"TotalCount\\": 68,\\n \\"CallLogList\\": [\\n {\\n \\"EndTime\\": \\"2024-11-01 01:01:03.000\\",\\n \\"ProjectName\\": \\"test\\",\\n \\"ResultCount\\": 1,\\n \\"Env\\": 1,\\n \\"ClientIp\\": \\"192.168.1.1\\",\\n \\"AppName\\": \\"test\\",\\n \\"CostTime\\": 2000,\\n \\"ResponseSize\\": 1024,\\n \\"ResponseParameter\\": \\"{\\\\\\"code\\\\\\":\\\\\\"200\\\\\\",\\\\\\"message\\\\\\":\\\\\\"success\\\\\\"}\\",\\n \\"AppKey\\": 201211,\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"BizCodeDescription\\": \\"OK\\",\\n \\"ExecuteMode\\": 1,\\n \\"JobId\\": \\"102356\\",\\n \\"HttpStatusDescription\\": \\"OK\\",\\n \\"BizCode\\": \\"OK\\",\\n \\"Status\\": 1,\\n \\"RequestId\\": \\"1234567890-232sds-3e232-ae2e232\\",\\n \\"ApiName\\": \\"test\\",\\n \\"RequestParameter\\": \\"{\\\\\\"name\\\\\\":\\\\\\"test\\\\\\"}\\",\\n \\"RequestSize\\": 1024,\\n \\"StartTime\\": \\"2024-11-01 01:01:01.000\\",\\n \\"ProjectId\\": 102356,\\n \\"Successful\\": true,\\n \\"Sql\\": \\"select col1 from t_test1 limit 100;\\",\\n \\"ExecuteCostTime\\": 1000,\\n \\"ApiId\\": 102112\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'ListDataServiceApiCallStatistics' => [
+ 'summary' => '查询API运维统计信息。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'ProjectId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '数据服务项目Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '102102',
+ ],
+ ],
+ [
+ 'name' => 'ListQuery',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '检索条件',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'OrderColumn' => [
+ 'title' => '排序列:CALL_COUNT 调用次数、ERROR_COUNT 异常次数、ERROR_RATE 错误率, AVG_RESPONSE_TIME 平均响应时长、OFFLINE_RATE offline百分比; 默认:CALL_COUNT',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'CALL_COUNT',
+ ],
+ 'OrderType' => [
+ 'title' => '排序方式:1 顺序、2 倒序;默认:1',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ 'Keyword' => [
+ 'title' => '搜索关键字',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ 'StartTime' => [
+ 'title' => '起始时间, 时间格式:yyyy-MM-dd HH:mm:ss',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '2025-06-30 08:00:00',
+ ],
+ 'EndTime' => [
+ 'title' => '截止时间, 时间格式:yyyy-MM-dd HH:mm:ss',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '2025-06-30 20:00:00',
+ ],
+ 'PageNo' => [
+ 'title' => '页码, 默认1',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ 'PageSize' => [
+ 'title' => '分页记录数, 默认20',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '20',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'PageResult' => [
+ 'title' => '分页查询结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'TotalCount' => [
+ 'title' => '总记录数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '68',
+ ],
+ 'CallStatisticsList' => [
+ 'title' => 'API调用统计分析列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ApiName' => [
+ 'title' => 'API名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'ProjectName' => [
+ 'title' => '数据服务项目',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'AppNameList' => [
+ 'title' => '',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '授权应用名称',
+ ],
+ ],
+ 'ProjectId' => [
+ 'title' => '数据服务项目Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '101201',
+ ],
+ 'Creator' => [
+ 'title' => '创建人',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30012011',
+ ],
+ 'ErrorCount' => [
+ 'title' => '调用异常次数',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '22',
+ ],
+ 'AuthorizedAppCount' => [
+ 'title' => '授权应用数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'SqlId' => [
+ 'title' => 'sql表主键',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1121',
+ ],
+ 'OfflineRate' => [
+ 'title' => 'offline百分比',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '23.2%',
+ ],
+ 'LastCallTime' => [
+ 'title' => '最近调用时间, 时间格式:yyyy-MM-dd HH:mm:ss',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-06-30 08:00:00',
+ ],
+ 'CallCount' => [
+ 'title' => '调用次数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '100',
+ ],
+ 'AvgResponseTime' => [
+ 'title' => '平均响应时长, 单位毫秒',
+ 'description' => '',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '11',
+ ],
+ 'ApiId' => [
+ 'title' => 'api编码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1003',
+ ],
+ 'ErrorRate' => [
+ 'title' => '错误率',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '23.2%',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"PageResult\\": {\\n \\"TotalCount\\": 68,\\n \\"CallStatisticsList\\": [\\n {\\n \\"ApiName\\": \\"test\\",\\n \\"ProjectName\\": \\"test\\",\\n \\"AppNameList\\": [\\n \\"授权应用名称\\"\\n ],\\n \\"ProjectId\\": 101201,\\n \\"Creator\\": \\"30012011\\",\\n \\"ErrorCount\\": \\"22\\",\\n \\"AuthorizedAppCount\\": 1,\\n \\"SqlId\\": 1121,\\n \\"OfflineRate\\": \\"23.2%\\",\\n \\"LastCallTime\\": \\"2025-06-30 08:00:00\\",\\n \\"CallCount\\": 100,\\n \\"AvgResponseTime\\": 11,\\n \\"ApiId\\": 1003,\\n \\"ErrorRate\\": \\"23.2%\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'GrantDataServiceApi' => [
+ 'summary' => 'API授权。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'ProjectId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '数据服务项目Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '102102',
+ ],
+ ],
+ [
+ 'name' => 'GrantCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '授权指令',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ExpireDate' => [
+ 'title' => '有效期,日期格式:yyyy-MM-dd',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '2025-06-30',
+ ],
+ 'Reason' => [
+ 'title' => '申请原因',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'test',
+ ],
+ 'ApiId' => [
+ 'title' => 'API编号',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '1021',
+ ],
+ 'AppId' => [
+ 'title' => 'AppID',
+ 'description' => 'AppID',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '1201',
+ ],
+ 'ProdFieldList' => [
+ 'title' => 'PROD权限字段列表,basic模式下查询类API必填,操作类API无需填写',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => 'Api权限字段id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => false,
+ ],
+ 'DevFieldList' => [
+ 'title' => 'DEV权限字段列表,dev-prod模式下才需要填,查询类API devFieldList、prodFieldList至少填写1个,操作类API无需填写',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => 'Api权限字段id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => false,
+ ],
+ 'ApplyDev' => [
+ 'title' => '是否申请操作类API的开发环境权限',
+ 'type' => 'boolean',
+ ],
+ 'ApplyProd' => [
+ 'title' => '是否申请操作类API的生产环境权限',
+ 'type' => 'boolean',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\"\\n}","type":"json"}]',
+ ],
+ 'GetDataServiceProjectAddableUsers' => [
+ 'summary' => '获取可添加到项目成员的用户列表。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'ProjectId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '数据服务项目Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '102102',
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'UserList' => [
+ 'title' => '项目成员列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'UserId' => [
+ 'title' => '用户ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30012011',
+ ],
+ 'DisplayName' => [
+ 'title' => '用户昵称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'AccountName' => [
+ 'title' => '用户账号',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '[email protected]',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"UserList\\": [\\n {\\n \\"UserId\\": \\"30012011\\",\\n \\"DisplayName\\": \\"test\\",\\n \\"AccountName\\": \\"[email protected]\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'GetDataServiceMyProjects' => [
+ 'summary' => '当前登录当前用户作为负责人的项目列表。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'ProjectList' => [
+ 'title' => '数据服务项目列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Role' => [
+ 'title' => '角色:1 超管,2 开发用户,3 应用成员,4 服务项目管理员,5.运维用户',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'ProjectName' => [
+ 'title' => '项目名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'ProjectId' => [
+ 'title' => '数据服务项目Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '102011',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"ProjectList\\": [\\n {\\n \\"Role\\": 1,\\n \\"ProjectName\\": \\"test\\",\\n \\"ProjectId\\": 102011\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'GetDataServiceAuthorizedProjects' => [
+ 'summary' => '查询有权限的项目列表。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'ProjectList' => [
+ 'title' => '项目列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Role' => [
+ 'title' => '用户角色: 2 开发用户,3 应用成员,4 服务项目管理员,5 运维用户',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '2',
+ ],
+ 'ProjectName' => [
+ 'title' => '项目名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'ProjectId' => [
+ 'title' => '项目Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1011',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"ProjectList\\": [\\n {\\n \\"Role\\": 2,\\n \\"ProjectName\\": \\"test\\",\\n \\"ProjectId\\": 1011\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'GetDataServiceAuthorizedAppsByGroupId' => [
+ 'summary' => '根据App分组Id查询账号有权限的应用列表。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'ProjectId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '数据服务项目Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '102102',
+ ],
+ ],
+ [
+ 'name' => 'GroupId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => 'App分组Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '202102',
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'AppInfoList' => [
+ 'title' => 'Api分组列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'AppKey' => [
+ 'title' => 'AppKey',
+ 'description' => 'AppKey',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '202212',
+ ],
+ 'Id' => [
+ 'title' => 'AppId',
+ 'description' => 'AppId',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1021',
+ ],
+ 'Name' => [
+ 'title' => 'App名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"AppInfoList\\": [\\n {\\n \\"AppKey\\": 202212,\\n \\"Id\\": 1021,\\n \\"Name\\": \\"test\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'GetDataServiceAppsByGroupId' => [
+ 'summary' => '查询分组下应用列表。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'ProjectId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '数据服务项目Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '102102',
+ ],
+ ],
+ [
+ 'name' => 'GroupId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => 'App分组Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '202102',
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'AppInfoList' => [
+ 'title' => 'Api分组列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => 'AppId',
+ 'description' => 'AppId',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1021',
+ ],
+ 'Name' => [
+ 'title' => 'App名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"AppInfoList\\": [\\n {\\n \\"Id\\": 1021,\\n \\"Name\\": \\"test\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'GetDataServiceAppGroups' => [
+ 'summary' => '查询数据服务项目的应用分组列表。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'ProjectId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '数据服务项目Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '102102',
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'AppGroupList' => [
+ 'title' => 'App分组列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '分组ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1022',
+ ],
+ 'Name' => [
+ 'title' => '分组名字',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"AppGroupList\\": [\\n {\\n \\"Id\\": 1022,\\n \\"Name\\": \\"test\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'GetDataServiceAppAuthorizedUsers' => [
+ 'summary' => '获取应用有权限的用户列表。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'ProjectId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '数据服务项目Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '102102',
+ ],
+ ],
+ [
+ 'name' => 'AppId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => 'AppId',
+ 'description' => 'AppId',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '1022',
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'UserList' => [
+ 'title' => '用户列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'DisplayName' => [
+ 'title' => '展示名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'Id' => [
+ 'title' => '用户ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '30002101',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"UserList\\": [\\n {\\n \\"DisplayName\\": \\"test\\",\\n \\"Id\\": \\"30002101\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'GetDataServiceApiGroups' => [
+ 'summary' => '查询数据服务API分组列表。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'ProjectId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '数据服务项目Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '102102',
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'ApiGroupList' => [
+ 'title' => 'Api分组列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '分组ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '101231',
+ ],
+ 'Name' => [
+ 'title' => '分组名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"ApiGroupList\\": [\\n {\\n \\"Id\\": 101231,\\n \\"Name\\": \\"test\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'GetDataServiceApiErrorImpact' => [
+ 'summary' => '获取API异常影响汇总。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'ProjectId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '数据服务项目Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '102102',
+ ],
+ ],
+ [
+ 'name' => 'StartTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '起始时间, 时间格式:yyyy-MM-dd HH:mm:ss',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '2025-06-30 08:00:00',
+ ],
+ ],
+ [
+ 'name' => 'EndTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '截止时间, 时间格式:yyyy-MM-dd HH:mm:ss',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '2025-06-30 20:00:00',
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'Data' => [
+ 'title' => '调用异常影响汇总',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ErrorAppList' => [
+ 'title' => '异常影响的APP',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'AppId' => [
+ 'title' => 'appId',
+ 'description' => 'appId',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1021',
+ ],
+ 'AppKey' => [
+ 'title' => 'appKey',
+ 'description' => 'appKey',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '100211',
+ ],
+ 'ErrorCount' => [
+ 'title' => 'app异常数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '10',
+ ],
+ 'AppName' => [
+ 'title' => 'app名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'app1',
+ ],
+ ],
+ ],
+ ],
+ 'ErrorApiList' => [
+ 'title' => '异常影响API',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'AppId' => [
+ 'title' => 'api编码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '2012',
+ ],
+ 'ApiName' => [
+ 'title' => 'api名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'ErrorCount' => [
+ 'title' => 'api异常数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '100',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"Data\\": {\\n \\"ErrorAppList\\": [\\n {\\n \\"AppId\\": 1021,\\n \\"AppKey\\": 100211,\\n \\"ErrorCount\\": 10,\\n \\"AppName\\": \\"app1\\"\\n }\\n ],\\n \\"ErrorApiList\\": [\\n {\\n \\"AppId\\": 2012,\\n \\"ApiName\\": \\"test\\",\\n \\"ErrorCount\\": 100\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'GetDataServiceApiDocument' => [
+ 'summary' => '获取API文档。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'Id',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => 'Api编号',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '102101',
+ ],
+ ],
+ [
+ 'name' => 'VersionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '版本',
+ 'description' => '',
+ 'type' => 'string',
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'Data' => [
+ 'title' => 'Api文档',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => [
+ 'title' => 'api名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '测试',
+ ],
+ 'GroupId' => [
+ 'title' => 'api分组Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1011',
+ ],
+ 'GroupName' => [
+ 'title' => 'api分组名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1011',
+ ],
+ 'RequestMethod' => [
+ 'title' => '请求方法: 1 get、2 list',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'UpdateRate' => [
+ 'title' => '更新频率: 0 自定义、1 每天、2 每小时、3 每分钟',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'Description' => [
+ 'title' => '描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'ReturnType' => [
+ 'title' => '返回数据类型: 1 JSON',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'Protocol' => [
+ 'title' => '协议: 1 https、2 http、3 http和https两者',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'Sql' => [
+ 'title' => 'sql语句',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'select col1 from table1;',
+ ],
+ 'RequestParamList' => [
+ 'title' => '请求参数列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'DefaultValue' => [
+ 'title' => '默认值',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1',
+ ],
+ 'Type' => [
+ 'title' => '参数类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'string',
+ ],
+ 'Description' => [
+ 'title' => '参数描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '测试',
+ ],
+ 'IsRequired' => [
+ 'title' => '请求参数是否必填:1、是, 0、选填',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'Sample' => [
+ 'title' => '参数示例',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'Name' => [
+ 'title' => '前端参数名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'col1',
+ ],
+ ],
+ ],
+ ],
+ 'ResponseParamList' => [
+ 'title' => '响应参数列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => [
+ 'title' => '参数类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'string',
+ ],
+ 'Description' => [
+ 'title' => '参数描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '测试',
+ ],
+ 'Sample' => [
+ 'title' => '参数示例',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'Name' => [
+ 'title' => '前端参数名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'col1',
+ ],
+ ],
+ ],
+ ],
+ 'PublicParamList' => [
+ 'title' => '公共参数列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => [
+ 'title' => '参数类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'string',
+ ],
+ 'Description' => [
+ 'title' => '参数描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '测试',
+ ],
+ 'IsRequired' => [
+ 'title' => '请求参数是否必填:1、是, 0、选填',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'Sample' => [
+ 'title' => '参数示例',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'Name' => [
+ 'title' => '前端参数名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'col1',
+ ],
+ ],
+ ],
+ ],
+ 'IsSpecialSql' => [
+ 'title' => '特殊sql: 0 不是、1 是',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'CreateType' => [
+ 'title' => '创建类型: 0 自定义模式、1 向导模式、2-直连API',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'ApiId' => [
+ 'title' => 'Api编号',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '102101',
+ ],
+ 'Mode' => [
+ 'title' => '模式:0 basic、1 dev_prod',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'Env' => [
+ 'title' => '环境:0 dev,1 prod',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'ResultSample' => [
+ 'title' => '调用结果样例',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '{"count": 88}',
+ ],
+ 'BizUnitName' => [
+ 'title' => '业务板块名(仅逻辑表时有值)',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'bizUnit_test',
+ ],
+ 'TableName' => [
+ 'title' => '逻辑表名(仅逻辑表时有值)',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 't_logical_test1',
+ ],
+ 'IsLogicalTable' => [
+ 'title' => '是否逻辑表',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'DirectDatasourceId' => [
+ 'title' => '直连API的数据源ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'DirectDatasourceName' => [
+ 'title' => '直连API的数据源名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'ApiTimeout' => [
+ 'title' => '直连Api超时时长(s)',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '60',
+ ],
+ 'ReturnLimit' => [
+ 'title' => '直连Api最大返回记录数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '100',
+ ],
+ 'ProjectId' => [
+ 'title' => '数据服务项目id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '10201',
+ ],
+ 'ProjectName' => [
+ 'title' => '数据服务项目名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'ResourceGroupId' => [
+ 'title' => '资源组Id',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '10021',
+ ],
+ 'ResourceGroupName' => [
+ 'title' => '资源组名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'OpenCache' => [
+ 'title' => '缓存开关:0 关,1 开',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'CacheTime' => [
+ 'title' => '缓存时长(秒)',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '600',
+ ],
+ 'Timeout' => [
+ 'title' => '超时时长(秒)',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '60',
+ ],
+ 'ScriptType' => [
+ 'title' => '脚本类型: NORMAL_SQL 基础SQL、MYBATIS_SQL 高级SQL、AVIATOR aviator表达式',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'NORMAL_SQL',
+ ],
+ 'ApiRegisterInfo' => [
+ 'title' => 'Api注册信息',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Mode' => [
+ 'title' => '模式:0 basic、1 dev_prod',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'HttpMethod' => [
+ 'title' => '注册API请求方式:1 get、2 post',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '2',
+ ],
+ 'DatasourceId' => [
+ 'title' => 'API数据源ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '102311',
+ ],
+ 'DatasourceName' => [
+ 'title' => 'API数据源名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'Url' => [
+ 'title' => 'API数据源URL地址',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'http://192.168.1.1:8080',
+ ],
+ 'AuthType' => [
+ 'title' => 'API数据源认证方式: 1 BearToken、2 ApiKey、3 None、4 AppKeyAuth、5 BasicAuth',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '3',
+ ],
+ 'Protocol' => [
+ 'title' => 'API数据源请求协议',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'https',
+ ],
+ 'Path' => [
+ 'title' => '服务path',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '/api/test',
+ ],
+ 'Timeout' => [
+ 'title' => '超时时长(秒)',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '60',
+ ],
+ ],
+ ],
+ 'Version' => [
+ 'title' => '版本',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1.0',
+ ],
+ 'IsPagedQuery' => [
+ 'title' => '是否是分页查询: 1 是、0 否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"Data\\": {\\n \\"Name\\": \\"测试\\",\\n \\"GroupId\\": 1011,\\n \\"GroupName\\": \\"1011\\",\\n \\"RequestMethod\\": 1,\\n \\"UpdateRate\\": 1,\\n \\"Description\\": \\"test\\",\\n \\"ReturnType\\": 1,\\n \\"Protocol\\": 1,\\n \\"Sql\\": \\"select col1 from table1;\\",\\n \\"RequestParamList\\": [\\n {\\n \\"DefaultValue\\": \\"1\\",\\n \\"Type\\": \\"string\\",\\n \\"Description\\": \\"测试\\",\\n \\"IsRequired\\": true,\\n \\"Sample\\": \\"test\\",\\n \\"Name\\": \\"col1\\"\\n }\\n ],\\n \\"ResponseParamList\\": [\\n {\\n \\"Type\\": \\"string\\",\\n \\"Description\\": \\"测试\\",\\n \\"Sample\\": \\"test\\",\\n \\"Name\\": \\"col1\\"\\n }\\n ],\\n \\"PublicParamList\\": [\\n {\\n \\"Type\\": \\"string\\",\\n \\"Description\\": \\"测试\\",\\n \\"IsRequired\\": true,\\n \\"Sample\\": \\"test\\",\\n \\"Name\\": \\"col1\\"\\n }\\n ],\\n \\"IsSpecialSql\\": true,\\n \\"CreateType\\": 1,\\n \\"ApiId\\": 102101,\\n \\"Mode\\": 1,\\n \\"Env\\": 1,\\n \\"ResultSample\\": \\"{\\\\\\"count\\\\\\": 88}\\",\\n \\"BizUnitName\\": \\"bizUnit_test\\",\\n \\"TableName\\": \\"t_logical_test1\\",\\n \\"IsLogicalTable\\": true,\\n \\"DirectDatasourceId\\": 1,\\n \\"DirectDatasourceName\\": \\"test\\",\\n \\"ApiTimeout\\": 60,\\n \\"ReturnLimit\\": 100,\\n \\"ProjectId\\": 10201,\\n \\"ProjectName\\": \\"test\\",\\n \\"ResourceGroupId\\": \\"10021\\",\\n \\"ResourceGroupName\\": \\"test\\",\\n \\"OpenCache\\": true,\\n \\"CacheTime\\": \\"600\\",\\n \\"Timeout\\": \\"60\\",\\n \\"ScriptType\\": \\"NORMAL_SQL\\",\\n \\"ApiRegisterInfo\\": {\\n \\"Mode\\": 1,\\n \\"HttpMethod\\": 2,\\n \\"DatasourceId\\": \\"102311\\",\\n \\"DatasourceName\\": \\"test\\",\\n \\"Url\\": \\"http://192.168.1.1:8080\\",\\n \\"AuthType\\": \\"3\\",\\n \\"Protocol\\": \\"https\\",\\n \\"Path\\": \\"/api/test\\",\\n \\"Timeout\\": 60\\n },\\n \\"Version\\": \\"1.0\\",\\n \\"IsPagedQuery\\": true\\n }\\n}","type":"json"}]',
+ ],
+ 'GetDataServiceApiCallTrend' => [
+ 'summary' => '运维监控Api访问趋势分析。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'ProjectId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '数据服务项目Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '102102',
+ ],
+ ],
+ [
+ 'name' => 'StartTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '起始时间, 时间格式:yyyy-MM-dd HH:mm:ss',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '2025-06-30 08:00:00',
+ ],
+ ],
+ [
+ 'name' => 'EndTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '截止时间, 时间格式:yyyy-MM-dd HH:mm:ss',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '2025-06-30 20:00:00',
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'Data' => [
+ 'title' => '访问趋势',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'CallErrorTrendList' => [
+ 'title' => '调用异常趋势,按分钟升序',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Minute' => [
+ 'title' => '分钟,格式:yyyy_MMdd_HHmm',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '3',
+ ],
+ 'CallCount' => [
+ 'title' => '调用次数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1021',
+ ],
+ 'ErrorCount' => [
+ 'title' => '调用异常次数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '102',
+ ],
+ ],
+ ],
+ ],
+ 'CallErrorImpactTrendList' => [
+ 'title' => '调用异常影响趋势,按分钟升序',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ErrorApiCount' => [
+ 'title' => '调用异常API数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '5',
+ ],
+ 'Minute' => [
+ 'title' => '时间刻度,分钟:yyyy-MM-dd HH:mm',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2025-06-30 08:00',
+ ],
+ 'ErrorAppCount' => [
+ 'title' => '影响APP数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'ApiIdList' => [
+ 'title' => 'Api编号',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => 'Api编号',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1203',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"Data\\": {\\n \\"CallErrorTrendList\\": [\\n {\\n \\"Minute\\": \\"3\\",\\n \\"CallCount\\": 1021,\\n \\"ErrorCount\\": 102\\n }\\n ],\\n \\"CallErrorImpactTrendList\\": [\\n {\\n \\"ErrorApiCount\\": 5,\\n \\"Minute\\": \\"2025-06-30 08:00\\",\\n \\"ErrorAppCount\\": 1,\\n \\"ApiIdList\\": [\\n 1203\\n ]\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'GetDataServiceApiCallSummary' => [
+ 'summary' => '运维监控Api调用汇总统计。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'ProjectId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '数据服务项目Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '102102',
+ ],
+ ],
+ [
+ 'name' => 'StartTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '起始时间, 时间格式:yyyy-MM-dd HH:mm:ss',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '2025-06-30 08:00:00',
+ ],
+ ],
+ [
+ 'name' => 'EndTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '截止时间, 时间格式:yyyy-MM-dd HH:mm:ss',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '2025-06-30 20:00:00',
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'Data' => [
+ 'title' => '调用汇总',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'CallCount' => [
+ 'title' => 'API调用次数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1021',
+ ],
+ 'ErrorCount' => [
+ 'title' => '调用异常次数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '102',
+ ],
+ 'ErrorRate' => [
+ 'title' => '错误率',
+ 'description' => '',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '10.01',
+ ],
+ 'OfflineRate' => [
+ 'title' => 'offline百分比',
+ 'description' => '',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '2.03',
+ ],
+ 'ErrorApiCount' => [
+ 'title' => '调用异常API数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '8',
+ ],
+ 'ErrorAppCount' => [
+ 'title' => '异常影响APP数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '2',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"Data\\": {\\n \\"CallCount\\": 1021,\\n \\"ErrorCount\\": 102,\\n \\"ErrorRate\\": 10.01,\\n \\"OfflineRate\\": 2.03,\\n \\"ErrorApiCount\\": 8,\\n \\"ErrorAppCount\\": 2\\n }\\n}","type":"json"}]',
+ ],
+ 'ApplyDataServiceApp' => [
+ 'summary' => '申请应用权限。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'ProjectId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '数据服务项目Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '102102',
+ ],
+ ],
+ [
+ 'name' => 'ApplyCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '申请指令',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ExpireDate' => [
+ 'title' => '有效期,日期格式:yyyy-MM-dd',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '2025-06-30',
+ ],
+ 'Reason' => [
+ 'title' => '申请原因',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'test',
+ ],
+ 'AppId' => [
+ 'title' => 'appId',
+ 'description' => 'appId',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '2011',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\"\\n}","type":"json"}]',
+ ],
+ 'ApplyDataServiceApi' => [
+ 'summary' => '申请API权限。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'ProjectId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '数据服务项目Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '102102',
+ ],
+ ],
+ [
+ 'name' => 'ApplyCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '申请指令',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ExpireDate' => [
+ 'title' => '有效期,日期格式:yyyy-MM-dd',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '2025-06-30',
+ ],
+ 'Reason' => [
+ 'title' => '申请原因',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'test',
+ ],
+ 'ApiId' => [
+ 'title' => 'API编号',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '1021',
+ ],
+ 'AppId' => [
+ 'title' => 'AppId',
+ 'description' => 'AppId',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '1203',
+ ],
+ 'ProdFieldList' => [
+ 'title' => 'PROD权限字段列表,basic模式下必填',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => 'Api权限字段id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '22',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => false,
+ ],
+ 'DevFieldList' => [
+ 'title' => 'DEV权限字段列表,dev-prod模式下才需要填且devFieldList、prodFieldList至少填写1个',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => 'Api权限字段id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '22',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => false,
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\"\\n}","type":"json"}]',
+ ],
+ 'AddDataServiceProjectMember' => [
+ 'summary' => '添加数据服务项目用户并设置角色。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'ProjectId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '数据服务项目Id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '102102',
+ ],
+ ],
+ [
+ 'name' => 'AddCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '新增项目成员指令',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ProjectMemberList' => [
+ 'title' => '新增项目成员列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Role' => [
+ 'title' => '用户角色: 2 开发用户,3 应用成员,4 服务项目管理员,5 运维用户',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '2',
+ ],
+ 'UserId' => [
+ 'title' => '用户ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '30012011',
+ ],
+ 'DisplayName' => [
+ 'title' => '用户昵称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'test',
+ ],
+ 'AccountName' => [
+ 'title' => '用户账号',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '[email protected]',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => true,
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\"\\n}","type":"json"}]',
+ ],
+ 'CreateDataServiceApi' => [
+ 'summary' => '创建新的数据服务API并提交。',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'CreateCommand',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => 'API信息',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ApiName' => [
+ 'title' => 'Api的名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'API_01',
+ ],
+ 'Version' => [
+ 'title' => 'api初始版本名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'V1',
+ ],
+ 'ApiType' => [
+ 'title' => 'Api的类型:'."\n"
+ .'- 3:数据源SQL模式',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'enumValueTitles' => [],
+ 'example' => '3',
+ ],
+ 'Mode' => [
+ 'title' => 'Api的开发模式:'."\n"
+ .'- 0:Basic模式 '."\n"
+ .'- 1:Dev-Prod模式',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '0',
+ ],
+ 'ProjectId' => [
+ 'title' => '数据服务项目ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '123',
+ ],
+ 'ApiGroupId' => [
+ 'title' => 'Api分组ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '101',
+ ],
+ 'ApiGroupName' => [
+ 'title' => 'Api分组名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '',
+ ],
+ 'Description' => [
+ 'title' => 'Api的描述信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ 'RequestType' => [
+ 'title' => 'api的请求方式,可选枚举值包括 :'."\n"
+ .'0(GET):仅返回单条,查询结果唯一 '."\n"
+ .'1(LIST):返回多条'."\n"
+ .'2(CREATE):创建对象,可支持单条或批量创建'."\n"
+ .'3(UPDATE):更新对象,可支持单条或批量更新'."\n"
+ .'4(DELETE):删除对象,可支持单条或批量删除',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '1',
+ ],
+ 'BizProtocol' => [
+ 'title' => '协议,不同的网关类型可支持的协议不同,请查看帮助文档,枚举值:0:HTTP 1:HTTPS',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '0:HTTP 1:HTTPS',
+ 'description' => '0:HTTP 1:HTTPS',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '0',
+ ],
+ 'required' => true,
+ ],
+ 'Timeout' => [
+ 'title' => '超时时间,单位为秒',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '30',
+ ],
+ 'CacheTimeout' => [
+ 'title' => '缓存超时时间,单位为秒',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '600',
+ ],
+ 'UpdateRate' => [
+ 'title' => '更新频次(默认值为1):'."\n"
+ .'0: 自定义'."\n"
+ .'1:天'."\n"
+ .'2:小时'."\n"
+ .'3:分钟',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ 'CustomUpdateRate' => [
+ 'title' => '自定义更新频率,当更新频率(update_rate)为自定义时为必填',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '',
+ ],
+ 'CallMode' => [
+ 'title' => 'API的调用模式,可枚举值包括(默认值为1):'."\n"
+ .'1:同步调用'."\n"
+ .'2:异步调用',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ 'ExecutionTimeout' => [
+ 'title' => 'API执行超时时间,仅对API异步调用API生效,异步调用时必填',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '30',
+ ],
+ 'ScriptDetails' => [
+ 'title' => '脚本API的详情',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Script' => [
+ 'title' => 'sql脚本',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'select a,b,c from table1 where d = ${d}',
+ ],
+ 'IsPaginated' => [
+ 'title' => '结果是否分页,仅当RequestType模式为List时才需要(默认为false)',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ ],
+ 'SqlMode' => [
+ 'title' => 'SQL模式,枚举值:'."\n"
+ .'1:基础模式'."\n"
+ .'2:高级模式',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '1',
+ ],
+ 'SortPriority' => [
+ 'title' => '排序的优先级,仅SQL模式为基础模式时生效(默认值2),枚举值:'."\n"
+ .'1:SQL脚本 '."\n"
+ .'2:OrderByList请求参数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '2',
+ ],
+ 'DatasourceType' => [
+ 'title' => '基于的数据源或数据服务单元的类型,枚举值:'."\n"
+ .'0:数据服务单元 '."\n"
+ .'1:数据源',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '1',
+ ],
+ 'DatasourceID' => [
+ 'title' => '数据源的ID,API模式为直连数据源时必填',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '6668888888888812345L',
+ ],
+ 'ScriptRequestParameters' => [
+ 'title' => '脚本 API 的请求参数列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ParameterName' => [
+ 'title' => '参数名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'd',
+ ],
+ 'ParameterDescription' => [
+ 'title' => '描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '',
+ ],
+ 'ParameterValueType' => [
+ 'title' => '参数值的类型:'."\n"
+ .'1-单值:固定值,用于=、>=、<=、>、<、!=、between等操作符 '."\n"
+ .'2-多值:输入参数为多值,用逗号“,”分隔。用于In、Not In操作符',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '=',
+ ],
+ 'ParameterDataType' => [
+ 'title' => '数据类型 "STRING", "DOUBLE", "INT", "DATE", "LONG", "FLOAT", "BOOLEAN", "SHORT", "BYTE", "BIGDECIMAL", "BINARY", "ARRAY", "Array(int)", "Array(string)"',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'STRING',
+ ],
+ 'ExampleValue' => [
+ 'title' => '示例值',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ 'IsRequiredParameter' => [
+ 'title' => '是否必填',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => true,
+ 'example' => 'false',
+ ],
+ ],
+ 'required' => true,
+ ],
+ 'required' => true,
+ ],
+ 'ScriptResponseParameters' => [
+ 'title' => '脚本 API 的返回参数列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ParameterName' => [
+ 'title' => '参数名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'a',
+ ],
+ 'ParameterDescription' => [
+ 'title' => '描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '',
+ ],
+ 'ParameterDataType' => [
+ 'title' => '数据类型 "STRING", "DOUBLE", "INT", "DATE", "LONG", "FLOAT", "BOOLEAN", "SHORT", "BYTE", "BIGDECIMAL", "BINARY", "ARRAY", "Array(int)", "Array(string)"',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'STRING',
+ ],
+ 'ExampleValue' => [
+ 'title' => '示例值',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'amazing',
+ ],
+ ],
+ 'required' => true,
+ ],
+ 'required' => true,
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'ApiId' => [
+ 'title' => '创建的API编号',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '10086',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"ApiId\\": 10086\\n}","type":"json"}]',
+ ],
+ 'ListApiByApp' => [
+ 'summary' => '根据app查询api列表',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'tags' => [],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'PageQuery',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '分页查询参数',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Keyword' => [
+ 'title' => '关键字',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'apiName',
+ ],
+ 'PageSize' => [
+ 'title' => '分页大小',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '20',
+ ],
+ 'PageNum' => [
+ 'title' => '页码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '1',
+ ],
+ 'AppKey' => [
+ 'title' => 'appKey',
+ 'description' => 'appKey',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '10121101',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ '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' => '82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140',
+ ],
+ 'Success' => [
+ 'title' => '请求成功与否',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP响应码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '后端响应码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '后端相应异常详情',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal error',
+ ],
+ 'ListResult' => [
+ 'title' => '查询结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'TotalCount' => [
+ 'title' => '总数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '100',
+ ],
+ 'Data' => [
+ 'title' => 'api列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => 'API详情',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => 'API的id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '12345',
+ ],
+ 'Name' => [
+ 'title' => 'API名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'exampleApi',
+ ],
+ 'GroupId' => [
+ 'title' => 'API分组id',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '67890',
+ ],
+ 'GroupName' => [
+ 'title' => 'API分组名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'exampleGroup',
+ ],
+ 'RequestMethod' => [
+ 'title' => '请求方法',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'RequestMethodName' => [
+ 'title' => '请求方法名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'GET',
+ ],
+ 'UpdateRate' => [
+ 'title' => '更新频率',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '2',
+ ],
+ 'UpdateRateName' => [
+ 'title' => '更新频率名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '每日更新',
+ ],
+ 'Description' => [
+ 'title' => '描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '这是一个示例API',
+ ],
+ 'ReturnType' => [
+ 'title' => '返回类型',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '3',
+ ],
+ 'ReturnTypeName' => [
+ 'title' => '返回类型名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'JSON',
+ ],
+ 'Protocol' => [
+ 'title' => '协议',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '3',
+ ],
+ 'ProtocolName' => [
+ 'title' => '协议名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'HTTP和HTTPS',
+ ],
+ 'SqlStatement' => [
+ 'title' => 'SQL语句',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'SELECT * FROM example_table',
+ ],
+ 'RequestParamList' => [
+ 'title' => '-',
+ 'description' => '-',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '请求参数响应DTO',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '主键ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1001',
+ ],
+ 'ParamName' => [
+ 'title' => '前端参数名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'param1',
+ ],
+ 'MappingColumn' => [
+ 'title' => '前端绑定字段',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'column1',
+ ],
+ 'ParamType' => [
+ 'title' => '参数类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'String',
+ ],
+ 'Sample' => [
+ 'title' => '参数示例',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'value1',
+ ],
+ 'Description' => [
+ 'title' => '参数描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '这是一个示例参数',
+ ],
+ 'DescriptionCode' => [
+ 'title' => '参数描述码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'CODE_001',
+ ],
+ 'Must' => [
+ 'title' => '请求参数是否必填',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'Optional' => [
+ 'title' => '是否可以编辑',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'DateFormat' => [
+ 'title' => '日期格式',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'yyyy-MM-dd',
+ ],
+ 'Operator' => [
+ 'title' => '操作符',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '=',
+ ],
+ 'OriginalColumn' => [
+ 'title' => '原字段名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'original_column',
+ ],
+ 'InitialValue' => [
+ 'title' => '初始化值',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'app_key_value',
+ ],
+ 'TableAndDsList' => [
+ 'title' => '-',
+ 'description' => '-',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '数据源简单DTO',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'DatasourceId' => [
+ 'title' => '数据源ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'ds12345',
+ ],
+ 'DatasourceName' => [
+ 'title' => '数据源名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'exampleDatasource',
+ ],
+ 'DatasourceType' => [
+ 'title' => '数据源类型',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'DatasourceUrl' => [
+ 'title' => '数据源URL',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'https://example.com/datasource',
+ ],
+ 'TableName' => [
+ 'title' => '表名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'example_table',
+ ],
+ ],
+ ],
+ ],
+ 'ParameterLocation' => [
+ 'title' => '注册API-请求参数位置|返回参数取值路径',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '/path/to/param',
+ ],
+ 'DefaultValue' => [
+ 'title' => '注册API-默认值',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'default_value',
+ ],
+ ],
+ ],
+ ],
+ 'ResponseParamList' => [
+ 'title' => '-',
+ 'description' => '-',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '响应参数响应DTO',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '主键ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '2001',
+ ],
+ 'ParamName' => [
+ 'title' => '前端参数名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'responseParam1',
+ ],
+ 'MappingColumn' => [
+ 'title' => '前端绑定字段',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'responseColumn1',
+ ],
+ 'ParamType' => [
+ 'title' => '参数类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'String',
+ ],
+ 'Sample' => [
+ 'title' => '参数示例',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'responseValue1',
+ ],
+ 'Description' => [
+ 'title' => '参数描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '这是一个示例响应参数',
+ ],
+ 'DescriptionCode' => [
+ 'title' => '参数描述码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'CODE_002',
+ ],
+ 'Must' => [
+ 'title' => '请求参数是否必填',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'Optional' => [
+ 'title' => '是否可以编辑',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'DateFormat' => [
+ 'title' => '日期格式',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'yyyy-MM-dd',
+ ],
+ 'Operator' => [
+ 'title' => '操作符',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '=',
+ ],
+ 'OriginalColumn' => [
+ 'title' => '原字段名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'original_response_column',
+ ],
+ 'InitialValue' => [
+ 'title' => '初始化值',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'app_key_value',
+ ],
+ 'TableAndDsList' => [
+ 'title' => '-',
+ 'description' => '-',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '数据源简单DTO',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'DatasourceId' => [
+ 'title' => '数据源ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'ds67890',
+ ],
+ 'DatasourceName' => [
+ 'title' => '数据源名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'responseDatasource',
+ ],
+ 'DatasourceType' => [
+ 'title' => '数据源类型',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '2',
+ ],
+ 'DatasourceUrl' => [
+ 'title' => '数据源URL',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'https://example.com/response_datasource',
+ ],
+ 'TableName' => [
+ 'title' => '表名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'response_table',
+ ],
+ ],
+ ],
+ ],
+ 'ParameterLocation' => [
+ 'title' => '注册API-请求参数位置|返回参数取值路径',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '/path/to/response_param',
+ ],
+ 'DefaultValue' => [
+ 'title' => '注册API-默认值',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'default_response_value',
+ ],
+ ],
+ ],
+ ],
+ 'PublicParamList' => [
+ 'title' => '-',
+ 'description' => '-',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '公共参数响应DTO',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '主键ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '3001',
+ ],
+ 'ParamName' => [
+ 'title' => '前端参数名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'publicParam1',
+ ],
+ 'MappingColumn' => [
+ 'title' => '前端绑定字段',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'publicColumn1',
+ ],
+ 'ParamType' => [
+ 'title' => '参数类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'String',
+ ],
+ 'Sample' => [
+ 'title' => '参数示例',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'publicValue1',
+ ],
+ 'Description' => [
+ 'title' => '参数描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '这是一个示例公共参数',
+ ],
+ 'DescriptionCode' => [
+ 'title' => '参数描述码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'CODE_003',
+ ],
+ 'Must' => [
+ 'title' => '请求参数是否必填',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'Optional' => [
+ 'title' => '是否可以编辑',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'DateFormat' => [
+ 'title' => '日期格式',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'yyyy-MM-dd',
+ ],
+ 'Operator' => [
+ 'title' => '操作符',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '=',
+ ],
+ 'OriginalColumn' => [
+ 'title' => '原字段名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'original_public_column',
+ ],
+ 'InitialValue' => [
+ 'title' => '初始化值',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'app_key_value',
+ ],
+ 'TableAndDsList' => [
+ 'title' => '-',
+ 'description' => '-',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '数据源简单DTO',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'DatasourceId' => [
+ 'title' => '数据源ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'ds54321',
+ ],
+ 'DatasourceName' => [
+ 'title' => '数据源名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'publicDatasource',
+ ],
+ 'DatasourceType' => [
+ 'title' => '数据源类型',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '3',
+ ],
+ 'DatasourceUrl' => [
+ 'title' => '数据源URL',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'https://example.com/public_datasource',
+ ],
+ 'TableName' => [
+ 'title' => '表名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'public_table',
+ ],
+ ],
+ ],
+ ],
+ 'ParameterLocation' => [
+ 'title' => '注册API-请求参数位置|返回参数取值路径',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '/path/to/public_param',
+ ],
+ 'DefaultValue' => [
+ 'title' => '注册API-默认值',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'default_public_value',
+ ],
+ ],
+ ],
+ ],
+ 'SpecialSql' => [
+ 'title' => '特殊SQL标志',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '0',
+ ],
+ 'CreateType' => [
+ 'title' => '创建类型',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'ApiNo' => [
+ 'title' => 'API编号',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '987654321',
+ ],
+ 'ModelType' => [
+ 'title' => '模式',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '0',
+ ],
+ 'DbEnv' => [
+ 'title' => '数据环境',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '0',
+ ],
+ 'ResultSample' => [
+ 'title' => '调用结果样例',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '{"status":"success","data":[]}',
+ ],
+ 'BizModuleEnName' => [
+ 'title' => '业务板块名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'exampleModule',
+ ],
+ 'TableName' => [
+ 'title' => '逻辑表名',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'exampleTable',
+ ],
+ 'IsLogicalTable' => [
+ 'title' => '是否逻辑表',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'DirectDatasourceId' => [
+ 'title' => '直连API的数据源ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '54321',
+ ],
+ 'DirectDatasourceName' => [
+ 'title' => '直连API的数据源名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'directDatasource',
+ ],
+ 'ApiTimeout' => [
+ 'title' => 'API超时',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '30',
+ ],
+ 'MaxReturnNum' => [
+ 'title' => '最大返回条数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '100',
+ ],
+ 'ProjId' => [
+ 'title' => '服务项目ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '112233',
+ ],
+ 'ProjName' => [
+ 'title' => '服务项目名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'exampleProject',
+ ],
+ 'AppName' => [
+ 'title' => '我的应用',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'exampleApp',
+ ],
+ 'RsGrpId' => [
+ 'title' => '资源组ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'grp12345',
+ ],
+ 'ResourceGroupName' => [
+ 'title' => '资源组名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'exampleResourceGroup',
+ ],
+ 'CacheSwitch' => [
+ 'title' => 'API缓存开关',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1',
+ ],
+ 'CacheTime' => [
+ 'title' => '缓存时长(秒)',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '60',
+ ],
+ 'Timeout' => [
+ 'title' => '超时时长(秒)',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '10',
+ ],
+ 'ScriptType' => [
+ 'title' => '脚本类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'SQL',
+ ],
+ 'RegisterApi' => [
+ 'title' => '注册API信息',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ApiId' => [
+ 'title' => 'data_api主键',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '67890',
+ ],
+ 'ModelType' => [
+ 'title' => '模式',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '0',
+ ],
+ 'HttpMethod' => [
+ 'title' => '注册API请求方式',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'DatasourceId' => [
+ 'title' => 'API数据源ID',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'ds67890',
+ ],
+ 'DatasourceName' => [
+ 'title' => 'API数据源名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'registerDatasource',
+ ],
+ 'Url' => [
+ 'title' => 'API数据源URL地址',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'https://example.com/register_api',
+ ],
+ 'AuthenticationMode' => [
+ 'title' => 'API数据源认证方式',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OAuth2',
+ ],
+ 'Protocol' => [
+ 'title' => 'API数据源请求协议',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'HTTPS',
+ ],
+ 'Path' => [
+ 'title' => '服务path',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '/api/v1/register',
+ ],
+ 'Timeout' => [
+ 'title' => '超时时间',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '30',
+ ],
+ 'SuccessExample' => [
+ 'title' => '成功示例',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '{"status":"success","data":[]}',
+ ],
+ 'FailExample' => [
+ 'title' => '失败示例',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '{"status":"error","message":"Invalid request"}',
+ ],
+ ],
+ ],
+ 'Version' => [
+ 'title' => 'API版本',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'v1.0',
+ ],
+ 'IsPagedQuery' => [
+ 'title' => '是否是分页查询',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '0',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"82E78D6B-AA8F-1FEF-8AA3-5C9DA2A79140\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"internal error\\",\\n \\"ListResult\\": {\\n \\"TotalCount\\": 100,\\n \\"Data\\": [\\n {\\n \\"Id\\": 12345,\\n \\"Name\\": \\"exampleApi\\",\\n \\"GroupId\\": 67890,\\n \\"GroupName\\": \\"exampleGroup\\",\\n \\"RequestMethod\\": 1,\\n \\"RequestMethodName\\": \\"GET\\",\\n \\"UpdateRate\\": 2,\\n \\"UpdateRateName\\": \\"每日更新\\",\\n \\"Description\\": \\"这是一个示例API\\",\\n \\"ReturnType\\": 3,\\n \\"ReturnTypeName\\": \\"JSON\\",\\n \\"Protocol\\": 3,\\n \\"ProtocolName\\": \\"HTTP和HTTPS\\",\\n \\"SqlStatement\\": \\"SELECT * FROM example_table\\",\\n \\"RequestParamList\\": [\\n {\\n \\"Id\\": 1001,\\n \\"ParamName\\": \\"param1\\",\\n \\"MappingColumn\\": \\"column1\\",\\n \\"ParamType\\": \\"String\\",\\n \\"Sample\\": \\"value1\\",\\n \\"Description\\": \\"这是一个示例参数\\",\\n \\"DescriptionCode\\": \\"CODE_001\\",\\n \\"Must\\": 1,\\n \\"Optional\\": 1,\\n \\"DateFormat\\": \\"yyyy-MM-dd\\",\\n \\"Operator\\": \\"=\\",\\n \\"OriginalColumn\\": \\"original_column\\",\\n \\"InitialValue\\": \\"app_key_value\\",\\n \\"TableAndDsList\\": [\\n {\\n \\"DatasourceId\\": \\"ds12345\\",\\n \\"DatasourceName\\": \\"exampleDatasource\\",\\n \\"DatasourceType\\": 1,\\n \\"DatasourceUrl\\": \\"https://example.com/datasource\\",\\n \\"TableName\\": \\"example_table\\"\\n }\\n ],\\n \\"ParameterLocation\\": \\"/path/to/param\\",\\n \\"DefaultValue\\": \\"default_value\\"\\n }\\n ],\\n \\"ResponseParamList\\": [\\n {\\n \\"Id\\": 2001,\\n \\"ParamName\\": \\"responseParam1\\",\\n \\"MappingColumn\\": \\"responseColumn1\\",\\n \\"ParamType\\": \\"String\\",\\n \\"Sample\\": \\"responseValue1\\",\\n \\"Description\\": \\"这是一个示例响应参数\\",\\n \\"DescriptionCode\\": \\"CODE_002\\",\\n \\"Must\\": 1,\\n \\"Optional\\": 1,\\n \\"DateFormat\\": \\"yyyy-MM-dd\\",\\n \\"Operator\\": \\"=\\",\\n \\"OriginalColumn\\": \\"original_response_column\\",\\n \\"InitialValue\\": \\"app_key_value\\",\\n \\"TableAndDsList\\": [\\n {\\n \\"DatasourceId\\": \\"ds67890\\",\\n \\"DatasourceName\\": \\"responseDatasource\\",\\n \\"DatasourceType\\": 2,\\n \\"DatasourceUrl\\": \\"https://example.com/response_datasource\\",\\n \\"TableName\\": \\"response_table\\"\\n }\\n ],\\n \\"ParameterLocation\\": \\"/path/to/response_param\\",\\n \\"DefaultValue\\": \\"default_response_value\\"\\n }\\n ],\\n \\"PublicParamList\\": [\\n {\\n \\"Id\\": 3001,\\n \\"ParamName\\": \\"publicParam1\\",\\n \\"MappingColumn\\": \\"publicColumn1\\",\\n \\"ParamType\\": \\"String\\",\\n \\"Sample\\": \\"publicValue1\\",\\n \\"Description\\": \\"这是一个示例公共参数\\",\\n \\"DescriptionCode\\": \\"CODE_003\\",\\n \\"Must\\": 1,\\n \\"Optional\\": 1,\\n \\"DateFormat\\": \\"yyyy-MM-dd\\",\\n \\"Operator\\": \\"=\\",\\n \\"OriginalColumn\\": \\"original_public_column\\",\\n \\"InitialValue\\": \\"app_key_value\\",\\n \\"TableAndDsList\\": [\\n {\\n \\"DatasourceId\\": \\"ds54321\\",\\n \\"DatasourceName\\": \\"publicDatasource\\",\\n \\"DatasourceType\\": 3,\\n \\"DatasourceUrl\\": \\"https://example.com/public_datasource\\",\\n \\"TableName\\": \\"public_table\\"\\n }\\n ],\\n \\"ParameterLocation\\": \\"/path/to/public_param\\",\\n \\"DefaultValue\\": \\"default_public_value\\"\\n }\\n ],\\n \\"SpecialSql\\": 0,\\n \\"CreateType\\": 1,\\n \\"ApiNo\\": 987654321,\\n \\"ModelType\\": 0,\\n \\"DbEnv\\": 0,\\n \\"ResultSample\\": \\"{\\\\\\"status\\\\\\":\\\\\\"success\\\\\\",\\\\\\"data\\\\\\":[]}\\",\\n \\"BizModuleEnName\\": \\"exampleModule\\",\\n \\"TableName\\": \\"exampleTable\\",\\n \\"IsLogicalTable\\": true,\\n \\"DirectDatasourceId\\": 54321,\\n \\"DirectDatasourceName\\": \\"directDatasource\\",\\n \\"ApiTimeout\\": 30,\\n \\"MaxReturnNum\\": 100,\\n \\"ProjId\\": 112233,\\n \\"ProjName\\": \\"exampleProject\\",\\n \\"AppName\\": \\"exampleApp\\",\\n \\"RsGrpId\\": \\"grp12345\\",\\n \\"ResourceGroupName\\": \\"exampleResourceGroup\\",\\n \\"CacheSwitch\\": \\"1\\",\\n \\"CacheTime\\": \\"60\\",\\n \\"Timeout\\": \\"10\\",\\n \\"ScriptType\\": \\"SQL\\",\\n \\"RegisterApi\\": {\\n \\"ApiId\\": 67890,\\n \\"ModelType\\": 0,\\n \\"HttpMethod\\": 1,\\n \\"DatasourceId\\": \\"ds67890\\",\\n \\"DatasourceName\\": \\"registerDatasource\\",\\n \\"Url\\": \\"https://example.com/register_api\\",\\n \\"AuthenticationMode\\": \\"OAuth2\\",\\n \\"Protocol\\": \\"HTTPS\\",\\n \\"Path\\": \\"/api/v1/register\\",\\n \\"Timeout\\": 30,\\n \\"SuccessExample\\": \\"{\\\\\\"status\\\\\\":\\\\\\"success\\\\\\",\\\\\\"data\\\\\\":[]}\\",\\n \\"FailExample\\": \\"{\\\\\\"status\\\\\\":\\\\\\"error\\\\\\",\\\\\\"message\\\\\\":\\\\\\"Invalid request\\\\\\"}\\"\\n },\\n \\"Version\\": \\"v1.0\\",\\n \\"IsPagedQuery\\": 0\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'ListAuthorizedDataServiceApiDetails' => [
+ 'summary' => '查询应用已申请的API的具体的字段列表',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'OpTenantId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '租户ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '30001011',
+ ],
+ ],
+ [
+ 'name' => 'ListQuery',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '查询请求',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'AppKey' => [
+ 'title' => 'AppKey',
+ 'description' => 'AppKey',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '200000000',
+ ],
+ 'Page' => [
+ 'title' => '页码,从1开始',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'minimum' => '1',
+ 'example' => '1',
+ ],
+ 'PageSize' => [
+ 'title' => '每页显示的条数,最大100条',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'maximum' => '100',
+ 'minimum' => '1',
+ 'example' => '20',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求标识ID,一次请求的唯一标识',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '75DD06F8-1661-5A6E-B0A6-7E23133BDC60',
+ ],
+ 'Success' => [
+ 'title' => '请求是否成功',
+ 'description' => '',
+ 'type' => 'boolean',
+ ],
+ 'HttpStatusCode' => [
+ 'title' => 'HTTP 状态码',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'title' => '请求错误码,OK表示请求正常',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Message' => [
+ 'title' => '请求错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '非法入参',
+ ],
+ 'Result' => [
+ 'title' => '查询结果',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'TotalCount' => [
+ 'title' => '返回总数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '100',
+ ],
+ 'Data' => [
+ 'title' => '返回授权的API详情列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '授权的API详情',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ApiId' => [
+ 'title' => 'API_ID',
+ 'description' => 'API_ID',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '12345',
+ ],
+ 'ApiName' => [
+ 'title' => 'API名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'GetData',
+ ],
+ 'AppId' => [
+ 'title' => '应用 ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '12345',
+ ],
+ 'ProjectId' => [
+ 'title' => '数据服务项目ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '10000',
+ ],
+ 'Description' => [
+ 'title' => 'API描述信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'Description1',
+ ],
+ 'DevAuthPeriod' => [
+ 'title' => '开发环境API权限有效期',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2035-12-31',
+ ],
+ 'ProdAuthPeriod' => [
+ 'title' => '生产环境API权限有效期',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2035-12-31',
+ ],
+ 'AuthType' => [
+ 'title' => '权限类型',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '使用权限',
+ ],
+ 'AuthorizedDevReturnParameters' => [
+ 'title' => 'API开发环境授权的字段列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '字段对象',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ParameterName' => [
+ 'title' => '参数名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'param1',
+ ],
+ 'ParameterDataType' => [
+ 'title' => '参数类型',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ 'enum' => [
+ '0:String',
+ '1:Int',
+ '2:Short',
+ '3:Long',
+ '4:Float',
+ '5:Double',
+ '6:Byte',
+ '7:Boolean',
+ '8:Binary',
+ '9:Bigdecimal',
+ '10:DATE(yyy-MM-dd HH:mm:ss)',
+ '11:Array',
+ '12:Array(int)',
+ '13:Array(string)',
+ ],
+ ],
+ 'ParameterDescription' => [
+ 'title' => '描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'description1',
+ ],
+ 'ExampleValue' => [
+ 'title' => '示例值',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'example1',
+ ],
+ 'IsAuthorized' => [
+ 'title' => '字段授权情况',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ 'enum' => [
+ '',
+ '',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'AuthorizedProdReturnParameters' => [
+ 'title' => 'API生产环境授权的字段列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '字段对象',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ParameterName' => [
+ 'title' => '参数名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'param1',
+ ],
+ 'ParameterDataType' => [
+ 'title' => '参数类型',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ 'enum' => [
+ '0:String',
+ '1:Int',
+ '2:Short',
+ '3:Long',
+ '4:Float',
+ '5:Double',
+ '6:Byte',
+ '7:Boolean',
+ '8:Binary',
+ '9:Bigdecimal',
+ '10:DATE(yyy-MM-dd HH:mm:ss)',
+ '11:Array',
+ '12:Array(int)',
+ '13:Array(string)',
+ ],
+ ],
+ 'ParameterDescription' => [
+ 'title' => '描述',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'description1',
+ ],
+ 'ExampleValue' => [
+ 'title' => '示例值',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'example1',
+ ],
+ 'IsAuthorized' => [
+ 'title' => '字段授权情况',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ 'enum' => [
+ '',
+ '',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 401 => [
+ [
+ 'errorCode' => 'DataphinOpenAPIRamUnAuthorized',
+ 'errorMessage' => 'You are not authorized to do this action, you should be authorized by RAM.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'DataphinOpenApiForbidden',
+ 'errorMessage' => 'Openapi request is forbidden, may tenantId invalid.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'DataphinOpenApiNotAcceptable',
+ 'errorMessage' => 'Request not acceptable, may exceed quota limit.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75DD06F8-1661-5A6E-B0A6-7E23133BDC60\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"非法入参\\",\\n \\"Result\\": {\\n \\"TotalCount\\": 100,\\n \\"Data\\": [\\n {\\n \\"ApiId\\": 12345,\\n \\"ApiName\\": \\"GetData\\",\\n \\"AppId\\": 12345,\\n \\"ProjectId\\": 10000,\\n \\"Description\\": \\"Description1\\",\\n \\"DevAuthPeriod\\": \\"2035-12-31\\",\\n \\"ProdAuthPeriod\\": \\"2035-12-31\\",\\n \\"AuthType\\": \\"使用权限\\",\\n \\"AuthorizedDevReturnParameters\\": [\\n {\\n \\"ParameterName\\": \\"param1\\",\\n \\"ParameterDataType\\": 0,\\n \\"ParameterDescription\\": \\"description1\\",\\n \\"ExampleValue\\": \\"example1\\",\\n \\"IsAuthorized\\": 1\\n }\\n ],\\n \\"AuthorizedProdReturnParameters\\": [\\n {\\n \\"ParameterName\\": \\"param1\\",\\n \\"ParameterDataType\\": 0,\\n \\"ParameterDescription\\": \\"description1\\",\\n \\"ExampleValue\\": \\"example1\\",\\n \\"IsAuthorized\\": 1\\n }\\n ]\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ ],
+ 'endpoints' => [
+ [
+ 'regionId' => 'cn-shenzhen',
+ 'endpoint' => 'dataphin-public.cn-shenzhen.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-beijing',
+ 'endpoint' => 'dataphin-public.cn-beijing.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-hangzhou',
+ 'endpoint' => 'dataphin-public.cn-hangzhou.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-shanghai',
+ 'endpoint' => 'dataphin-public.cn-shanghai.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-chengdu',
+ 'endpoint' => 'dataphin-public.cn-chengdu.aliyuncs.com',
+ ],
+ ],
+];