diff options
| author | Zhineng Li <im@zhineng.li> | 2026-07-12 17:11:17 +0800 |
|---|---|---|
| committer | Zhineng Li <im@zhineng.li> | 2026-07-12 17:11:17 +0800 |
| commit | 1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634 (patch) | |
| tree | 5f0857666365b7e40cdaa3733ebe1f3ba9e13c67 /data/en_us/mhub | |
| parent | 7347bac4ab7e136157fc94777e6cf87ef9e08599 (diff) | |
| download | afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.tar.gz afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.zip | |
update APIs 20260712
Diffstat (limited to 'data/en_us/mhub')
| -rw-r--r-- | data/en_us/mhub/2017-08-25/api-docs.php | 2129 |
1 files changed, 1117 insertions, 1012 deletions
diff --git a/data/en_us/mhub/2017-08-25/api-docs.php b/data/en_us/mhub/2017-08-25/api-docs.php index d407451..016f54b 100644 --- a/data/en_us/mhub/2017-08-25/api-docs.php +++ b/data/en_us/mhub/2017-08-25/api-docs.php @@ -1,112 +1,168 @@ <?php return [ 'version' => '1.0', - 'info' => [ - 'style' => 'RPC', - 'product' => 'Mhub', - 'version' => '2017-08-25', - ], + 'info' => ['style' => 'RPC', 'product' => 'Mhub', 'version' => '2017-08-25'], 'directories' => [ [ - 'id' => 190727, - 'title' => null, + 'children' => ['OpenEmasService'], 'type' => 'directory', - 'children' => [ - 'OpenEmasService', - ], + 'title' => 'Service activation related', ], [ - 'id' => 190718, - 'title' => null, + 'children' => ['CreateApp', 'DeleteApp', 'ModifyApp', 'ListApps', 'QueryAppInfo', 'DescribeDashboard', 'QueryAppSecurityInfo'], 'type' => 'directory', - 'children' => [ - 'CreateApp', - 'DeleteApp', - 'ModifyApp', - 'ListApps', - 'QueryAppInfo', - 'DescribeDashboard', - 'QueryAppSecurityInfo', - ], + 'title' => 'Application related', ], [ - 'id' => 190721, - 'title' => null, + 'children' => ['CreateProduct', 'DeleteProduct', 'ModifyProduct', 'ListProducts', 'QueryProductInfo'], 'type' => 'directory', - 'children' => [ - 'CreateProduct', - 'DeleteProduct', - 'ModifyProduct', - 'ListProducts', - 'QueryProductInfo', - ], + 'title' => 'Project related', ], ], 'components' => [ 'schemas' => [], ], 'apis' => [ - 'OpenEmasService' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateApp' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], + ], + 'operationType' => 'write', + 'systemTags' => [], + 'parameters' => [ [ - 'APP' => [], + 'name' => 'ProductId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the workspace in which the application is created.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '123456', 'title' => ''], ], [ - 'PrivateKey' => [], + 'name' => 'Name', + 'in' => 'query', + 'schema' => ['description' => 'The application name. The name can be up to 26 characters in length and cannot contain special characters other than underscores (_).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '我的应用', 'title' => ''], ], [ - 'BearerToken' => [], + 'name' => 'Type', + 'in' => 'query', + 'schema' => ['description' => 'The application type. Valid values:'."\n" + .' '."\n" + .' 1: iOS'."\n" + .' 2: Android'."\n" + .' 8: MoPen web'."\n" + .' 9: MoPen mobile.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'BundleId', + 'in' => 'query', + 'schema' => ['description' => 'The iOS application ID. This parameter is required when you create an iOS application.', 'type' => 'string', 'required' => false, 'example' => 'com.test.ios', 'title' => ''], + ], + [ + 'name' => 'PackageName', + 'in' => 'query', + 'schema' => ['description' => 'The Android application package name. This parameter is required when you create an Android application.', 'type' => 'string', 'required' => false, 'example' => 'com.test.android', 'title' => ''], + ], + [ + 'name' => 'EncodedIcon', + 'in' => 'query', + 'schema' => ['description' => 'The Base64-encoded string of the image.', 'type' => 'string', 'required' => false, 'example' => '图片 base64 字符串', 'title' => ''], + ], + [ + 'name' => 'IndustryId', + 'in' => 'query', + 'schema' => ['description' => 'The industry ID of the application. Valid values:'."\n" + .' '."\n" + .' * 0: Social'."\n" + .' * 1: Photo & Video'."\n" + .' * 2: Productivity'."\n" + .' * 3: Lifestyle'."\n" + .' * 4: Food & Drink'."\n" + .' * 5: Utilities'."\n" + .' * 6: Entertainment'."\n" + .' * 7: Games'."\n" + .' * 8: Kids'."\n" + .' * 9: Education'."\n" + .' * 10: Magazines & Newspapers'."\n" + .' * 11: Health & Fitness'."\n" + .' * 12: Travel'."\n" + .' * 13: Music'."\n" + .' * 14: Sports'."\n" + .' * 15: Business'."\n" + .' * 16: News'."\n" + .' * 17: Finance'."\n" + .' * 18: Reference'."\n" + .' * 19: Navigation'."\n" + .' * 20: Medical'."\n" + .' * 21: Books'."\n" + .' * 22: Weather'."\n" + .' * 23: Smart IoT.', 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], ], ], - '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', + 'RequestId' => ['description' => 'The unique request ID, which is used to identify a request.', 'type' => 'string', 'example' => '126D4DDD-05A5-49B1-B18C-39C4A929****', 'title' => ''], + 'AppInfo' => [ + 'description' => 'The basic information about the application.', + 'type' => 'object', + 'properties' => [ + 'Type' => ['description' => 'The application type. Valid values:'."\n" + .' '."\n" + .' 1: iOS'."\n" + .' 2: Android'."\n" + .' 8: MoPen web'."\n" + .' 9: MoPen mobile.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'AppKey' => ['description' => 'The AppKey of the application, which uniquely identifies an application in API requests.', 'type' => 'string', 'example' => '123456', 'title' => ''], + 'Description' => ['description' => 'The description of the application.', 'type' => 'string', 'example' => '应用描述信息', 'title' => ''], + 'PackageName' => ['description' => 'The Android application package name.', 'type' => 'string', 'example' => 'com.test.android', 'title' => ''], + 'CreateTime' => ['description' => 'The UTC time when the application was created.', 'type' => 'string', 'example' => '2020-12-16T06:25:52Z', 'title' => ''], + 'ProductId' => ['description' => 'The ID of the workspace to which the application belongs.', 'type' => 'integer', 'format' => 'int32', 'example' => '123456', 'title' => ''], + 'BundleId' => ['description' => 'The iOS application ID.', 'type' => 'string', 'example' => 'com.test.ios', 'title' => ''], + 'Name' => ['description' => 'The application name.', 'type' => 'string', 'example' => '我的应用', 'title' => ''], + 'ModifyTime' => ['description' => 'The UTC time when the application was last modified.', 'type' => 'string', 'example' => '2020-12-16T06:25:52Z', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"OrderId\\": \\"20671870151****\\",\\n \\"RequestId\\": \\"126D4DDD-05A5-49B1-B18C-39C4A929BFB2\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', + 'title' => 'Create an application', + 'summary' => 'Creates a new application in a specified workspace.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'CreateApp' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '1', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateApp'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => '', + 'ramAction' => [ + 'action' => 'mhub:CreateApp', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MHUB', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","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}","type":"json"}]', + ], + 'CreateProduct' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -116,274 +172,235 @@ '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', - ], + 'schema' => ['description' => 'The name of the project. The name must be 1 to 30 characters in length and can contain Chinese characters, letters, digits, and underscores (_).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '我的项目名称', 'title' => ''], ], [ - 'name' => 'Type', + 'name' => 'Description', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'example' => '1', - 'format' => 'int32', - 'required' => false, - 'type' => 'integer', - ], + 'schema' => ['description' => 'The brief description of the project.', 'type' => 'string', 'required' => false, 'example' => 'AAA', 'title' => ''], ], - [ - 'name' => 'BundleId', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'ProductId' => ['description' => 'The ID of the project, which uniquely identifies the project.', 'type' => 'integer', 'format' => 'int64', 'example' => '123456', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '126D4DDD-05A5-49B1-B18C-39C4A929BFB2', 'title' => ''], + ], 'description' => '', - 'example' => 'com.test.ios', - 'required' => false, - 'type' => 'string', + 'title' => '', + 'example' => '', ], ], + ], + 'title' => 'Create a workspace', + 'summary' => 'Creates a workspace. A workspace is a group of applications that is used to manage a set of related applications.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2022-06-22T06:41:56.000Z', 'description' => 'Request parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '1', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateProduct'], + ], + ], + 'ramActions' => [ [ - 'name' => 'PackageName', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'example' => 'com.test.android', - 'required' => false, - 'type' => 'string', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'mhub:CreateProduct', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MHUB', 'resourceType' => 'Product', 'arn' => 'acs:mhub:*:{#accountId}:product/*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ProductId\\": 123456,\\n \\"RequestId\\": \\"126D4DDD-05A5-49B1-B18C-39C4A929BFB2\\"\\n}","type":"json"}]', + ], + 'DeleteApp' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'EncodedIcon', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'example' => '', - 'required' => false, - 'type' => 'string', - ], + 'AK' => [], ], + ], + 'systemTags' => [], + 'parameters' => [ [ - 'name' => 'IndustryId', + 'name' => 'AppKey', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'example' => '1', - 'required' => false, - 'type' => 'string', - ], + 'schema' => ['description' => 'The AppKey of the application. This parameter uniquely identifies an application in API requests.', 'type' => 'string', 'required' => true, 'example' => '123456', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'type' => 'object', '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', - ], + 'RequestId' => ['description' => 'The unique ID of the request, used to identify a request.', 'type' => 'string', 'example' => '126D4DDD-05A5-49B1-B18C-39C4A929BFB2', 'title' => ''], ], - 'type' => 'object', + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - '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":"<CreateAppResponse>\\n <RequestId>126D4DDD-05A5-49B1-B18C-39C4A929****</RequestId>\\n <AppInfo>\\n <Type>1</Type>\\n <AppKey>123456</AppKey>\\n <Description>应用描述信息</Description>\\n <PackageName>com.test.android</PackageName>\\n <CreateTime>2020-12-16T06:25:52Z</CreateTime>\\n <ProductId>123456</ProductId>\\n <BundleId>com.test.ios</BundleId>\\n <Name>我的应用</Name>\\n <ModifyTime>2020-12-16T06:25:52Z</ModifyTime>\\n </AppInfo>\\n</CreateAppResponse>","errorExample":""}]', - 'extraInfo' => ' ', + 'title' => 'Delete an application', + 'summary' => 'Deletes an application. Deleted applications cannot be recovered. If you delete an application that has been published, normal business operations may be affected. Before deleting, make sure you are aware of this risk.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', - ], - 'DeleteApp' => [ - 'methods' => [ - 'post', - 'get', + 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '1', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteApp'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => '', + 'ramAction' => [ + 'action' => 'mhub:DeleteApp', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MHUB', 'resourceType' => 'App', 'arn' => 'acs:mhub:*:{#accountId}:app/{#AppKey}'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"126D4DDD-05A5-49B1-B18C-39C4A929BFB2\\"\\n}","type":"json"}]', + ], + 'DeleteProduct' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'write', 'systemTags' => [], 'parameters' => [ [ - 'name' => 'AppKey', + 'name' => 'ProductId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'example' => '123456', - 'required' => true, - 'type' => 'string', - ], + 'schema' => ['description' => 'The ID of the project to delete.', 'type' => 'string', 'required' => true, 'example' => '12345', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'example' => '126D4DDD-05A5-49B1-B18C-39C4A929BFB2', - 'type' => 'string', - ], + 'Message' => ['description' => 'The error code returned when the deletion fails.', 'type' => 'string', 'example' => 'PRODUCT_NOT_ALONE', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '126D4DDD-05A5-49B1-B18C-39C4A929BFB2', 'title' => ''], ], - 'type' => 'object', + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"126D4DDD-05A5-49B1-B18C-39C4A929BFB2\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteAppResponse>\\n <RequestId>126D4DDD-05A5-49B1-B18C-39C4A929BFB2</RequestId>\\n</DeleteAppResponse>","errorExample":""}]', - 'extraInfo' => ' ', + 'title' => 'Delete a workspace', + 'summary' => 'Calls DeleteProduct to delete a workspace.', + 'description' => '# Before you begin'."\n" + ."\n" + .'All applications in the workspace have been deleted, meaning the workspace is empty.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', - ], - 'ModifyApp' => [ - 'methods' => [ - 'post', - 'get', + 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '1', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteProduct'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => '', + 'ramAction' => [ + 'action' => 'mhub:DeleteProduct', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MHUB', 'resourceType' => 'Product', 'arn' => 'acs:mhub:*:{#accountId}:product/{#ProductId}'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"PRODUCT_NOT_ALONE\\",\\n \\"RequestId\\": \\"126D4DDD-05A5-49B1-B18C-39C4A929BFB2\\"\\n}","type":"json"}]', + ], + 'DescribeDashboard' => [ + 'summary' => 'Retrieves the dashboard information of an application for each service.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', + 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ + 'name' => 'ServiceName', + 'in' => 'query', + 'schema' => ['description' => 'The service name.', 'type' => 'string', 'required' => false, 'example' => 'mqc', 'title' => ''], + ], + [ 'name' => 'AppKey', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '123456', - ], + 'schema' => ['description' => 'The AppKey of the application, which uniquely identifies the application.', 'type' => 'string', 'required' => false, 'example' => '29201799', 'title' => ''], ], [ - 'name' => 'Name', + 'name' => 'AppType', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '', - ], + 'schema' => ['description' => 'The application type. Valid values:'."\n" + .'1: iOS'."\n" + .'2: Android'."\n" + .'8: MoPen web client'."\n" + .'9: MoPen mobile client.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'BundleId', + 'name' => 'AppVersion', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'com.test.ios', - ], + 'schema' => ['description' => 'The application version. Default value: the latest version.', 'type' => 'string', 'required' => false, 'example' => '4.8', 'title' => ''], ], [ - 'name' => 'PackageName', + 'name' => 'Keyword', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'com.test.android', - ], + 'schema' => ['description' => 'This parameter is not used.', 'type' => 'string', 'required' => false, 'example' => ' deprecated', 'title' => ''], ], [ - 'name' => 'EncodedIcon', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '', - ], + 'schema' => ['description' => 'The start time of the query. The value is a UNIX timestamp in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1681369984564', 'title' => ''], ], [ - 'name' => 'IndustryId', + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => 'The end time of the query.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1681985390256', 'title' => ''], + ], + [ + 'name' => 'ProxyAction', 'in' => 'query', 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', + 'description' => 'This parameter takes effect only when ServiceName is set to apm. The sub-query type, such as querying app versions, querying performance monitoring overview, or querying crash overview.', + 'enumValueTitles' => ['queryAppVersions' => 'queryAppVersions', 'queryApmInfo' => 'queryApmInfo', 'queryCrashInfo' => 'queryCrashInfo'], + 'type' => 'string', 'required' => false, - 'example' => '1', + 'example' => 'queryAppVersions', + 'title' => '', ], ], ], @@ -392,30 +409,53 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '126D4DDD-05A5-49B1-B18C-39C4A929BFB2', - ], + 'RequestId' => ['description' => 'The request ID, which uniquely identifies the request.', 'type' => 'string', 'example' => '4CC30A8F-787C-55CA-87A6-7D1BED56067E', 'title' => ''], + 'Model' => ['description' => 'The response data.', '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" + .'}', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - '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', + 'title' => 'Retrieve application dashboard information for each service', + 'changeSet' => [ + ['createdAt' => '2022-04-26T03:45:09.000Z', 'description' => 'OpenAPI offline'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDashboard'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => '', + 'ramAction' => [ + 'action' => 'mhub:DescribeDashboard', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MHUB', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + '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"}]', + ], + 'ListApps' => [ + 'summary' => 'Queries the list of applications in a specified workspace.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -427,9 +467,7 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREemasSMMS19', - ], + 'abilityTreeNodes' => ['FEATUREemasSMMS19'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], @@ -437,49 +475,28 @@ [ 'name' => 'ProductId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '123456', - ], + 'schema' => ['description' => 'The workspace ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '123456', 'title' => ''], ], [ 'name' => 'Page', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1', - 'default' => '1', - ], + 'schema' => ['description' => 'The page number. Default value: 1.', 'type' => 'string', 'required' => false, 'default' => '1', 'example' => '1', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '20', - 'default' => '200', - ], + 'schema' => ['description' => '- The number of applications per page. Default value: 20.'."\n" + .'- Valid values: 1 to 100.', 'type' => 'string', 'required' => false, 'default' => '200', 'example' => '20', 'title' => ''], ], [ 'name' => 'OsType', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => false, - 'maximum' => '2', - 'minimum' => '0', - 'example' => '1', - ], + 'schema' => ['description' => 'The application type. Valid values:'."\n" + .' '."\n" + .' 1: iOS'."\n" + .' 2: Android'."\n" + .' 8: MoPen web'."\n" + .' 9: MoPen mobile.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'maximum' => '2', 'minimum' => '0', 'example' => '1', 'title' => ''], ], ], 'responses' => [ @@ -487,118 +504,115 @@ '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' => '应用总数。', - ], + 'UbsmsStatus' => ['title' => '', 'description' => 'The status of the current account. Valid values:'."\n" + .'- enabled: The account is activated.'."\n" + .'- disabled: The account is disabled.'."\n" + .'- inDebt: The account has been suspended for 24 hours or less.'."\n" + .'- inDebt24h: The account has been suspended for more than 24 hours.', 'type' => 'string', 'example' => 'enabled'], + 'RequestId' => ['title' => '', 'description' => 'The unique ID of the request, which is used to identify a request.', 'type' => 'string', 'example' => '126D4DDD-05A5-49B1-B18C-39C4A929BFB2'], + 'Total' => ['title' => '', 'description' => 'The total number of applications.', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], 'AppInfos' => [ 'type' => 'object', 'itemNode' => true, 'properties' => [ 'AppInfo' => [ - 'description' => '', + 'title' => '', + 'description' => 'The details of the application.', 'type' => 'array', 'items' => [ + 'title' => '', + 'description' => 'The details of the application.', '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', - ], + 'Type' => ['title' => '', 'description' => 'The application type. Valid values:'."\n" + .' '."\n" + .' 1: iOS'."\n" + .' 2: Android'."\n" + .' 8: MoPen web'."\n" + .' 9: MoPen mobile.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'IndustryId' => ['title' => '', 'description' => 'The industry ID. Valid values: '."\n" + .' '."\n" + .' * 0: Social Networking'."\n" + .' * 1: Photo & Video'."\n" + .' * 2: Productivity'."\n" + .' * 3: Lifestyle'."\n" + .' * 4: Food & Drink'."\n" + .' * 5: Utilities'."\n" + .' * 6: Entertainment'."\n" + .' * 7: Games'."\n" + .' * 8: Kids'."\n" + .' * 9: Education'."\n" + .' * 10: Magazines & Newspapers'."\n" + .' * 11: Health & Fitness'."\n" + .' * 12: Travel'."\n" + .' * 13: Music'."\n" + .' * 14: Sports'."\n" + .' * 15: Business'."\n" + .' * 16: News'."\n" + .' * 17: Finance'."\n" + .' * 18: Reference'."\n" + .' * 19: Navigation'."\n" + .' * 20: Medical'."\n" + .' * 21: Books'."\n" + .' * 22: Weather'."\n" + .' * 23: AIoT.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'AppKey' => ['title' => '', 'description' => 'The AppKey of the application, which uniquely identifies an application in API requests.', 'type' => 'string', 'example' => '123456'], + 'PackageName' => ['title' => '', 'description' => 'The package name of the Android application.', 'type' => 'string', 'example' => 'com.test.android'], + 'EncodedIcon' => ['title' => '', 'description' => 'The Base64-encoded string of the image.', 'type' => 'string', 'example' => '图片 base64 字符串'], + 'Name' => ['title' => '', 'description' => 'The application name.', 'type' => 'string', 'example' => '我的应用'], + 'BundleId' => ['title' => '', 'description' => 'The iOS application ID. This parameter is required when you create an iOS application.', 'type' => 'string', 'example' => 'com.test.ios'], + 'Readonly' => ['title' => '', 'description' => 'Indicates whether the application is read-only. This parameter is used only in specific scenarios.', 'type' => 'boolean', 'example' => 'false'], + 'AppName' => ['title' => '', 'description' => 'The application name.', 'type' => 'string', 'example' => 'mobile-live-service'], ], - 'title' => '应用的详细信息。', + 'example' => '', ], - 'title' => '应用的详细信息。', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - '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":""}]', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Query applications in a specified workspace', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'QueryAppInfo' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2025-10-10T08:43:33.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-10-24T07:30:42.000Z', 'description' => 'Request parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListApps'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'mhub:ListApps', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MHUB', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","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}","type":"json"}]', + ], + 'ListProducts' => [ + 'summary' => 'Queries a list of workspaces by calling ListProducts.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -608,18 +622,49 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREemasSMMS19'], ], 'parameters' => [ [ - 'name' => 'AppKey', + 'name' => 'Offset', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '123456', - ], + 'schema' => ['description' => 'The current page number.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'Size', + 'in' => 'query', + 'schema' => ['description' => '- The number of items to display per page.'."\n" + .'- Valid values: 1 to 100.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'example' => '20', 'title' => ''], + ], + [ + 'name' => 'Simple', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to use simplified query mode.'."\n" + ."\n" + .'- true: Simplified query. The encodedIcon and Platforms fields are not returned.'."\n" + .'- false: Full query. All fields are returned.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], + ], + [ + 'name' => 'ProductName', + 'in' => 'query', + 'schema' => ['description' => 'The keyword used to perform a fuzzy match by project name.', 'type' => 'string', 'required' => false, 'example' => '我的项目', 'title' => ''], + ], + [ + 'name' => 'SearchKeyWord', + 'in' => 'query', + 'schema' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + ], + [ + 'name' => 'PageNum', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], ], ], 'responses' => [ @@ -627,211 +672,170 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '126D4DDD-05A5-49B1-B18C-39C4A929BFB2', - ], - 'AppInfo' => [ - 'description' => '', + 'UbsmsStatus' => ['title' => '', 'description' => 'The status of the current account. Valid values:'."\n" + .' '."\n" + .'- enabled: The account is activated.'."\n" + .'- disabled: The account is disabled.'."\n" + .'- inDebt: The account has been suspended for 24 hours or less.'."\n" + .'- inDebt24h: The account has been suspended for more than 24 hours.', 'type' => 'string', 'example' => 'enabled'], + 'RequestId' => ['title' => '', 'description' => 'The ID of the request.', 'type' => 'string', 'example' => '126D4DDD-05A5-49B1-B18C-39C4A929BFB2'], + 'Total' => ['title' => '', 'description' => 'The total number of query results.', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'ProductInfos' => [ 'type' => 'object', + 'itemNode' => true, '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', + 'ProductInfo' => [ + 'title' => '', + 'description' => 'The summary information of the project.', + 'type' => 'array', + 'items' => [ + 'title' => '', + 'description' => 'The summary information of the workspace.', + 'type' => 'object', + 'properties' => [ + 'IndustryId' => ['title' => '', 'description' => 'The industry ID. Valid values: '."\n" + .' '."\n" + .'- 0: Social Networking'."\n" + .'- 1: Photo & Video'."\n" + .'- 2: Productivity'."\n" + .'- 3: Lifestyle'."\n" + .'- 4: Food & Drink'."\n" + .'- 5: Utilities'."\n" + .'- 6: Entertainment'."\n" + .'- 7: Games'."\n" + .'- 8: Kids'."\n" + .'- 9: Education'."\n" + .'- 10: Magazines & Newspapers'."\n" + .'- 11: Health & Fitness'."\n" + .'- 12: Travel'."\n" + .'- 13: Music'."\n" + .'- 14: Sports'."\n" + .'- 15: Business'."\n" + .'- 16: News'."\n" + .'- 17: Finance'."\n" + .'- 18: Reference'."\n" + .'- 19: Navigation'."\n" + .'- 20: Medical'."\n" + .'- 21: Books'."\n" + .'- 22: Weather'."\n" + .'- 23: AIoT.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'Platforms' => ['title' => '', 'description' => 'The platforms of the applications under the project, including Android and iOS.', 'type' => 'string', 'example' => 'iOS'], + 'CreateTime' => ['title' => '', 'description' => 'The time when the project was created, in UTC format.', 'type' => 'string', 'example' => '2020-12-16T06:25:52Z'], + 'EncodedIcon' => ['title' => '', 'description' => 'The Base64-encoded string of the icon image.', 'type' => 'string', 'example' => '图片 base64'], + 'ProductId' => ['title' => '', 'description' => 'The ID of the project.', 'type' => 'integer', 'format' => 'int32', 'example' => '1234'], + 'Name' => ['title' => '', 'description' => 'The name of the project.', 'type' => 'string', 'example' => '我的项目'], + 'Readonly' => ['title' => '', 'description' => 'Indicates whether the project is in read-only state.', 'type' => 'boolean', 'example' => 'false'], + 'Description' => ['title' => '', 'description' => 'The brief description of the project.', 'type' => 'string', 'example' => 'xxxx'], + ], + 'example' => '', + ], 'example' => '', ], - 'ProductId' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1234', - ], - 'BundleId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'com.test.ios', - ], - 'CertProductAvail' => [ - 'description' => '', - 'type' => 'boolean', - 'example' => 'false', - ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - '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":""}]', + 'title' => 'Get product list', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeDashboard' => [ - 'summary' => '获取emas dashboard', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2025-10-10T08:43:33.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2021-06-29T06:07:15.000Z', 'description' => 'Response parameters changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListProducts'], + ], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'mhub:ListProducts', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MHUB', 'resourceType' => 'Product', 'arn' => 'acs:mhub:*:{#accountId}:product/*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","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}","type":"json"}]', + ], + 'ModifyApp' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', - 'deprecated' => false, + 'operationType' => 'write', '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', - ], + 'schema' => ['description' => 'The AppKey of the application. This parameter uniquely identifies an application in API requests.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '123456', 'title' => ''], ], [ - 'name' => 'AppType', + 'name' => 'Name', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The application name.', 'type' => 'string', 'required' => false, 'example' => '我的应用', 'title' => ''], ], [ - 'name' => 'AppVersion', + 'name' => 'BundleId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '4.8', - ], + 'schema' => ['description' => 'The iOS application ID.', 'type' => 'string', 'required' => false, 'example' => 'com.test.ios', 'title' => ''], ], [ - 'name' => 'Keyword', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => ' 4.8', - ], - ], - [ - 'name' => 'StartTime', + 'name' => 'PackageName', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1681369984564', - ], + 'schema' => ['description' => 'The Android application package name.', 'type' => 'string', 'required' => false, 'example' => 'com.test.android', 'title' => ''], ], [ - 'name' => 'EndTime', + 'name' => 'EncodedIcon', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1681985390256', - ], + 'schema' => ['description' => 'The Base64-encoded string of the image.', 'type' => 'string', 'required' => false, 'example' => '图片 base64 字符串', 'title' => ''], ], [ - 'name' => 'ProxyAction', + 'name' => 'IndustryId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'queryAppVersions' => 'queryAppVersions', - 'queryApmInfo' => 'queryApmInfo', - 'queryCrashInfo' => 'queryCrashInfo', - ], - 'example' => 'queryAppVersions', - ], + 'schema' => ['description' => 'The industry ID. Valid values: '."\n" + .' '."\n" + .' * 0: social networking'."\n" + .' * 1: photography and video'."\n" + .' * 2: productivity'."\n" + .' * 3: lifestyle'."\n" + .' * 4: food and drink'."\n" + .' * 5: utilities'."\n" + .' * 6: entertainment'."\n" + .' * 7: games'."\n" + .' * 8: kids'."\n" + .' * 9: education'."\n" + .' * 10: magazines and newspapers'."\n" + .' * 11: health and fitness'."\n" + .' * 12: travel'."\n" + .' * 13: music'."\n" + .' * 14: sports'."\n" + .' * 15: business'."\n" + .' * 16: news'."\n" + .' * 17: finance'."\n" + .' * 18: reference'."\n" + .' * 19: navigation'."\n" + .' * 20: medical'."\n" + .' * 21: books'."\n" + .' * 22: weather'."\n" + .' * 23: AIoT.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], ], 'responses' => [ @@ -839,274 +843,186 @@ '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" - .'}', - ], + 'RequestId' => ['description' => 'The request ID. This ID uniquely identifies a request.', 'type' => 'string', 'example' => '126D4DDD-05A5-49B1-B18C-39C4A929BFB2', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - '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', + 'title' => 'Modify application information', + 'summary' => 'Modifies application information.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyApp'], ], ], - 'parameters' => [ + 'ramActions' => [ [ - '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', - ], - ], - ], - ], - ], + 'operationType' => '', + 'ramAction' => [ + 'action' => 'mhub:ModifyApp', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MHUB', 'resourceType' => 'App', 'arn' => 'acs:mhub:*:{#accountId}:app/{#AppKey}'], ], ], ], ], - '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' => ' ', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"126D4DDD-05A5-49B1-B18C-39C4A929BFB2\\"\\n}","type":"json"}]', ], - 'CreateProduct' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ModifyProduct' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', - 'systemTags' => [], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ + 'name' => 'ProductId', + 'in' => 'query', + 'schema' => ['description' => 'The project ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '1234', 'title' => ''], + ], + [ 'name' => 'Name', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'docRequired' => true, - 'example' => '', - 'required' => true, - 'type' => 'string', - ], + 'schema' => ['description' => 'The project name. The name must be 1 to 30 characters in length and can contain Chinese characters, letters, digits, and underscores (_).', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '我的工作空间', 'title' => ''], ], [ 'name' => 'Description', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'example' => 'AAA', - 'required' => false, - 'type' => 'string', - ], + 'schema' => ['description' => 'The brief description of the project.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'description' => '-', + 'type' => 'object', 'properties' => [ - 'ProductId' => [ - 'description' => '', - 'example' => '123456', - 'format' => 'int64', - 'type' => 'integer', - ], - 'RequestId' => [ - 'description' => '', - 'example' => '126D4DDD-05A5-49B1-B18C-39C4A929BFB2', - 'type' => 'string', - ], + 'RequestId' => ['description' => 'The request ID, which is used to identify a request.', 'type' => 'string', 'example' => '126D4DDD-05A5-49B1-B18C-39C4A929BFB2', 'title' => ''], ], - 'type' => 'object', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"ProductId\\": 123456,\\n \\"RequestId\\": \\"126D4DDD-05A5-49B1-B18C-39C4A929BFB2\\"\\n}","errorExample":""},{"type":"xml","example":"<CreateProductResponse>\\n <ProductId>123456</ProductId>\\n <RequestId>126D4DDD-05A5-49B1-B18C-39C4A929BFB2</RequestId>\\n</CreateProductResponse>","errorExample":""}]', - 'extraInfo' => ' ', + 'title' => 'Modify a workspace', + 'summary' => 'Modifies the basic information of a workspace.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', - ], - 'DeleteProduct' => [ - 'methods' => [ - 'post', - 'get', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2021-06-29T06:07:13.000Z', 'description' => 'Request parameters changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyProduct'], + ], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'mhub:ModifyProduct', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MHUB', 'resourceType' => 'Product', 'arn' => 'acs:mhub:*:{#accountId}:product/{#ProductId}'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"126D4DDD-05A5-49B1-B18C-39C4A929BFB2\\"\\n}","type":"json"}]', + ], + 'OpenEmasService' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], - ], - 'operationType' => 'write', - 'systemTags' => [], - 'parameters' => [ [ - 'name' => 'ProductId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '12345', - ], + 'APP' => [], + ], + [ + 'PrivateKey' => [], + ], + [ + 'BearerToken' => [], ], ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'get'], + 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'PRODUCT_NOT_ALONE', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '126D4DDD-05A5-49B1-B18C-39C4A929BFB2', - ], + 'OrderId' => ['description' => 'The order ID for the service activation.', 'type' => 'string', 'example' => '20671870151****', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '126D4DDD-05A5-49B1-B18C-39C4A929BFB2', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"PRODUCT_NOT_ALONE\\",\\n \\"RequestId\\": \\"126D4DDD-05A5-49B1-B18C-39C4A929BFB2\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]', + 'title' => 'Activate the EMAS service', + 'summary' => 'Activates the Enterprise Mobile Application Studio (EMAS) service. You can use the service only after it is activated.', + 'description' => 'Only Alibaba Cloud accounts can activate the EMAS service. RAM users cannot perform this operation.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ModifyProduct' => [ - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-03-12T07:37:43.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'mhub:OpenEmasService', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MHUB', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"OrderId\\": \\"20671870151****\\",\\n \\"RequestId\\": \\"126D4DDD-05A5-49B1-B18C-39C4A929BFB2\\"\\n}","type":"json"}]', + ], + 'QueryAppInfo' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'operationType' => 'read', + 'deprecated' => false, + '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', + 'name' => 'AppKey', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - ], + 'schema' => ['description' => 'The AppKey of the application, which uniquely identifies the application.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '123456', 'title' => ''], ], ], 'responses' => [ @@ -1114,224 +1030,189 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '126D4DDD-05A5-49B1-B18C-39C4A929BFB2', + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '126D4DDD-05A5-49B1-B18C-39C4A929BFB2', 'title' => ''], + 'AppInfo' => [ + 'description' => 'The basic information about the application.', + 'type' => 'object', + 'properties' => [ + 'Status' => ['description' => 'The application status. Valid values:'."\n" + ."\n" + .'0: Normal. '."\n" + ."\n" + .'-1: Deleted. '."\n" + ."\n" + .'-2: Permanently deleted.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'Type' => ['description' => 'The application type. Valid values:'."\n" + ."\n" + .'1: iOS'."\n" + ."\n" + .'2: Android'."\n" + ."\n" + .'8: MoPen web'."\n" + ."\n" + .'9: MoPen mobile.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'CertDevelopExpiration' => ['description' => 'The expiration time of the push development certificate. The time is in UTC.', 'type' => 'string', 'example' => '2020-12-16T06:25:52Z', 'title' => ''], + 'IndustryId' => ['description' => 'The industry ID. Valid values: '."\n" + .' '."\n" + .'- 0: social networking'."\n" + .'- 1: photo and video'."\n" + .'- 2: productivity'."\n" + .'- 3: lifestyle'."\n" + .'- 4: food and drink'."\n" + .'- 5: utilities'."\n" + .'- 6: entertainment'."\n" + .'- 7: games'."\n" + .'- 8: kids'."\n" + .'- 9: education'."\n" + .'- 10: magazines and newspapers'."\n" + .'- 11: health and fitness'."\n" + .'- 12: travel'."\n" + .'- 13: music'."\n" + .'- 14: sports'."\n" + .'- 15: business'."\n" + .'- 16: news'."\n" + .'- 17: finance'."\n" + .'- 18: reference'."\n" + .'- 19: navigation'."\n" + .'- 20: medical'."\n" + .'- 21: books'."\n" + .'- 22: weather'."\n" + .'- 23: Artificial Intelligence of Things.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'PackageName' => ['description' => 'The package name of the Android application.', 'type' => 'string', 'example' => 'com.test.android', 'title' => ''], + 'CreateTime' => ['description' => 'The time when the application was created. The time is in UTC.', 'type' => 'string', 'example' => '2020-12-16T06:25:52Z', 'title' => ''], + 'Readonly' => ['description' => 'Indicates whether the application is in read-only state.'."\n" + ."\n" + .'> This field is used in specific scenarios. You can ignore it if not needed.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'AppName' => ['description' => 'The name of the application.', 'type' => 'string', 'example' => '我的应用', 'title' => ''], + 'CertProductExpiration' => ['description' => 'The expiration time of the push production certificate. The time is in UTC.', 'type' => 'string', 'example' => '2020-12-16T06:25:52Z', 'title' => ''], + 'AppKey' => ['description' => 'The AppKey of the application, which uniquely identifies the application.', 'type' => 'string', 'example' => '123456', 'title' => ''], + 'CertDevelopAvail' => ['description' => 'Indicates whether the push development certificate is available in the push configuration.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'EncodedIcon' => ['description' => 'The Base64-encoded string of the icon image.', 'type' => 'string', 'example' => 'icon图片base64字符串', 'title' => ''], + 'ProductId' => ['description' => 'The ID of the workspace to which the application belongs.', 'type' => 'integer', 'format' => 'int64', 'example' => '1234', 'title' => ''], + 'BundleId' => ['description' => 'The BundleId of the iOS application.', 'type' => 'string', 'example' => 'com.test.ios', 'title' => ''], + 'CertProductAvail' => ['description' => 'Indicates whether the push production certificate is available in the push configuration.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"126D4DDD-05A5-49B1-B18C-39C4A929BFB2\\"\\n}","errorExample":""},{"type":"xml","example":"<ModifyProductResponse>\\n <RequestId>126D4DDD-05A5-49B1-B18C-39C4A929BFB2</RequestId>\\n</ModifyProductResponse>","errorExample":""}]', + 'title' => 'Query application details', + 'summary' => 'Queries the details of an application by calling QueryAppInfo.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ListProducts' => [ - 'summary' => '分页获取产品(在基座中表达为项目)列表', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryAppInfo'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'mhub:QueryAppInfo', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MHUB', 'resourceType' => 'App', 'arn' => 'acs:mhub:*:{#accountId}:app/{#AppKey}'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","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}","type":"json"}]', + ], + 'QueryAppSecurityInfo' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREemasSMMS19', - ], + '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', + 'name' => 'AppKey', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - ], + 'schema' => ['description' => 'The AppKey of the specified application. The AppKey uniquely identifies the application.', 'type' => 'string', 'required' => true, 'example' => '123456', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'type' => 'object', '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' => [ + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '126D4DDD-05A5-49B1-B18C-39C4A929BFB2', 'title' => ''], + 'AppSecurityInfo' => [ + 'description' => 'The security information of the application.', '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' => '工作空间的概要信息。', + 'AppSecret' => ['description' => 'The AppSecret of the application. The AppSecret is used for signature authentication in API requests.', 'type' => 'string', 'example' => 'abc123abc123', 'title' => ''], + 'AppKey' => ['description' => 'The AppKey of the application. The AppKey uniquely identifies the application.', 'type' => 'string', 'example' => '123456', 'title' => ''], + 'ExtConfig' => [ + 'type' => 'object', + 'properties' => [ + 'TlogRsaSecret' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], ], - 'title' => '工作空间的概要信息。', + 'description' => '', + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], ], - 'type' => 'object', + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - '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":"<ListProductsResponse>\\n <UbsmsStatus>enabled</UbsmsStatus>\\n <RequestId>126D4DDD-05A5-49B1-B18C-39C4A929BFB2</RequestId>\\n <Total>10</Total>\\n <ProductInfos>\\n <IndustryId>1</IndustryId>\\n <Platforms>iOS</Platforms>\\n <CreateTime>2020-12-16T06:25:52Z</CreateTime>\\n <EncodedIcon>图片 base64</EncodedIcon>\\n <ProductId>1234</ProductId>\\n <Name>我的项目</Name>\\n <Readonly>false</Readonly>\\n <Description>xxxx</Description>\\n </ProductInfos>\\n</ListProductsResponse>","errorExample":""}]', - 'extraInfo' => ' ', + 'title' => 'Query application secret information', + 'summary' => 'Queries the AppSecret of a specified application. The AppSecret is a secret key used for API request permission verification.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', - ], - 'QueryProductInfo' => [ - 'summary' => '查询基座的Product信息', - 'methods' => [ - 'post', - 'get', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2025-03-23T10:35:14.000Z', 'description' => 'Response parameters changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryAppSecurityInfo'], + ], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'mhub:QueryAppSecurityInfo', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MHUB', 'resourceType' => 'App', 'arn' => 'acs:mhub:*:{#accountId}:app/{#AppKey}'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"126D4DDD-05A5-49B1-B18C-39C4A929BFB2\\",\\n \\"AppSecurityInfo\\": {\\n \\"AppSecret\\": \\"abc123abc123\\",\\n \\"AppKey\\": \\"123456\\",\\n \\"ExtConfig\\": {\\n \\"TlogRsaSecret\\": \\"\\"\\n }\\n }\\n}","type":"json"}]', + ], + 'QueryProductInfo' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1342,106 +1223,330 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREemasSMMS19', - ], + 'abilityTreeNodes' => ['FEATUREemasSMMS19'], ], 'parameters' => [ [ 'name' => 'ProductId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '1234', - ], + 'schema' => ['description' => 'The ID of the project.', 'type' => 'string', 'required' => true, 'example' => '1234', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'description' => '-', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '126D4DDD-05A5-49B1-B18C-39C4A929BFB2', - 'title' => '查询请求的id。', - ], + 'RequestId' => ['title' => '', 'description' => 'The ID of the request.', 'type' => 'string', 'example' => '126D4DDD-05A5-49B1-B18C-39C4A929BFB2'], 'ProductInfo' => [ - 'description' => '', + 'title' => '', + 'description' => 'The details of the project.', '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)', - ], + 'EncodedIcon' => ['title' => '', 'description' => 'The Base64-encoded string of the icon image.', 'type' => 'string', 'example' => 'icon图片base64字符串'], + 'IndustryId' => ['title' => '', 'description' => ' * 0. Social Networking'."\n" + .' * 1. Photo & Video'."\n" + .' * 2. Productivity'."\n" + .' * 3. Lifestyle'."\n" + .' * 4. Food & Drink'."\n" + .' * 5. Utilities'."\n" + .' * 6. Entertainment'."\n" + .' * 7. Games'."\n" + .' * 8. Kids'."\n" + .' * 9. Education'."\n" + .' * 10. Magazines & Newspapers'."\n" + .' * 11. Health & Fitness'."\n" + .' * 12. Travel'."\n" + .' * 13. Music'."\n" + .' * 14. Sports'."\n" + .' * 15. Business'."\n" + .' * 16. News'."\n" + .' * 17. Finance'."\n" + .' * 18. Reference'."\n" + .' * 19. Navigation'."\n" + .' * 20. Medical'."\n" + .' * 21. Books'."\n" + .' * 22. Weather'."\n" + .' * 23. AIoT.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'Name' => ['title' => '', 'description' => 'The name of the project.', 'type' => 'string', 'example' => '我的项目'], + 'Readonly' => ['title' => '', 'description' => 'Indicates whether the project is read-only.'."\n" + ."\n" + .'> This field is used in specific scenarios. You can ignore it if it is not required.', 'type' => 'boolean', 'example' => 'false'], + 'IconName' => ['title' => '', 'description' => 'The name of the icon image.', 'type' => 'string', 'example' => 'icon图片名称'], + 'Platforms' => ['title' => '', 'description' => 'The platforms of the applications under the project, including Android and iOS.', 'type' => 'string', 'example' => 'linux/amd64'], + 'CreateTime' => ['title' => '', 'description' => 'The time when the application was created, in UTC format.', 'type' => 'string', 'example' => '2022-12-02T09:50:01Z'], + 'ProductId' => ['title' => '', 'description' => 'The project ID.', 'type' => 'integer', 'format' => 'int32', 'example' => '3910360'], + 'Description' => ['title' => '', 'description' => 'The brief description of the project.', 'type' => 'string', 'example' => 'endpoint for ecs: kangaroo-xuanji-cn-hangzhou-ecs-console-mirror-0(i-bp1fs84ua5zw4aljdlh1)'], ], - 'title' => '工作空间的详细信息。', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], ], ], - '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":"<QueryProductInfoResponse>\\n <RequestId>126D4DDD-05A5-49B1-B18C-39C4A929BFB2</RequestId>\\n <ProductInfo>\\n <EncodedIcon>icon图片base64字符串</EncodedIcon>\\n <IndustryId>1</IndustryId>\\n <Name>我的项目</Name>\\n <Readonly>false</Readonly>\\n <IconName>icon图片名称</IconName>\\n </ProductInfo>\\n</QueryProductInfoResponse>","errorExample":""}]', + 'title' => 'Query workspace details', + 'summary' => 'Queries the details of a workspace.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2025-10-10T08:43:33.000Z', 'description' => 'Response parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryProductInfo'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'mhub:QueryProductInfo', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MHUB', 'resourceType' => 'Product', 'arn' => 'acs:mhub:*:{#accountId}:product/{#ProductId}'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","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}","type":"json"}]', ], ], 'endpoints' => [ + ['regionId' => 'cn-shanghai', 'regionName' => 'China (Shanghai)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'mhub.cn-shanghai.aliyuncs.com', 'endpoint' => 'mhub.cn-shanghai.aliyuncs.com', 'vpc' => 'mhub-intl-vpc.cn-shanghai.aliyuncs.com'], + ], + 'errorCodes' => [ + ['code' => 'InvalidAppKey', 'message' => 'AppKey is not valid.', 'http_code' => 400, 'description' => 'AppKey is not valid'], + ['code' => 'WorkspaceActiveModuleExist', 'message' => 'The workspace cannot be deleted because it is being used by an EMAS module such as Serverless.', 'http_code' => 400, 'description' => 'Deletion failed. Another EMAS module, such as Serverless, is using the space.'], + ], + 'changeSet' => [ + [ + 'apis' => [ + ['description' => 'Error codes changed', 'api' => 'OpenEmasService'], + ], + 'createdAt' => '2024-03-12T07:37:48.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateProduct'], + ], + 'createdAt' => '2022-06-22T06:43:38.000Z', + 'description' => '创建产品新增描述字段', + ], [ - 'regionId' => 'cn-shanghai', - 'endpoint' => 'mhub.cn-shanghai.aliyuncs.com', + 'apis' => [ + ['description' => 'OpenAPI offline', 'api' => 'DescribeDashboard'], + ['description' => 'Response parameters changed', 'api' => 'ListProducts'], + ['description' => 'Request parameters changed', 'api' => 'ModifyProduct'], + ], + 'createdAt' => '2022-04-26T03:47:48.000Z', + 'description' => 'EMAS3.0新增1. 工作空间描述2. 获取用户-产品使用信息', + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '1', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteApp'], + ['threshold' => '1', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateProduct'], + ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyProduct'], + ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyApp'], + ['threshold' => '-1', 'countWindow' => 1, 'regionId' => '*'], + ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryProductInfo'], + ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListProducts'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDashboard'], + ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListApps'], + ['threshold' => '1', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateApp'], + ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryAppInfo'], + ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryAppSecurityInfo'], + ['threshold' => '1', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteProduct'], + ], + ], + 'ram' => [ + 'productCode' => 'MHUB', + 'productName' => 'Enterprise Mobile Application Studio', + 'ramCodes' => ['mhub'], + 'ramLevel' => 'RESOURCE', + 'ramConditions' => [], + 'ramActions' => [ + [ + 'apiName' => 'CreateApp', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'mhub:CreateApp', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MHUB', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ModifyProduct', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'mhub:ModifyProduct', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MHUB', 'resourceType' => 'Product', 'arn' => 'acs:mhub:*:{#accountId}:product/{#ProductId}'], + ], + ], + ], + [ + 'apiName' => 'QueryAppInfo', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'mhub:QueryAppInfo', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MHUB', 'resourceType' => 'App', 'arn' => 'acs:mhub:*:{#accountId}:app/{#AppKey}'], + ], + ], + ], + [ + 'apiName' => 'OpenEmasService', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'mhub:OpenEmasService', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MHUB', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'QueryProductInfo', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'mhub:QueryProductInfo', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MHUB', 'resourceType' => 'Product', 'arn' => 'acs:mhub:*:{#accountId}:product/{#ProductId}'], + ], + ], + ], + [ + 'apiName' => 'ListApps', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'mhub:ListApps', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MHUB', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateProduct', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'mhub:CreateProduct', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MHUB', 'resourceType' => 'Product', 'arn' => 'acs:mhub:*:{#accountId}:product/*'], + ], + ], + ], + [ + 'apiName' => 'DescribeDashboard', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'mhub:DescribeDashboard', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MHUB', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteProduct', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'mhub:DeleteProduct', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MHUB', 'resourceType' => 'Product', 'arn' => 'acs:mhub:*:{#accountId}:product/{#ProductId}'], + ], + ], + ], + [ + 'apiName' => 'QueryAppSecurityInfo', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'mhub:QueryAppSecurityInfo', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MHUB', 'resourceType' => 'App', 'arn' => 'acs:mhub:*:{#accountId}:app/{#AppKey}'], + ], + ], + ], + [ + 'apiName' => 'ModifyApp', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'mhub:ModifyApp', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MHUB', 'resourceType' => 'App', 'arn' => 'acs:mhub:*:{#accountId}:app/{#AppKey}'], + ], + ], + ], + [ + 'apiName' => 'ListProducts', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'mhub:ListProducts', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MHUB', 'resourceType' => 'Product', 'arn' => 'acs:mhub:*:{#accountId}:product/*'], + ], + ], + ], + [ + 'apiName' => 'DeleteApp', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'mhub:DeleteApp', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'MHUB', 'resourceType' => 'App', 'arn' => 'acs:mhub:*:{#accountId}:app/{#AppKey}'], + ], + ], + ], + ], + 'resourceTypes' => [ + ['validationType' => 'always', 'resourceType' => 'App', 'arn' => 'acs:mhub:*:{#accountId}:app/*'], + ['validationType' => 'always', 'resourceType' => 'Product', 'arn' => 'acs:mhub:*:{#accountId}:product/{#ProductId}'], + ['validationType' => 'always', 'resourceType' => 'App', 'arn' => 'acs:mhub:*:{#accountId}:app/{#AppKey}'], + ['validationType' => 'always', 'resourceType' => 'Product', 'arn' => 'acs:mhub:*:{#accountId}:product/*'], ], ], ]; |
