'1.0',
'info' => [
'style' => 'RPC',
'product' => 'Mhub',
'version' => '2017-08-25',
],
'directories' => [
[
'id' => 190727,
'title' => null,
'type' => 'directory',
'children' => [
'OpenEmasService',
],
],
[
'id' => 190718,
'title' => null,
'type' => 'directory',
'children' => [
'CreateApp',
'DeleteApp',
'ModifyApp',
'ListApps',
'QueryAppInfo',
'DescribeDashboard',
'QueryAppSecurityInfo',
],
],
[
'id' => 190721,
'title' => null,
'type' => 'directory',
'children' => [
'CreateProduct',
'DeleteProduct',
'ModifyProduct',
'ListProducts',
'QueryProductInfo',
],
],
],
'components' => [
'schemas' => [],
],
'apis' => [
'OpenEmasService' => [
'methods' => [
'post',
'get',
],
'schemes' => [
'http',
'https',
],
'security' => [
[
'AK' => [],
],
[
'APP' => [],
],
[
'PrivateKey' => [],
],
[
'BearerToken' => [],
],
],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
],
'parameters' => [],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'OrderId' => [
'description' => '',
'type' => 'string',
'example' => '20671870151****',
],
'RequestId' => [
'description' => '',
'type' => 'string',
'example' => '126D4DDD-05A5-49B1-B18C-39C4A929BFB2',
],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"OrderId\\": \\"20671870151****\\",\\n \\"RequestId\\": \\"126D4DDD-05A5-49B1-B18C-39C4A929BFB2\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'CreateApp' => [
'methods' => [
'post',
'get',
],
'schemes' => [
'http',
'https',
],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'systemTags' => [],
'parameters' => [
[
'name' => 'ProductId',
'in' => 'query',
'schema' => [
'description' => '',
'docRequired' => true,
'example' => '123456',
'required' => true,
'type' => 'string',
],
],
[
'name' => 'Name',
'in' => 'query',
'schema' => [
'description' => '',
'docRequired' => true,
'example' => '',
'required' => true,
'type' => 'string',
],
],
[
'name' => 'Type',
'in' => 'query',
'schema' => [
'description' => '',
'example' => '1',
'format' => 'int32',
'required' => false,
'type' => 'integer',
],
],
[
'name' => 'BundleId',
'in' => 'query',
'schema' => [
'description' => '',
'example' => 'com.test.ios',
'required' => false,
'type' => 'string',
],
],
[
'name' => 'PackageName',
'in' => 'query',
'schema' => [
'description' => '',
'example' => 'com.test.android',
'required' => false,
'type' => 'string',
],
],
[
'name' => 'EncodedIcon',
'in' => 'query',
'schema' => [
'description' => '',
'example' => '',
'required' => false,
'type' => 'string',
],
],
[
'name' => 'IndustryId',
'in' => 'query',
'schema' => [
'description' => '',
'example' => '1',
'required' => false,
'type' => 'string',
],
],
],
'responses' => [
200 => [
'schema' => [
'properties' => [
'RequestId' => [
'description' => '',
'example' => '126D4DDD-05A5-49B1-B18C-39C4A929****',
'type' => 'string',
],
'AppInfo' => [
'description' => '',
'properties' => [
'Type' => [
'description' => '',
'example' => '1',
'format' => 'int32',
'type' => 'integer',
],
'AppKey' => [
'description' => '',
'example' => '123456',
'type' => 'string',
],
'Description' => [
'description' => '',
'example' => '',
'type' => 'string',
],
'PackageName' => [
'description' => '',
'example' => 'com.test.android',
'type' => 'string',
],
'CreateTime' => [
'description' => '',
'example' => '2020-12-16T06:25:52Z',
'type' => 'string',
],
'ProductId' => [
'description' => '',
'example' => '123456',
'format' => 'int32',
'type' => 'integer',
],
'BundleId' => [
'description' => '',
'example' => 'com.test.ios',
'type' => 'string',
],
'Name' => [
'description' => '',
'example' => '',
'type' => 'string',
],
'ModifyTime' => [
'description' => '',
'example' => '2020-12-16T06:25:52Z',
'type' => 'string',
],
],
'type' => 'object',
],
],
'type' => 'object',
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"126D4DDD-05A5-49B1-B18C-39C4A929****\\",\\n \\"AppInfo\\": {\\n \\"Type\\": 1,\\n \\"AppKey\\": \\"123456\\",\\n \\"Description\\": \\"应用描述信息\\",\\n \\"PackageName\\": \\"com.test.android\\",\\n \\"CreateTime\\": \\"2020-12-16T06:25:52Z\\",\\n \\"ProductId\\": 123456,\\n \\"BundleId\\": \\"com.test.ios\\",\\n \\"Name\\": \\"我的应用\\",\\n \\"ModifyTime\\": \\"2020-12-16T06:25:52Z\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n 126D4DDD-05A5-49B1-B18C-39C4A929****\\n \\n 1\\n 123456\\n 应用描述信息\\n com.test.android\\n 2020-12-16T06:25:52Z\\n 123456\\n com.test.ios\\n 我的应用\\n 2020-12-16T06:25:52Z\\n \\n","errorExample":""}]',
'extraInfo' => ' ',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
],
'DeleteApp' => [
'methods' => [
'post',
'get',
],
'schemes' => [
'http',
'https',
],
'security' => [
[
'AK' => [],
],
],
'systemTags' => [],
'parameters' => [
[
'name' => 'AppKey',
'in' => 'query',
'schema' => [
'description' => '',
'example' => '123456',
'required' => true,
'type' => 'string',
],
],
],
'responses' => [
200 => [
'schema' => [
'properties' => [
'RequestId' => [
'description' => '',
'example' => '126D4DDD-05A5-49B1-B18C-39C4A929BFB2',
'type' => 'string',
],
],
'type' => 'object',
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"126D4DDD-05A5-49B1-B18C-39C4A929BFB2\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 126D4DDD-05A5-49B1-B18C-39C4A929BFB2\\n","errorExample":""}]',
'extraInfo' => ' ',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
],
'ModifyApp' => [
'methods' => [
'post',
'get',
],
'schemes' => [
'http',
'https',
],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'systemTags' => [],
'parameters' => [
[
'name' => 'AppKey',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => true,
'docRequired' => true,
'example' => '123456',
],
],
[
'name' => 'Name',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => false,
'example' => '',
],
],
[
'name' => 'BundleId',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => false,
'example' => 'com.test.ios',
],
],
[
'name' => 'PackageName',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => false,
'example' => 'com.test.android',
],
],
[
'name' => 'EncodedIcon',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => false,
'example' => '',
],
],
[
'name' => 'IndustryId',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'integer',
'format' => 'int32',
'required' => false,
'example' => '1',
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => [
'description' => '',
'type' => 'string',
'example' => '126D4DDD-05A5-49B1-B18C-39C4A929BFB2',
],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"126D4DDD-05A5-49B1-B18C-39C4A929BFB2\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'ListApps' => [
'summary' => '展示用户应用列表',
'methods' => [
'post',
'get',
],
'schemes' => [
'http',
'https',
],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => [
'FEATUREemasSMMS19',
],
'autoTest' => true,
'tenantRelevance' => 'tenant',
],
'parameters' => [
[
'name' => 'ProductId',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => true,
'docRequired' => true,
'example' => '123456',
],
],
[
'name' => 'Page',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => false,
'example' => '1',
'default' => '1',
],
],
[
'name' => 'PageSize',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => false,
'example' => '20',
'default' => '200',
],
],
[
'name' => 'OsType',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'integer',
'format' => 'int32',
'required' => false,
'docRequired' => false,
'maximum' => '2',
'minimum' => '0',
'example' => '1',
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'UbsmsStatus' => [
'description' => '',
'type' => 'string',
'example' => 'enabled',
'title' => '当前账号状态,返回值说明如下:-enabled:开通状态-disabled:禁用状态-indebt:停机24小时以内(含24小时)-indebt24h:停机12小时以上',
],
'RequestId' => [
'description' => '',
'type' => 'string',
'example' => '126D4DDD-05A5-49B1-B18C-39C4A929BFB2',
'title' => '请求唯一标识,用于识别一个请求。',
],
'Total' => [
'description' => '',
'type' => 'integer',
'format' => 'int32',
'example' => '10',
'title' => '应用总数。',
],
'AppInfos' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'AppInfo' => [
'description' => '',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Type' => [
'description' => '',
'type' => 'integer',
'format' => 'int32',
'example' => '1',
'title' => '应用类型,取值范围如下:1:ios2:android8:魔笔网页端9:魔笔移动端',
],
'IndustryId' => [
'description' => '',
'type' => 'integer',
'format' => 'int32',
'example' => '1',
'title' => '行业id,取值范围如下:*0.社交*1.摄影与摄像*2.效率*3.生活*4.美食佳饮*5.工具*6.娱乐*7.游戏*8.儿童*9.教育*10.报刊杂志*11.健康健美*12.旅游*13.音乐*14.体育*15.商务*16.新闻*17.财务*18.参考*19.导航*20.医疗*',
],
'AppKey' => [
'description' => '',
'type' => 'string',
'example' => '123456',
'title' => '应用appkey,接口请求时唯一标识一个应用。',
],
'PackageName' => [
'description' => '',
'type' => 'string',
'example' => 'com.test.android',
'title' => 'android应用包名。',
],
'EncodedIcon' => [
'description' => '',
'type' => 'string',
'example' => '图片 base64 字符串',
'title' => '图片base64字符串。',
],
'Name' => [
'description' => '',
'type' => 'string',
'example' => '我的应用',
'title' => '应用名。',
],
'BundleId' => [
'description' => '',
'type' => 'string',
'example' => 'com.test.ios',
'title' => 'ios应用id。创建ios应用时必填。',
],
'Readonly' => [
'description' => '',
'type' => 'boolean',
'example' => 'false',
'title' => '是否为只读应用。仅特殊场景使用。',
],
'AppName' => [
'title' => '应用名称。',
'type' => 'string',
'example' => 'mobile-live-service',
],
],
'title' => '应用的详细信息。',
],
'title' => '应用的详细信息。',
],
],
],
],
],
],
],
'staticInfo' => [
'returnType' => 'synchronous',
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"UbsmsStatus\\": \\"enabled\\",\\n \\"RequestId\\": \\"126D4DDD-05A5-49B1-B18C-39C4A929BFB2\\",\\n \\"Total\\": 10,\\n \\"AppInfos\\": {\\n \\"AppInfo\\": [\\n {\\n \\"Type\\": 1,\\n \\"IndustryId\\": 1,\\n \\"AppKey\\": \\"123456\\",\\n \\"PackageName\\": \\"com.test.android\\",\\n \\"EncodedIcon\\": \\"图片 base64 字符串\\",\\n \\"Name\\": \\"我的应用\\",\\n \\"BundleId\\": \\"com.test.ios\\",\\n \\"Readonly\\": false,\\n \\"AppName\\": \\"mobile-live-service\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'QueryAppInfo' => [
'methods' => [
'post',
'get',
],
'schemes' => [
'http',
'https',
],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
],
'parameters' => [
[
'name' => 'AppKey',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => true,
'docRequired' => true,
'example' => '123456',
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => [
'description' => '',
'type' => 'string',
'example' => '126D4DDD-05A5-49B1-B18C-39C4A929BFB2',
],
'AppInfo' => [
'description' => '',
'type' => 'object',
'properties' => [
'Status' => [
'description' => '',
'type' => 'integer',
'format' => 'int32',
'example' => '0',
],
'Type' => [
'description' => '',
'type' => 'integer',
'format' => 'int32',
'example' => '1',
],
'CertDevelopExpiration' => [
'description' => '',
'type' => 'string',
'example' => '2020-12-16T06:25:52Z',
],
'IndustryId' => [
'description' => '',
'type' => 'integer',
'format' => 'int32',
'example' => '1',
],
'PackageName' => [
'description' => '',
'type' => 'string',
'example' => 'com.test.android',
],
'CreateTime' => [
'description' => '',
'type' => 'string',
'example' => '2020-12-16T06:25:52Z',
],
'Readonly' => [
'description' => '',
'type' => 'boolean',
'example' => 'false',
],
'AppName' => [
'description' => '',
'type' => 'string',
'example' => '',
],
'CertProductExpiration' => [
'description' => '',
'type' => 'string',
'example' => '2020-12-16T06:25:52Z',
],
'AppKey' => [
'description' => '',
'type' => 'string',
'example' => '123456',
],
'CertDevelopAvail' => [
'description' => '',
'type' => 'boolean',
'example' => 'false',
],
'EncodedIcon' => [
'description' => '',
'type' => 'string',
'example' => '',
],
'ProductId' => [
'description' => '',
'type' => 'integer',
'format' => 'int64',
'example' => '1234',
],
'BundleId' => [
'description' => '',
'type' => 'string',
'example' => 'com.test.ios',
],
'CertProductAvail' => [
'description' => '',
'type' => 'boolean',
'example' => 'false',
],
],
],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"126D4DDD-05A5-49B1-B18C-39C4A929BFB2\\",\\n \\"AppInfo\\": {\\n \\"Status\\": 0,\\n \\"Type\\": 1,\\n \\"CertDevelopExpiration\\": \\"2020-12-16T06:25:52Z\\",\\n \\"IndustryId\\": 1,\\n \\"PackageName\\": \\"com.test.android\\",\\n \\"CreateTime\\": \\"2020-12-16T06:25:52Z\\",\\n \\"Readonly\\": false,\\n \\"AppName\\": \\"我的应用\\",\\n \\"CertProductExpiration\\": \\"2020-12-16T06:25:52Z\\",\\n \\"AppKey\\": \\"123456\\",\\n \\"CertDevelopAvail\\": false,\\n \\"EncodedIcon\\": \\"icon图片base64字符串\\",\\n \\"ProductId\\": 1234,\\n \\"BundleId\\": \\"com.test.ios\\",\\n \\"CertProductAvail\\": false\\n }\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'DescribeDashboard' => [
'summary' => '获取emas dashboard',
'methods' => [
'post',
'get',
],
'schemes' => [
'http',
'https',
],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'ServiceName',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => false,
'example' => 'mqc',
],
],
[
'name' => 'AppKey',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => false,
'example' => '29201799',
],
],
[
'name' => 'AppType',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'integer',
'format' => 'int32',
'required' => false,
'example' => '1',
],
],
[
'name' => 'AppVersion',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => false,
'example' => '4.8',
],
],
[
'name' => 'Keyword',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => false,
'example' => ' 4.8',
],
],
[
'name' => 'StartTime',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'integer',
'format' => 'int64',
'required' => false,
'example' => '1681369984564',
],
],
[
'name' => 'EndTime',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'integer',
'format' => 'int64',
'required' => false,
'example' => '1681985390256',
],
],
[
'name' => 'ProxyAction',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => false,
'enumValueTitles' => [
'queryAppVersions' => 'queryAppVersions',
'queryApmInfo' => 'queryApmInfo',
'queryCrashInfo' => 'queryCrashInfo',
],
'example' => 'queryAppVersions',
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => [
'description' => '',
'type' => 'string',
'example' => '4CC30A8F-787C-55CA-87A6-7D1BED56067E',
],
'Model' => [
'description' => '',
'type' => 'string',
'example' => '{'."\n"
.' "success":true,'."\n"
.' "model":{'."\n"
.' "perfMonthCount":0,'."\n"
.' "compatibilityMonthCount":0,'."\n"
.' "perfLastMonthCount":0,'."\n"
.' "compatibilityLastMonthCount":0,'."\n"
.' "automationMonthCount":0,'."\n"
.' "automationLastMonthCount":0'."\n"
.' }'."\n"
.'}',
],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4CC30A8F-787C-55CA-87A6-7D1BED56067E\\",\\n \\"Model\\": \\"{\\\\n\\\\t\\\\\\"success\\\\\\":true,\\\\n\\\\t\\\\\\"model\\\\\\":{\\\\n\\\\t\\\\t\\\\\\"perfMonthCount\\\\\\":0,\\\\n\\\\t\\\\t\\\\\\"compatibilityMonthCount\\\\\\":0,\\\\n\\\\t\\\\t\\\\\\"perfLastMonthCount\\\\\\":0,\\\\n\\\\t\\\\t\\\\\\"compatibilityLastMonthCount\\\\\\":0,\\\\n\\\\t\\\\t\\\\\\"automationMonthCount\\\\\\":0,\\\\n\\\\t\\\\t\\\\\\"automationLastMonthCount\\\\\\":0\\\\n\\\\t}\\\\n}\\"\\n}","type":"json"}]',
],
'QueryAppSecurityInfo' => [
'summary' => '查询应用对应的安全字段',
'methods' => [
'post',
'get',
],
'schemes' => [
'http',
'https',
],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => [
'FEATUREemasSMMS19',
],
],
'parameters' => [
[
'name' => 'AppKey',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => true,
'example' => '123456',
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => [
'description' => '',
'type' => 'string',
'example' => '126D4DDD-05A5-49B1-B18C-39C4A929BFB2',
],
'AppSecurityInfo' => [
'description' => '',
'type' => 'object',
'properties' => [
'AppSecret' => [
'description' => '',
'type' => 'string',
'example' => 'abc123abc123',
],
'AppKey' => [
'description' => '',
'type' => 'string',
'example' => '123456',
],
'ExtConfig' => [
'type' => 'object',
'properties' => [
'TlogRsaSecret' => [
'type' => 'string',
],
],
],
],
],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"126D4DDD-05A5-49B1-B18C-39C4A929BFB2\\",\\n \\"AppSecurityInfo\\": {\\n \\"AppSecret\\": \\"abc123abc123\\",\\n \\"AppKey\\": \\"123456\\",\\n \\"ExtConfig\\": {\\n \\"TlogRsaSecret\\": \\"\\"\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'CreateProduct' => [
'methods' => [
'post',
'get',
],
'schemes' => [
'http',
'https',
],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'systemTags' => [],
'parameters' => [
[
'name' => 'Name',
'in' => 'query',
'schema' => [
'description' => '',
'docRequired' => true,
'example' => '',
'required' => true,
'type' => 'string',
],
],
[
'name' => 'Description',
'in' => 'query',
'schema' => [
'description' => '',
'example' => 'AAA',
'required' => false,
'type' => 'string',
],
],
],
'responses' => [
200 => [
'schema' => [
'properties' => [
'ProductId' => [
'description' => '',
'example' => '123456',
'format' => 'int64',
'type' => 'integer',
],
'RequestId' => [
'description' => '',
'example' => '126D4DDD-05A5-49B1-B18C-39C4A929BFB2',
'type' => 'string',
],
],
'type' => 'object',
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"ProductId\\": 123456,\\n \\"RequestId\\": \\"126D4DDD-05A5-49B1-B18C-39C4A929BFB2\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 123456\\n 126D4DDD-05A5-49B1-B18C-39C4A929BFB2\\n","errorExample":""}]',
'extraInfo' => ' ',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
],
'DeleteProduct' => [
'methods' => [
'post',
'get',
],
'schemes' => [
'http',
'https',
],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'systemTags' => [],
'parameters' => [
[
'name' => 'ProductId',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => true,
'example' => '12345',
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'Message' => [
'description' => '',
'type' => 'string',
'example' => 'PRODUCT_NOT_ALONE',
],
'RequestId' => [
'description' => '',
'type' => 'string',
'example' => '126D4DDD-05A5-49B1-B18C-39C4A929BFB2',
],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"PRODUCT_NOT_ALONE\\",\\n \\"RequestId\\": \\"126D4DDD-05A5-49B1-B18C-39C4A929BFB2\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'ModifyProduct' => [
'methods' => [
'post',
'get',
],
'schemes' => [
'http',
'https',
],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'systemTags' => [
'operationType' => 'get',
],
'parameters' => [
[
'name' => 'ProductId',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => true,
'docRequired' => true,
'example' => '1234',
],
],
[
'name' => 'Name',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => true,
'docRequired' => true,
'example' => '',
],
],
[
'name' => 'Description',
'in' => 'query',
'schema' => [
'type' => 'string',
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => [
'description' => '',
'type' => 'string',
'example' => '126D4DDD-05A5-49B1-B18C-39C4A929BFB2',
],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"126D4DDD-05A5-49B1-B18C-39C4A929BFB2\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 126D4DDD-05A5-49B1-B18C-39C4A929BFB2\\n","errorExample":""}]',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
'ListProducts' => [
'summary' => '分页获取产品(在基座中表达为项目)列表',
'methods' => [
'post',
'get',
],
'schemes' => [
'http',
'https',
],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => [
'FEATUREemasSMMS19',
],
],
'parameters' => [
[
'name' => 'Offset',
'in' => 'query',
'schema' => [
'description' => '',
'docRequired' => true,
'example' => '1',
'format' => 'int32',
'required' => false,
'type' => 'integer',
],
],
[
'name' => 'Size',
'in' => 'query',
'schema' => [
'description' => '',
'docRequired' => true,
'example' => '20',
'format' => 'int32',
'required' => false,
'type' => 'integer',
],
],
[
'name' => 'Simple',
'in' => 'query',
'schema' => [
'description' => '',
'example' => 'false',
'required' => false,
'type' => 'boolean',
],
],
[
'name' => 'ProductName',
'in' => 'query',
'schema' => [
'description' => '',
'example' => '',
'required' => false,
'type' => 'string',
],
],
[
'name' => 'SearchKeyWord',
'in' => 'query',
'schema' => [
'type' => 'string',
],
],
[
'name' => 'PageNum',
'in' => 'query',
'schema' => [
'type' => 'integer',
'format' => 'int32',
],
],
[
'name' => 'PageSize',
'in' => 'query',
'schema' => [
'type' => 'integer',
'format' => 'int32',
],
],
],
'responses' => [
200 => [
'schema' => [
'properties' => [
'UbsmsStatus' => [
'description' => '',
'example' => 'enabled',
'type' => 'string',
'title' => '当前账号状态,返回值说明如下:-enabled:开通状态-disabled:禁用状态-indebt:停机24小时以上',
],
'RequestId' => [
'description' => '',
'example' => '126D4DDD-05A5-49B1-B18C-39C4A929BFB2',
'type' => 'string',
'title' => '请求的id。',
],
'Total' => [
'description' => '',
'example' => '10',
'format' => 'int32',
'type' => 'integer',
'title' => '查询结果总数。',
],
'ProductInfos' => [
'type' => 'object',
'itemNode' => true,
'properties' => [
'ProductInfo' => [
'description' => '',
'type' => 'array',
'items' => [
'properties' => [
'IndustryId' => [
'description' => '',
'example' => '1',
'format' => 'int32',
'type' => 'integer',
'title' => '行业id,返回值说明如下:-0:社交-1:摄影与摄像-2:效率-3:生活-4:美食佳饮-5:工具-6:娱乐-7:游戏-8:音乐-9:体育-10:商务-11:新闻-12:财务-13:参考-14:导航-15:医疗',
],
'Platforms' => [
'description' => '',
'example' => 'iOS',
'type' => 'string',
'title' => '工作空间下属应用的平台。',
],
'CreateTime' => [
'description' => '',
'example' => '2020-12-16T06:25:52Z',
'type' => 'string',
'title' => '工作空间的创建时间。utc格式表达。',
],
'EncodedIcon' => [
'description' => '',
'example' => '图片 base64',
'type' => 'string',
'title' => 'icon图片的base64字符串。',
],
'ProductId' => [
'description' => '',
'example' => '1234',
'format' => 'int32',
'type' => 'integer',
'title' => '工作空间的id。',
],
'Name' => [
'description' => '',
'example' => '我的项目',
'type' => 'string',
'title' => '工作空间的名称。',
],
'Readonly' => [
'description' => '',
'example' => 'false',
'type' => 'boolean',
'title' => '标识工作空间是否为只读状态。',
],
'Description' => [
'description' => '',
'example' => 'xxxx',
'type' => 'string',
'title' => '工作空间的描述。',
],
],
'type' => 'object',
'title' => '工作空间的概要信息。',
],
'title' => '工作空间的概要信息。',
],
],
],
],
'type' => 'object',
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"UbsmsStatus\\": \\"enabled\\",\\n \\"RequestId\\": \\"126D4DDD-05A5-49B1-B18C-39C4A929BFB2\\",\\n \\"Total\\": 10,\\n \\"ProductInfos\\": {\\n \\"ProductInfo\\": [\\n {\\n \\"IndustryId\\": 1,\\n \\"Platforms\\": \\"iOS\\",\\n \\"CreateTime\\": \\"2020-12-16T06:25:52Z\\",\\n \\"EncodedIcon\\": \\"图片 base64\\",\\n \\"ProductId\\": 1234,\\n \\"Name\\": \\"我的项目\\",\\n \\"Readonly\\": false,\\n \\"Description\\": \\"xxxx\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n enabled\\n 126D4DDD-05A5-49B1-B18C-39C4A929BFB2\\n 10\\n \\n 1\\n iOS\\n 2020-12-16T06:25:52Z\\n 图片 base64\\n 1234\\n 我的项目\\n false\\n xxxx\\n \\n","errorExample":""}]',
'extraInfo' => ' ',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
],
'QueryProductInfo' => [
'summary' => '查询基座的Product信息',
'methods' => [
'post',
'get',
],
'schemes' => [
'http',
'https',
],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => [
'FEATUREemasSMMS19',
],
],
'parameters' => [
[
'name' => 'ProductId',
'in' => 'query',
'schema' => [
'description' => '',
'type' => 'string',
'required' => true,
'example' => '1234',
],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => [
'description' => '',
'type' => 'string',
'example' => '126D4DDD-05A5-49B1-B18C-39C4A929BFB2',
'title' => '查询请求的id。',
],
'ProductInfo' => [
'description' => '',
'type' => 'object',
'properties' => [
'EncodedIcon' => [
'description' => '',
'type' => 'string',
'example' => 'icon图片base64字符串',
'title' => 'icon图片的base64字符串。',
],
'IndustryId' => [
'description' => '',
'type' => 'integer',
'format' => 'int32',
'example' => '1',
'title' => '行业id,返回值说明如下:-0:社交-1:摄影与摄像-2:效率-3:生活-4:美食佳饮-5:工具-6:娱乐-7:游戏-8:儿童-9:教育-10:报刊杂志-11:健康健美-12:旅游-13:音乐-14:体育-15:商务-16:新闻-17:财务-18:参考-19:导航-20:医疗',
],
'Name' => [
'description' => '',
'type' => 'string',
'example' => '我的项目',
'title' => '工作空间的名称。',
],
'Readonly' => [
'description' => '',
'type' => 'boolean',
'example' => 'false',
'title' => '标识工作空间是否只读。>该字段用于特定场景,如无需要可忽略。',
],
'IconName' => [
'description' => '',
'type' => 'string',
'example' => 'icon图片名称',
'title' => 'icon图片的名称。',
],
'Platforms' => [
'title' => '项目下属应用的平台,包含Android和iOS两种类型。',
'type' => 'string',
'example' => 'linux/amd64',
],
'CreateTime' => [
'title' => '应用创建时间。UTC格式表达。',
'type' => 'string',
'example' => '2022-12-02T09:50:01Z',
],
'ProductId' => [
'title' => '项目ID。',
'type' => 'integer',
'format' => 'int32',
'example' => '3910360',
],
'Description' => [
'title' => '简要描述项目信息。',
'type' => 'string',
'example' => 'endpoint for ecs: kangaroo-xuanji-cn-hangzhou-ecs-console-mirror-0(i-bp1fs84ua5zw4aljdlh1)',
],
],
'title' => '工作空间的详细信息。',
],
],
],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"126D4DDD-05A5-49B1-B18C-39C4A929BFB2\\",\\n \\"ProductInfo\\": {\\n \\"EncodedIcon\\": \\"icon图片base64字符串\\",\\n \\"IndustryId\\": 1,\\n \\"Name\\": \\"我的项目\\",\\n \\"Readonly\\": false,\\n \\"IconName\\": \\"icon图片名称\\",\\n \\"Platforms\\": \\"linux/amd64\\",\\n \\"CreateTime\\": \\"2022-12-02T09:50:01Z\\",\\n \\"ProductId\\": 3910360,\\n \\"Description\\": \\"endpoint for ecs: kangaroo-xuanji-cn-hangzhou-ecs-console-mirror-0(i-bp1fs84ua5zw4aljdlh1)\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n 126D4DDD-05A5-49B1-B18C-39C4A929BFB2\\n \\n icon图片base64字符串\\n 1\\n 我的项目\\n false\\n icon图片名称\\n \\n","errorExample":""}]',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
],
],
'endpoints' => [
[
'regionId' => 'cn-shanghai',
'endpoint' => 'mhub.cn-shanghai.aliyuncs.com',
],
],
];