'1.0', 'info' => ['style' => 'RPC', 'product' => 'Mhub', 'version' => '2017-08-25'], 'directories' => [ [ 'children' => ['OpenEmasService'], 'type' => 'directory', 'title' => 'Service activation related', ], [ 'children' => ['CreateApp', 'DeleteApp', 'ModifyApp', 'ListApps', 'QueryAppInfo', 'DescribeDashboard', 'QueryAppSecurityInfo'], 'type' => 'directory', 'title' => 'Application related', ], [ 'children' => ['CreateProduct', 'DeleteProduct', 'ModifyProduct', 'ListProducts', 'QueryProductInfo'], 'type' => 'directory', 'title' => 'Project related', ], ], 'components' => [ 'schemas' => [], ], 'apis' => [ 'CreateApp' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'systemTags' => [], 'parameters' => [ [ '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' => ''], ], [ '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' => ''], ], [ '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' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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' => '', ], ], ], 'title' => 'Create an application', 'summary' => 'Creates a new application in a specified workspace.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '1', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateApp'], ], ], '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' => [], ], ], 'operationType' => 'write', 'systemTags' => [], 'parameters' => [ [ 'name' => 'Name', 'in' => 'query', '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' => 'Description', 'in' => 'query', 'schema' => ['description' => 'The brief description of the project.', 'type' => 'string', 'required' => false, 'example' => 'AAA', 'title' => ''], ], ], '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' => '', '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' => [ [ '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' => [ [ 'AK' => [], ], ], 'systemTags' => [], 'parameters' => [ [ 'name' => 'AppKey', 'in' => 'query', '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' => 'The unique ID of the request, used to identify a request.', 'type' => 'string', 'example' => '126D4DDD-05A5-49B1-B18C-39C4A929BFB2', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], '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' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '1', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteApp'], ], ], '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' => 'ProductId', 'in' => 'query', 'schema' => ['description' => 'The ID of the project to delete.', 'type' => 'string', 'required' => true, 'example' => '12345', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], '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' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '1', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteProduct'], ], ], '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' => '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' => 'The AppKey of the application, which uniquely identifies the application.', 'type' => 'string', 'required' => false, 'example' => '29201799', 'title' => ''], ], [ 'name' => 'AppType', 'in' => 'query', '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' => 'AppVersion', 'in' => 'query', 'schema' => ['description' => 'The application version. Default value: the latest version.', 'type' => 'string', 'required' => false, 'example' => '4.8', 'title' => ''], ], [ 'name' => 'Keyword', 'in' => 'query', 'schema' => ['description' => 'This parameter is not used.', 'type' => 'string', 'required' => false, 'example' => ' deprecated', 'title' => ''], ], [ 'name' => 'StartTime', 'in' => 'query', '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' => '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' => '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' => 'queryAppVersions', 'title' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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' => '', ], ], ], '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'], ], ], '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' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREemasSMMS19'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'ProductId', 'in' => 'query', 'schema' => ['description' => 'The workspace ID.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '123456', 'title' => ''], ], [ 'name' => 'Page', 'in' => 'query', 'schema' => ['description' => 'The page number. Default value: 1.', 'type' => 'string', 'required' => false, 'default' => '1', 'example' => '1', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', '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' => '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' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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' => [ 'title' => '', 'description' => 'The details of the application.', 'type' => 'array', 'items' => [ 'title' => '', 'description' => 'The details of the application.', 'type' => 'object', 'properties' => [ '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'], ], 'example' => '', ], 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'Query applications in a specified workspace', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', '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'], ], ], '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' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREemasSMMS19'], ], 'parameters' => [ [ 'name' => 'Offset', 'in' => 'query', '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' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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' => [ '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' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'title' => 'Get product list', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', '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'], ], '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' => 'write', 'systemTags' => [], 'parameters' => [ [ 'name' => 'AppKey', 'in' => 'query', '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' => 'Name', 'in' => 'query', 'schema' => ['description' => 'The application name.', 'type' => 'string', 'required' => false, 'example' => '我的应用', 'title' => ''], ], [ 'name' => 'BundleId', 'in' => 'query', 'schema' => ['description' => 'The iOS application ID.', 'type' => 'string', 'required' => false, 'example' => 'com.test.ios', 'title' => ''], ], [ 'name' => 'PackageName', 'in' => 'query', 'schema' => ['description' => 'The Android application package name.', '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. 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' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID. This ID uniquely identifies a request.', 'type' => 'string', 'example' => '126D4DDD-05A5-49B1-B18C-39C4A929BFB2', 'title' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], 'title' => 'Modify application information', 'summary' => 'Modifies application information.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyApp'], ], ], 'ramActions' => [ [ 'operationType' => '', 'ramAction' => [ 'action' => 'mhub:ModifyApp', '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"}]', ], 'ModifyProduct' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', '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' => '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' => 'The brief description of the project.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '-', 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => 'The request ID, which is used to identify a request.', 'type' => 'string', 'example' => '126D4DDD-05A5-49B1-B18C-39C4A929BFB2', 'title' => ''], ], 'title' => '', 'example' => '', ], ], ], 'title' => 'Modify a workspace', 'summary' => 'Modifies the basic information of a workspace.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [ ['createdAt' => '2021-06-29T06:07:13.000Z', 'description' => 'Request parameters changed'], ], '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' => [], ], [ 'APP' => [], ], [ 'PrivateKey' => [], ], [ 'BearerToken' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => ['operationType' => 'get'], 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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' => '', ], ], ], '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' => ' ', 'changeSet' => [ ['createdAt' => '2024-03-12T07:37:43.000Z', 'description' => 'Error codes changed'], ], 'flowControl' => [ 'flowControlList' => [], ], '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' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'AppKey', 'in' => 'query', 'schema' => ['description' => 'The AppKey of the application, which uniquely identifies the application.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '123456', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ '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' => '', ], ], ], 'title' => 'Query application details', 'summary' => 'Queries the details of an application by calling QueryAppInfo.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryAppInfo'], ], ], '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', 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREemasSMMS19'], ], 'parameters' => [ [ 'name' => 'AppKey', 'in' => 'query', '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' => [ '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', 'properties' => [ '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' => ''], ], 'description' => '', 'title' => '', 'example' => '', ], ], 'title' => '', 'example' => '', ], ], 'description' => '', 'title' => '', 'example' => '', ], ], ], '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' => ' ', 'extraInfo' => ' ', 'changeSet' => [ ['createdAt' => '2025-03-23T10:35:14.000Z', 'description' => 'Response parameters changed'], ], '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' => [], ], ], 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => ['FEATUREemasSMMS19'], ], 'parameters' => [ [ 'name' => 'ProductId', 'in' => 'query', 'schema' => ['description' => 'The ID of the project.', 'type' => 'string', 'required' => true, 'example' => '1234', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '-', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => '', 'description' => 'The ID of the request.', 'type' => 'string', 'example' => '126D4DDD-05A5-49B1-B18C-39C4A929BFB2'], 'ProductInfo' => [ 'title' => '', 'description' => 'The details of the project.', 'type' => 'object', 'properties' => [ '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)'], ], 'example' => '', ], ], 'title' => '', 'example' => '', ], ], ], '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' => '创建产品新增描述字段', ], [ '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/*'], ], ], ];