From 7347bac4ab7e136157fc94777e6cf87ef9e08599 Mon Sep 17 00:00:00 2001 From: Zhineng Li Date: Fri, 13 Feb 2026 10:54:11 +0800 Subject: first commit --- data/en_us/datahub/2024-06-20/api-docs.php | 2861 ++++++++++++++++++++++++++++ 1 file changed, 2861 insertions(+) create mode 100644 data/en_us/datahub/2024-06-20/api-docs.php (limited to 'data/en_us/datahub/2024-06-20/api-docs.php') diff --git a/data/en_us/datahub/2024-06-20/api-docs.php b/data/en_us/datahub/2024-06-20/api-docs.php new file mode 100644 index 0000000..40112ec --- /dev/null +++ b/data/en_us/datahub/2024-06-20/api-docs.php @@ -0,0 +1,2861 @@ + '1.0', + 'info' => [ + 'style' => 'RPC', + 'product' => 'datahub', + 'version' => '2024-06-20', + ], + 'directories' => [ + [ + 'id' => 377654, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'GetRecords', + 'PutRecords', + ], + ], + [ + 'id' => 377657, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'ListConnectors', + 'GetConnector', + ], + ], + [ + 'id' => 377658, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'GetGroup', + 'ListGroups', + 'ListSubscriptions', + 'GetSubscription', + ], + ], + [ + 'id' => 377659, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'GetTopic', + 'ListTopics', + 'GetSchema', + 'ListSchemas', + ], + ], + [ + 'id' => 377660, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'GetProject', + 'ListProjects', + ], + ], + ], + 'components' => [ + 'schemas' => [], + ], + 'apis' => [ + 'GetRecords' => [ + 'summary' => '读取Topic数据', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREdatahubB2GCPA', + ], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'ProjectName', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'test_project', + ], + ], + [ + 'name' => 'TopicName', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'test_topic', + ], + ], + [ + 'name' => 'ShardId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => '7', + ], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'docRequired' => false, + 'example' => '1769065251123', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'A20A7093-8FE0-058C-BE0C-3C8057D5F1A1', + ], + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'True', + ], + 'Records' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '10', + ], + ], + 'Attributes' => [ + 'description' => '', + 'type' => 'object', + 'additionalProperties' => [ + 'type' => 'string', + 'description' => '', + 'example' => 'key:val', + ], + ], + 'SystemTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1769065251123', + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'Error:%s.', + ], + [ + 'errorCode' => 'MissingParameter', + 'errorMessage' => 'Error:%s.', + ], + ], + 403 => [ + [ + 'errorCode' => 'NoPermission', + 'errorMessage' => 'Error:%s.', + ], + [ + 'errorCode' => 'OperationDenied', + 'errorMessage' => 'Error:%s.', + ], + ], + [ + [ + 'errorCode' => 'ResourceNotFound', + 'errorMessage' => 'Error:%s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalServerError', + 'errorMessage' => 'Error:%s.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A20A7093-8FE0-058C-BE0C-3C8057D5F1A1\\",\\n \\"Success\\": true,\\n \\"Records\\": [\\n {\\n \\"Data\\": [\\n \\"10\\"\\n ],\\n \\"Attributes\\": {\\n \\"key\\": \\"key:val\\"\\n },\\n \\"SystemTime\\": 1769065251123\\n }\\n ]\\n}","type":"json"}]', + ], + 'PutRecords' => [ + 'summary' => '写入数据', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREdatahubB2GCPA', + ], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'ProjectName', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'test_project', + ], + ], + [ + 'name' => 'TopicName', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'test_topic', + ], + ], + [ + 'name' => 'ShardId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => '7', + ], + ], + [ + 'name' => 'Records', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'aa', + ], + 'required' => true, + 'example' => '["aa", "bb", "12", "12.34"]', + 'maxItems' => 100, + ], + 'Attributes' => [ + 'description' => '', + 'type' => 'object', + 'required' => false, + 'additionalProperties' => [ + 'type' => 'string', + 'example' => 'key:val', + 'description' => '', + ], + 'example' => '{"key1":"val1","key2":"val2"}', + ], + ], + 'required' => false, + ], + 'required' => true, + 'docRequired' => true, + 'maxItems' => 100, + 'minItems' => 1, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'A20A7093-8FE0-058C-BE0C-3C8057D5F1A1', + ], + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'True', + ], + 'ShardId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '7', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'Error:%s.', + ], + [ + 'errorCode' => 'MissingParameter', + 'errorMessage' => 'Error:%s.', + ], + ], + 403 => [ + [ + 'errorCode' => 'NoPermission', + 'errorMessage' => 'Error:%s.', + ], + [ + 'errorCode' => 'OperationDenied', + 'errorMessage' => 'Error:%s.', + ], + ], + [ + [ + 'errorCode' => 'ResourceNotFound', + 'errorMessage' => 'Error:%s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalServerError', + 'errorMessage' => 'Error:%s.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A20A7093-8FE0-058C-BE0C-3C8057D5F1A1\\",\\n \\"Success\\": true,\\n \\"ShardId\\": \\"7\\"\\n}","type":"json"}]', + ], + 'ListConnectors' => [ + 'summary' => '查询Connector列表信息', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREdatahubB2GCPA', + ], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'ProjectName', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'test_project', + ], + ], + [ + 'name' => 'TopicName', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'test_topic', + ], + ], + [ + 'name' => 'Skip', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'docRequired' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'docRequired' => false, + 'maximum' => '100', + 'minimum' => '0', + 'exclusiveMinimum' => true, + 'example' => '5', + 'default' => '5', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => '9892074a2a89600ae4b0d5a34fb99a3f', + ], + ], + [ + 'name' => 'Keyword', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => 'dh', + ], + ], + [ + 'name' => 'Pure', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'docRequired' => false, + 'enumValueTitles' => [ + 'true' => 'true', + 'false' => 'false', + ], + 'example' => 'false', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'A20A7093-8FE0-058C-BE0C-3C8057D5F1A1', + ], + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'True', + ], + 'TotalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '50', + ], + 'MaxResults' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'NextToken' => [ + 'description' => '', + 'type' => 'string', + 'example' => '9892074a2a89600ae4b0d5a34fb99a3f', + ], + 'List' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'Connector' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ProjectName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'test_project', + ], + 'TopicName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'test_topic', + ], + 'ConnectorId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'fa44384c-0ac5-4d3e-8acd-76e18636ab10', + ], + 'SubscriptionId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1745824636429WZ2EE', + ], + 'Type' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'SOURCE_DTS' => 'SOURCE_DTS', + 'SINK_ODPS' => 'SINK_ODPS', + 'SINK_DATAHUB' => 'SINK_DATAHUB', + 'SINK_MYSQL' => 'SINK_MYSQL', + 'SINK_HOLOGRES' => 'SINK_HOLOGRES', + 'SINK_ADS' => 'SINK_ADS', + 'SINK_OSS' => 'SINK_OSS', + 'SINK_FC' => 'SINK_FC', + 'SINK_OTS' => 'SINK_OTS', + 'SINK_ES' => 'SINK_ES', + ], + 'example' => 'SINK_ODPS', + ], + 'State' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'PAUSED' => 'PAUSED', + 'CREATED' => 'CREATED', + 'RUNNING' => 'RUNNING', + 'STOPPED' => 'STOPPED', + ], + 'example' => 'RUNNING', + ], + 'DoneTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2025-12-04 16:45:00', + ], + 'ColumnFields' => [ + 'description' => '', + 'type' => 'string', + 'example' => '[\\"field1\\",\\"field2\\"]', + ], + 'Config' => [ + 'description' => '', + 'type' => 'string', + 'example' => '{\\"Table\\":\\"r3\\",\\"Endpoint\\":\\"https://Device-data.cn-beijing.ots-internal.aliyuncs.com\\",\\"Instance\\":\\"Device-data\\",\\"WriteMode\\":\\"PUT\\",\\"AuthMode\\":\\"STS\\"}', + ], + 'Creator' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1696648921408952', + ], + 'CreateTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1724041098000', + ], + 'UpdateTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1708171905000', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'Error:%s.', + ], + [ + 'errorCode' => 'MissingParameter', + 'errorMessage' => 'Error:%s.', + ], + ], + 403 => [ + [ + 'errorCode' => 'NoPermission', + 'errorMessage' => 'Error:%s.', + ], + [ + 'errorCode' => 'OperationDenied', + 'errorMessage' => 'Error:%s.', + ], + ], + [ + [ + 'errorCode' => 'ResourceNotFound', + 'errorMessage' => 'Error:%s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalServerError', + 'errorMessage' => 'Error:%s.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A20A7093-8FE0-058C-BE0C-3C8057D5F1A1\\",\\n \\"Success\\": true,\\n \\"TotalCount\\": 50,\\n \\"MaxResults\\": 1,\\n \\"NextToken\\": \\"9892074a2a89600ae4b0d5a34fb99a3f\\",\\n \\"List\\": {\\n \\"Connector\\": [\\n {\\n \\"ProjectName\\": \\"test_project\\",\\n \\"TopicName\\": \\"test_topic\\",\\n \\"ConnectorId\\": \\"fa44384c-0ac5-4d3e-8acd-76e18636ab10\\",\\n \\"SubscriptionId\\": \\"1745824636429WZ2EE\\",\\n \\"Type\\": \\"SINK_ODPS\\",\\n \\"State\\": \\"RUNNING\\",\\n \\"DoneTime\\": \\"2025-12-04 16:45:00\\",\\n \\"ColumnFields\\": \\"[\\\\\\\\\\\\\\"field1\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"field2\\\\\\\\\\\\\\"]\\",\\n \\"Config\\": \\"{\\\\\\\\\\\\\\"Table\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"r3\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"Endpoint\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"https://Device-data.cn-beijing.ots-internal.aliyuncs.com\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"Instance\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"Device-data\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"WriteMode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"PUT\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"AuthMode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"STS\\\\\\\\\\\\\\"}\\",\\n \\"Creator\\": \\"1696648921408952\\",\\n \\"CreateTime\\": \\"1724041098000\\",\\n \\"UpdateTime\\": \\"1708171905000\\"\\n }\\n ]\\n }\\n}","type":"json"}]', + ], + 'GetConnector' => [ + 'summary' => '查询Connector信息', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREdatahubB2GCPA', + ], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'ProjectName', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'test_project', + ], + ], + [ + 'name' => 'TopicName', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'test_topic', + ], + ], + [ + 'name' => 'ConnectorId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'c5e07a96-5069-4486-87c3-0d281951f772', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'A20A7093-8FE0-058C-BE0C-3C8057D5F1A1', + ], + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'True', + ], + 'ConnectorId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'c5e07a96-5069-4486-87c3-0d281951f772', + ], + 'Type' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'SINK_ODPS', + ], + 'State' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'RUNNING', + ], + 'ColumnFields' => [ + 'description' => '', + 'type' => 'string', + 'example' => '[\\"field1\\",\\"field2\\"]', + ], + 'Config' => [ + 'description' => '', + 'type' => 'string', + 'example' => '{\\"TimestampUnit\\":\\"MICROSECOND\\",\\"PartitionConfig\\":{\\"hh\\":\\"%H\\",\\"mm\\":\\"%M\\",\\"ds\\":\\"%Y%m%d\\"},\\"Project\\":\\"xxx\\",\\"TimeRange\\":15,\\"TimeZone\\":\\"Asia/Shanghai\\",\\"Table\\":\\"xxx\\",\\"OdpsEndpoint\\":\\"xxx\\",\\"AccessId\\":\\"xxx\\",\\"PartitionMode\\":\\"SYSTEM_TIME\\",\\"AuthMode\\":\\"ak\\"}', + ], + 'DoneTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2025-06-06 15:45:00', + ], + 'Creator' => [ + 'description' => '', + 'type' => 'string', + 'example' => '270523390948438349', + ], + 'CreateTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1724041098000', + ], + 'UpdateTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1724041098000', + ], + 'ProjectName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'test_project', + ], + 'TopicName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'test_topic', + ], + 'SubscriptionId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1764123132492KO88A', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'Error:%s.', + ], + [ + 'errorCode' => 'MissingParameter', + 'errorMessage' => 'Error:%s.', + ], + ], + 403 => [ + [ + 'errorCode' => 'NoPermission', + 'errorMessage' => 'Error:%s.', + ], + [ + 'errorCode' => 'OperationDenied', + 'errorMessage' => 'Error:%s.', + ], + ], + [ + [ + 'errorCode' => 'ResourceNotFound', + 'errorMessage' => 'Error:%s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalServerError', + 'errorMessage' => 'Error:%s.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A20A7093-8FE0-058C-BE0C-3C8057D5F1A1\\",\\n \\"Success\\": true,\\n \\"ConnectorId\\": \\"c5e07a96-5069-4486-87c3-0d281951f772\\",\\n \\"Type\\": \\"SINK_ODPS\\",\\n \\"State\\": \\"RUNNING\\",\\n \\"ColumnFields\\": \\"[\\\\\\\\\\\\\\"field1\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"field2\\\\\\\\\\\\\\"]\\",\\n \\"Config\\": \\"{\\\\\\\\\\\\\\"TimestampUnit\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"MICROSECOND\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"PartitionConfig\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"hh\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"%H\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"mm\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"%M\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"ds\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"%Y%m%d\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"Project\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"xxx\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"TimeRange\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\"TimeZone\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"Asia/Shanghai\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"Table\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"xxx\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"OdpsEndpoint\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"xxx\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"AccessId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"xxx\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"PartitionMode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"SYSTEM_TIME\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"AuthMode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"ak\\\\\\\\\\\\\\"}\\",\\n \\"DoneTime\\": \\"2025-06-06 15:45:00\\",\\n \\"Creator\\": \\"270523390948438349\\",\\n \\"CreateTime\\": \\"1724041098000\\",\\n \\"UpdateTime\\": \\"1724041098000\\",\\n \\"ProjectName\\": \\"test_project\\",\\n \\"TopicName\\": \\"test_topic\\",\\n \\"SubscriptionId\\": \\"1764123132492KO88A\\"\\n}","type":"json"}]', + ], + 'GetGroup' => [ + 'summary' => '查询Group信息', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREdatahubB2GCPA', + ], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'ProjectName', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'test_project', + ], + ], + [ + 'name' => 'GroupName', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'test_group', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'A20A7093-8FE0-058C-BE0C-3C8057D5F1A1', + ], + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'True', + ], + 'ProjectName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'test_project', + ], + 'GroupName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'consumer_group1', + ], + 'Comment' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'test_comment', + ], + 'Creator' => [ + 'description' => '', + 'type' => 'string', + 'example' => '270523390948438349', + ], + 'CreateTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1724041098000', + ], + 'UpdateTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1724041098000', + ], + 'TopicList' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '[{\'topic\': \'pub/4A4AD3BC0A436B44092F9BDDD1B3ACE4\', \'type\': \'pub\', \'permission\': \'W\'}, {\'topic\': \'sub/nologin/uuid/4A4AD3BC0A436B44092F9BDDD1B3ACE4\', \'type\': \'sub-uuid\', \'permission\': \'R\'}]', + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'Error:%s.', + ], + [ + 'errorCode' => 'MissingParameter', + 'errorMessage' => 'Error:%s.', + ], + [ + 'errorCode' => 'ResourceAlreadyExist', + 'errorMessage' => 'Error:%s.', + ], + ], + 403 => [ + [ + 'errorCode' => 'NoPermission', + 'errorMessage' => 'Error:%s.', + ], + [ + 'errorCode' => 'OperationDenied', + 'errorMessage' => 'Error:%s.', + ], + ], + [ + [ + 'errorCode' => 'ResourceNotFound', + 'errorMessage' => 'Error:%s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalServerError', + 'errorMessage' => 'Error:%s.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A20A7093-8FE0-058C-BE0C-3C8057D5F1A1\\",\\n \\"Success\\": true,\\n \\"ProjectName\\": \\"test_project\\",\\n \\"GroupName\\": \\"consumer_group1\\",\\n \\"Comment\\": \\"test_comment\\",\\n \\"Creator\\": \\"270523390948438349\\",\\n \\"CreateTime\\": 1724041098000,\\n \\"UpdateTime\\": 1724041098000,\\n \\"TopicList\\": [\\n \\"[{\'topic\': \'pub/4A4AD3BC0A436B44092F9BDDD1B3ACE4\', \'type\': \'pub\', \'permission\': \'W\'}, {\'topic\': \'sub/nologin/uuid/4A4AD3BC0A436B44092F9BDDD1B3ACE4\', \'type\': \'sub-uuid\', \'permission\': \'R\'}]\\"\\n ]\\n}","type":"json"}]', + ], + 'ListGroups' => [ + 'summary' => '查询Group列表信息', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREdatahubB2GCPA', + ], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'ProjectName', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'test_project', + ], + ], + [ + 'name' => 'Skip', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'docRequired' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'docRequired' => false, + 'maximum' => '1000', + 'minimum' => '0', + 'exclusiveMinimum' => true, + 'example' => '5', + 'default' => '5', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => '9892074a2a89600ae4b0d5a34fb99a3f', + ], + ], + [ + 'name' => 'Keyword', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => 'dh', + ], + ], + [ + 'name' => 'Pure', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'docRequired' => false, + 'example' => 'false', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'A20A7093-8FE0-058C-BE0C-3C8057D5F1A1', + ], + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'True', + ], + 'TotalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '50', + ], + 'MaxResults' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'maximum' => '1000', + 'minimum' => '0', + 'exclusiveMinimum' => true, + 'example' => '5', + 'default' => '5', + ], + 'NextToken' => [ + 'description' => '', + 'type' => 'string', + 'example' => '9892074a2a89600ae4b0d5a34fb99a3f', + ], + 'List' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ProjectName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'test_project', + ], + 'GroupName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'test_group', + ], + 'Comment' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'test_comment', + ], + 'TopicList' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '["topic1","topic2"]', + ], + ], + 'Creator' => [ + 'description' => '', + 'type' => 'string', + 'example' => '276887103073464052', + ], + 'CreateTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1708171905000', + ], + 'UpdateTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1708171905000', + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'Error:%s.', + ], + [ + 'errorCode' => 'MissingParameter', + 'errorMessage' => 'Error:%s.', + ], + ], + 403 => [ + [ + 'errorCode' => 'NoPermission', + 'errorMessage' => 'Error:%s.', + ], + [ + 'errorCode' => 'OperationDenied', + 'errorMessage' => 'Error:%s.', + ], + ], + [ + [ + 'errorCode' => 'ResourceNotFound', + 'errorMessage' => 'Error:%s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalServerError', + 'errorMessage' => 'Error:%s.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A20A7093-8FE0-058C-BE0C-3C8057D5F1A1\\",\\n \\"Success\\": true,\\n \\"TotalCount\\": 50,\\n \\"MaxResults\\": 5,\\n \\"NextToken\\": \\"9892074a2a89600ae4b0d5a34fb99a3f\\",\\n \\"List\\": [\\n {\\n \\"ProjectName\\": \\"test_project\\",\\n \\"GroupName\\": \\"test_group\\",\\n \\"Comment\\": \\"test_comment\\",\\n \\"TopicList\\": [\\n \\"[\\\\\\"topic1\\\\\\",\\\\\\"topic2\\\\\\"]\\"\\n ],\\n \\"Creator\\": \\"276887103073464052\\",\\n \\"CreateTime\\": 1708171905000,\\n \\"UpdateTime\\": 1708171905000\\n }\\n ]\\n}","type":"json"}]', + ], + 'ListSubscriptions' => [ + 'summary' => '查询Subscription列表信息', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREdatahub86JVYW', + ], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'ProjectName', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'test_project', + ], + ], + [ + 'name' => 'TopicName', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'test_topic', + ], + ], + [ + 'name' => 'Skip', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'docRequired' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'docRequired' => false, + 'maximum' => '1000', + 'minimum' => '0', + 'exclusiveMinimum' => true, + 'example' => '5', + 'default' => '5', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => '9892074a2a89600ae4b0d5a34fb99a3f', + ], + ], + [ + 'name' => 'Keyword', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => 'dh', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'A20A7093-8FE0-058C-BE0C-3C8057D5F1A1', + ], + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'True', + ], + 'TotalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '50', + ], + 'MaxResults' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '20', + ], + 'NextToken' => [ + 'description' => '', + 'type' => 'string', + 'example' => '9892074a2a89600ae4b0d5a34fb99a3f', + ], + 'List' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'Subscription' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ProjectName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'test_project', + ], + 'TopicName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'test_topic', + ], + 'SubscriptionId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1745824636429WZ2EE', + ], + 'Type' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'USER', + ], + 'State' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'Comment' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'test_comment', + ], + 'Application' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'test_application_name', + ], + 'Creator' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1048133943212399', + ], + 'CreateTime' => [ + 'description' => '', + 'type' => 'integer', + 'example' => '1708171905000', + 'format' => 'int64', + ], + 'UpdateTime' => [ + 'description' => '', + 'type' => 'integer', + 'example' => '1708171905000', + 'format' => 'int64', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'Error:%s.', + ], + [ + 'errorCode' => 'MissingParameter', + 'errorMessage' => 'Error:%s.', + ], + ], + 403 => [ + [ + 'errorCode' => 'NoPermission', + 'errorMessage' => 'Error:%s.', + ], + [ + 'errorCode' => 'OperationDenied', + 'errorMessage' => 'Error:%s.', + ], + ], + [ + [ + 'errorCode' => 'ResourceNotFound', + 'errorMessage' => 'Error:%s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalServerError', + 'errorMessage' => 'Error:%s.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A20A7093-8FE0-058C-BE0C-3C8057D5F1A1\\",\\n \\"Success\\": true,\\n \\"TotalCount\\": 50,\\n \\"MaxResults\\": 20,\\n \\"NextToken\\": \\"9892074a2a89600ae4b0d5a34fb99a3f\\",\\n \\"List\\": {\\n \\"Subscription\\": [\\n {\\n \\"ProjectName\\": \\"test_project\\",\\n \\"TopicName\\": \\"test_topic\\",\\n \\"SubscriptionId\\": \\"1745824636429WZ2EE\\",\\n \\"Type\\": \\"USER\\",\\n \\"State\\": 1,\\n \\"Comment\\": \\"test_comment\\",\\n \\"Application\\": \\"test_application_name\\",\\n \\"Creator\\": \\"1048133943212399\\",\\n \\"CreateTime\\": 1708171905000,\\n \\"UpdateTime\\": 1708171905000\\n }\\n ]\\n }\\n}","type":"json"}]', + ], + 'GetSubscription' => [ + 'summary' => '查询Subscription信息', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREdatahub86JVYW', + ], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'ProjectName', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'test_project', + ], + ], + [ + 'name' => 'TopicName', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'test_topic', + ], + ], + [ + 'name' => 'SubscriptionId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '1764122860063VIIZ2', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'A20A7093-8FE0-058C-BE0C-3C8057D5F1A1', + ], + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'True', + ], + 'ProjectName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'test_project', + ], + 'TopicName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'test_topic'."\n", + ], + 'SubscriptionId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1741072334529RFEF7', + ], + 'Type' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'USER', + ], + 'State' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'Comment' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'test_comment', + ], + 'Application' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'test_application_name', + ], + 'Creator' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1559031978056215', + ], + 'CreateTime' => [ + 'description' => '', + 'type' => 'integer', + 'example' => '1724041098000', + 'format' => 'int64', + ], + 'UpdateTime' => [ + 'description' => '', + 'type' => 'integer', + 'example' => '1724041098000', + 'format' => 'int64', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'Error:%s.', + ], + [ + 'errorCode' => 'MissingParameter', + 'errorMessage' => 'Error:%s.', + ], + ], + 403 => [ + [ + 'errorCode' => 'NoPermission', + 'errorMessage' => 'Error:%s.', + ], + [ + 'errorCode' => 'OperationDenied', + 'errorMessage' => 'Error:%s.', + ], + ], + [ + [ + 'errorCode' => 'ResourceNotFound', + 'errorMessage' => 'Error:%s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalServerError', + 'errorMessage' => 'Error:%s.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A20A7093-8FE0-058C-BE0C-3C8057D5F1A1\\",\\n \\"Success\\": true,\\n \\"ProjectName\\": \\"test_project\\",\\n \\"TopicName\\": \\"test_topic\\\\n\\",\\n \\"SubscriptionId\\": \\"1741072334529RFEF7\\",\\n \\"Type\\": \\"USER\\",\\n \\"State\\": 1,\\n \\"Comment\\": \\"test_comment\\",\\n \\"Application\\": \\"test_application_name\\",\\n \\"Creator\\": \\"1559031978056215\\",\\n \\"CreateTime\\": 1724041098000,\\n \\"UpdateTime\\": 1724041098000\\n}","type":"json"}]', + ], + 'GetTopic' => [ + 'summary' => '查询Topic信息', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREdatahubB2GCPA', + ], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'ProjectName', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'test_project', + ], + ], + [ + 'name' => 'TopicName', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'test_topic'."\n", + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'A20A7093-8FE0-058C-BE0C-3C8057D5F1A1', + ], + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'True', + ], + 'ProjectName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'test_project', + ], + 'TopicName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'test_topic'."\n", + ], + 'RecordType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'TUPLE', + ], + 'Lifecycle' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '3', + ], + 'ShardCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '3', + ], + 'Storage' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '12252454', + ], + 'ExpandMode' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'EnableSchemaRegistry' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + 'RecordSchema' => [ + 'description' => '', + 'type' => 'string', + 'example' => '[{\\"Type\\":\\"STRING\\",\\"AllowNull\\":true,\\"Name\\":\\"str\\"},{\\"Type\\":\\"STRING\\",\\"AllowNull\\":true,\\"Name\\":\\"dt\\"}]', + ], + 'Comment' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'test_comment', + ], + 'Creator' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1397493986831962', + ], + 'CreateTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1724041098000', + ], + 'UpdateTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1724041098000', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'Error:%s.', + ], + [ + 'errorCode' => 'MissingParameter', + 'errorMessage' => 'Error:%s.', + ], + ], + 403 => [ + [ + 'errorCode' => 'NoPermission', + 'errorMessage' => 'Error:%s.', + ], + [ + 'errorCode' => 'OperationDenied', + 'errorMessage' => 'Error:%s.', + ], + ], + [ + [ + 'errorCode' => 'ResourceNotFound', + 'errorMessage' => 'Error:%s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalServerError', + 'errorMessage' => 'Error:%s.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A20A7093-8FE0-058C-BE0C-3C8057D5F1A1\\",\\n \\"Success\\": true,\\n \\"ProjectName\\": \\"test_project\\",\\n \\"TopicName\\": \\"test_topic\\\\n\\",\\n \\"RecordType\\": \\"TUPLE\\",\\n \\"Lifecycle\\": 3,\\n \\"ShardCount\\": 3,\\n \\"Storage\\": 12252454,\\n \\"ExpandMode\\": true,\\n \\"EnableSchemaRegistry\\": false,\\n \\"RecordSchema\\": \\"[{\\\\\\\\\\\\\\"Type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"STRING\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"AllowNull\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"Name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"str\\\\\\\\\\\\\\"},{\\\\\\\\\\\\\\"Type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"STRING\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"AllowNull\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"Name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"dt\\\\\\\\\\\\\\"}]\\",\\n \\"Comment\\": \\"test_comment\\",\\n \\"Creator\\": \\"1397493986831962\\",\\n \\"CreateTime\\": \\"1724041098000\\",\\n \\"UpdateTime\\": \\"1724041098000\\"\\n}","type":"json"}]', + ], + 'ListTopics' => [ + 'summary' => '查询Topic列表信息', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREdatahubB2GCPA', + ], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'ProjectName', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'test_project', + ], + ], + [ + 'name' => 'Skip', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'docRequired' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'docRequired' => false, + 'maximum' => '500', + 'minimum' => '0', + 'exclusiveMinimum' => true, + 'example' => '5', + 'default' => '5', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => '9892074a2a89600ae4b0d5a34fb99a3f', + ], + ], + [ + 'name' => 'Keyword', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => 'dh', + ], + ], + [ + 'name' => 'Pure', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'docRequired' => false, + 'example' => 'false', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'A20A7093-8FE0-058C-BE0C-3C8057D5F1A1', + ], + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'True', + ], + 'TotalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '50', + ], + 'MaxResults' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'NextToken' => [ + 'description' => '', + 'type' => 'string', + 'example' => '9892074a2a89600ae4b0d5a34fb99a3f', + ], + 'List' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'Topic' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ProjectName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'poc_test', + ], + 'TopicName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ods_bio_safety_env_disinfection', + ], + 'RecordType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'TUPLE', + ], + 'Lifecycle' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '3', + ], + 'ShardCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'Storage' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '10000', + ], + 'ExpandMode' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'true', + ], + 'EnableSchemaRegistry' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'false', + ], + 'RecordSchema' => [ + 'description' => '', + 'type' => 'string', + 'example' => '[{\\"Type\\":\\"STRING\\",\\"AllowNull\\":true,\\"Name\\":\\"str\\"},{\\"Type\\":\\"STRING\\",\\"AllowNull\\":true,\\"Name\\":\\"dt\\"}]', + ], + 'Comment' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Creator' => [ + 'description' => '', + 'type' => 'string', + 'example' => '276887103073464052', + ], + 'CreateTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1753346106000', + ], + 'UpdateTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1753346106000', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'Error:%s.', + ], + [ + 'errorCode' => 'MissingParameter', + 'errorMessage' => 'Error:%s.', + ], + ], + 403 => [ + [ + 'errorCode' => 'NoPermission', + 'errorMessage' => 'Error:%s.', + ], + [ + 'errorCode' => 'OperationDenied', + 'errorMessage' => 'Error:%s.', + ], + ], + [ + [ + 'errorCode' => 'ResourceNotFound', + 'errorMessage' => 'Error:%s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalServerError', + 'errorMessage' => 'Error:%s.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A20A7093-8FE0-058C-BE0C-3C8057D5F1A1\\",\\n \\"Success\\": true,\\n \\"TotalCount\\": 50,\\n \\"MaxResults\\": 1,\\n \\"NextToken\\": \\"9892074a2a89600ae4b0d5a34fb99a3f\\",\\n \\"List\\": {\\n \\"Topic\\": [\\n {\\n \\"ProjectName\\": \\"poc_test\\",\\n \\"TopicName\\": \\"ods_bio_safety_env_disinfection\\",\\n \\"RecordType\\": \\"TUPLE\\",\\n \\"Lifecycle\\": 3,\\n \\"ShardCount\\": 1,\\n \\"Storage\\": 10000,\\n \\"ExpandMode\\": \\"true\\",\\n \\"EnableSchemaRegistry\\": \\"false\\",\\n \\"RecordSchema\\": \\"[{\\\\\\\\\\\\\\"Type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"STRING\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"AllowNull\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"Name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"str\\\\\\\\\\\\\\"},{\\\\\\\\\\\\\\"Type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"STRING\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"AllowNull\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"Name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"dt\\\\\\\\\\\\\\"}]\\",\\n \\"Comment\\": \\"这是一个描述信息\\",\\n \\"Creator\\": \\"276887103073464052\\",\\n \\"CreateTime\\": 1753346106000,\\n \\"UpdateTime\\": 1753346106000\\n }\\n ]\\n }\\n}","type":"json"}]', + ], + 'GetSchema' => [ + 'summary' => '查询Schema信息', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREdatahubB2GCPA', + ], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'ProjectName', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'test_project', + ], + ], + [ + 'name' => 'TopicName', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'test_topic', + ], + ], + [ + 'name' => 'VersionId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '0', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'A20A7093-8FE0-058C-BE0C-3C8057D5F1A1', + ], + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'True', + ], + 'ProjectName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'test_project', + ], + 'TopicName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'test_topic'."\n", + ], + 'VersionId' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + 'RecordSchema' => [ + 'description' => '', + 'type' => 'string', + 'example' => '[{\\"Type\\":\\"STRING\\",\\"AllowNull\\":true,\\"Name\\":\\"context\\"}]', + ], + 'Creator' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1559031978056215', + ], + 'CreateTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1724041098000', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'Error:%s.', + ], + [ + 'errorCode' => 'MissingParameter', + 'errorMessage' => 'Error:%s.', + ], + [ + 'errorCode' => 'ResourceAlreadyExist', + 'errorMessage' => 'Error:%s.', + ], + ], + 403 => [ + [ + 'errorCode' => 'NoPermission', + 'errorMessage' => 'Error:%s.', + ], + [ + 'errorCode' => 'OperationDenied', + 'errorMessage' => 'Error:%s.', + ], + ], + [ + [ + 'errorCode' => 'ResourceNotFound', + 'errorMessage' => 'Error:%s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalServerError', + 'errorMessage' => 'Error:%s.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A20A7093-8FE0-058C-BE0C-3C8057D5F1A1\\",\\n \\"Success\\": true,\\n \\"ProjectName\\": \\"test_project\\",\\n \\"TopicName\\": \\"test_topic\\\\n\\",\\n \\"VersionId\\": 0,\\n \\"RecordSchema\\": \\"[{\\\\\\\\\\\\\\"Type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"STRING\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"AllowNull\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"Name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"context\\\\\\\\\\\\\\"}]\\",\\n \\"Creator\\": \\"1559031978056215\\",\\n \\"CreateTime\\": 1724041098000\\n}","type":"json"}]', + ], + 'ListSchemas' => [ + 'summary' => '查询Schema列表信息', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREdatahubB2GCPA', + ], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'ProjectName', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'test_project', + ], + ], + [ + 'name' => 'TopicName', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'test_topic'."\n", + ], + ], + [ + 'name' => 'Skip', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'docRequired' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'docRequired' => false, + 'maximum' => '1000', + 'minimum' => '0', + 'exclusiveMinimum' => true, + 'example' => '5', + 'default' => '5', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => '9892074a2a89600ae4b0d5a34fb99a3f', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '20250401102332e68e3d0b04ab4904', + ], + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'True', + ], + 'TotalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '50', + ], + 'MaxResults' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '20', + ], + 'NextToken' => [ + 'description' => '', + 'type' => 'string', + 'example' => '9892074a2a89600ae4b0d5a34fb99a3f', + ], + 'List' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ProjectName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'test_project', + ], + 'TopicName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'test_topic', + ], + 'VersionId' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + 'RecordSchema' => [ + 'description' => '', + 'type' => 'string', + 'example' => '[{\\"Type\\":\\"STRING\\",\\"AllowNull\\":true,\\"Name\\":\\"context\\"}]', + ], + 'Creator' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1048133943212399', + ], + 'CreateTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1708171905000', + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'Error:%s.', + ], + [ + 'errorCode' => 'MissingParameter', + 'errorMessage' => 'Error:%s.', + ], + [ + 'errorCode' => 'ResourceAlreadyExist', + 'errorMessage' => 'Error:%s.', + ], + ], + 403 => [ + [ + 'errorCode' => 'NoPermission', + 'errorMessage' => 'Error:%s.', + ], + [ + 'errorCode' => 'OperationDenied', + 'errorMessage' => 'Error:%s.', + ], + ], + [ + [ + 'errorCode' => 'ResourceNotFound', + 'errorMessage' => 'Error:%s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalServerError', + 'errorMessage' => 'Error:%s.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"20250401102332e68e3d0b04ab4904\\",\\n \\"Success\\": true,\\n \\"TotalCount\\": 50,\\n \\"MaxResults\\": 20,\\n \\"NextToken\\": \\"9892074a2a89600ae4b0d5a34fb99a3f\\",\\n \\"List\\": [\\n {\\n \\"ProjectName\\": \\"test_project\\",\\n \\"TopicName\\": \\"test_topic\\",\\n \\"VersionId\\": 0,\\n \\"RecordSchema\\": \\"[{\\\\\\\\\\\\\\"Type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"STRING\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"AllowNull\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"Name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"context\\\\\\\\\\\\\\"}]\\",\\n \\"Creator\\": \\"1048133943212399\\",\\n \\"CreateTime\\": 1708171905000\\n }\\n ]\\n}","type":"json"}]', + ], + 'GetProject' => [ + 'summary' => '查询Project资源详细信息', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREdatahubB2GCPA', + ], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'ProjectName', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'test_project', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'A20A7093-8FE0-058C-BE0C-3C8057D5F1A1', + ], + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'True', + ], + 'ProjectName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'test_project', + ], + 'Comment' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'test', + ], + 'VpcWhitelist' => [ + 'description' => '', + 'type' => 'string', + 'example' => '[11.22.33.44]', + ], + 'Storage' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '12252454', + ], + 'Creator' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1559031978056215', + ], + 'CreateTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1724041098000', + ], + 'UpdateTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1724041098000', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'Error:%s.', + ], + [ + 'errorCode' => 'MissingParameter', + 'errorMessage' => 'Error:%s.', + ], + ], + 403 => [ + [ + 'errorCode' => 'NoPermission', + 'errorMessage' => 'Error:%s.', + ], + [ + 'errorCode' => 'OperationDenied', + 'errorMessage' => 'Error:%s.', + ], + ], + [ + [ + 'errorCode' => 'ResourceNotFound', + 'errorMessage' => 'Error:%s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalServerError', + 'errorMessage' => 'Error:%s.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A20A7093-8FE0-058C-BE0C-3C8057D5F1A1\\",\\n \\"Success\\": true,\\n \\"ProjectName\\": \\"test_project\\",\\n \\"Comment\\": \\"test_comment\\",\\n \\"VpcWhitelist\\": \\"[\\\\\\\\\\\\\\"11.22.33.44\\\\\\\\\\\\\\"]\\",\\n \\"Storage\\": 12252454,\\n \\"Creator\\": \\"1559031978056215\\",\\n \\"CreateTime\\": \\"1724041098000\\",\\n \\"UpdateTime\\": \\"1724041098000\\"\\n}","type":"json"}]', + ], + 'ListProjects' => [ + 'summary' => '查询Project列表信息', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREdatahubB2GCPA', + ], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'Skip', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'docRequired' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'docRequired' => false, + 'maximum' => '100', + 'minimum' => '0', + 'exclusiveMinimum' => true, + 'example' => '5', + 'default' => '5', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => '9892074a2a89600ae4b0d5a34fb99a3f', + ], + ], + [ + 'name' => 'Keyword', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => 'dh', + ], + ], + [ + 'name' => 'Pure', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'docRequired' => false, + 'enumValueTitles' => [ + 'true' => 'true', + 'false' => 'false', + ], + 'example' => 'false', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '20250401102332e68e3d0b04ab4904', + ], + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'True', + ], + 'TotalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '50', + ], + 'MaxResults' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'NextToken' => [ + 'description' => '', + 'type' => 'string', + 'example' => '9892074a2a89600ae4b0d5a34fb99a3f', + ], + 'List' => [ + 'type' => 'object', + 'itemNode' => true, + 'properties' => [ + 'Project' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ProjectName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'poc_test', + ], + 'Comment' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Creator' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1048133943212399', + ], + 'CreateTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1708171905000', + ], + 'UpdateTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1708171905000', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'InvalidParameter', + 'errorMessage' => 'Error:%s.', + ], + [ + 'errorCode' => 'MissingParameter', + 'errorMessage' => 'Error:%s.', + ], + ], + 403 => [ + [ + 'errorCode' => 'NoPermission', + 'errorMessage' => 'Error:%s.', + ], + [ + 'errorCode' => 'OperationDenied', + 'errorMessage' => 'Error:%s.', + ], + ], + [ + [ + 'errorCode' => 'ResourceNotFound', + 'errorMessage' => 'Error:%s.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalServerError', + 'errorMessage' => 'Error:%s.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A20A7093-8FE0-058C-BE0C-3C8057D5F1A1\\",\\n \\"Success\\": true,\\n \\"TotalCount\\": 50,\\n \\"MaxResults\\": 1,\\n \\"NextToken\\": \\"9892074a2a89600ae4b0d5a34fb99a3f\\",\\n \\"List\\": {\\n \\"Project\\": [\\n {\\n \\"ProjectName\\": \\"test_project\\",\\n \\"Comment\\": \\"test_comment\\",\\n \\"Creator\\": \\"1048133943212399\\",\\n \\"CreateTime\\": 1708171905000,\\n \\"UpdateTime\\": 1708171905000\\n }\\n ]\\n }\\n}","type":"json"}]', + ], + ], + 'endpoints' => [ + [ + 'regionId' => 'cn-beijing', + 'endpoint' => 'datahub.cn-beijing.aliyuncs.com', + ], + [ + 'regionId' => 'cn-zhangjiakou', + 'endpoint' => 'datahub.cn-zhangjiakou.aliyuncs.com', + ], + [ + 'regionId' => 'cn-wulanchabu', + 'endpoint' => 'datahub.cn-wulanchabu.aliyuncs.com', + ], + [ + 'regionId' => 'cn-hangzhou', + 'endpoint' => 'datahub.cn-hangzhou.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shanghai', + 'endpoint' => 'datahub.cn-shanghai.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shenzhen', + 'endpoint' => 'datahub.cn-shenzhen.aliyuncs.com', + ], + [ + 'regionId' => 'cn-hongkong', + 'endpoint' => 'datahub.cn-hongkong.aliyuncs.com', + ], + [ + 'regionId' => 'ap-southeast-1', + 'endpoint' => 'datahub.ap-southeast-1.aliyuncs.com', + ], + [ + 'regionId' => 'ap-southeast-3', + 'endpoint' => 'datahub.ap-southeast-3.aliyuncs.com', + ], + [ + 'regionId' => 'ap-southeast-5', + 'endpoint' => 'datahub.ap-southeast-5.aliyuncs.com', + ], + [ + 'regionId' => 'us-east-1', + 'endpoint' => 'datahub.aliyuncs.com', + ], + [ + 'regionId' => 'us-west-1', + 'endpoint' => 'datahub.aliyuncs.com', + ], + [ + 'regionId' => 'eu-central-1', + 'endpoint' => 'datahub.eu-central-1.aliyuncs.com', + ], + [ + 'regionId' => 'ap-south-1', + 'endpoint' => 'datahub.aliyuncs.com', + ], + [ + 'regionId' => 'me-central-1', + 'endpoint' => 'datahub.me-central-1.aliyuncs.com', + ], + ], +]; -- cgit v1.2.3