'1.0',
'info' => [
'style' => 'RPC',
'product' => 'alikafka',
'version' => '2018-10-15',
],
'directories' => [
[
'id' => 57971,
'title' => null,
'type' => 'directory',
'children' => [
'GetInstanceList',
],
],
[
'id' => 57973,
'title' => null,
'type' => 'directory',
'children' => [
'CreateTopic',
'DeleteTopic',
'GetTopicList',
'GetTopicStatus',
],
],
[
'id' => 57978,
'title' => null,
'type' => 'directory',
'children' => [
'CreateConsumerGroup',
'DeleteConsumerGroup',
'GetConsumerList',
'GetConsumerProgress',
],
],
],
'components' => [
'schemas' => [],
],
'apis' => [
'GetInstanceList' => [
'methods' => [
'post',
],
'schemes' => [
'http',
'https',
],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'abilityTreeCode' => '58598',
'abilityTreeNodes' => [
'FEATUREalikafkaVSFQUO',
],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
'schema' => [
'description' => '',
'docRequired' => true,
'example' => 'cn-hangzhou',
'required' => true,
'type' => 'string',
],
],
],
'responses' => [
200 => [
'schema' => [
'properties' => [
'Code' => [
'description' => '',
'example' => '200',
'format' => 'int32',
'type' => 'integer',
],
'Message' => [
'description' => '',
'example' => 'operation success.',
'type' => 'string',
],
'RequestId' => [
'description' => '',
'example' => 'ABA4A7FD-E10F-45C7-9774-A5236015****',
'type' => 'string',
],
'Success' => [
'description' => '',
'example' => 'true',
'type' => 'boolean',
],
'InstanceList' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'InstanceVO' => [
'description' => '',
'type' => 'array',
'items' => [
'properties' => [
'VpcId' => [
'description' => 'VPC ID。',
'example' => 'vpc-bp1l6hrlykj3405r7****',
'type' => 'string',
],
'VSwitchId' => [
'description' => 'VSwitch ID。',
'example' => 'vsw-bp13rg6bcpkxofr78****',
'type' => 'string',
],
'ExpiredTime' => [
'description' => '',
'example' => '1568908800000',
'format' => 'int64',
'type' => 'integer',
],
'DeployType' => [
'description' => '',
'example' => '4',
'format' => 'int32',
'type' => 'integer',
],
'CreateTime' => [
'description' => '',
'example' => '1566215995000',
'format' => 'int64',
'type' => 'integer',
],
'SslEndPoint' => [
'description' => '',
'example' => '47.111.110.11:9093,121.40.96.141:9093,47.111.118.133:****',
'type' => 'string',
],
'InstanceId' => [
'description' => '',
'example' => 'alikafka_pre-cn-mp919o4v****',
'type' => 'string',
],
'Name' => [
'description' => '',
'example' => 'alikafka_pre-cn-mp919o4v****',
'type' => 'string',
],
'ServiceStatus' => [
'description' => '',
'example' => '5',
'format' => 'int32',
'type' => 'integer',
],
'EndPoint' => [
'description' => '',
'example' => '192.168.0.212:9092,192.168.0.210:9092,192.168.0.211:****',
'type' => 'string',
],
'RegionId' => [
'description' => '',
'example' => 'cn-hangzhou',
'type' => 'string',
],
'UpgradeServiceDetailInfo' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'UpgradeServiceDetailInfoVO' => [
'description' => '',
'type' => 'array',
'items' => [
'properties' => [
'Current2OpenSourceVersion' => [
'description' => '',
'example' => '0.10',
'type' => 'string',
],
],
'type' => 'object',
],
],
],
],
],
'type' => 'object',
],
],
],
],
],
'type' => 'object',
],
],
],
'errorCodes' => [
403 => [
[
'errorCode' => 'AUTH_RESOURCE_OWNER_ERROR',
'errorMessage' => '%s. Please check and try again later.',
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"operation success.\\",\\n \\"RequestId\\": \\"ABA4A7FD-E10F-45C7-9774-A5236015****\\",\\n \\"Success\\": true,\\n \\"InstanceList\\": {\\n \\"InstanceVO\\": [\\n {\\n \\"VpcId\\": \\"vpc-bp1l6hrlykj3405r7****\\",\\n \\"VSwitchId\\": \\"vsw-bp13rg6bcpkxofr78****\\",\\n \\"ExpiredTime\\": 1568908800000,\\n \\"DeployType\\": 4,\\n \\"CreateTime\\": 1566215995000,\\n \\"SslEndPoint\\": \\"47.111.110.11:9093,121.40.96.141:9093,47.111.118.133:****\\",\\n \\"InstanceId\\": \\"alikafka_pre-cn-mp919o4v****\\",\\n \\"Name\\": \\"alikafka_pre-cn-mp919o4v****\\",\\n \\"ServiceStatus\\": 5,\\n \\"EndPoint\\": \\"192.168.0.212:9092,192.168.0.210:9092,192.168.0.211:****\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"UpgradeServiceDetailInfo\\": {\\n \\"UpgradeServiceDetailInfoVO\\": [\\n {\\n \\"Current2OpenSourceVersion\\": \\"0.10\\"\\n }\\n ]\\n }\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"\\r\\n operation success.\\r\\n 0220FACD-4D57-4F46-BA77-AD333498****\\r\\n true\\r\\n 200\\r\\n \\r\\n \\r\\n alikafka_pre-cn-mp919o4v****\\r\\n 4\\r\\n 1566215995000\\r\\n cn-hangzhou\\r\\n alikafka_pre-cn-mp919o4v****\\r\\n 47.111.110.11:9093,121.40.96.141:9093,47.111.118.133:****\\r\\n 192.168.0.212:9092,192.168.0.210:9092,192.168.0.211:****\\r\\n 1568908800000\\r\\n vsw-bp13rg6bcpkxofr78****\\r\\n vpc-bp1l6hrlykj3405r7****\\r\\n \\r\\n 0.10\\r\\n \\r\\n 5\\r\\n \\r\\n \\r\\n","errorExample":""}]',
'extraInfo' => ' ',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'title' => 'GetInstanceList',
],
'CreateTopic' => [
'methods' => [
'post',
],
'schemes' => [
'http',
'https',
],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'create',
'abilityTreeCode' => '58592',
'abilityTreeNodes' => [
'FEATUREalikafka855U02',
],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
'schema' => [
'description' => '',
'docRequired' => true,
'example' => 'alikafka_pre-cn-mp919o4v****',
'required' => true,
'type' => 'string',
],
],
[
'name' => 'Topic',
'in' => 'query',
'schema' => [
'description' => '',
'docRequired' => true,
'example' => 'alikafka_topic_test',
'required' => true,
'type' => 'string',
],
],
[
'name' => 'Remark',
'in' => 'query',
'schema' => [
'description' => '',
'docRequired' => true,
'example' => 'alikafka_topic_test',
'required' => true,
'type' => 'string',
],
],
[
'name' => 'RegionId',
'in' => 'query',
'schema' => [
'description' => '',
'docRequired' => true,
'example' => 'cn-hangzhou',
'required' => true,
'type' => 'string',
],
],
],
'responses' => [
200 => [
'schema' => [
'properties' => [
'Code' => [
'description' => '',
'example' => '200',
'format' => 'int32',
'type' => 'integer',
],
'Message' => [
'description' => '',
'example' => 'operation success',
'type' => 'string',
],
'RequestId' => [
'description' => '',
'example' => '9C0F207C-77A6-43E5-991C-9D98510A****',
'type' => 'string',
],
'Success' => [
'description' => '',
'example' => 'true',
'type' => 'boolean',
],
],
'type' => 'object',
],
],
],
'errorCodes' => [
403 => [
[
'errorCode' => 'AUTH_RESOURCE_OWNER_ERROR',
'errorMessage' => '%s. Please check and try again later.',
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"operation success\\",\\n \\"RequestId\\": \\"9C0F207C-77A6-43E5-991C-9D98510A****\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\toperation success\\r\\n\\t9C0F207C-77A6-43E5-991C-9D98510A****\\r\\n\\ttrue\\r\\n\\t200\\r\\n","errorExample":""}]',
'extraInfo' => ' ',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'title' => 'CreateTopic',
],
'DeleteTopic' => [
'methods' => [
'post',
],
'schemes' => [
'http',
'https',
],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'delete',
'abilityTreeCode' => '58594',
'abilityTreeNodes' => [
'FEATUREalikafkaVSFQUO',
],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => true,
'docRequired' => true,
'example' => 'alikafka_post-cn-mp91a44k****',
],
],
[
'name' => 'Topic',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => true,
'docRequired' => true,
'example' => 'Kafkatest',
],
],
[
'name' => 'RegionId',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => true,
'docRequired' => true,
'example' => 'cn-hangzhou',
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => [
'description' => '',
'type' => 'integer',
'format' => 'int32',
'example' => '200',
],
'Message' => [
'description' => '',
'type' => 'string',
'example' => 'operation success',
],
'RequestId' => [
'description' => '',
'type' => 'string',
'example' => '9B618B3F-9506-4661-A211-D00C4556****',
],
'Success' => [
'description' => '',
'type' => 'boolean',
'example' => 'true',
],
],
],
],
],
'errorCodes' => [
403 => [
[
'errorCode' => 'AUTH_RESOURCE_OWNER_ERROR',
'errorMessage' => '%s. Please check and try again later.',
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"operation success\\",\\n \\"RequestId\\": \\"9B618B3F-9506-4661-A211-D00C4556****\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\toperation success\\r\\n\\t9B618B3F-9506-4661-A211-D00C4556****\\r\\n\\ttrue\\r\\n\\t200\\r\\n","errorExample":""}]',
'title' => 'DeleteTopic',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'GetTopicList' => [
'methods' => [
'post',
],
'schemes' => [
'http',
'https',
],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'abilityTreeCode' => '58599',
'abilityTreeNodes' => [
'FEATUREalikafkaVSFQUO',
],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => true,
'docRequired' => true,
'example' => 'alikafka_pre-cn-0pp1954n2003 ',
],
],
[
'name' => 'CurrentPage',
'in' => 'query',
'schema' => [
'type' => 'string',
'required' => false,
'docRequired' => true,
'example' => '',
'default' => '1',
'enum' => [
'1',
],
],
],
[
'name' => 'PageSize',
'in' => 'query',
'schema' => [
'type' => 'string',
'required' => false,
'docRequired' => true,
'example' => '',
'default' => '10000',
'enum' => [
'10000',
],
],
],
[
'name' => 'RegionId',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => false,
'docRequired' => true,
'example' => 'cn-hangzhou',
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'CurrentPage' => [
'description' => '',
'type' => 'integer',
'format' => 'int32',
'example' => '1',
],
'RequestId' => [
'description' => '',
'type' => 'string',
'example' => '82BD585C-17A1-486E-B3E8-AABCE8EE****',
],
'Success' => [
'description' => '',
'type' => 'boolean',
'example' => 'true',
],
'Code' => [
'description' => '',
'type' => 'integer',
'format' => 'int32',
'example' => '200',
],
'Message' => [
'description' => '',
'type' => 'string',
'example' => 'operation success.',
],
'PageSize' => [
'description' => '',
'type' => 'integer',
'format' => 'int32',
'example' => '10000',
],
'Total' => [
'description' => '',
'type' => 'integer',
'format' => 'int32',
'example' => '12',
],
'TopicList' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'TopicVO' => [
'description' => '',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Status' => [
'description' => '',
'type' => 'integer',
'format' => 'int32',
'example' => '0',
],
'Remark' => [
'description' => '',
'type' => 'string',
'example' => 'kafka_test_topic',
],
'CreateTime' => [
'description' => '',
'type' => 'integer',
'format' => 'int64',
'example' => '1566804394000',
],
'Topic' => [
'description' => '',
'type' => 'string',
'example' => 'poptest',
],
'StatusName' => [
'description' => '',
'type' => 'string',
'example' => '',
],
'InstanceId' => [
'description' => '',
'type' => 'string',
'example' => 'alikafka_pre-cn-0pp1954n****',
],
'RegionId' => [
'description' => '',
'type' => 'string',
'example' => 'cn-hangzhou',
],
],
],
],
],
],
],
],
],
],
'errorCodes' => [
403 => [
[
'errorCode' => 'AUTH_RESOURCE_OWNER_ERROR',
'errorMessage' => '%s. Please check and try again later.',
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"CurrentPage\\": 1,\\n \\"RequestId\\": \\"82BD585C-17A1-486E-B3E8-AABCE8EE****\\",\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"Message\\": \\"operation success.\\",\\n \\"PageSize\\": 10000,\\n \\"Total\\": 12,\\n \\"TopicList\\": {\\n \\"TopicVO\\": [\\n {\\n \\"Status\\": 0,\\n \\"PartitionNum\\": 12,\\n \\"Remark\\": \\"kafka_test_topic\\",\\n \\"CreateTime\\": 1566804394000,\\n \\"Topic\\": \\"poptest\\",\\n \\"StatusName\\": \\"服务中\\",\\n \\"CompactTopic\\": false,\\n \\"InstanceId\\": \\"alikafka_pre-cn-0pp1954n****\\",\\n \\"LocalTopic\\": false,\\n \\"RegionId\\": \\"cn-hangzhou\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t12\\r\\n\\t\\t\\t0\\r\\n\\t\\t\\tfalse\\r\\n\\t\\t\\tcn-hangzhou\\r\\n\\t\\t\\talikafka_pre-cn-0pp1954n****\\r\\n\\t\\t\\t1567146954000\\r\\n\\t\\t\\tpoptest\\r\\n\\t\\t\\t服务中\\r\\n\\t\\t\\tfalse\\r\\n\\t\\t\\ttest\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t12\\r\\n\\t\\t\\t0\\r\\n\\t\\t\\tfalse\\r\\n\\t\\t\\tcn-hangzhou\\r\\n\\t\\t\\talikafka_pre-cn-0pp1954n****\\r\\n\\t\\t\\t1566804394000\\r\\n\\t\\t\\tkafka_test_topic\\r\\n\\t\\t\\t服务中\\r\\n\\t\\t\\tfalse\\r\\n\\t\\t\\tkafka_test_topic11111111111111111111122222222222222\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t12\\r\\n\\t\\t\\t0\\r\\n\\t\\t\\tfalse\\r\\n\\t\\t\\tcn-hangzhou\\r\\n\\t\\t\\talikafka_pre-cn-0pp1954n****\\r\\n\\t\\t\\t1566804290000\\r\\n\\t\\t\\ttopic_test\\r\\n\\t\\t\\t服务中\\r\\n\\t\\t\\tfalse\\r\\n\\t\\t\\ttopic_test\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t6\\r\\n\\t\\t\\t0\\r\\n\\t\\t\\tfalse\\r\\n\\t\\t\\tcn-hangzhou\\r\\n\\t\\t\\talikafka_pre-cn-0pp1954n****\\r\\n\\t\\t\\t1565589319000\\r\\n\\t\\t\\ttestkafka\\r\\n\\t\\t\\t服务中\\r\\n\\t\\t\\tfalse\\r\\n\\t\\t\\ttest-data-migration\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t45\\r\\n\\t\\t\\t0\\r\\n\\t\\t\\tfalse\\r\\n\\t\\t\\tcn-hangzhou\\r\\n\\t\\t\\talikafka_pre-cn-0pp1954n****\\r\\n\\t\\t\\t1565331243000\\r\\n\\t\\t\\tnormal_topic_4fec2e97daa6f089f1a48b36b6bea34e_6\\r\\n\\t\\t\\t服务中\\r\\n\\t\\t\\tfalse\\r\\n\\t\\t\\ttopic1\\r\\n\\t\\t\\r\\n\\t\\t\\r\\n\\t\\t\\t24\\r\\n\\t\\t\\t0\\r\\n\\t\\t\\tfalse\\r\\n\\t\\t\\tcn-hangzhou\\r\\n\\t\\t\\talikafka_pre-cn-0pp1954n****\\r\\n\\t\\t\\t1565331241000\\r\\n\\t\\t\\tnormal_topic_4fec2e97daa6f089f1a48b36b6bea34e_5\\r\\n\\t\\t\\t服务中\\r\\n\\t\\t\\tfalse\\r\\n\\t\\t\\ttopic1\\r\\n\\t\\t\\r\\n\\t\\r\\n\\toperation success.\\r\\n\\t10000\\r\\n\\tBF67619B-17C5-4FE6-BFB4-83B8C9F7****\\r\\n\\ttrue\\r\\n\\t1\\r\\n\\t200\\r\\n\\t6\\r\\n","errorExample":""}]',
'title' => 'GetTopicList',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'GetTopicStatus' => [
'methods' => [
'post',
],
'schemes' => [
'http',
'https',
],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'abilityTreeCode' => '58600',
'abilityTreeNodes' => [
'FEATUREalikafkaVSFQUO',
],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => true,
'docRequired' => true,
'example' => 'alikafka_pre-cn-v0h15tjmo003 ',
],
],
[
'name' => 'Topic',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => true,
'docRequired' => true,
'example' => 'normal_topic_9d034262835916103455551be06cc2dc_6',
],
],
[
'name' => 'RegionId',
'in' => 'query',
'schema' => [
'type' => 'string',
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => [
'description' => '',
'type' => 'integer',
'format' => 'int32',
'example' => '200',
],
'Message' => [
'description' => '',
'type' => 'string',
'example' => 'operation success.',
],
'RequestId' => [
'description' => '',
'type' => 'string',
'example' => 'E475C7E2-8C35-46EF-BE7D-5D2A9F5D****',
],
'Success' => [
'description' => '',
'type' => 'boolean',
'example' => 'true',
],
'TopicStatus' => [
'description' => '',
'type' => 'object',
'properties' => [
'TotalCount' => [
'description' => '',
'type' => 'integer',
'format' => 'int64',
'example' => '423',
],
'LastTimeStamp' => [
'description' => '',
'type' => 'integer',
'format' => 'int64',
'example' => '1566470063575',
],
'OffsetTable' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'OffsetTable' => [
'description' => '',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Partition' => [
'description' => '',
'type' => 'integer',
'format' => 'int32',
'example' => '0',
],
'MinOffset' => [
'description' => '',
'type' => 'integer',
'format' => 'int64',
'example' => '0',
],
'LastUpdateTimestamp' => [
'description' => '',
'type' => 'integer',
'format' => 'int64',
'example' => '1566470063547',
],
'MaxOffset' => [
'description' => '',
'type' => 'integer',
'format' => 'int64',
'example' => '76',
],
'Topic' => [
'description' => '',
'type' => 'string',
'example' => 'testkafka',
],
],
],
],
],
],
],
],
],
],
],
],
'errorCodes' => [
403 => [
[
'errorCode' => 'AUTH_RESOURCE_OWNER_ERROR',
'errorMessage' => '%s. Please check and try again later.',
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"operation success.\\",\\n \\"RequestId\\": \\"E475C7E2-8C35-46EF-BE7D-5D2A9F5D****\\",\\n \\"Success\\": true,\\n \\"TopicStatus\\": {\\n \\"TotalCount\\": 423,\\n \\"LastTimeStamp\\": 1566470063575,\\n \\"OffsetTable\\": {\\n \\"OffsetTable\\": [\\n {\\n \\"Partition\\": 0,\\n \\"MinOffset\\": 0,\\n \\"LastUpdateTimestamp\\": 1566470063547,\\n \\"MaxOffset\\": 76,\\n \\"Topic\\": \\"testkafka\\"\\n }\\n ]\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\toperation success.\\r\\n\\tE475C7E2-8C35-46EF-BE7D-5D2A9F5D****\\r\\n\\t\\r\\n\\t\\t423\\r\\n\\t\\t1566470063575\\r\\n\\t\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t\\t0\\r\\n\\t\\t\\t\\t1566470063547\\r\\n\\t\\t\\t\\ttestkafka\\r\\n\\t\\t\\t\\t76\\r\\n\\t\\t\\t\\t0\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t\\t1\\r\\n\\t\\t\\t\\t1566470063575\\r\\n\\t\\t\\t\\ttestkafka\\r\\n\\t\\t\\t\\t69\\r\\n\\t\\t\\t\\t0\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t\\t2\\r\\n\\t\\t\\t\\t1566470063554\\r\\n\\t\\t\\t\\ttestkafka\\r\\n\\t\\t\\t\\t70\\r\\n\\t\\t\\t\\t0\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t\\t3\\r\\n\\t\\t\\t\\t1566470063538\\r\\n\\t\\t\\t\\ttestkafka\\r\\n\\t\\t\\t\\t67\\r\\n\\t\\t\\t\\t0\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t\\t4\\r\\n\\t\\t\\t\\t1566470063568\\r\\n\\t\\t\\t\\ttestkafka\\r\\n\\t\\t\\t\\t67\\r\\n\\t\\t\\t\\t0\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t\\t5\\r\\n\\t\\t\\t\\t1566470063561\\r\\n\\t\\t\\t\\ttestkafka\\r\\n\\t\\t\\t\\t74\\r\\n\\t\\t\\t\\t0\\r\\n\\t\\t\\t\\r\\n\\t\\t\\r\\n\\t\\r\\n\\ttrue\\r\\n\\t200\\r\\n","errorExample":""}]',
'title' => 'GetTopicStatus',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'CreateConsumerGroup' => [
'summary' => '创建 Group',
'methods' => [
'post',
],
'schemes' => [
'http',
'https',
],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'create',
'abilityTreeCode' => '58591',
'abilityTreeNodes' => [
'FEATUREalikafkaVSFQUO',
],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
'schema' => [
'description' => '',
'docRequired' => true,
'example' => 'alikafka_pre-cn-0pp1954n****',
'required' => true,
'type' => 'string',
],
],
[
'name' => 'ConsumerId',
'in' => 'query',
'schema' => [
'description' => '',
'docRequired' => true,
'example' => 'consumer_group_test',
'required' => true,
'type' => 'string',
],
],
[
'name' => 'RegionId',
'in' => 'query',
'schema' => [
'description' => '',
'docRequired' => true,
'example' => 'cn-hangzhou',
'required' => true,
'type' => 'string',
],
],
],
'responses' => [
200 => [
'schema' => [
'properties' => [
'Code' => [
'description' => '',
'example' => '200',
'format' => 'int32',
'type' => 'integer',
],
'Message' => [
'description' => '',
'example' => 'operation success',
'type' => 'string',
],
'RequestId' => [
'description' => '',
'example' => 'B191CC4D-B067-4508-987A-ACDA8D89****',
'type' => 'string',
],
'Success' => [
'description' => '',
'example' => 'true',
'type' => 'boolean',
],
],
'type' => 'object',
],
],
],
'errorCodes' => [
403 => [
[
'errorCode' => 'AUTH_RESOURCE_OWNER_ERROR',
'errorMessage' => '%s. Please check and try again later.',
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"operation success\\",\\n \\"RequestId\\": \\"B191CC4D-B067-4508-987A-ACDA8D89****\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"\\r\\n operation success\\r\\n B191CC4D-B067-4508-987A-ACDA8D89****\\r\\n true\\r\\n 200\\r\\n","errorExample":""}]',
'extraInfo' => ' ',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'title' => 'CreateConsumerGroup',
],
'DeleteConsumerGroup' => [
'methods' => [
'post',
],
'schemes' => [
'http',
'https',
],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'delete',
'abilityTreeCode' => '58593',
'abilityTreeNodes' => [
'FEATUREalikafkaVSFQUO',
],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => true,
'docRequired' => true,
'example' => 'alikafka_post-cn-mp91a44k****',
],
],
[
'name' => 'ConsumerId',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => true,
'docRequired' => true,
'example' => 'testconsumer',
],
],
[
'name' => 'RegionId',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => true,
'docRequired' => true,
'example' => 'cn-hangzhou',
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => [
'description' => '',
'type' => 'integer',
'format' => 'int32',
'example' => '200',
],
'Message' => [
'description' => '',
'type' => 'string',
'example' => 'operation success',
],
'RequestId' => [
'description' => '',
'type' => 'string',
'example' => '1AA2A2AD-2727-4573-B1C7-A0388BCD****',
],
'Success' => [
'description' => '',
'type' => 'boolean',
'example' => 'true',
],
],
],
],
],
'errorCodes' => [
403 => [
[
'errorCode' => 'AUTH_RESOURCE_OWNER_ERROR',
'errorMessage' => '%s. Please check and try again later.',
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"operation success\\",\\n \\"RequestId\\": \\"1AA2A2AD-2727-4573-B1C7-A0388BCD****\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"\\r\\n\\toperation success\\r\\n\\t1AA2A2AD-2727-4573-B1C7-A0388BCD61CC\\r\\n\\ttrue\\r\\n\\t200\\r\\n","errorExample":""}]',
'title' => 'DeleteConsumerGroup',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'GetConsumerList' => [
'methods' => [
'post',
],
'schemes' => [
'http',
'https',
],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'abilityTreeCode' => '58596',
'abilityTreeNodes' => [
'FEATUREalikafkaVSFQUO',
],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
'schema' => [
'description' => '',
'docRequired' => true,
'example' => 'alikafka_post-cn-v0h18sav****',
'required' => true,
'type' => 'string',
],
],
[
'name' => 'RegionId',
'in' => 'query',
'schema' => [
'description' => '',
'docRequired' => true,
'example' => 'cn-hangzhou',
'required' => true,
'type' => 'string',
],
],
],
'responses' => [
200 => [
'schema' => [
'properties' => [
'Code' => [
'description' => '',
'example' => '200',
'format' => 'int32',
'type' => 'integer',
],
'Message' => [
'description' => '',
'example' => 'operation success.',
'type' => 'string',
],
'RequestId' => [
'description' => '',
'example' => '808F042B-CB9A-4FBC-9009-00E7DDB6****',
'type' => 'string',
],
'Success' => [
'description' => '',
'example' => 'true',
'type' => 'boolean',
],
'ConsumerList' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'ConsumerVO' => [
'description' => '',
'type' => 'array',
'items' => [
'properties' => [
'ConsumerId' => [
'description' => '',
'example' => 'CID_c34a6f44915f80d70cb42c4b14ee40c3_4',
'type' => 'string',
],
'InstanceId' => [
'description' => '',
'example' => 'alikafka_post-cn-v0h18sav0001',
'type' => 'string',
],
'RegionId' => [
'description' => '',
'example' => 'cn-hangzhou',
'type' => 'string',
],
],
'type' => 'object',
],
],
],
],
],
'type' => 'object',
],
],
],
'errorCodes' => [
403 => [
[
'errorCode' => 'AUTH_RESOURCE_OWNER_ERROR',
'errorMessage' => '%s. Please check and try again later.',
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"operation success.\\",\\n \\"RequestId\\": \\"808F042B-CB9A-4FBC-9009-00E7DDB6****\\",\\n \\"Success\\": true,\\n \\"ConsumerList\\": {\\n \\"ConsumerVO\\": [\\n {\\n \\"ConsumerId\\": \\"CID_c34a6f44915f80d70cb42c4b14ee40c3_4\\",\\n \\"InstanceId\\": \\"alikafka_post-cn-v0h18sav0001\\",\\n \\"RegionId\\": \\"cn-hangzhou\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"\\r\\n \\r\\n \\r\\n CID_c34a6f44915f80d70cb42c4b14ee40c3_4\\r\\n alikafka_post-cn-v0h18sav****\\r\\n cn-hangzhou\\r\\n \\r\\n \\r\\n CID_c34a6f44915f80d70cb42c4b14ee40c3_3\\r\\n alikafka_post-cn-v0h18sav****\\r\\n cn-hangzhou\\r\\n \\r\\n \\r\\n operation success.\\r\\n 808F042B-CB9A-4FBC-9009-00E7DDB6****\\r\\n true\\r\\n 200\\r\\n","errorExample":""}]',
'extraInfo' => ' ',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'title' => 'GetConsumerList',
],
'GetConsumerProgress' => [
'methods' => [
'post',
],
'schemes' => [
'http',
'https',
],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'abilityTreeCode' => '58597',
'abilityTreeNodes' => [
'FEATUREalikafkaVSFQUO',
],
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => true,
'docRequired' => true,
'example' => 'alikafka_pre-cn-mp919o4v****',
],
],
[
'name' => 'ConsumerId',
'in' => 'query',
'schema' => [
'description' => 'Consumer Group ID。',
'type' => 'string',
'required' => true,
'docRequired' => true,
'example' => 'kafka-test',
],
],
[
'name' => 'RegionId',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => true,
'docRequired' => true,
'example' => 'cn-hangzhou',
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Code' => [
'description' => '',
'type' => 'integer',
'format' => 'int32',
'example' => '200',
],
'Message' => [
'description' => '',
'type' => 'string',
'example' => 'operation success.',
],
'RequestId' => [
'description' => '',
'type' => 'string',
'example' => '252820E1-A2E6-45F2-B4C9-1056B8CE****',
],
'Success' => [
'description' => '',
'type' => 'boolean',
'example' => 'true',
],
'ConsumerProgress' => [
'description' => '',
'type' => 'object',
'properties' => [
'LastTimestamp' => [
'description' => '',
'type' => 'integer',
'format' => 'int64',
'example' => '1566874931671',
],
'TotalDiff' => [
'description' => '',
'type' => 'integer',
'format' => 'int64',
'example' => '0',
],
'state' => [
'type' => 'string',
],
'TopicList' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'TopicList' => [
'description' => '',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'TotalDiff' => [
'description' => '',
'type' => 'integer',
'format' => 'int64',
'example' => '0',
],
'LastTimestamp' => [
'description' => '',
'type' => 'integer',
'format' => 'int64',
'example' => '1566874931649',
],
'Topic' => [
'description' => '',
'type' => 'string',
'example' => 'kafka-test',
],
'OffsetList' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'OffsetList' => [
'description' => '',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Partition' => [
'description' => '',
'type' => 'integer',
'format' => 'int32',
'example' => '0',
],
'BrokerOffset' => [
'description' => '',
'type' => 'integer',
'format' => 'int64',
'example' => '9',
],
'ConsumerOffset' => [
'description' => '',
'type' => 'integer',
'format' => 'int64',
'example' => '9',
],
'LastTimestamp' => [
'description' => '',
'type' => 'integer',
'format' => 'int64',
'example' => '1566874931649',
],
],
],
],
],
],
],
],
],
],
],
],
],
],
],
],
],
'errorCodes' => [
403 => [
[
'errorCode' => 'AUTH_RESOURCE_OWNER_ERROR',
'errorMessage' => '%s. Please check and try again later.',
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"operation success.\\",\\n \\"RequestId\\": \\"252820E1-A2E6-45F2-B4C9-1056B8CE****\\",\\n \\"Success\\": true,\\n \\"ConsumerProgress\\": {\\n \\"LastTimestamp\\": 1566874931671,\\n \\"TotalDiff\\": 0,\\n \\"TopicList\\": {\\n \\"TopicList\\": [\\n {\\n \\"TotalDiff\\": 0,\\n \\"LastTimestamp\\": 1566874931649,\\n \\"Topic\\": \\"kafka-test\\",\\n \\"OffsetList\\": {\\n \\"OffsetList\\": [\\n {\\n \\"Partition\\": 0,\\n \\"BrokerOffset\\": 9,\\n \\"ConsumerOffset\\": 9,\\n \\"LastTimestamp\\": 1566874931649\\n }\\n ]\\n }\\n }\\n ]\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"\\r\\n operation success.\\r\\n 252820E1-A2E6-45F2-B4C9-1056B8CE****\\r\\n \\r\\n 0\\r\\n 1566874931671\\r\\n \\r\\n \\r\\n 0\\r\\n \\r\\n \\r\\n 0\\r\\n 1566874931649\\r\\n 9\\r\\n 9\\r\\n \\r\\n \\r\\n 1\\r\\n 1566874931605\\r\\n 9\\r\\n 9\\r\\n \\r\\n \\r\\n 2\\r\\n 1566874931561\\r\\n 10\\r\\n 10\\r\\n \\r\\n \\r\\n 3\\r\\n 1566874931628\\r\\n 8\\r\\n 8\\r\\n \\r\\n \\r\\n 4\\r\\n 1566874931579\\r\\n 8\\r\\n 8\\r\\n \\r\\n \\r\\n 5\\r\\n 1566874931570\\r\\n 10\\r\\n 10\\r\\n \\r\\n \\r\\n 6\\r\\n 1566874931639\\r\\n 9\\r\\n 9\\r\\n \\r\\n \\r\\n 7\\r\\n 1566874931586\\r\\n 8\\r\\n 8\\r\\n \\r\\n \\r\\n 8\\r\\n 1566874931661\\r\\n 9\\r\\n 9\\r\\n \\r\\n \\r\\n 9\\r\\n 1566874931616\\r\\n 8\\r\\n 8\\r\\n \\r\\n \\r\\n 10\\r\\n 1566874931596\\r\\n 8\\r\\n 8\\r\\n \\r\\n \\r\\n 11\\r\\n 1566874931671\\r\\n 9\\r\\n 9\\r\\n \\r\\n \\r\\n 1566874931671\\r\\n kafka-test\\r\\n \\r\\n \\r\\n \\r\\n true\\r\\n 200\\r\\n","errorExample":""}]',
'title' => 'GetConsumerProgress',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
],
'endpoints' => [
[
'regionId' => 'cn-wulanchabu',
'endpoint' => 'alikafka.cn-wulanchabu.aliyuncs.com',
],
[
'regionId' => 'cn-beijing',
'endpoint' => 'alikafka.cn-beijing.aliyuncs.com',
],
[
'regionId' => 'cn-qingdao',
'endpoint' => 'alikafka.cn-qingdao.aliyuncs.com',
],
[
'regionId' => 'cn-shanghai',
'endpoint' => 'alikafka.cn-shanghai.aliyuncs.com',
],
[
'regionId' => 'cn-hongkong',
'endpoint' => 'alikafka.cn-hongkong.aliyuncs.com',
],
[
'regionId' => 'cn-heyuan',
'endpoint' => 'alikafka.cn-heyuan.aliyuncs.com',
],
[
'regionId' => 'cn-zhangjiakou',
'endpoint' => 'alikafka.cn-zhangjiakou.aliyuncs.com',
],
[
'regionId' => 'cn-shenzhen',
'endpoint' => 'alikafka.cn-shenzhen.aliyuncs.com',
],
[
'regionId' => 'ap-northeast-2',
'endpoint' => 'alikafka.ap-northeast-2.aliyuncs.com',
],
[
'regionId' => 'ap-northeast-1',
'endpoint' => 'alikafka.ap-northeast-1.aliyuncs.com',
],
[
'regionId' => 'cn-chengdu',
'endpoint' => 'alikafka.cn-chengdu.aliyuncs.com',
],
[
'regionId' => 'cn-guangzhou',
'endpoint' => 'alikafka.cn-guangzhou.aliyuncs.com',
],
[
'regionId' => 'ap-southeast-1',
'endpoint' => 'alikafka.ap-southeast-1.aliyuncs.com',
],
[
'regionId' => 'ap-southeast-2',
'endpoint' => 'alikafka.ap-southeast-2.aliyuncs.com',
],
[
'regionId' => 'ap-southeast-3',
'endpoint' => 'alikafka.ap-southeast-3.aliyuncs.com',
],
[
'regionId' => 'cn-huhehaote',
'endpoint' => 'alikafka.cn-huhehaote.aliyuncs.com',
],
[
'regionId' => 'ap-southeast-5',
'endpoint' => 'alikafka.ap-southeast-5.aliyuncs.com',
],
[
'regionId' => 'ap-southeast-7',
'endpoint' => 'alikafka.ap-southeast-7.aliyuncs.com',
],
[
'regionId' => 'cn-hangzhou',
'endpoint' => 'alikafka.cn-hangzhou.aliyuncs.com',
],
[
'regionId' => 'us-east-1',
'endpoint' => 'alikafka.us-east-1.aliyuncs.com',
],
[
'regionId' => 'eu-west-1',
'endpoint' => 'alikafka.eu-west-1.aliyuncs.com',
],
[
'regionId' => 'us-west-1',
'endpoint' => 'alikafka.us-west-1.aliyuncs.com',
],
[
'regionId' => 'eu-central-1',
'endpoint' => 'alikafka.eu-central-1.aliyuncs.com',
],
[
'regionId' => 'me-east-1',
'endpoint' => 'alikafka.me-east-1.aliyuncs.com',
],
[
'regionId' => 'me-central-1',
'endpoint' => 'alikafka.me-central-1.aliyuncs.com',
],
[
'regionId' => 'cn-hangzhou-finance',
'endpoint' => 'alikafka.cn-hangzhou-finance.aliyuncs.com',
],
[
'regionId' => 'cn-shenzhen-finance-1',
'endpoint' => 'alikafka.cn-shenzhen-finance-1.aliyuncs.com',
],
[
'regionId' => 'cn-beijing-finance-1',
'endpoint' => 'alikafka.cn-beijing-finance-1.aliyuncs.com',
],
[
'regionId' => 'cn-shanghai-finance-1',
'endpoint' => 'alikafka.cn-shanghai-finance-1.aliyuncs.com',
],
[
'regionId' => 'na-south-1',
'endpoint' => 'alikafka.na-south-1.aliyuncs.com',
],
],
];