'1.0', 'info' => [ 'style' => 'ROA', 'product' => 'SysOM', 'version' => '2023-12-30', ], 'directories' => [ [ 'id' => 249151, 'title' => null, 'type' => 'directory', 'children' => [ 'UpdateAlertEnabled', 'GetAlertStrategy', 'DeleteAlertStrategy', 'ListAlertItems', 'ListAlertStrategies', 'CreateAlertStrategy', 'UpdateAlertStrategy', ], ], [ 'id' => 203795, 'title' => null, 'type' => 'directory', 'children' => [ 'UpdateFuncSwitchRecord', 'GetServiceFuncStatus', 'GetHotSpotUniqList', 'GetHotspotTracking', 'GetHotspotPidList', 'GetHotspotInstanceList', 'GetHotspotCompare', 'GetHotspotAnalysis', ], ], [ 'id' => 203796, 'title' => null, 'type' => 'directory', 'children' => [ 'StartAIAnalysis', 'GetListRecord', 'GetAIQueryResult', ], ], [ 'id' => 203797, 'title' => null, 'type' => 'directory', 'children' => [ 'GetResources', 'GetHostCount', 'InitialSysom', 'ListClusters', 'ListInstances', 'ListPluginsInstances', 'ListPodsOfInstance', 'UpgradeAgentForCluster', 'UpgradeAgent', 'UninstallAgentForCluster', 'UninstallAgent', 'ListRegions', 'ListInstancesWithEcsInfo', 'ListInstanceStatus', 'ListInstancesEcsInfoList', 'ListClusterAgentInstallRecords', 'ListAgentInstallRecords', 'InstallAgentForCluster', 'InstallAgent', 'ListAgents', 'GetAgentTask', 'GetAgentTask', 'GetAgent', 'ListAllInstances', ], ], [ 'id' => 203798, 'title' => null, 'type' => 'directory', 'children' => [ 'UpdateEventsAttention', 'ListAbnormalyEvents', 'ListInstanceHealth', 'InvokeAnomalyDiagnosis', 'GetRangeScore', 'GetProblemPercentage', 'GetInstantScore', 'GetHealthPercentage', 'GetAbnormalEventsCount', ], ], [ 'id' => 203799, 'title' => null, 'type' => 'directory', 'children' => [ 'ListDiagnosis', 'GetDiagnosisResult', 'InvokeDiagnosis', 'AuthDiagnosis', ], ], [ 'id' => 203800, 'title' => null, 'type' => 'directory', 'children' => [ 'GetCopilotHistory', 'GenerateCopilotStreamResponse', 'GenerateCopilotResponse', ], ], [ 'id' => 204228, 'title' => null, 'type' => 'directory', 'children' => [ 'CheckInstanceSupport', 'StartAIDiffAnalysis', 'DescribeMetricList', 'CreateVmcoreDiagnosisTask', 'GetVmcoreDiagnosisTask', 'ListVmcoreDiagnosisTask', ], ], [ 'id' => 0, 'title' => '其它', 'type' => 'directory', 'children' => [ 'CpuHighAgentStreamResponse', ], ], ], 'components' => [ 'schemas' => [], ], 'apis' => [ 'UpdateAlertEnabled' => [ 'summary' => '用户更新推送告警策略的状态', 'path' => '/api/v1/alertPusher/alert/updateEnabled', 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREalinuxJZOVCX', ], ], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'enabled' => [ 'description' => '', 'type' => 'boolean', 'required' => false, 'example' => 'true', ], 'id' => [ 'description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', ], ], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'requestId' => [ 'title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '2D693121-C925-5154-8DF6-C09A8B369822'."\n", ], 'code' => [ 'description' => '', 'type' => 'string', 'example' => 'Success', ], 'message' => [ 'description' => '', 'type' => 'string', 'example' => 'success', ], 'data' => [ 'description' => '', 'type' => 'any', 'example' => '', ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"2D693121-C925-5154-8DF6-C09A8B369822\\\\n\\",\\n \\"code\\": \\"Success\\",\\n \\"message\\": \\"success\\",\\n \\"data\\": \\"{\\\\n \\\\\\"uid\\\\\\": \\\\\\"1808078950770264\\\\\\",\\\\n \\\\\\"name\\\\\\": \\\\\\"test-name\\\\\\",\\\\n \\\\\\"strategy\\\\\\": {\\\\n \\\\\\"items\\\\\\": [\\\\n \\\\\\"节点CPU使用率检测\\\\\\"\\\\n ],\\\\n \\\\\\"clusters\\\\\\": [\\\\n \\\\\\"cluster1\\\\\\"\\\\n ]\\\\n },\\\\n \\\\\\"enabled\\\\\\": true,\\\\n \\\\\\"id\\\\\\": 1,\\\\n \\\\\\"created_at\\\\\\": 1753172727,\\\\n \\\\\\"updated_at\\\\\\": 1753172727\\\\n }\\"\\n}","type":"json"}]', ], 'GetAlertStrategy' => [ 'summary' => '根据策略id,获取用户的一条告警', 'path' => '/api/v1/alertPusher/alert/getStrategy', 'methods' => [ 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREalinuxJZOVCX', ], ], 'parameters' => [ [ 'name' => 'id', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'requestId' => [ 'title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '2D693121-C925-5154-8DF6-C09A8B369822'."\n", ], 'code' => [ 'description' => '', 'type' => 'string', 'example' => 'Success', ], 'message' => [ 'description' => '', 'type' => 'string', 'example' => 'success', ], 'data' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'id' => [ 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '1', ], 'name' => [ 'description' => '', 'type' => 'string', 'example' => 'strategy1', ], 'uid' => [ 'description' => '', 'type' => 'string', 'example' => '1222933234714935', ], 'updatedAt' => [ 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '1751254826285', ], 'createdAt' => [ 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '1751520976660', ], 'strategy' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'items' => [ 'description' => '', 'type' => 'any', 'example' => '', ], 'clusters' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'string', 'example' => 'cluster1', ], ], ], ], 'enabled' => [ 'description' => '', 'type' => 'boolean', 'example' => 'false', ], 'k8sLabel' => [ 'type' => 'boolean', ], ], ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"2D693121-C925-5154-8DF6-C09A8B369822\\\\n\\",\\n \\"code\\": \\"Success\\",\\n \\"message\\": \\"success\\",\\n \\"data\\": {\\n \\"id\\": 1,\\n \\"name\\": \\"strategy1\\",\\n \\"uid\\": \\"1222933234714935\\",\\n \\"updatedAt\\": 1751254826285,\\n \\"createdAt\\": 1751520976660,\\n \\"strategy\\": {\\n \\"items\\": \\"节点CPU使用率检测\\",\\n \\"clusters\\": [\\n \\"cluster1\\"\\n ]\\n },\\n \\"enabled\\": false,\\n \\"k8sLabel\\": true\\n }\\n}","type":"json"}]', ], 'DeleteAlertStrategy' => [ 'summary' => '用户删除推送告警的策略', 'path' => '/api/v1/alertPusher/alert/deleteStrategy', 'methods' => [ 'delete', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREalinuxJZOVCX', ], ], 'parameters' => [ [ 'name' => 'id', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => '1', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'requestId' => [ 'title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '2D693121-C925-5154-8DF6-C09A8B369822'."\n", ], 'code' => [ 'description' => '', 'type' => 'string', 'example' => 'Success', ], 'message' => [ 'description' => '', 'type' => 'string', 'example' => 'success', ], 'data' => [ 'description' => '', 'type' => 'any', 'example' => '', ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"2D693121-C925-5154-8DF6-C09A8B369822\\\\n\\",\\n \\"code\\": \\"Success\\",\\n \\"message\\": \\"success\\",\\n \\"data\\": \\"{\\\\n \\\\\\"uid\\\\\\": \\\\\\"1808078950770264\\\\\\",\\\\n \\\\\\"name\\\\\\": \\\\\\"test\\\\\\",\\\\n \\\\\\"strategy\\\\\\": {\\\\n \\\\\\"items\\\\\\": [\\\\n \\\\\\"节点CPU使用率检测\\\\\\"\\\\n ],\\\\n \\\\\\"clusters\\\\\\": [\\\\n \\\\\\"1\\\\\\"\\\\n ]\\\\n },\\\\n \\\\\\"enabled\\\\\\": false,\\\\n \\\\\\"id\\\\\\": 1,\\\\n \\\\\\"created_at\\\\\\": 1753170771,\\\\n \\\\\\"updated_at\\\\\\": 1753170811\\\\n }\\"\\n}","type":"json"}]', ], 'ListAlertItems' => [ 'summary' => '获取所有告警项', 'path' => '/api/v1/alertPusher/alert/listItems', 'methods' => [ 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREalinuxJZOVCX', ], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'requestId' => [ 'title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '2D693121-C925-5154-8DF6-C09A8B369822'."\n", ], 'code' => [ 'description' => '', 'type' => 'string', 'example' => 'Success', ], 'message' => [ 'description' => '', 'type' => 'string', 'example' => 'success', ], 'data' => [ 'description' => '', 'type' => 'any', 'example' => '', ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"2D693121-C925-5154-8DF6-C09A8B369822\\\\n\\",\\n \\"code\\": \\"Success\\",\\n \\"message\\": \\"success\\",\\n \\"data\\": \\"{\\\\n \\\\\\"NODE\\\\\\": {\\\\n \\\\\\"饱和度\\\\\\": [\\\\n \\\\\\"节点CPU使用率检测\\\\\\",\\\\n \\\\\\"节点内核态CPU使用检测\\\\\\",\\\\n \\\\\\"节点软中断CPU使用检测\\\\\\",\\\\n \\\\\\"节点内存使用检测\\\\\\",\\\\n \\\\\\"节点内核内存使用检测\\\\\\",\\\\n \\\\\\"节点文件描述符使用检测\\\\\\",\\\\n \\\\\\"节点根文件系统使用检测\\\\\\",\\\\n \\\\\\"节点cgroup泄漏检测\\\\\\",\\\\n \\\\\\"节点Sockets使用检测\\\\\\",\\\\n \\\\\\"节点TCP内存使用检测\\\\\\"\\\\n ],\\\\n \\\\\\"延时\\\\\\": [\\\\n \\\\\\"节点调度延时检测\\\\\\",\\\\n \\\\\\"节点网络延时检测\\\\\\",\\\\n \\\\\\"节点磁盘写入延迟检测\\\\\\",\\\\n \\\\\\"节点磁盘读取延迟检测\\\\\\"\\\\n ],\\\\n \\\\\\"负载\\\\\\": [\\\\n \\\\\\"节点磁盘IO流量检测\\\\\\",\\\\n \\\\\\"节点load average检测\\\\\\"\\\\n ],\\\\n \\\\\\"错误\\\\\\": [\\\\n \\\\\\"节点网络丢包检测\\\\\\",\\\\n \\\\\\"节点OOM夯机预测及检测\\\\\\"\\\\n ]\\\\n },\\\\n \\\\\\"POD\\\\\\": {\\\\n \\\\\\"饱和度\\\\\\": [\\\\n \\\\\\"Pod内存使用检测\\\\\\",\\\\n \\\\\\"Pod CPU使用率检测\\\\\\"\\\\n ],\\\\n \\\\\\"错误\\\\\\": [\\\\n \\\\\\"Pod CPU限流检测\\\\\\",\\\\n \\\\\\"Pod OOM事件检测\\\\\\"\\\\n ]\\\\n }\\\\n}\\"\\n}","type":"json"}]', ], 'ListAlertStrategies' => [ 'summary' => '用于获取用户所有推送告警的策略', 'path' => '/api/v1/alertPusher/alert/listStrategies', 'methods' => [ 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREalinux586OFI', ], ], 'parameters' => [ [ 'name' => 'maxResults', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20', ], ], [ 'name' => 'nextToken', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'c2f78a783f49457caba6bace6f6f79e4', ], ], [ 'name' => 'current', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', ], ], [ 'name' => 'pageSize', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', ], ], [ 'name' => 'name', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'strategy1', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'requestId' => [ 'title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '2D693121-C925-5154-8DF6-C09A8B369822'."\n", ], 'code' => [ 'description' => '', 'type' => 'string', 'example' => 'Success', ], 'message' => [ 'description' => '', 'type' => 'string', 'example' => 'success', ], 'data' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'uid' => [ 'description' => '', 'type' => 'string', 'example' => '1880327028143673', ], 'createdAt' => [ 'description' => '', 'type' => 'string', 'example' => '1753669116286', ], 'name' => [ 'description' => '', 'type' => 'string', 'example' => 'strategy1', ], 'id' => [ 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '1', ], 'strategy' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'items' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'string', 'example' => '', ], ], 'clusters' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'string', 'example' => 'cluster1', ], ], ], ], 'enabled' => [ 'description' => '', 'type' => 'boolean', 'example' => 'false', ], 'updatedAt' => [ 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '1753237017710', ], 'k8sLabel' => [ 'type' => 'boolean', ], ], ], ], 'total' => [ 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '92', ], 'nextToken' => [ 'description' => '', 'type' => 'string', 'example' => 'c2f78a783f49457caba6bace6f6f79e4', ], 'maxResults' => [ 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '20', ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"2D693121-C925-5154-8DF6-C09A8B369822\\\\n\\",\\n \\"code\\": \\"Success\\",\\n \\"message\\": \\"success\\",\\n \\"data\\": [\\n {\\n \\"uid\\": \\"1880327028143673\\",\\n \\"createdAt\\": \\"1753669116286\\",\\n \\"name\\": \\"strategy1\\",\\n \\"id\\": 1,\\n \\"strategy\\": {\\n \\"items\\": [\\n \\"Pod OOM事件检测\\"\\n ],\\n \\"clusters\\": [\\n \\"cluster1\\"\\n ]\\n },\\n \\"enabled\\": false,\\n \\"updatedAt\\": 1753237017710,\\n \\"k8sLabel\\": true\\n }\\n ],\\n \\"total\\": 92,\\n \\"nextToken\\": \\"c2f78a783f49457caba6bace6f6f79e4\\",\\n \\"maxResults\\": 20\\n}","type":"json"}]', ], 'CreateAlertStrategy' => [ 'summary' => '新增推送告警的策略', 'path' => '/api/v1/alertPusher/alert/createStrategy', 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREalinuxJZOVCX', ], ], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'name' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'strategy1', ], 'enabled' => [ 'description' => '', 'type' => 'boolean', 'required' => true, 'example' => 'false', ], 'strategy' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'items' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '', ], 'required' => false, ], 'clusters' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'cluster1 ', ], 'required' => false, ], ], 'required' => true, ], 'k8sLabel' => [ 'type' => 'boolean', ], ], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'requestId' => [ 'title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '2D693121-C925-5154-8DF6-C09A8B369822', ], 'code' => [ 'description' => '', 'type' => 'string', 'example' => 'Success', ], 'message' => [ 'description' => '', 'type' => 'string', 'example' => '', ], 'data' => [ 'description' => '', 'type' => 'any', 'example' => '{'."\n" .' "uid": "uid-1",'."\n" .' "name": "test-name",'."\n" .' "strategy": {'."\n" .' "clusters": ["test-cluster-1","test-cluster-2"],'."\n" .' "items": ["test-item1","test-item2"]'."\n" .' },'."\n" .' "enabled": True,'."\n" .' '."\n" .' }', ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"2D693121-C925-5154-8DF6-C09A8B369822\\",\\n \\"code\\": \\"Success\\",\\n \\"message\\": \\"创建策略失败\\",\\n \\"data\\": \\"{\\\\n \\\\\\"uid\\\\\\": \\\\\\"uid-1\\\\\\",\\\\n \\\\\\"name\\\\\\": \\\\\\"test-name\\\\\\",\\\\n \\\\\\"strategy\\\\\\": {\\\\n \\\\\\"clusters\\\\\\": [\\\\\\"test-cluster-1\\\\\\",\\\\\\"test-cluster-2\\\\\\"],\\\\n \\\\\\"items\\\\\\": [\\\\\\"test-item1\\\\\\",\\\\\\"test-item2\\\\\\"]\\\\n },\\\\n \\\\\\"enabled\\\\\\": True,\\\\n \\\\n }\\"\\n}","type":"json"}]', ], 'UpdateAlertStrategy' => [ 'summary' => '更新推送告警策略', 'path' => '/api/v1/alertPusher/alert/updateStrategy', 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREalinuxJZOVCX', ], ], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'name' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'strategy1', ], 'id' => [ 'description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1', ], 'enabled' => [ 'description' => '', 'type' => 'boolean', 'required' => true, 'example' => 'true', ], 'strategy' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'items' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '', ], 'required' => false, ], 'clusters' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'cluster1', ], 'required' => false, ], ], 'required' => true, ], 'k8sLabel' => [ 'type' => 'boolean', ], ], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'requestId' => [ 'title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '2D693121-C925-5154-8DF6-C09A8B369822', ], 'code' => [ 'description' => '', 'type' => 'string', 'example' => 'Success', ], 'message' => [ 'description' => '', 'type' => 'string', 'example' => '', ], 'data' => [ 'description' => '', 'type' => 'any', 'example' => '{'."\n" .' "uid": "uid-1",'."\n" .' "name": "test-name",'."\n" .' "strategy": {'."\n" .' "clusters": ["test-cluster-1","test-cluster-2"],'."\n" .' "items": ["test-item1","test-item2"]'."\n" .' },'."\n" .' "enabled": True'."\n" .'}', ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"2D693121-C925-5154-8DF6-C09A8B369822\\",\\n \\"code\\": \\"Success\\",\\n \\"message\\": \\"更新告警策略失败\\",\\n \\"data\\": \\"{\\\\n \\\\\\"uid\\\\\\": \\\\\\"uid-1\\\\\\",\\\\n \\\\\\"name\\\\\\": \\\\\\"test-name\\\\\\",\\\\n \\\\\\"strategy\\\\\\": {\\\\n \\\\\\"clusters\\\\\\": [\\\\\\"test-cluster-1\\\\\\",\\\\\\"test-cluster-2\\\\\\"],\\\\n \\\\\\"items\\\\\\": [\\\\\\"test-item1\\\\\\",\\\\\\"test-item2\\\\\\"]\\\\n },\\\\n \\\\\\"enabled\\\\\\": True\\\\n}\\"\\n}","type":"json"}]', ], 'UpdateFuncSwitchRecord' => [ 'summary' => '获取功能模块配置', 'path' => '/api/v1/func-switch/update-service-func-switch', 'methods' => [ 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREalinux586OFI', ], ], 'parameters' => [ [ 'name' => 'params', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'function_name' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'mullprof', ], 'instance' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'i-2zei55fwj8nnu31h3z46', ], 'uid' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '1664516888213680', ], 'op' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'restart', ], 'args' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'add_cmd' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'java', ], 'mem' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'true', ], 'locks' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'true', ], 'java_store_path' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '/tmp/sysom/java-profiler', ], 'system_profiling' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'true', ], 'cpu' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'true', ], 'loop' => [ 'description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '-1', ], 'pid' => [ 'type' => 'integer', 'format' => 'int32', ], 'duration' => [ 'type' => 'integer', 'format' => 'int32', ], ], 'required' => false, ], 'region' => [ 'type' => 'string', ], ], 'required' => true, ], ], [ 'name' => 'service_name', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'livetrace', ], ], [ 'name' => 'channel', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'ecs', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'requestId' => [ 'title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '2D693121-C925-5154-8DF6-C09A8B369822', ], 'code' => [ 'description' => '', 'type' => 'string', 'example' => 'Success', ], 'message' => [ 'description' => '', 'type' => 'string', 'example' => 'result: code=1 msg=(Request failed, status_code != 200)', ], 'data' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'task_id' => [ 'description' => '', 'type' => 'string', 'example' => '63fc5acb99e642d793f42912612e8001', ], ], ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"2D693121-C925-5154-8DF6-C09A8B369822\\",\\n \\"code\\": \\"Success\\",\\n \\"message\\": \\"result: code=1 msg=(Request failed, status_code != 200)\\",\\n \\"data\\": {\\n \\"task_id\\": \\"63fc5acb99e642d793f42912612e8001\\"\\n }\\n}","type":"json"}]', ], 'GetServiceFuncStatus' => [ 'summary' => '获取功能模块配置', 'path' => '/api/v1/func-switch/get-service-func-status', 'methods' => [ 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREalinux586OFI', ], ], 'parameters' => [ [ 'name' => 'params', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'function_name' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'mullprof', ], 'instance' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'i-2zei55fwj8nnu31h3z46', ], 'uid' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '1338904783509062', ], ], 'required' => true, ], ], [ 'name' => 'service_name', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'livetrace', ], ], [ 'name' => 'channel', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'ecs', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'requestId' => [ 'title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '2D693121-C925-5154-8DF6-C09A8B369822'."\n", ], 'code' => [ 'description' => '', 'type' => 'string', 'example' => 'Success', ], 'message' => [ 'description' => '', 'type' => 'string', 'example' => "\n", ], 'data' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'args' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'add_cmd' => [ 'description' => '', 'type' => 'string', 'example' => 'java', ], 'mem' => [ 'description' => '', 'type' => 'string', 'example' => 'true', ], 'locks' => [ 'description' => '', 'type' => 'string', 'example' => 'true', ], 'java_store_path' => [ 'description' => '', 'type' => 'string', 'example' => '/tmp/sysom/java-profiler', ], 'cpu' => [ 'description' => '', 'type' => 'string', 'example' => 'true', ], 'system_profiling' => [ 'description' => '', 'type' => 'string', 'example' => 'true', ], 'loop' => [ 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '-1', ], ], ], ], ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"2D693121-C925-5154-8DF6-C09A8B369822\\\\n\\",\\n \\"code\\": \\"Success\\",\\n \\"message\\": \\"\\\\n\\",\\n \\"data\\": {\\n \\"args\\": {\\n \\"add_cmd\\": \\"java\\",\\n \\"mem\\": \\"true\\",\\n \\"locks\\": \\"true\\",\\n \\"java_store_path\\": \\"/tmp/sysom/java-profiler\\",\\n \\"cpu\\": \\"true\\",\\n \\"system_profiling\\": \\"true\\",\\n \\"loop\\": -1\\n }\\n }\\n}","type":"json"}]', ], 'GetHotSpotUniqList' => [ 'summary' => '获取实例下的某个字段列表', 'path' => '/api/v1/livetrace_proxy/hotspot_uniq_list', 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '254533', 'abilityTreeNodes' => [ 'FEATUREalinuxFVZ8GD', ], ], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'uniq' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => '', ], 'instance' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'i-bp1g2i0siirefgwnnnvy', ], 'pid' => [ 'description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '12345', ], 'table' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'prof_on', ], 'beg_start' => [ 'description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1735008551000', ], 'beg_end' => [ 'description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1735010351000', ], ], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'requestId' => [ 'title' => 'Id of the request', 'description' => '', 'type' => 'string', 'example' => '2D693121-C925-5154-8DF6-C09A8B369822'."\n", ], 'code' => [ 'description' => '', 'type' => 'string', 'example' => 'Success', ], 'success' => [ 'description' => '', 'type' => 'string', 'example' => 'true', ], 'message' => [ 'description' => '', 'type' => 'string', 'example' => "\n" .'success', ], 'data' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'columns' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'string', 'example' => 'column', ], ], 'values' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'string', 'example' => 'ml', ], ], ], ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"2D693121-C925-5154-8DF6-C09A8B369822\\\\n\\",\\n \\"code\\": \\"Success\\",\\n \\"success\\": \\"true\\",\\n \\"message\\": \\"\\\\nsuccess\\",\\n \\"data\\": {\\n \\"columns\\": [\\n \\"column\\"\\n ],\\n \\"values\\": [\\n \\"ml\\"\\n ]\\n }\\n}","type":"json"}]', ], 'GetHotspotTracking' => [ 'summary' => '发起热点追踪', 'path' => '/api/v1/openapi/proxy/post/livetrace_hotspot_tracking', 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '230069', 'abilityTreeNodes' => [ 'FEATUREalinuxFVZ8GD', ], ], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'table' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'prof_on', ], 'instance' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'i-2ze5ru5rjurix7f71sxv', ], 'beg_start' => [ 'description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1725410348000', ], 'beg_end' => [ 'description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1725413948000', ], 'pid' => [ 'description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1657494', ], 'hot_type' => [ 'type' => 'string', 'required' => true, ], ], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'requestId' => [ 'description' => '', 'type' => 'string', 'example' => '2D693121-C925-5154-8DF6-C09A8B369822', ], 'code' => [ 'description' => '', 'type' => 'string', 'example' => 'SysomOpenAPI.ServerError', ], 'message' => [ 'description' => '', 'type' => 'string', 'example' => 'Success', ], 'data' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'series' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'columns' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'string', 'example' => '"time", "EXPR$1"', ], ], 'values' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'string', 'example' => '"2024-09-04T00:39:50Z", "1"', ], ], ], ], ], 'flame' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'columns' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'string', 'example' => '"sample","time"', ], ], 'values' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'string', 'example' => '"{\\"flamebearer\\":{\\"names\\":[\\"total\\",\\"host\\",\\"AliYunDun:1657494\\",\\"?5043000000000000\\",\\"std::basic_string::basic_string\\",\\"__memmove_ssse3_back\\",\\"_init\\",\\"std::string::_Rep::_M_set_length_and_sharable\\",\\"std::string::_S_copy_chars\\",\\"__strlen_sse2_pminub\\",\\"__read_nocancel\\",\\"system_call_fastpath\\",\\"SyS_read\\",\\"vfs_read\\",\\"seq_read\\",\\"proc_single_show\\",\\"proc_tgid_stat\\",\\"do_task_stat\\",\\"__delayacct_blkio_ticks\\",\\"_raw_spin_unlock_irqrestore\\",\\"proc_pid_status\\",\\"seq_bitmap\\",\\"bitmap_scnprintf\\",\\"bitmap_scnprintf.part.0\\",\\"scnprintf\\",\\"vscnprintf\\",\\"vsnprintf\\",\\"format_decode\\",\\"kernfs_fop_read\\",\\"kernfs_seq_show\\",\\"sysfs_kf_seq_show\\",\\"dev_attr_show\\",\\"part_stat_show\\",\\"part_in_flight\\",\\"blk_mq_in_flight\\",\\"blk_mq_queue_tag_busy_iter\\",\\"copy_user_enhanced_fast_string\\",\\"proc_reg_read\\",\\"meminfo_proc_show\\",\\"get_vmalloc_info\\",\\"aqs::CThreadUtil::ThreadFunc\\",\\"operatordelete\\",\\"CProtocolHandlerThread::run\\",\\"CSingleton::GetInstance\\",\\"CResourceMonitor::SetThreadHeartbeat\\",\\"CMonitor::SetThreadHeartbeat\\",\\"aqs::CMutexLockUtil::CMutexLockUtil\\",\\"aqs::CGetTickClock::GetClock\\",\\"__pthread_rwlock_rdlock\\",\\"pthread_rwlock_rdlock\\",\\"aqs::CReadLockUtil::CReadLockUtil\\",\\"std::map::find\\",\\"std::_Rb_tree\\",\\"std::less::operator\\",\\"std::_Rb_tree_iterator::_Rb_tree_iterator\\",\\"__GI___pthread_mutex_lock\\",\\"pthread_mutex_lock\\",\\"__nanosleep_nocancel\\",\\"SyS_nanosleep\\",\\"__check_object_size\\",\\"__virt_addr_valid\\",\\"hrtimer_nanosleep\\",\\"hrtimer_init\\",\\"do_nanosleep\\",\\"schedule\\",\\"__schedule\\",\\"rcu_note_context_switch\\",\\"finish_task_switch\\",\\"hrtimer_start_range_ns\\",\\"lock_hrtimer_base.isra.20\\",\\"_raw_spin_lock_irqsave\\",\\"__audit_syscall_entry\\",\\"CIpcPrivate::run\\",\\"std::list::empty\\",\\"stIpcRawMsg::stIpcRawMsg\\",\\"CIpcPrivate::HandleRecvRawMsg\\",\\"std::basic_string::~basic_string\\",\\"CIpcPrivate::OnRecvClientData\\",\\"CIpcPrivate::InsertMsg\\",\\"std::list::push_back\\",\\"std::list::_M_insert\\",\\"std::list::_M_create_node\\",\\"__gnu_cxx::new_allocator::allocate\\",\\"ParseIpcDataEx\\",\\"boolCSimpleSerialization::GetInt\\",\\"CSimpleSerialization::GetMemberForInteger\\",\\"CIpcPrivate::HandleSendMsg\\",\\"CIpcPrivate::SendIpcMsgPri\\",\\"CSelfGuardIpc::IpcRecvMsg\\",\\"CNetWork::run\\",\\"CNetWork::PeekRecvMessage\\",\\"CNetWork::ReadOneMessage\\",\\"evthread_use_pthreads\\",\\"pthread_self\\",\\"bufferevent_get_input\\",\\"CAtomicInt64::Get\\",\\"CNetWork::PeekSendMessage\\",\\"CTcpMessageBuffer::MarkSendMessage\\",\\"CNetWork::GetSendMessage\\",\\"__SendMessage::__SendMessage\\",\\"__epoll_wait_nocancel\\",\\"system_call_after_swapgs\\",\\"!48c69361\\",\\"!48c672e9\\",\\"!48c20f45\\",\\"!48c2106d\\",\\"!48c2eca3\\",\\"SyS_epoll_wait\\",\\"ep_poll\\",\\"__fdget\\",\\"__fget_light\\"],\\"maxSelf\\":92,\\"numTicks\\":268,\\"levels\\":[[0,268,0,0],[0,268,0,1],[0,268,92,2],[92,10,0,3,0,6,1,10,0,139,14,40,0,7,0,100,0,14,0,57],[92,8,0,4,0,2,2,9,1,5,0,11,14,3,3,41,0,36,0,42,0,3,3,6,0,45,3,57,0,15,1,72,0,3,3,43,0,20,0,89,0,1,1,101,0,1,0,102,0,5,0,11,0,1,1,101,0,13,0,11],[92,1,1,5,0,2,2,6,0,4,4,7,0,1,1,8,3,5,0,12,17,1,1,43,0,5,5,44,0,30,1,45,6,41,1,11,0,1,1,71,1,1,1,73,0,6,0,45,0,2,2,74,0,3,0,75,0,2,0,86,3,7,0,90,0,1,1,95,0,2,0,45,0,5,0,96,0,1,1,76,0,3,3,99,0,1,1,6,1,1,0,103,0,4,0,107,0,1,1,109,1,13,0,58],[103,5,0,13,24,1,1,46,0,3,3,47,0,5,5,43,0,16,0,44,0,1,1,55,0,1,1,56,0,2,2,6,7,39,1,58,0,1,1,36,3,3,0,44,0,1,1,6,0,2,2,51,2,1,1,76,0,2,0,77,0,1,0,87,0,1,1,6,3,7,1,91,1,2,0,44,0,3,3,97,0,2,0,98,6,1,0,104,0,2,0,108,0,2,0,109,2,2,2,59,0,11,0,61],[103,2,0,14,0,1,0,28,0,1,1,36,0,1,0,37,33,1,1,43,0,2,2,48,0,2,2,49,0,2,2,6,0,2,2,50,0,7,0,51,12,4,2,59,0,1,1,60,0,33,1,61,4,1,1,49,0,1,1,50,0,1,0,51,6,1,0,78,0,1,0,83,0,1,0,88,5,1,1,92,0,1,1,6,0,1,1,93,0,3,3,94,1,1,0,51,0,1,1,48,3,1,1,55,0,1,1,6,6,1,0,105,0,2,2,19,0,2,2,110,4,11,0,63],[103,2,0,15,0,1,0,14,1,1,0,14,42,6,3,52,0,1,1,6,14,2,2,60,2,2,2,62,0,30,0,63,6,1,1,52,6,1,0,79,0,1,0,84,0,1,1,9,12,1,1,52,12,1,1,106,8,5,1,64,0,6,0,68],[103,1,0,16,0,1,0,20,0,1,0,29,1,1,0,38,45,2,2,53,0,1,1,54,21,15,0,64,0,15,0,68,13,1,0,80,0,1,1,85,36,4,0,65,0,6,6,19],[103,1,0,17,0,1,0,21,0,1,0,30,1,1,1,39,69,15,0,65,0,1,0,69,0,14,14,19,13,1,0,81,37,4,4,67],[103,1,0,18,0,1,0,22,0,1,0,31,71,2,2,66,0,13,13,67,0,1,1,70,27,1,1,82],[103,1,1,19,0,1,0,23,0,1,0,32],[104,1,0,24,0,1,0,33],[104,1,0,25,0,1,0,34],[104,1,0,26,0,1,1,35],[104,1,1,27]]},\\"version\\":1,\\"metadata\\":{\\"name\\":\\"liveTrace\\",\\"sampleRate\\":100,\\"spyName\\":\\"cprof\\",\\"units\\":\\"samples\\",\\"maxNodes\\":1024,\\"appName\\":\\"liveTrace.profiling\\",\\"format\\":\\"single\\"}}"'."\n", ], ], ], ], ], ], ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"2D693121-C925-5154-8DF6-C09A8B369822\\",\\n \\"code\\": \\"SysomOpenAPI.ServerError\\",\\n \\"message\\": \\"Success\\",\\n \\"data\\": {\\n \\"series\\": {\\n \\"columns\\": [\\n \\"\\\\\\"time\\\\\\", \\\\\\"EXPR$1\\\\\\"\\"\\n ],\\n \\"values\\": [\\n [\\n \\"\\\\\\"2024-09-04T00:39:50Z\\\\\\", \\\\\\"1\\\\\\"\\"\\n ]\\n ]\\n },\\n \\"flame\\": {\\n \\"columns\\": [\\n \\"\\\\\\"sample\\\\\\",\\\\\\"time\\\\\\"\\"\\n ],\\n \\"values\\": [\\n [\\n \\"\\\\\\"{\\\\\\\\\\\\\\"flamebearer\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"names\\\\\\\\\\\\\\":[\\\\\\\\\\\\\\"total\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"host\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"AliYunDun:1657494\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"?5043000000000000\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"std::basic_string::basic_string\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"__memmove_ssse3_back\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"_init\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"std::string::_Rep::_M_set_length_and_sharable\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"std::string::_S_copy_chars\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"__strlen_sse2_pminub\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"__read_nocancel\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"system_call_fastpath\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"SyS_read\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"vfs_read\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"seq_read\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"proc_single_show\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"proc_tgid_stat\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"do_task_stat\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"__delayacct_blkio_ticks\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"_raw_spin_unlock_irqrestore\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"proc_pid_status\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"seq_bitmap\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"bitmap_scnprintf\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"bitmap_scnprintf.part.0\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"scnprintf\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"vscnprintf\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"vsnprintf\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"format_decode\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"kernfs_fop_read\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"kernfs_seq_show\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"sysfs_kf_seq_show\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"dev_attr_show\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"part_stat_show\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"part_in_flight\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"blk_mq_in_flight\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"blk_mq_queue_tag_busy_iter\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"copy_user_enhanced_fast_string\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"proc_reg_read\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"meminfo_proc_show\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"get_vmalloc_info\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"aqs::CThreadUtil::ThreadFunc\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"operatordelete\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"CProtocolHandlerThread::run\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"CSingleton::GetInstance\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"CResourceMonitor::SetThreadHeartbeat\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"CMonitor::SetThreadHeartbeat\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"aqs::CMutexLockUtil::CMutexLockUtil\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"aqs::CGetTickClock::GetClock\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"__pthread_rwlock_rdlock\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"pthread_rwlock_rdlock\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"aqs::CReadLockUtil::CReadLockUtil\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"std::map::find\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"std::_Rb_tree\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"std::less::operator\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"std::_Rb_tree_iterator::_Rb_tree_iterator\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"__GI___pthread_mutex_lock\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"pthread_mutex_lock\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"__nanosleep_nocancel\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"SyS_nanosleep\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"__check_object_size\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"__virt_addr_valid\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"hrtimer_nanosleep\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"hrtimer_init\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"do_nanosleep\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"schedule\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"__schedule\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"rcu_note_context_switch\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"finish_task_switch\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"hrtimer_start_range_ns\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"lock_hrtimer_base.isra.20\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"_raw_spin_lock_irqsave\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"__audit_syscall_entry\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"CIpcPrivate::run\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"std::list::empty\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"stIpcRawMsg::stIpcRawMsg\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"CIpcPrivate::HandleRecvRawMsg\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"std::basic_string::~basic_string\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"CIpcPrivate::OnRecvClientData\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"CIpcPrivate::InsertMsg\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"std::list::push_back\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"std::list::_M_insert\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"std::list::_M_create_node\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"__gnu_cxx::new_allocator::allocate\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"ParseIpcDataEx\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"boolCSimpleSerialization::GetInt\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"CSimpleSerialization::GetMemberForInteger\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"CIpcPrivate::HandleSendMsg\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"CIpcPrivate::SendIpcMsgPri\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"CSelfGuardIpc::IpcRecvMsg\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"CNetWork::run\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"CNetWork::PeekRecvMessage\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"CNetWork::ReadOneMessage\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"evthread_use_pthreads\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"pthread_self\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"bufferevent_get_input\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"CAtomicInt64::Get\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"CNetWork::PeekSendMessage\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"CTcpMessageBuffer::MarkSendMessage\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"CNetWork::GetSendMessage\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"__SendMessage::__SendMessage\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"__epoll_wait_nocancel\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"system_call_after_swapgs\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"!48c69361\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"!48c672e9\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"!48c20f45\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"!48c2106d\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"!48c2eca3\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"SyS_epoll_wait\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"ep_poll\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"__fdget\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"__fget_light\\\\\\\\\\\\\\"],\\\\\\\\\\\\\\"maxSelf\\\\\\\\\\\\\\":92,\\\\\\\\\\\\\\"numTicks\\\\\\\\\\\\\\":268,\\\\\\\\\\\\\\"levels\\\\\\\\\\\\\\":[[0,268,0,0],[0,268,0,1],[0,268,92,2],[92,10,0,3,0,6,1,10,0,139,14,40,0,7,0,100,0,14,0,57],[92,8,0,4,0,2,2,9,1,5,0,11,14,3,3,41,0,36,0,42,0,3,3,6,0,45,3,57,0,15,1,72,0,3,3,43,0,20,0,89,0,1,1,101,0,1,0,102,0,5,0,11,0,1,1,101,0,13,0,11],[92,1,1,5,0,2,2,6,0,4,4,7,0,1,1,8,3,5,0,12,17,1,1,43,0,5,5,44,0,30,1,45,6,41,1,11,0,1,1,71,1,1,1,73,0,6,0,45,0,2,2,74,0,3,0,75,0,2,0,86,3,7,0,90,0,1,1,95,0,2,0,45,0,5,0,96,0,1,1,76,0,3,3,99,0,1,1,6,1,1,0,103,0,4,0,107,0,1,1,109,1,13,0,58],[103,5,0,13,24,1,1,46,0,3,3,47,0,5,5,43,0,16,0,44,0,1,1,55,0,1,1,56,0,2,2,6,7,39,1,58,0,1,1,36,3,3,0,44,0,1,1,6,0,2,2,51,2,1,1,76,0,2,0,77,0,1,0,87,0,1,1,6,3,7,1,91,1,2,0,44,0,3,3,97,0,2,0,98,6,1,0,104,0,2,0,108,0,2,0,109,2,2,2,59,0,11,0,61],[103,2,0,14,0,1,0,28,0,1,1,36,0,1,0,37,33,1,1,43,0,2,2,48,0,2,2,49,0,2,2,6,0,2,2,50,0,7,0,51,12,4,2,59,0,1,1,60,0,33,1,61,4,1,1,49,0,1,1,50,0,1,0,51,6,1,0,78,0,1,0,83,0,1,0,88,5,1,1,92,0,1,1,6,0,1,1,93,0,3,3,94,1,1,0,51,0,1,1,48,3,1,1,55,0,1,1,6,6,1,0,105,0,2,2,19,0,2,2,110,4,11,0,63],[103,2,0,15,0,1,0,14,1,1,0,14,42,6,3,52,0,1,1,6,14,2,2,60,2,2,2,62,0,30,0,63,6,1,1,52,6,1,0,79,0,1,0,84,0,1,1,9,12,1,1,52,12,1,1,106,8,5,1,64,0,6,0,68],[103,1,0,16,0,1,0,20,0,1,0,29,1,1,0,38,45,2,2,53,0,1,1,54,21,15,0,64,0,15,0,68,13,1,0,80,0,1,1,85,36,4,0,65,0,6,6,19],[103,1,0,17,0,1,0,21,0,1,0,30,1,1,1,39,69,15,0,65,0,1,0,69,0,14,14,19,13,1,0,81,37,4,4,67],[103,1,0,18,0,1,0,22,0,1,0,31,71,2,2,66,0,13,13,67,0,1,1,70,27,1,1,82],[103,1,1,19,0,1,0,23,0,1,0,32],[104,1,0,24,0,1,0,33],[104,1,0,25,0,1,0,34],[104,1,0,26,0,1,1,35],[104,1,1,27]]},\\\\\\\\\\\\\\"version\\\\\\\\\\\\\\":1,\\\\\\\\\\\\\\"metadata\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"liveTrace\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"sampleRate\\\\\\\\\\\\\\":100,\\\\\\\\\\\\\\"spyName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"cprof\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"units\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"samples\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"maxNodes\\\\\\\\\\\\\\":1024,\\\\\\\\\\\\\\"appName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"liveTrace.profiling\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"format\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"single\\\\\\\\\\\\\\"}}\\\\\\"\\\\n\\"\\n ]\\n ]\\n }\\n }\\n}","type":"json"}]', ], 'GetHotspotPidList' => [ 'summary' => '获取某个实例的pid列表', 'path' => '/api/v1/openapi/proxy/post/livetrace_hotspot_pid_list', 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREalinuxJZOVCX', ], ], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'table' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'prof_on', ], 'instance' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'i-2ze5ru5rjurix7f71sxv', ], 'beg_start' => [ 'description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1725413647000', ], 'beg_end' => [ 'description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1725413947000', ], ], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'requestId' => [ 'title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '2D693121-C925-5154-8DF6-C09A8B369822'."\n", ], 'code' => [ 'description' => '', 'type' => 'string', 'example' => 'SysomOpenAPI.InvalidParameter', ], 'message' => [ 'description' => '', 'type' => 'string', 'example' => 'Success', ], 'data' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'columns' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'string', 'example' => '"time", "pid", "comm"', ], ], 'values' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'string', 'example' => '"2024-09-04T01:04:30Z","6890","coredns"', ], ], ], ], ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"2D693121-C925-5154-8DF6-C09A8B369822\\\\n\\",\\n \\"code\\": \\"SysomOpenAPI.InvalidParameter\\",\\n \\"message\\": \\"Success\\",\\n \\"data\\": {\\n \\"columns\\": [\\n \\"\\\\\\"time\\\\\\", \\\\\\"pid\\\\\\", \\\\\\"comm\\\\\\"\\"\\n ],\\n \\"values\\": [\\n [\\n \\"\\\\\\"2024-09-04T01:04:30Z\\\\\\",\\\\\\"6890\\\\\\",\\\\\\"coredns\\\\\\"\\"\\n ]\\n ]\\n }\\n}","type":"json"}]', ], 'GetHotspotInstanceList' => [ 'summary' => '获取热点实例列表', 'path' => '/api/v1/openapi/proxy/post/livetrace_hotspot_instance_list', 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREalinuxJZOVCX', ], ], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'table' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'prof_on', ], 'beg_start' => [ 'description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1725413647000', ], 'beg_end' => [ 'description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1725413947000', ], ], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'requestId' => [ 'title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '2D693121-C925-5154-8DF6-C09A8B369822', ], 'code' => [ 'description' => '', 'type' => 'string', 'example' => 'SysomOpenAPI.ServerError', ], 'message' => [ 'description' => '', 'type' => 'string', 'example' => 'success', ], 'data' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'columns' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'string', 'example' => 'column', ], ], 'values' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'string', 'example' => 'i-2ze5ru5rjurix7f71sxv', ], ], ], ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"2D693121-C925-5154-8DF6-C09A8B369822\\",\\n \\"code\\": \\"SysomOpenAPI.ServerError\\",\\n \\"message\\": \\"success\\",\\n \\"data\\": {\\n \\"columns\\": [\\n \\"column\\"\\n ],\\n \\"values\\": [\\n \\"i-2ze5ru5rjurix7f71sxv\\"\\n ]\\n }\\n}","type":"json"}]', ], 'GetHotspotCompare' => [ 'summary' => '热点对比', 'path' => '/api/v1/openapi/proxy/post/livetrace_hotspot_compare', 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '231282', 'abilityTreeNodes' => [ 'FEATUREalinuxFVZ8GD', ], ], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'table' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'prof_on', ], 'instance1' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'i-2zei55fwj8nnu31h3z46"', ], 'pid1' => [ 'description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '0', ], 'beg1_start' => [ 'description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1725415474000', ], 'beg1_end' => [ 'description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1725415774000', ], 'instance2' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => '0', ], 'pid2' => [ 'description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => 'i-2zei55fwj8nnu31h3z46', ], 'beg2_start' => [ 'description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1725415474000', ], 'beg2_end' => [ 'description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1725415774000', ], 'hot_type' => [ 'type' => 'string', ], ], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'requestId' => [ 'title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '2D693121-C925-5154-8DF6-C09A8B369822', ], 'code' => [ 'description' => '', 'type' => 'string', 'example' => 'SysomOpenAPI.ServerError'."\n", ], 'message' => [ 'description' => '', 'type' => 'string', 'example' => 'success', ], 'data' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'flame' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'columns' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'string', 'example' => '"sample", "time"', ], ], 'values' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'string', 'example' => '"{\\"metadata\\":{\\"spyName\\":\\"cprof\\",\\"leftTicks\\":38,\\"name\\":\\"liveTrace\\",\\"rightTicks\\":38,\\"format\\":\\"double\\",\\"units\\":\\"samples\\",\\"appName\\":\\"liveTrace.profiling\\",\\"sampleRate\\":100},\\"version\\":1,\\"other\\":{\\"Table\\":\\"prof_on\\",\\"leftInstance\\":\\"i-2zei55fwj8nnu31h3z46\\",\\"rightInstance\\":\\"i-2zei55fwj8nnu31h3z46\\",\\"leftPid\\":0,\\"rightPid\\":0},\\"flamebearer\\":{\\"maxSelf\\":7,\\"names\\":[\\"total\\",\\"host\\",\\"idle:0\\",\\"default_enter_idle\\",\\"default_idle\\",\\"asm_common_interrupt\\",\\"common_interrupt\\",\\"irq_exit_rcu\\",\\"do_softirq_own_stack\\",\\"asm_call_irq_on_stack\\",\\"__do_softirq\\",\\"net_rx_action\\",\\"napi_poll\\",\\"nsh_cleanup_module\\",\\"napi_complete_done\\",\\"netif_receive_skb_list_internal\\",\\"__netif_receive_skb_list\\",\\"__netif_receive_skb_list_core\\",\\"__netif_receive_skb_core\\",\\"ip_local_deliver_finish\\",\\"ip_protocol_deliver_rcu\\",\\"tcp_v4_rcv\\",\\"__xfrm_policy_check2.constprop.0\\",\\"ip_local_deliver\\",\\"nf_hook_slow\\",\\"secondary_startup_64_no_verify\\",\\"cpu_startup_entry\\",\\"do_idle\\",\\"cpuidle_idle_call\\",\\"haltpoll_reflect\\",\\"cpuidle_enter\\",\\"cpuidle_enter_state\\",\\"sched_clock_cpu\\",\\"sched_clock\\",\\"kvm_sched_clock_read\\",\\"pvclock_clocksource_read\\",\\"asm_sysvec_call_function_single\\",\\"sysvec_call_function_single\\",\\"_nohz_idle_balance\\",\\"rebalance_domains\\",\\"load_balance\\",\\"cpumask_next_and\\",\\"_find_next_bit.constprop.0\\",\\"update_blocked_averages\\",\\"asm_sysvec_apic_timer_interrupt\\",\\"sysvec_apic_timer_interrupt\\",\\"rcu_core\\",\\"rcu_report_qs_rdp\\",\\"_raw_spin_unlock_irqrestore\\",\\"rcu_do_batch\\",\\"__put_task_struct\\",\\"rcu_cblist_dequeue\\",\\"run_timer_softirq\\",\\"__run_timers.part.0\\",\\"run_rebalance_domains\\",\\"start_kernel\\",\\"call_timer_fn\\",\\"process_timeout\\",\\"note_gp_changes\\",\\"schedule_idle\\",\\"__schedule\\"],\\"numTicks\\":76,\\"levels\\":[[0,38,0,0,38,0,0],[0,38,0,0,38,0,1],[0,38,0,0,38,0,2],[0,2,0,0,2,0,3,0,1,0,0,1,0,4,0,35,0,0,35,0,25],[0,2,0,0,2,0,4,0,1,0,0,1,0,5,0,27,3,0,27,3,26,0,8,0,0,8,0,55],[0,2,0,0,2,0,5,0,1,0,0,1,0,6,3,24,0,3,24,0,27,0,8,0,0,8,0,26],[0,2,0,0,2,0,6,0,1,0,0,1,0,7,3,24,0,3,24,0,28,0,8,0,0,8,0,27],[0,2,0,0,2,0,7,0,1,0,0,1,0,8,3,1,1,3,1,1,29,0,23,0,0,23,0,30,0,7,0,0,7,0,28,0,1,0,0,1,0,59],[0,2,0,0,2,0,8,0,1,0,0,1,0,9,4,23,0,4,23,0,31,0,6,0,0,6,0,30,0,1,1,0,1,1,29,0,1,1,0,1,1,60],[0,2,0,0,2,0,9,0,1,0,0,1,0,10,4,4,1,4,4,1,32,0,19,0,0,19,0,3,0,6,0,0,6,0,31],[0,2,0,0,2,0,10,0,1,0,0,1,0,11,5,3,0,5,3,0,33,0,19,0,0,19,0,4,0,1,0,0,1,0,32,0,5,0,0,5,0,3],[0,2,0,0,2,0,11,0,1,0,0,1,0,12,5,3,0,5,3,0,34,0,2,0,0,2,0,36,0,17,0,0,17,0,44,0,1,0,0,1,0,33,0,5,0,0,5,0,4],[0,2,0,0,2,0,12,0,1,0,0,1,0,13,5,3,3,5,3,3,35,0,2,0,0,2,0,37,0,17,0,0,17,0,45,0,1,0,0,1,0,34,0,1,0,0,1,0,36,0,4,0,0,4,0,44],[0,2,0,0,2,0,13,0,1,0,0,1,0,14,8,2,0,8,2,0,7,0,17,0,0,17,0,7,0,1,1,0,1,1,35,0,1,0,0,1,0,37,0,4,0,0,4,0,45],[0,2,0,0,2,0,14,0,1,0,0,1,0,15,8,2,0,8,2,0,8,0,17,0,0,17,0,8,1,1,0,1,1,0,7,0,4,0,0,4,0,7],[0,2,0,0,2,0,15,0,1,0,0,1,0,16,8,2,0,8,2,0,9,0,17,0,0,17,0,9,1,1,0,1,1,0,8,0,4,0,0,4,0,8],[0,2,0,0,2,0,16,0,1,0,0,1,0,17,8,2,0,8,2,0,10,0,17,0,0,17,0,10,1,1,0,1,1,0,9,0,4,0,0,4,0,9],[0,2,0,0,2,0,17,0,1,0,0,1,0,18,8,2,0,8,2,0,38,0,4,0,0,4,0,46,0,3,0,0,3,0,39,0,2,0,0,2,0,52,0,1,1,0,1,1,53,0,7,0,0,7,0,54,1,1,0,1,1,0,10,0,4,1,0,4,1,10],[0,2,0,0,2,0,18,0,1,0,0,1,0,23,8,1,0,8,1,0,39,0,1,1,0,1,1,43,0,2,0,0,2,0,47,0,2,0,0,2,0,49,0,3,2,0,3,2,40,0,2,2,0,2,2,53,1,7,7,1,7,7,43,1,1,0,1,1,0,38,1,1,0,1,1,0,52,0,1,0,0,1,0,54,0,1,0,0,1,0,46],[0,1,0,0,1,0,19,0,1,0,0,1,0,23,0,1,0,0,1,0,24,8,1,0,8,1,0,40,1,2,2,1,2,2,48,0,1,1,0,1,1,50,0,1,1,0,1,1,51,2,1,0,2,1,0,41,11,1,1,11,1,1,43,1,1,0,1,1,0,53,0,1,1,0,1,1,43,0,1,0,0,1,0,58],[0,1,0,0,1,0,20,0,1,0,0,1,0,24,0,1,0,0,1,0,13,8,1,0,8,1,0,41,7,1,1,7,1,1,42,13,1,0,13,1,0,56,1,1,1,1,1,1,48],[0,1,0,0,1,0,21,0,1,0,0,1,0,13,0,1,0,0,1,0,13,8,1,1,8,1,1,42,21,1,1,21,1,1,57],[0,1,1,0,1,1,22,0,1,1,0,1,1,13,0,1,1,0,1,1,13]]},\\"timeLine\\":{\\"left\\":{\\"durationDelta\\":10,\\"startTime\\":1725415480,\\"samples\\":[3,2,5,5,7,8,7,1]},\\"right\\":{\\"durationDelta\\":10,\\"startTime\\":1725415480,\\"samples\\":[3,2,5,5,7,8,7,1]}}}"'."\n", ], ], ], ], ], 'series_instance1' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'columns' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'string', 'example' => '"time", "EXPR$1"', ], ], 'values' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'string', 'example' => '"2024-09-04T02:04:40Z", "3"', ], ], ], ], ], 'series_instance2' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'columns' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'string', 'example' => '"time", "EXPR$1"', ], ], 'values' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'string', 'example' => '"2024-09-04T02:04:40Z", "3"', ], ], ], ], ], ], ], 'success' => [ 'description' => '', 'type' => 'boolean', 'example' => 'true', ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"2D693121-C925-5154-8DF6-C09A8B369822\\",\\n \\"code\\": \\"SysomOpenAPI.ServerError\\\\n\\",\\n \\"message\\": \\"success\\",\\n \\"data\\": {\\n \\"flame\\": {\\n \\"columns\\": [\\n \\"\\\\\\"sample\\\\\\", \\\\\\"time\\\\\\"\\"\\n ],\\n \\"values\\": [\\n [\\n \\"\\\\\\"{\\\\\\\\\\\\\\"metadata\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"spyName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"cprof\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"leftTicks\\\\\\\\\\\\\\":38,\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"liveTrace\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"rightTicks\\\\\\\\\\\\\\":38,\\\\\\\\\\\\\\"format\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"double\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"units\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"samples\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"appName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"liveTrace.profiling\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"sampleRate\\\\\\\\\\\\\\":100},\\\\\\\\\\\\\\"version\\\\\\\\\\\\\\":1,\\\\\\\\\\\\\\"other\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"Table\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"prof_on\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"leftInstance\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"i-2zei55fwj8nnu31h3z46\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"rightInstance\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"i-2zei55fwj8nnu31h3z46\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"leftPid\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"rightPid\\\\\\\\\\\\\\":0},\\\\\\\\\\\\\\"flamebearer\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"maxSelf\\\\\\\\\\\\\\":7,\\\\\\\\\\\\\\"names\\\\\\\\\\\\\\":[\\\\\\\\\\\\\\"total\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"host\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"idle:0\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"default_enter_idle\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"default_idle\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"asm_common_interrupt\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"common_interrupt\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"irq_exit_rcu\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"do_softirq_own_stack\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"asm_call_irq_on_stack\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"__do_softirq\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"net_rx_action\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"napi_poll\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"nsh_cleanup_module\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"napi_complete_done\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"netif_receive_skb_list_internal\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"__netif_receive_skb_list\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"__netif_receive_skb_list_core\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"__netif_receive_skb_core\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"ip_local_deliver_finish\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"ip_protocol_deliver_rcu\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"tcp_v4_rcv\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"__xfrm_policy_check2.constprop.0\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"ip_local_deliver\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"nf_hook_slow\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"secondary_startup_64_no_verify\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"cpu_startup_entry\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"do_idle\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"cpuidle_idle_call\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"haltpoll_reflect\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"cpuidle_enter\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"cpuidle_enter_state\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"sched_clock_cpu\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"sched_clock\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"kvm_sched_clock_read\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"pvclock_clocksource_read\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"asm_sysvec_call_function_single\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"sysvec_call_function_single\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"_nohz_idle_balance\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"rebalance_domains\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"load_balance\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"cpumask_next_and\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"_find_next_bit.constprop.0\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"update_blocked_averages\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"asm_sysvec_apic_timer_interrupt\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"sysvec_apic_timer_interrupt\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"rcu_core\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"rcu_report_qs_rdp\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"_raw_spin_unlock_irqrestore\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"rcu_do_batch\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"__put_task_struct\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"rcu_cblist_dequeue\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"run_timer_softirq\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"__run_timers.part.0\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"run_rebalance_domains\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"start_kernel\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"call_timer_fn\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"process_timeout\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"note_gp_changes\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"schedule_idle\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"__schedule\\\\\\\\\\\\\\"],\\\\\\\\\\\\\\"numTicks\\\\\\\\\\\\\\":76,\\\\\\\\\\\\\\"levels\\\\\\\\\\\\\\":[[0,38,0,0,38,0,0],[0,38,0,0,38,0,1],[0,38,0,0,38,0,2],[0,2,0,0,2,0,3,0,1,0,0,1,0,4,0,35,0,0,35,0,25],[0,2,0,0,2,0,4,0,1,0,0,1,0,5,0,27,3,0,27,3,26,0,8,0,0,8,0,55],[0,2,0,0,2,0,5,0,1,0,0,1,0,6,3,24,0,3,24,0,27,0,8,0,0,8,0,26],[0,2,0,0,2,0,6,0,1,0,0,1,0,7,3,24,0,3,24,0,28,0,8,0,0,8,0,27],[0,2,0,0,2,0,7,0,1,0,0,1,0,8,3,1,1,3,1,1,29,0,23,0,0,23,0,30,0,7,0,0,7,0,28,0,1,0,0,1,0,59],[0,2,0,0,2,0,8,0,1,0,0,1,0,9,4,23,0,4,23,0,31,0,6,0,0,6,0,30,0,1,1,0,1,1,29,0,1,1,0,1,1,60],[0,2,0,0,2,0,9,0,1,0,0,1,0,10,4,4,1,4,4,1,32,0,19,0,0,19,0,3,0,6,0,0,6,0,31],[0,2,0,0,2,0,10,0,1,0,0,1,0,11,5,3,0,5,3,0,33,0,19,0,0,19,0,4,0,1,0,0,1,0,32,0,5,0,0,5,0,3],[0,2,0,0,2,0,11,0,1,0,0,1,0,12,5,3,0,5,3,0,34,0,2,0,0,2,0,36,0,17,0,0,17,0,44,0,1,0,0,1,0,33,0,5,0,0,5,0,4],[0,2,0,0,2,0,12,0,1,0,0,1,0,13,5,3,3,5,3,3,35,0,2,0,0,2,0,37,0,17,0,0,17,0,45,0,1,0,0,1,0,34,0,1,0,0,1,0,36,0,4,0,0,4,0,44],[0,2,0,0,2,0,13,0,1,0,0,1,0,14,8,2,0,8,2,0,7,0,17,0,0,17,0,7,0,1,1,0,1,1,35,0,1,0,0,1,0,37,0,4,0,0,4,0,45],[0,2,0,0,2,0,14,0,1,0,0,1,0,15,8,2,0,8,2,0,8,0,17,0,0,17,0,8,1,1,0,1,1,0,7,0,4,0,0,4,0,7],[0,2,0,0,2,0,15,0,1,0,0,1,0,16,8,2,0,8,2,0,9,0,17,0,0,17,0,9,1,1,0,1,1,0,8,0,4,0,0,4,0,8],[0,2,0,0,2,0,16,0,1,0,0,1,0,17,8,2,0,8,2,0,10,0,17,0,0,17,0,10,1,1,0,1,1,0,9,0,4,0,0,4,0,9],[0,2,0,0,2,0,17,0,1,0,0,1,0,18,8,2,0,8,2,0,38,0,4,0,0,4,0,46,0,3,0,0,3,0,39,0,2,0,0,2,0,52,0,1,1,0,1,1,53,0,7,0,0,7,0,54,1,1,0,1,1,0,10,0,4,1,0,4,1,10],[0,2,0,0,2,0,18,0,1,0,0,1,0,23,8,1,0,8,1,0,39,0,1,1,0,1,1,43,0,2,0,0,2,0,47,0,2,0,0,2,0,49,0,3,2,0,3,2,40,0,2,2,0,2,2,53,1,7,7,1,7,7,43,1,1,0,1,1,0,38,1,1,0,1,1,0,52,0,1,0,0,1,0,54,0,1,0,0,1,0,46],[0,1,0,0,1,0,19,0,1,0,0,1,0,23,0,1,0,0,1,0,24,8,1,0,8,1,0,40,1,2,2,1,2,2,48,0,1,1,0,1,1,50,0,1,1,0,1,1,51,2,1,0,2,1,0,41,11,1,1,11,1,1,43,1,1,0,1,1,0,53,0,1,1,0,1,1,43,0,1,0,0,1,0,58],[0,1,0,0,1,0,20,0,1,0,0,1,0,24,0,1,0,0,1,0,13,8,1,0,8,1,0,41,7,1,1,7,1,1,42,13,1,0,13,1,0,56,1,1,1,1,1,1,48],[0,1,0,0,1,0,21,0,1,0,0,1,0,13,0,1,0,0,1,0,13,8,1,1,8,1,1,42,21,1,1,21,1,1,57],[0,1,1,0,1,1,22,0,1,1,0,1,1,13,0,1,1,0,1,1,13]]},\\\\\\\\\\\\\\"timeLine\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"left\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"durationDelta\\\\\\\\\\\\\\":10,\\\\\\\\\\\\\\"startTime\\\\\\\\\\\\\\":1725415480,\\\\\\\\\\\\\\"samples\\\\\\\\\\\\\\":[3,2,5,5,7,8,7,1]},\\\\\\\\\\\\\\"right\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"durationDelta\\\\\\\\\\\\\\":10,\\\\\\\\\\\\\\"startTime\\\\\\\\\\\\\\":1725415480,\\\\\\\\\\\\\\"samples\\\\\\\\\\\\\\":[3,2,5,5,7,8,7,1]}}}\\\\\\"\\\\n\\"\\n ]\\n ]\\n },\\n \\"series_instance1\\": {\\n \\"columns\\": [\\n \\"\\\\\\"time\\\\\\", \\\\\\"EXPR$1\\\\\\"\\"\\n ],\\n \\"values\\": [\\n [\\n \\"\\\\\\"2024-09-04T02:04:40Z\\\\\\", \\\\\\"3\\\\\\"\\"\\n ]\\n ]\\n },\\n \\"series_instance2\\": {\\n \\"columns\\": [\\n \\"\\\\\\"time\\\\\\", \\\\\\"EXPR$1\\\\\\"\\"\\n ],\\n \\"values\\": [\\n [\\n \\"\\\\\\"2024-09-04T02:04:40Z\\\\\\", \\\\\\"3\\\\\\"\\"\\n ]\\n ]\\n }\\n },\\n \\"success\\": true\\n}","type":"json"}]', ], 'GetHotspotAnalysis' => [ 'summary' => '获取热定分析结果', 'path' => '/api/v1/openapi/proxy/post/livetrace_hotspot_analysis', 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREalinuxJZOVCX', ], ], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'appType' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'GR', ], 'pid' => [ 'description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1657494', ], 'instance' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'i-2ze5ru5rjurix7f71sxv', ], 'beg_start' => [ 'description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1725410348000', ], 'beg_end' => [ 'description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1725413948000', ], 'table' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'prof_on', ], ], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'requestId' => [ 'title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '2D693121-C925-5154-8DF6-C09A8B369822'."\n", ], 'code' => [ 'description' => '', 'type' => 'string', 'example' => 'SysomOpenAPI.ServerError', ], 'data' => [ 'description' => '', 'type' => 'string', 'example' => '', ], 'success' => [ 'description' => '', 'type' => 'boolean', 'example' => 'True', ], 'message' => [ 'description' => '', 'type' => 'string', 'example' => "\n" .'success', ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"2D693121-C925-5154-8DF6-C09A8B369822\\\\n\\",\\n \\"code\\": \\"SysomOpenAPI.ServerError\\",\\n \\"data\\": \\"\\\\\\"AliYunDun:1657494进程(1657494):根据提供的热点调用栈信息,热点主要集中在`__nanosleep_nocancel`以及相关的系统调用`SyS_nanosleep`上,这表明进程在等待特定的时间间隔。通常这是由于应用中存在长时间的睡眠或高频率的定时操作导致的,比如定时任务、心跳检测等。\\\\\\\\n\\\\\\\\n应用代码在需要定期执行某些检查或等待外部事件时会使用`nanosleep`来实现精确的延时控制。为了优化这种情况,可以考虑以下方案:\\\\\\\\n- 评估是否可以减少定时任务的频率。\\\\\\\\n- 使用条件变量替代单纯的睡眠等待,以响应更快的事件触发。\\\\\\\\n- 如果是I/O密集型操作等待,考虑优化I/O路径或提升I/O效率。建议使用SysOM平台的IO诊断工具来进一步定位具体的I/O瓶颈。\\\\\\"\\",\\n \\"success\\": true,\\n \\"message\\": \\"\\\\nsuccess\\"\\n}","type":"json"}]', ], 'StartAIAnalysis' => [ 'summary' => '启动AI作业分析', 'path' => '/api/v1/openapi/proxy/post/start_ai_analysis', 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '255600', 'abilityTreeNodes' => [ 'FEATUREalinuxFVZ8GD', ], ], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'instance' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'i-wz9dej066kii4goqxxxx', ], 'timeout' => [ 'description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2000', ], 'pids' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '2421,36547,10043', ], 'comms' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'python_test', ], 'channel' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'ecs_sysom', ], 'iteration_mod' => [ 'type' => 'string', ], 'iteration_func' => [ 'type' => 'string', ], 'uid' => [ 'type' => 'string', ], 'created_by' => [ 'type' => 'string', ], 'instance_type' => [ 'type' => 'string', ], 'region' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'cn-shenzhen', ], 'iteration_range' => [ 'type' => 'array', 'items' => [ 'type' => 'integer', 'format' => 'int32', ], ], 'analysis_params' => [ 'type' => 'array', 'items' => [ 'type' => 'string', ], ], 'analysisTool' => [ 'type' => 'string', 'required' => false, ], ], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'requestId' => [ 'title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '2D693121-C925-5154-8DF6-C09A8B369822', ], 'code' => [ 'description' => '', 'type' => 'string', 'example' => 'Success', ], 'message' => [ 'description' => '', 'type' => 'string', 'example' => '""', ], 'data' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'analysis_id' => [ 'description' => '', 'type' => 'string', 'example' => '16896fa8-37f6-4c70-bb32-67fa9817d426', ], ], ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"2D693121-C925-5154-8DF6-C09A8B369822\\",\\n \\"code\\": \\"Success\\",\\n \\"message\\": \\"\\\\\\"\\\\\\"\\",\\n \\"data\\": {\\n \\"analysis_id\\": \\"16896fa8-37f6-4c70-bb32-67fa9817d426\\"\\n }\\n}","type":"json"}]', ], 'GetListRecord' => [ 'summary' => 'AI Infra获取分析记录列表', 'path' => '/api/v1/app_observ/aiAnalysis/list_record', 'methods' => [ 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '255604', 'abilityTreeNodes' => [ 'FEATUREalinuxFVZ8GD', ], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'current', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '5', ], ], [ 'name' => 'pageSize', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10', ], ], [ 'name' => 'region', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'requestId' => [ 'title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '2D693121-C925-5154-8DF6-C09A8B369822'."\n", ], 'code' => [ 'description' => '', 'type' => 'string', 'example' => 'Success', ], 'message' => [ 'description' => '', 'type' => 'string', 'example' => '""', ], 'data' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'analysisId' => [ 'description' => '', 'type' => 'string', 'example' => '16896fa8-37f6-4c70-bb32-67fa9817d426', ], 'analysisTime' => [ 'description' => '', 'type' => 'string', 'example' => '2024-12-24 12:02:05'."\n", ], 'status' => [ 'description' => '', 'type' => 'string', 'example' => '', ], 'arguments' => [ 'description' => '', 'type' => 'string', 'example' => 'timeout=2000 ms', ], 'failedLog' => [ 'description' => '', 'type' => 'string', 'example' => '', ], ], ], ], 'total' => [ 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '19', ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"2D693121-C925-5154-8DF6-C09A8B369822\\\\n\\",\\n \\"code\\": \\"Success\\",\\n \\"message\\": \\"\\\\\\"\\\\\\"\\",\\n \\"data\\": [\\n {\\n \\"analysisId\\": \\"16896fa8-37f6-4c70-bb32-67fa9817d426\\",\\n \\"analysisTime\\": \\"2024-12-24 12:02:05\\\\n\\",\\n \\"status\\": \\"已完成/分析失败\\",\\n \\"arguments\\": \\"timeout=2000 ms\\",\\n \\"failedLog\\": \\"机器i-wz9dej066kii4goqpnze分析失败, 失败原因: Not get GPU trace data for \'e59ce870-dbd4-4c44-a814-174ac6ab5bcf\' \'[\'118534\']\'!\\"\\n }\\n ],\\n \\"total\\": 19\\n}","type":"json"}]', ], 'GetAIQueryResult' => [ 'summary' => '查看AI Infra分析结果', 'path' => '/api/v1/app_observ/aiAnalysis/query_result', 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '255605', 'abilityTreeNodes' => [ 'FEATUREalinuxFVZ8GD', ], ], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'analysisId' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '16896fa8-37f6-4c70-bb32-67fa9817d426'."\n", ], ], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'requestId' => [ 'title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '2D693121-C925-5154-8DF6-C09A8B369822'."\n", ], 'code' => [ 'description' => '', 'type' => 'string', 'example' => 'Success', ], 'message' => [ 'description' => '', 'type' => 'string', 'example' => '', ], 'data' => [ 'description' => '', 'type' => 'string', 'example' => '{\'task_id\': \'y4ba8uRV\'}', ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"2D693121-C925-5154-8DF6-C09A8B369822\\\\n\\",\\n \\"code\\": \\"Success\\",\\n \\"message\\": \\"分析ID: 56dae746-ef55-4f77-8373-cb3594c41457\\\\n机器i-bp164ns76pzirbwv0snt分析失败, 失败原因: Not get GPU trace data for \'56dae746-ef55-4f77-8373-cb3594c41457\' \'[\'93811\']\'!\\",\\n \\"data\\": \\"{\'task_id\': \'y4ba8uRV\'}\\"\\n}","type":"json"}]', ], 'GetResources' => [ 'summary' => '获取集群/节点资源实时使用情况', 'path' => '/api/v1/openapi/cluster_health/instant/resource', 'methods' => [ 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREalinuxFVZ8GD', ], ], 'parameters' => [ [ 'name' => 'cluster', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '1808078950770264', ], ], [ 'name' => 'instance', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'i-wz9d00ut2ska3mlyhn6j', ], ], [ 'name' => 'type', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'enumValueTitles' => [ '上行速率' => 'network_input', '下行速率' => 'network_output', '磁盘' => 'disk', '内存' => 'mem', 'CPU' => 'cpu', ], 'example' => 'mem', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'code' => [ 'description' => '', 'type' => 'string', 'example' => 'Success', ], 'message' => [ 'description' => '', 'type' => 'string', 'example' => 'result: code=1 msg=(Request failed, status_code != 200)', ], 'data' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'total' => [ 'description' => '', 'type' => 'number', 'format' => 'float', 'example' => '2354', ], 'usage' => [ 'description' => '', 'type' => 'number', 'format' => 'float', 'example' => '100', ], 'unit' => [ 'description' => '', 'type' => 'string', 'example' => 'Kbytes', ], ], ], 'request_id' => [ 'description' => '', 'type' => 'string', 'example' => '35F91AAB-5FDF-5A22-B211-C7C6B00817D0', ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"Success\\",\\n \\"message\\": \\"result: code=1 msg=(Request failed, status_code != 200)\\",\\n \\"data\\": {\\n \\"total\\": 2354,\\n \\"usage\\": 100,\\n \\"unit\\": \\"Kbytes\\"\\n },\\n \\"request_id\\": \\"35F91AAB-5FDF-5A22-B211-C7C6B00817D0\\"\\n}","type":"json"}]', ], 'GetHostCount' => [ 'summary' => '获取集群节点数量', 'path' => '/api/v1/openapi/cluster_health/range/host_count', 'methods' => [ 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREalinux586OFI', ], ], 'parameters' => [ [ 'name' => 'cluster', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '1808078950770264', ], ], [ 'name' => 'instance', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'i-wz9d00ut2ska3mlyhn6j', ], ], [ 'name' => 'start', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '1725797727754', ], ], [ 'name' => 'end', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '1725801327754', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'code' => [ 'description' => '', 'type' => 'string', 'example' => 'Success', ], 'message' => [ 'description' => '', 'type' => 'string', 'example' => '“”', ], 'data' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'time' => [ 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '1725797727754', ], 'value' => [ 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '5', ], ], ], ], 'total' => [ 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '3', ], 'request_id' => [ 'description' => '', 'type' => 'string', 'example' => '43A910E9-A739-525E-855D-A32C257F1826', ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"Success\\",\\n \\"message\\": \\"“”\\",\\n \\"data\\": [\\n {\\n \\"time\\": 1725797727754,\\n \\"value\\": 5\\n }\\n ],\\n \\"total\\": 3,\\n \\"request_id\\": \\"43A910E9-A739-525E-855D-A32C257F1826\\"\\n}","type":"json"}]', ], 'InitialSysom' => [ 'summary' => '初始化SysOM,确保角色存在', 'path' => '/api/v1/openapi/initial', 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREalinux33ME7W', ], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'check_only' => [ 'title' => '是否只检查服务角色是否存在', 'description' => '', 'type' => 'boolean', 'required' => false, ], 'source' => [ 'title' => '初始化来源', 'type' => 'string', ], ], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'RequestId' => [ 'title' => '', 'type' => 'string', ], 'code' => [ 'description' => '', 'type' => 'string', ], 'message' => [ 'description' => '', 'type' => 'string', ], 'data' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'role_exist' => [ 'description' => '', 'type' => 'boolean', ], ], ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"3FCA2E38-2A8E-5501-93BD-5CE1BA58F2EF\\",\\n \\"code\\": \\"Success\\",\\n \\"message\\": \\"SysomOpenAPIException: SysomOpenAPI.InvalidParameter Invalid params, should be json string or dict\\",\\n \\"data\\": {\\n \\"role_exist\\": true\\n }\\n}","type":"json"}]', ], 'ListClusters' => [ 'summary' => '获取当前用户的所有集群', 'path' => '/api/v1/am/cluster/list_clusters', 'methods' => [ 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '253340', 'abilityTreeNodes' => [ 'FEATUREalinux586OFI', ], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'current', 'in' => 'query', 'schema' => [ 'title' => '', 'description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', ], ], [ 'name' => 'pageSize', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10', ], ], [ 'name' => 'name', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'proxy-next-upstream', ], ], [ 'name' => 'cluster_id', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'cb7d4cc26c8f845fb8a8255ffd394820e', ], ], [ 'name' => 'cluster_status', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'Running', 'enum' => [ 'Running', 'Installing', 'Uninstalling', 'Upgrading', 'Offline', ], ], ], [ 'name' => 'cluster_type', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'ACK', 'enum' => [ 'ACK', 'CUSTOM', ], ], ], [ 'name' => 'id', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'cb7d4cc26c8f845fb8a8255ffd394820e', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'code' => [ 'description' => '', 'type' => 'string', 'example' => 'Success', ], 'message' => [ 'description' => '', 'type' => 'string', 'example' => 'success', ], 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => 'B149FD9C-ED5C-5765-B3AD-05AA4A4D64D7', ], 'total' => [ 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '64', ], 'data' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'id' => [ 'description' => '', 'type' => 'string', 'example' => '5389fba5-92a1-4ff4-9b26-773b97828144', ], 'name' => [ 'description' => '', 'type' => 'string', 'example' => 'auto-name-sbvCT', ], 'cluster_id' => [ 'description' => '', 'type' => 'string', 'example' => 'c666d4774f0e2440b979bf917bf100e40', ], 'cluster_type' => [ 'description' => '', 'type' => 'string', 'example' => 'ACK', 'enum' => [ 'ACK', 'CUSTOM', ], ], 'region' => [ 'description' => '', 'type' => 'string', 'example' => 'cn-hangzhou', ], 'cluster_status' => [ 'description' => '', 'type' => 'string', 'example' => 'Running', ], 'created_at' => [ 'description' => '', 'type' => 'string', 'example' => '2024-12-25T15:08:19', ], 'updated_at' => [ 'description' => '', 'type' => 'string', 'example' => '2024-12-25T15:08:19', ], ], ], ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"Success\\",\\n \\"message\\": \\"success\\",\\n \\"RequestId\\": \\"B149FD9C-ED5C-5765-B3AD-05AA4A4D64D7\\",\\n \\"total\\": 64,\\n \\"data\\": [\\n {\\n \\"id\\": \\"5389fba5-92a1-4ff4-9b26-773b97828144\\",\\n \\"name\\": \\"auto-name-sbvCT\\",\\n \\"cluster_id\\": \\"c666d4774f0e2440b979bf917bf100e40\\",\\n \\"cluster_type\\": \\"ACK\\",\\n \\"region\\": \\"cn-hangzhou\\",\\n \\"cluster_status\\": \\"Running\\",\\n \\"created_at\\": \\"2024-12-25T15:08:19\\",\\n \\"updated_at\\": \\"2024-12-25T15:08:19\\"\\n }\\n ]\\n}","type":"json"}]', ], 'ListInstances' => [ 'summary' => '获取实例列表', 'path' => '/api/v1/am/instance/list_instances', 'methods' => [ 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '236493', 'abilityTreeNodes' => [ 'FEATUREalinuxFVZ8GD', ], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'current', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', ], ], [ 'name' => 'pageSize', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10', ], ], [ 'name' => 'instance', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, ], ], [ 'name' => 'status', 'in' => 'query', 'schema' => [ 'title' => '通过状态过滤实例', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'Running', ], ], [ 'name' => 'region', 'in' => 'query', 'schema' => [ 'title' => '通过区域过滤实例'."\n", 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'cn-shenzhen', ], ], [ 'name' => 'cluster_id', 'in' => 'query', 'schema' => [ 'title' => '集群ID', 'type' => 'string', 'example' => 'xxxxx', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'code' => [ 'description' => '', 'type' => 'string', 'example' => 'SysomOpenAPI.ServerError'."\n", ], 'message' => [ 'description' => '', 'type' => 'string', 'example' => 'Requests for llm service failed'."\n", ], 'data' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'instance' => [ 'title' => 'ECS实例ID', 'description' => '', 'type' => 'string', ], 'region' => [ 'title' => '实例所在区域', 'description' => '', 'type' => 'string', 'example' => 'cn-hangzhou', ], 'kernel_version' => [ 'title' => '实例当前的内核版本', 'description' => '', 'type' => 'string', ], 'os_arch' => [ 'title' => 'ECS实例的架构', 'description' => '', 'type' => 'string', ], 'os_name' => [ 'title' => '实例的操作系统名称(取自 /etc/os-release)', 'description' => '', 'type' => 'string', ], 'os_version' => [ 'title' => '实例的操作系统版本(取自 /etc/os-release)', 'description' => '', 'type' => 'string', ], 'os_name_id' => [ 'title' => '实例的操作系统名称ID(取自 /etc/os-release)', 'description' => '', 'type' => 'string', ], 'os_version_id' => [ 'title' => '实例操作系统版本ID(取自 /etc/os-release)', 'description' => '', 'type' => 'string', ], 'os_health_score' => [ 'title' => '实例的健康分', 'description' => '', 'type' => 'string', ], 'status' => [ 'title' => '实例的状态', 'description' => '', 'type' => 'string', 'example' => 'Running', ], 'meta' => [ 'title' => '实例的元数据信息', 'description' => '', 'type' => 'any', ], 'cluster_id' => [ 'type' => 'string', ], ], ], ], 'request_id' => [ 'description' => '', 'type' => 'string', 'example' => '9515E5A0-8905-59B0-9BBF-5F0BE568C3A0', ], 'total' => [ 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '623', ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"SysomOpenAPI.ServerError\\\\n\\",\\n \\"message\\": \\"Requests for llm service failed\\\\n\\",\\n \\"data\\": [\\n {\\n \\"instance\\": \\"i-wz9d00ut2ska3mlyhn6j\\",\\n \\"region\\": \\"cn-hangzhou\\",\\n \\"kernel_version\\": \\"5.10.134-16.1.an8.x86_64\\",\\n \\"os_arch\\": \\"x86\\",\\n \\"os_name\\": \\"Anolis OS\\",\\n \\"os_version\\": \\"8.9\\",\\n \\"os_name_id\\": \\"anolis\\",\\n \\"os_version_id\\": \\"rhel fedora centos\\",\\n \\"os_health_score\\": \\"100\\",\\n \\"status\\": \\"Running\\",\\n \\"meta\\": \\"{\\\\n \\\\\\"uname\\\\\\": \\\\\\"Linux\\\\\\",\\\\n \\\\\\"oncpu\\\\\\": \\\\\\"off\\\\\\",\\\\n \\\\\\"release\\\\\\": \\\\\\"5.10.134-16.3.al8.aarch64\\\\\\",\\\\n \\\\\\"monitor\\\\\\": \\\\\\"on\\\\\\",\\\\n \\\\\\"version_id\\\\\\": \\\\\\"3\\\\\\",\\\\n \\\\\\"version\\\\\\": \\\\\\"3 (Soaring Falcon)\\\\\\",\\\\n \\\\\\"podNs\\\\\\": [\\\\n\\\\n ],\\\\n \\\\\\"machine\\\\\\": \\\\\\"aarch64\\\\\\",\\\\n \\\\\\"name\\\\\\": \\\\\\"Alibaba Cloud Linux\\\\\\",\\\\n \\\\\\"sysak\\\\\\": \\\\\\"3.4.0-1\\\\\\",\\\\n \\\\\\"id\\\\\\": \\\\\\"alinux\\\\\\",\\\\n \\\\\\"region\\\\\\": \\\\\\"cn-hangzhou\\\\\\",\\\\n \\\\\\"centos-release\\\\\\": \\\\\\"Alibaba Cloud Linux release 3 (Soaring Falcon)\\\\\\"\\\\n}\\",\\n \\"cluster_id\\": \\"c2218ca2b76ec45e7b7ee1693f6fcd374\\"\\n }\\n ],\\n \\"request_id\\": \\"9515E5A0-8905-59B0-9BBF-5F0BE568C3A0\\",\\n \\"total\\": 623\\n}","type":"json"}]', ], 'ListPluginsInstances' => [ 'summary' => '获取插件的安装/更新/卸载实例列表', 'path' => '/api/v1/am/agent/listPluginsInstances', 'methods' => [ 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREalinuxFVZ8GD', ], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'operation_type', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'install', ], ], [ 'name' => 'plugin_id', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => '74a86327-3170-412c-8e67-da3389ec56a9', ], ], [ 'name' => 'region', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'cn-shenzhen', ], ], [ 'name' => 'instance_id_name', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'i-bpxx', ], ], [ 'name' => 'instance_tag', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '{"key":"app","value":"sysom-aliyun-com"}', ], ], [ 'name' => 'current', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '5', ], ], [ 'name' => 'pageSize', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '20', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'code' => [ 'description' => '', 'type' => 'string', 'example' => 'Success', ], 'message' => [ 'description' => '', 'type' => 'string', 'example' => 'SysomOpenAPIException: SysomOpenAPI.InvalidParameter Invalid params, should be json string or dict', ], 'data' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'instance_id' => [ 'description' => '', 'type' => 'string', 'example' => 'i-bp118piqcio9tiwgh84b', ], 'instance_name' => [ 'description' => '', 'type' => 'string', 'example' => 'allowed-repos-qmf8w', ], 'instance_tag' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'tag_key' => [ 'description' => '', 'type' => 'string', 'example' => 'test_tag_key', ], 'tag_value' => [ 'description' => '', 'type' => 'string', 'example' => 'test_tag_value', ], ], ], ], 'public_ip' => [ 'description' => '', 'type' => 'string', 'example' => '1.1.1.1', ], 'private_ip' => [ 'description' => '', 'type' => 'string', 'example' => '1.1.1.1', ], 'resource_group_name' => [ 'description' => '', 'type' => 'string', 'example' => 'default resource group', ], 'resource_group_id' => [ 'description' => '', 'type' => 'string', 'example' => 'rg-xxxx', ], 'os_name' => [ 'description' => '', 'type' => 'string', 'example' => 'Alibaba Cloud Linux 3.2104 LTS 64 bit', ], 'region' => [ 'description' => '', 'type' => 'string', 'example' => 'cn-hangzhou', ], ], ], ], 'request_id' => [ 'description' => '', 'type' => 'string', 'example' => '35F91AAB-5FDF-5A22-B211-C7C6B00817D0', ], 'total' => [ 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '42', ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"Success\\",\\n \\"message\\": \\"SysomOpenAPIException: SysomOpenAPI.InvalidParameter Invalid params, should be json string or dict\\",\\n \\"data\\": [\\n {\\n \\"instance_id\\": \\"i-bp118piqcio9tiwgh84b\\",\\n \\"instance_name\\": \\"allowed-repos-qmf8w\\",\\n \\"instance_tag\\": [\\n {\\n \\"tag_key\\": \\"test_tag_key\\",\\n \\"tag_value\\": \\"test_tag_value\\"\\n }\\n ],\\n \\"public_ip\\": \\"1.1.1.1\\",\\n \\"private_ip\\": \\"1.1.1.1\\",\\n \\"resource_group_name\\": \\"default resource group\\",\\n \\"resource_group_id\\": \\"rg-xxxx\\",\\n \\"os_name\\": \\"Alibaba Cloud Linux 3.2104 LTS 64 bit\\",\\n \\"region\\": \\"cn-hangzhou\\"\\n }\\n ],\\n \\"request_id\\": \\"35F91AAB-5FDF-5A22-B211-C7C6B00817D0\\",\\n \\"total\\": 42\\n}","type":"json"}]', ], 'ListPodsOfInstance' => [ 'summary' => '获取实例中的pod列表', 'path' => '/api/v1/am/instance/list_pod_of_instance', 'methods' => [ 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '256739', 'abilityTreeNodes' => [ 'FEATUREalinux586OFI', ], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'current', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', ], ], [ 'name' => 'pageSize', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10', ], ], [ 'name' => 'cluster_id', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'c96e34d74eb6748f3b2a46552d5d653f6', ], ], [ 'name' => 'instance', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'i-wz9d00ut2ska3mlyhn6j', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'code' => [ 'description' => '', 'type' => 'string', 'example' => 'Success', ], 'message' => [ 'title' => '表示当前调用返回读取到的位置,空代表数据已经读取完毕', 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'instance not exists', ], 'data' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'pod' => [ 'description' => '', 'type' => 'string', 'example' => 'test-pod', ], 'namespace' => [ 'description' => '', 'type' => 'string', 'example' => 'default', ], ], ], ], 'RequestId' => [ 'title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'B149FD9C-ED5C-5765-B3AD-05AA4A4D64D7', ], 'total' => [ 'title' => 'MaxResults本次请求所返回的最大记录条数', 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '42', ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"Success\\",\\n \\"message\\": \\"instance not exists\\",\\n \\"data\\": [\\n {\\n \\"pod\\": \\"test-pod\\",\\n \\"namespace\\": \\"default\\"\\n }\\n ],\\n \\"RequestId\\": \\"B149FD9C-ED5C-5765-B3AD-05AA4A4D64D7\\",\\n \\"total\\": 42\\n}","type":"json"}]', ], 'UpgradeAgentForCluster' => [ 'summary' => '给集群更新组件', 'path' => '/api/v1/am/agent/upgrade_agent_by_cluster', 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '253539', 'abilityTreeNodes' => [ 'FEATUREalinux586OFI', ], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'cluster_id' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'c1c187fd513cb41a19876bac0e6b05212', ], 'agent_id' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '74a86327-3170-412c-8e67-da3389ec56a9', ], 'agent_version' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '3.4.0-1', ], ], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'code' => [ 'description' => '', 'type' => 'string', 'example' => 'Success', ], 'message' => [ 'description' => '', 'type' => 'string', 'example' => "\n" .'success', ], 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => 'B149FD9C-ED5C-5765-B3AD-05AA4A4D64D7', ], 'data' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'task_id' => [ 'description' => '', 'type' => 'string', 'example' => '7523e9e0ddc74d99a5236f4f4d5056e6', ], ], ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"Success\\",\\n \\"message\\": \\"\\\\nsuccess\\",\\n \\"RequestId\\": \\"B149FD9C-ED5C-5765-B3AD-05AA4A4D64D7\\",\\n \\"data\\": {\\n \\"task_id\\": \\"7523e9e0ddc74d99a5236f4f4d5056e6\\"\\n }\\n}","type":"json"}]', ], 'UpgradeAgent' => [ 'summary' => '更新 SysOM Agent', 'path' => '/api/v1/am/agent/upgrade_agent', 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREalinux586OFI', ], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'instances' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'instance' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'i-wz9b9vucz1iubsz8sjqo', ], 'region' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', ], ], 'required' => true, ], 'required' => true, ], 'agent_id' => [ 'description' => '', 'type' => 'string', 'required' => true, ], 'agent_version' => [ 'description' => '', 'type' => 'string', 'required' => true, ], ], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'code' => [ 'description' => '', 'type' => 'string', 'example' => 'Success', ], 'message' => [ 'description' => '', 'type' => 'string', 'example' => 'SysomOpenAPIException: SysomOpenAPI.InvalidParameter Invalid params, should be json string or dict', ], 'data' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'task_id' => [ 'description' => '', 'type' => 'string', ], ], ], 'RequestId' => [ 'type' => 'string', ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"Success\\",\\n \\"message\\": \\"SysomOpenAPIException: SysomOpenAPI.InvalidParameter Invalid params, should be json string or dict\\",\\n \\"data\\": {\\n \\"task_id\\": \\"391f5aeba2054f66b3aaef0136142fe2\\"\\n },\\n \\"RequestId\\": \\"B149FD9C-ED5C-5765-B3AD-05AA4A4D64D7\\"\\n}","type":"json"}]', ], 'UninstallAgentForCluster' => [ 'summary' => '给集群卸载组件', 'path' => '/api/v1/am/agent/uninstall_agent_by_cluster', 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '253536', 'abilityTreeNodes' => [ 'FEATUREalinux586OFI', ], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'cluster_id' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'c822f83bb45994ddbac9326b4c2f04f35', ], 'agent_id' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '74a86327-3170-412c-8e67-da3389ec56a9', ], 'agent_version' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '3.4.0-1', ], ], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'code' => [ 'description' => '', 'type' => 'string', 'example' => 'Success', ], 'message' => [ 'description' => '', 'type' => 'string', 'example' => 'SysomOpenAPIException: SysomOpenAPI.NotAuthorizedInstance Instance 21 is not authorized', ], 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => '44841312-7227-55C9-AE03-D59729BFAE38', ], 'data' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'task_id' => [ 'description' => '', 'type' => 'string', 'example' => '049ea0609515414b9e19c3389d7ba638', ], ], ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"Success\\",\\n \\"message\\": \\"SysomOpenAPIException: SysomOpenAPI.NotAuthorizedInstance Instance 21 is not authorized\\",\\n \\"RequestId\\": \\"44841312-7227-55C9-AE03-D59729BFAE38\\",\\n \\"data\\": {\\n \\"task_id\\": \\"049ea0609515414b9e19c3389d7ba638\\"\\n }\\n}","type":"json"}]', ], 'UninstallAgent' => [ 'summary' => '卸载 SysOM Agent', 'path' => '/api/v1/am/agent/uninstall_agent', 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREalinux586OFI', ], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'instances' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'instance' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'i-wz9b9vucz1iubsz8sjqo', ], 'region' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', ], ], 'required' => true, ], 'required' => true, ], 'agent_id' => [ 'description' => '', 'type' => 'string', 'required' => true, ], 'agent_version' => [ 'description' => '', 'type' => 'string', 'required' => true, ], ], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'code' => [ 'description' => '', 'type' => 'string', 'example' => 'Success', ], 'message' => [ 'description' => '', 'type' => 'string', 'example' => 'SysomOpenAPIAssumeRoleException: EntityNotExist.Role The role not exists: acs:ram::xxxxx:role/aliyunserviceroleforsysom', ], 'data' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'task_id' => [ 'description' => '', 'type' => 'string', ], ], ], 'RequestId' => [ 'type' => 'string', ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"Success\\",\\n \\"message\\": \\"SysomOpenAPIAssumeRoleException: EntityNotExist.Role The role not exists: acs:ram::xxxxx:role/aliyunserviceroleforsysom\\",\\n \\"data\\": {\\n \\"task_id\\": \\"63fc5acb99e642d793f42912612e8001\\"\\n },\\n \\"RequestId\\": \\"13772206-1162-5A0F-81F0-79A10C249A5E\\"\\n}","type":"json"}]', ], 'ListRegions' => [ 'summary' => '列出所有纳管了机器的区域', 'path' => '/api/v1/am/instance/list_regions', 'methods' => [ 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREalinux586OFI', ], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'code' => [ 'description' => '', 'type' => 'string', 'example' => 'Success', ], 'message' => [ 'description' => '', 'type' => 'string', 'example' => 'SysomOpenAPIAssumeRoleException: EntityNotExist.Role The role not exists: acs:ram::xxxxx:role/aliyunserviceroleforsysom', ], 'data' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'string', 'example' => 'cn-hangzhou', ], 'example' => '["cn-hangzhou", "cn-shengzhen"]', ], 'RequestId' => [ 'type' => 'string', ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"Success\\",\\n \\"message\\": \\"SysomOpenAPIAssumeRoleException: EntityNotExist.Role The role not exists: acs:ram::xxxxx:role/aliyunserviceroleforsysom\\",\\n \\"data\\": [\\n \\"cn-hangzhou\\"\\n ],\\n \\"RequestId\\": \\"B149FD9C-ED5C-5765-B3AD-05AA4A4D64D7\\"\\n}","type":"json"}]', ], 'ListInstancesWithEcsInfo' => [ 'summary' => '获取已纳管/未纳管实例信息,信息中包含ECS信息', 'path' => '/api/v1/am/instance/listInstancesWithEcsInfo', 'methods' => [ 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREalinuxFVZ8GD', ], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'region', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'cn-shenzhen', ], ], [ 'name' => 'instance_id', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'i-bp118piqcio9tiwgh84b', ], ], [ 'name' => 'instance_name', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'block-load-balancer-hjdm9', ], ], [ 'name' => 'instance_id_name', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '84b', ], ], [ 'name' => 'is_managed', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', ], ], [ 'name' => 'instance_tag', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'key' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'feature_dim_radar_chart', ], 'value' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'test', ], ], 'required' => false, ], ], [ 'name' => 'public_ip', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1', ], ], [ 'name' => 'private_ip', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1', ], ], [ 'name' => 'resource_group_name', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'default resource group', ], ], [ 'name' => 'resource_group_id', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'rg-xxxxxxx', ], ], [ 'name' => 'resource_group_id_name', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'default', ], ], [ 'name' => 'health_status', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'healthy', ], ], [ 'name' => 'os_name', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'Alibaba Cloud Linux 3.2104 LTS 64bit', ], ], [ 'name' => 'current', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', ], ], [ 'name' => 'pageSize', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'code' => [ 'description' => '', 'type' => 'string', 'example' => 'Success', ], 'message' => [ 'description' => '', 'type' => 'string', 'example' => 'result: code=1 msg=(Request failed, status_code != 200)', ], 'data' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'instance_id' => [ 'description' => '', 'type' => 'string', 'example' => 'i-bp118piqcio9tiwgh84b', ], 'instance_name' => [ 'description' => '', 'type' => 'string', 'example' => 'allowed-repos-r2tzl', ], 'instance_tag' => [ 'description' => '', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'tag_key' => [ 'description' => '', 'type' => 'string', 'example' => 'test_tag_key', ], 'tag_value' => [ 'description' => '', 'type' => 'string', 'example' => 'test_tag_value', ], ], ], ], 'public_ip' => [ 'description' => '', 'type' => 'string', 'example' => '1.1.1.1', ], 'private_ip' => [ 'description' => '', 'type' => 'string', 'example' => '1.1.1.1', ], 'resource_group_name' => [ 'description' => '', 'type' => 'string', 'example' => 'default resource group', ], 'resource_group_id' => [ 'description' => '', 'type' => 'string', 'example' => 'rg-xxxxxx', ], 'os_name' => [ 'description' => '', 'type' => 'string', 'example' => 'Alibaba Cloud Linux 3.2104 LTS 64bit', ], 'os_health_score' => [ 'description' => '', 'type' => 'string', 'example' => '100', ], 'status' => [ 'description' => '', 'type' => 'string', 'example' => 'Running', ], 'cluster_id' => [ 'description' => '', 'type' => 'string', 'example' => 'cbf7a37bc905d4682a3338b3744810269', ], 'os_arch' => [ 'description' => '', 'type' => 'string', 'example' => 'x86', ], 'kernel_version' => [ 'type' => 'string', ], ], ], ], 'request_id' => [ 'description' => '', 'type' => 'string', 'example' => '35F91AAB-5FDF-5A22-B211-C7C6B00817D0', ], 'total' => [ 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '319', ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"Success\\",\\n \\"message\\": \\"result: code=1 msg=(Request failed, status_code != 200)\\",\\n \\"data\\": [\\n {\\n \\"instance_id\\": \\"i-bp118piqcio9tiwgh84b\\",\\n \\"instance_name\\": \\"allowed-repos-r2tzl\\",\\n \\"instance_tag\\": [\\n {\\n \\"tag_key\\": \\"test_tag_key\\",\\n \\"tag_value\\": \\"test_tag_value\\"\\n }\\n ],\\n \\"public_ip\\": \\"1.1.1.1\\",\\n \\"private_ip\\": \\"1.1.1.1\\",\\n \\"resource_group_name\\": \\"default resource group\\",\\n \\"resource_group_id\\": \\"rg-xxxxxx\\",\\n \\"os_name\\": \\"Alibaba Cloud Linux 3.2104 LTS 64bit\\",\\n \\"os_health_score\\": \\"100\\",\\n \\"status\\": \\"Running\\",\\n \\"cluster_id\\": \\"cbf7a37bc905d4682a3338b3744810269\\",\\n \\"os_arch\\": \\"x86\\",\\n \\"kernel_version\\": \\"5.10.134-14.an8.x86_64\\"\\n }\\n ],\\n \\"request_id\\": \\"35F91AAB-5FDF-5A22-B211-C7C6B00817D0\\",\\n \\"total\\": 319\\n}","type":"json"}]', ], 'ListInstanceStatus' => [ 'summary' => '获取实例状态', 'path' => '/api/v1/am/instance/list_instance_status', 'methods' => [ 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREalinux586OFI', ], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'current', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', ], ], [ 'name' => 'pageSize', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10', ], ], [ 'name' => 'instance', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'i-wz9b9vucz1iubsz355rh', ], ], [ 'name' => 'status', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'enumValueTitles' => [ 'Running' => 'Running', 'Offline' => 'Offline', ], 'example' => 'Running', ], ], [ 'name' => 'region', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'cn-shenzhen', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'code' => [ 'description' => '', 'type' => 'string', 'example' => 'Success', ], 'message' => [ 'description' => '', 'type' => 'string', 'example' => 'SysomOpenAPIAssumeRoleException: EntityNotExist.Role The role not exists: acs:ram::xxxxx:role/aliyunserviceroleforsysom', ], 'data' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'instance' => [ 'description' => '', 'type' => 'string', ], 'region' => [ 'description' => '', 'type' => 'string', ], 'status' => [ 'description' => '', 'type' => 'string', 'example' => 'Running', ], ], ], ], 'RequestId' => [ 'type' => 'string', ], 'total' => [ 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '218', ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"Success\\",\\n \\"message\\": \\"SysomOpenAPIAssumeRoleException: EntityNotExist.Role The role not exists: acs:ram::xxxxx:role/aliyunserviceroleforsysom\\",\\n \\"data\\": [\\n {\\n \\"instance\\": \\"i-wz9d00ut2ska3mlyhn6j\\",\\n \\"region\\": \\"cn-hangzhou\\",\\n \\"status\\": \\"Running\\"\\n }\\n ],\\n \\"RequestId\\": \\"5BC79EF5-798B-5499-9683-4E14EBBBF712\\",\\n \\"total\\": 218\\n}","type":"json"}]', ], 'ListInstancesEcsInfoList' => [ 'summary' => '获取ecs信息的列表,如标签列表,公网ip列表等', 'path' => '/api/v1/am/instance/listInstancesEcsInfoList', 'methods' => [ 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREalinuxFVZ8GD', ], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'region', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'cn-shenzhen', ], ], [ 'name' => 'info_type', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'ip', ], ], [ 'name' => 'managed_type', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'managed', ], ], [ 'name' => 'instance_id', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'i-bp118piqcio9tiwgh84b', ], ], [ 'name' => 'plugin_id', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '74a86327-3170-412c-8e67-da3389ec56a9', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'code' => [ 'description' => '', 'type' => 'string', 'example' => 'SysomOpenAPI.InvalidParameter', ], 'message' => [ 'description' => '', 'type' => 'string', 'example' => '""', ], 'data' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'ip' => [ 'description' => '', 'type' => 'string', 'example' => '11.193.52.91', ], 'type' => [ 'description' => '', 'type' => 'string', 'example' => 'public', ], 'tag_key' => [ 'description' => '', 'type' => 'string', 'example' => 'sysom', ], 'tag_value' => [ 'description' => '', 'type' => 'string', 'example' => 'diagnosis', ], ], ], ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"SysomOpenAPI.InvalidParameter\\",\\n \\"message\\": \\"\\\\\\"\\\\\\"\\",\\n \\"data\\": [\\n {\\n \\"ip\\": \\"11.193.52.91\\",\\n \\"type\\": \\"public\\",\\n \\"tag_key\\": \\"sysom\\",\\n \\"tag_value\\": \\"diagnosis\\"\\n }\\n ]\\n}","type":"json"}]', ], 'ListClusterAgentInstallRecords' => [ 'summary' => '获取集群组件安装记录', 'path' => '/api/v1/am/agent/list_cluster_agent_install_list', 'methods' => [ 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '253443', 'abilityTreeNodes' => [ 'FEATUREalinux586OFI', ], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'current', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', ], ], [ 'name' => 'pageSize', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10', ], ], [ 'name' => 'cluster_id', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'cbd80af02b9d6454ebdc579c5e022d0c8', ], ], [ 'name' => 'plugin_id', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '74a86327-3170-412c-8e67-da3389ec56a9', ], ], [ 'name' => 'plugin_version', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '3.4.0-1', ], ], [ 'name' => 'agent_config_id', 'in' => 'query', 'schema' => [ 'type' => 'string', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'code' => [ 'description' => '', 'type' => 'string', 'example' => 'Success', ], 'message' => [ 'description' => '', 'type' => 'string', 'example' => "\n" .'success', ], 'total' => [ 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '42', ], 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => 'B149FD9C-ED5C-5765-B3AD-05AA4A4D64D7', ], 'data' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'cluster_id' => [ 'description' => '', 'type' => 'string', 'example' => 'cbf7a37bc905d4682a3338b3744810269', ], 'plugin_id' => [ 'description' => '', 'type' => 'string', 'example' => '74a86327-3170-412c-8e67-da3389ec56a9', ], 'plugin_version' => [ 'description' => '', 'type' => 'string', 'example' => '3.4.0-1', ], 'created_at' => [ 'description' => '', 'type' => 'string', 'example' => '2024-12-25T15:08:19', ], 'updated_at' => [ 'description' => '', 'type' => 'string', 'example' => '2024-12-25T15:08:19', ], 'grayscale_config' => [ 'title' => '灰度配置', 'type' => 'string', ], 'agent_config_id' => [ 'type' => 'string', ], 'agent_config_name' => [ 'type' => 'string', ], ], ], ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"Success\\",\\n \\"message\\": \\"\\\\nsuccess\\",\\n \\"total\\": 42,\\n \\"RequestId\\": \\"B149FD9C-ED5C-5765-B3AD-05AA4A4D64D7\\",\\n \\"data\\": [\\n {\\n \\"cluster_id\\": \\"cbf7a37bc905d4682a3338b3744810269\\",\\n \\"plugin_id\\": \\"74a86327-3170-412c-8e67-da3389ec56a9\\",\\n \\"plugin_version\\": \\"3.4.0-1\\",\\n \\"created_at\\": \\"2024-12-25T15:08:19\\",\\n \\"updated_at\\": \\"2024-12-25T15:08:19\\",\\n \\"grayscale_config\\": \\"{}\\",\\n \\"agent_config_id\\": \\"\\",\\n \\"agent_config_name\\": \\"\\"\\n }\\n ]\\n}","type":"json"}]', ], 'ListAgentInstallRecords' => [ 'summary' => '列出 Agent 的安装记录', 'path' => '/api/v1/am/agent/list_agent_install_list', 'methods' => [ 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREalinux586OFI', ], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'current', 'in' => 'query', 'schema' => [ 'title' => '当前页码(从1开始)', 'description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => false, ], ], [ 'name' => 'pageSize', 'in' => 'query', 'schema' => [ 'title' => '每页大小', 'description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => false, ], ], [ 'name' => 'instance_id', 'in' => 'query', 'schema' => [ 'title' => '指定本字段,则过滤出指定实例的Agent安装情况', 'description' => '', 'type' => 'string', 'required' => false, ], ], [ 'name' => 'plugin_id', 'in' => 'query', 'schema' => [ 'title' => '指定本参数则过滤出指定Agent的安装列表,可以搭配 plugin_version 参数使用', 'description' => '', 'type' => 'string', 'required' => false, ], ], [ 'name' => 'plugin_version', 'in' => 'query', 'schema' => [ 'title' => '不可单独使用,搭配 plugin_id 使用,用于过滤出指定Agent指定版本的安装列表', 'description' => '', 'type' => 'string', 'required' => false, ], ], [ 'name' => 'status', 'in' => 'query', 'schema' => [ 'type' => 'string', ], ], [ 'name' => 'region', 'in' => 'query', 'schema' => [ 'type' => 'string', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'code' => [ 'description' => '', 'type' => 'string', 'example' => 'Success', ], 'message' => [ 'description' => '', 'type' => 'string', 'example' => 'SysomOpenAPIAssumeRoleException: EntityNotExist.Role The role not exists: acs:ram::xxxxx:role/aliyunserviceroleforsysom', ], 'total' => [ 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '64', ], 'data' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'instance_id' => [ 'title' => '实例ID', 'description' => '', 'type' => 'string', ], 'plugin_id' => [ 'title' => '组件ID'."\n", 'description' => '', 'type' => 'string', ], 'plugin_version' => [ 'title' => '插件版本'."\n", 'description' => '', 'type' => 'string', ], 'status' => [ 'title' => '组件状态', 'description' => '', 'type' => 'string', ], 'created_at' => [ 'description' => '', 'type' => 'string', ], 'updated_at' => [ 'description' => '', 'type' => 'string', ], ], ], ], 'RequestId' => [ 'type' => 'string', ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"Success\\",\\n \\"message\\": \\"SysomOpenAPIAssumeRoleException: EntityNotExist.Role The role not exists: acs:ram::xxxxx:role/aliyunserviceroleforsysom\\",\\n \\"total\\": 64,\\n \\"data\\": [\\n {\\n \\"instance_id\\": \\"i-bp118piqcio9tiwgh84b\\",\\n \\"plugin_id\\": \\"74a86327-3170-412c-8e67-da3389ec56a9\\",\\n \\"plugin_version\\": \\"3.4.0-1\\",\\n \\"status\\": \\"Installed\\",\\n \\"created_at\\": \\"2024-11-27T16:37:53\\",\\n \\"updated_at\\": \\"2024-11-27T16:37:53\\"\\n }\\n ],\\n \\"RequestId\\": \\"E8CDFBA1-0564-5897-B070-D3C85002AF2F\\"\\n}","type":"json"}]', ], 'InstallAgentForCluster' => [ 'summary' => '给集群安装组件', 'path' => '/api/v1/am/agent/install_agent_by_cluster', 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '253444', 'abilityTreeNodes' => [ 'FEATUREalinux586OFI', ], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'cluster_id' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'c9d7f3fc3d42942afbcb65c1100ffb19d', ], 'agent_id' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '74a86327-3170-412c-8e67-da3389ec56a9', ], 'agent_version' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '3.4.0-1', ], 'grayscale_config' => [ 'title' => '灰度配置', 'type' => 'string', ], 'config_id' => [ 'type' => 'string', ], ], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'code' => [ 'description' => '', 'type' => 'string', 'example' => 'SysomOpenAPI.ServerError', ], 'message' => [ 'description' => '', 'type' => 'string', 'example' => 'success', ], 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => 'B149FD9C-ED5C-5765-B3AD-05AA4A4D64D7', ], 'data' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'task_id' => [ 'description' => '', 'type' => 'string', 'example' => '049ea0609515414b9e19c3389d7ba638', ], ], ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"SysomOpenAPI.ServerError\\",\\n \\"message\\": \\"success\\",\\n \\"RequestId\\": \\"B149FD9C-ED5C-5765-B3AD-05AA4A4D64D7\\",\\n \\"data\\": {\\n \\"task_id\\": \\"049ea0609515414b9e19c3389d7ba638\\"\\n }\\n}","type":"json"}]', ], 'InstallAgent' => [ 'summary' => '在指定的实例上安装 Agent', 'path' => '/api/v1/am/agent/install_agent', 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREalinuxV02H6G', ], ], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'instances' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'instance' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'i-wz9b9vucz1iubsz8sjqo', ], 'region' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', ], ], 'required' => true, ], 'required' => true, ], 'install_type' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'InstallAndUpgrade', 'enum' => [ 'InstallAndUpgrade', 'OnlyInstallNotHasAgent', 'OnlyUpgradeHasAgent', ], ], 'agent_id' => [ 'description' => '', 'type' => 'string', 'required' => true, ], 'agent_version' => [ 'description' => '', 'type' => 'string', 'required' => true, ], ], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'code' => [ 'description' => '', 'type' => 'string', 'example' => 'Success', ], 'message' => [ 'title' => 'Id of the request', 'description' => '', 'type' => 'string', 'example' => '""', ], 'data' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'task_id' => [ 'description' => '', 'type' => 'string', ], ], ], 'RequestId' => [ 'type' => 'string', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'SysomOpenAPI.AgentNotExists', 'errorMessage' => 'Agent not exists.', ], [ 'errorCode' => 'SysomOpenAPI.AgentTaskNotFound', 'errorMessage' => 'Agent task not found.', ], [ 'errorCode' => 'SysomOpenAPI.AgentVersionNotExists', 'errorMessage' => 'Agent version not exists.', ], [ 'errorCode' => 'SysomOpenAPI.InstanceNotExists', 'errorMessage' => 'Instance not exists.', ], [ 'errorCode' => 'SysomOpenAPI.InvalidParameter', 'errorMessage' => 'Invalid parameters passed when calling the interface.', ], [ 'errorCode' => 'SysomOpenAPI.MissingParameter', 'errorMessage' => 'Missing parameters.', ], [ 'errorCode' => 'SysomOpenAPI.NoAgentInstalled', 'errorMessage' => 'No SysOM Agent version available.', ], [ 'errorCode' => 'SysomOpenAPI.NotAuthorizedInstance', 'errorMessage' => 'Instance not authorized.', ], [ 'errorCode' => 'SysomOpenAPI.NotOwnInstance', 'errorMessage' => 'Not own current instance.', ], [ 'errorCode' => 'SysomOpenAPI.NotOwnTask', 'errorMessage' => 'Diagnosis result does not belong to the current account.', ], [ 'errorCode' => 'SysomOpenAPI.NotSupportedAgentVersion', 'errorMessage' => 'Unsupported sysom agent version.', ], [ 'errorCode' => 'SysomOpenAPI.ServerError', 'errorMessage' => 'Server error, please correct the code according to the error message.', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"Success\\",\\n \\"message\\": \\"\\\\\\"\\\\\\"\\",\\n \\"data\\": {\\n \\"task_id\\": \\"26b3cd97389c43dcad6bc4901c36fcec\\"\\n },\\n \\"RequestId\\": \\"1D8887FC-4BDB-5A1C-AB19-135C29A9E481\\"\\n}","type":"json"}]', ], 'ListAgents' => [ 'summary' => '获取 Agent 列表', 'path' => '/api/v1/am/agent/list_agents', 'methods' => [ 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREalinux586OFI', ], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'current', 'in' => 'query', 'schema' => [ 'title' => '当前页数(从第1页开始)', 'description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => false, ], ], [ 'name' => 'pageSize', 'in' => 'query', 'schema' => [ 'title' => '每页大小', 'description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => false, ], ], [ 'name' => 'name', 'in' => 'query', 'schema' => [ 'title' => '通过插件的名字过滤插件', 'description' => '', 'type' => 'string', 'required' => false, ], ], [ 'name' => 'type', 'in' => 'query', 'schema' => [ 'title' => '根据 Agent 类型来获取列表,比如传递 control 表示获取所有管控类型的 Agent', 'description' => '', 'type' => 'string', 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'code' => [ 'description' => '', 'type' => 'string', 'example' => 'Success', ], 'message' => [ 'description' => '', 'type' => 'string', 'example' => 'SysomOpenAPIAssumeRoleException: EntityNotExist.Role The role not exists: acs:ram::xxxxx:role/aliyunserviceroleforsysom', ], 'RequestId' => [ 'type' => 'string', ], 'total' => [ 'description' => '', 'type' => 'integer', 'format' => 'int64', ], 'data' => [ 'description' => '', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'name' => [ 'description' => '', 'type' => 'string', 'example' => 'SysOM Agent', ], 'support_arch' => [ 'description' => '', 'type' => 'string', 'example' => 'x86', ], 'type' => [ 'description' => '', 'type' => 'string', 'example' => 'Control', ], 'description' => [ 'description' => '', 'type' => 'string', ], 'id' => [ 'description' => '', 'type' => 'string', ], 'versions' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'version' => [ 'description' => '', 'type' => 'string', ], 'install_script' => [ 'description' => '', 'type' => 'string', ], 'uninstall_script' => [ 'description' => '', 'type' => 'string', ], 'upgrade_script' => [ 'description' => '', 'type' => 'string', ], 'created_at' => [ 'description' => '', 'type' => 'string', ], 'updated_at' => [ 'description' => '', 'type' => 'string', ], ], ], ], 'created_at' => [ 'description' => '', 'type' => 'string', ], 'updated_at' => [ 'description' => '', 'type' => 'string', ], ], ], ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"Success\\",\\n \\"message\\": \\"SysomOpenAPIAssumeRoleException: EntityNotExist.Role The role not exists: acs:ram::xxxxx:role/aliyunserviceroleforsysom\\",\\n \\"RequestId\\": \\"66EAED72-542B-583B-BCED-64433DC27AD7\\",\\n \\"total\\": 2,\\n \\"data\\": [\\n {\\n \\"name\\": \\"SysOM Agent\\",\\n \\"support_arch\\": \\"x86\\",\\n \\"type\\": \\"Control\\",\\n \\"description\\": \\"SysOM Agent\\",\\n \\"id\\": \\"74a86327-3170-412c-8e67-da3389ec56a9\\",\\n \\"versions\\": [\\n {\\n \\"version\\": \\"3.4.0-1\\",\\n \\"install_script\\": \\"sysom.sh install\\",\\n \\"uninstall_script\\": \\"sysom.sh uninstall\\",\\n \\"upgrade_script\\": \\"sysom.sh upgrade\\",\\n \\"created_at\\": \\"2024-09-14T20:46:08\\",\\n \\"updated_at\\": \\"2024-09-14T20:46:08\\"\\n }\\n ],\\n \\"created_at\\": \\"2024-09-14T20:46:08\\",\\n \\"updated_at\\": \\"2024-09-14T20:46:08\\"\\n }\\n ]\\n}","type":"json"}]', ], 'GetAgentTask' => [ 'summary' => '获取Agent安装任务执行状态', 'path' => '/api/v1/am/agent/get_agent_task', 'methods' => [ 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREalinuxFVZ8GD', ], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'task_id', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'code' => [ 'description' => '', 'type' => 'string', 'example' => 'Success', ], 'message' => [ 'description' => '', 'type' => 'string', 'example' => 'SysomOpenAPIException: SysomOpenAPI.InvalidParameter Invalid params, should be json string or dict', ], 'data' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'task_id' => [ 'description' => '', 'type' => 'string', ], 'jobs' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'instance' => [ 'description' => '', 'type' => 'string', ], 'region' => [ 'description' => '', 'type' => 'string', ], 'params' => [ 'description' => '', 'type' => 'any', ], 'status' => [ 'description' => '', 'type' => 'string', 'example' => 'Running', 'enum' => [ 'Created', 'Running', 'Success', 'Failed', 'Canceled', ], ], 'result' => [ 'description' => '', 'type' => 'string', ], 'error' => [ 'description' => '', 'type' => 'string', ], 'errorCode' => [ 'type' => 'string', ], 'errorMessage' => [ 'type' => 'string', ], ], ], ], 'status' => [ 'type' => 'string', ], ], ], 'RequestId' => [ 'type' => 'string', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'SysomOpenAPI.AgentNotExists', 'errorMessage' => 'Agent not exists.', ], [ 'errorCode' => 'SysomOpenAPI.AgentTaskNotFound', 'errorMessage' => 'Agent task not found.', ], [ 'errorCode' => 'SysomOpenAPI.AgentVersionNotExists', 'errorMessage' => 'Agent version not exists.', ], [ 'errorCode' => 'SysomOpenAPI.InstanceNotExists', 'errorMessage' => 'Instance not exists.', ], [ 'errorCode' => 'SysomOpenAPI.InvalidParameter', 'errorMessage' => 'Invalid parameters passed when calling the interface.', ], [ 'errorCode' => 'SysomOpenAPI.MissingParameter', 'errorMessage' => 'Missing parameters.', ], [ 'errorCode' => 'SysomOpenAPI.NoAgentInstalled', 'errorMessage' => 'No SysOM Agent version available.', ], [ 'errorCode' => 'SysomOpenAPI.NotAuthorizedInstance', 'errorMessage' => 'Instance not authorized.', ], [ 'errorCode' => 'SysomOpenAPI.NotOwnInstance', 'errorMessage' => 'Not own current instance.', ], [ 'errorCode' => 'SysomOpenAPI.NotOwnTask', 'errorMessage' => 'Diagnosis result does not belong to the current account.', ], [ 'errorCode' => 'SysomOpenAPI.NotSupportedAgentVersion', 'errorMessage' => 'Unsupported sysom agent version.', ], [ 'errorCode' => 'SysomOpenAPI.ServerError', 'errorMessage' => 'Server error, please correct the code according to the error message.', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"Success\\",\\n \\"message\\": \\"SysomOpenAPIException: SysomOpenAPI.InvalidParameter Invalid params, should be json string or dict\\",\\n \\"data\\": {\\n \\"task_id\\": \\"c41d8e3506224184a714682fea86d22d\\",\\n \\"jobs\\": [\\n {\\n \\"instance\\": \\"i-2zehme0rs1tc090fdl3n\\",\\n \\"region\\": \\"cn-hangzhou\\",\\n \\"params\\": \\"{\\\\n \\\\\\"agent_version\\\\\\": \\\\\\"3.5.0-beta\\\\\\",\\\\n \\\\\\"opt\\\\\\": \\\\\\"install\\\\\\",\\\\n \\\\\\"agent_id\\\\\\": \\\\\\"74a86327-3170-412c-8fd67-da3389ec56a9\\\\\\",\\\\n \\\\\\"install_type\\\\\\": \\\\\\"InstallAndUpgrade\\\\\\"\\\\n}\\",\\n \\"status\\": \\"Running\\",\\n \\"result\\": \\"已废弃(误用)\\",\\n \\"error\\": \\"已废弃(误用)\\",\\n \\"errorCode\\": \\"DISK_SPACE_INSUFFICIENT\\",\\n \\"errorMessage\\": \\"磁盘空间不足\\"\\n }\\n ],\\n \\"status\\": \\"\\"\\n },\\n \\"RequestId\\": \\"2E75336A-0DB2-5263-B201-A6488EC97B50\\"\\n}","type":"json"}]', ], 'GetAgent' => [ 'summary' => '获取某个组件的详情', 'path' => '/api/v1/am/agent/get_agent', 'methods' => [ 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREalinux33ME7W', ], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'agent_id', 'in' => 'query', 'schema' => [ 'title' => '组件ID', 'description' => '', 'type' => 'string', 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'code' => [ 'title' => 'Id of the request', 'description' => '', 'type' => 'string', 'example' => 'Success', ], 'message' => [ 'description' => '', 'type' => 'string', 'example' => 'SysomOpenAPIException: SysomOpenAPI.InvalidParameter Invalid params, should be json string or dict', ], 'data' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'id' => [ 'title' => '组件ID', 'description' => '', 'type' => 'string', ], 'name' => [ 'title' => '组件名称', 'description' => '', 'type' => 'string', ], 'support_arch' => [ 'title' => '支持的架构'."\n", 'description' => '', 'type' => 'string', ], 'type' => [ 'title' => 'Agent类型', 'description' => '', 'type' => 'string', ], 'description' => [ 'title' => '组件描述', 'description' => '', 'type' => 'string', ], 'versions' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'version' => [ 'title' => 'Agent 版本号', 'description' => '', 'type' => 'string', ], 'install_script' => [ 'title' => 'Agent 该版本的安装脚本', 'description' => '', 'type' => 'string', ], 'uninstall_script' => [ 'title' => 'Agent 该版本的卸载脚本', 'description' => '', 'type' => 'string', ], 'upgrade_script' => [ 'title' => 'Agent该版本的更新脚本', 'description' => '', 'type' => 'string', ], 'created_at' => [ 'title' => 'Agent版本创建时间', 'description' => '', 'type' => 'string', ], 'updated_at' => [ 'title' => 'Agent版本的更新时间', 'description' => '', 'type' => 'string', ], ], ], ], 'created_at' => [ 'title' => '组件创建时间', 'description' => '', 'type' => 'string', ], 'updated_at' => [ 'title' => '更新时间', 'description' => '', 'type' => 'string', ], ], ], 'RequestId' => [ 'type' => 'string', ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"Success\\",\\n \\"message\\": \\"SysomOpenAPIException: SysomOpenAPI.InvalidParameter Invalid params, should be json string or dict\\",\\n \\"data\\": {\\n \\"id\\": \\"74a86327-3170-412c-8e67-da3389ec56a9\\",\\n \\"name\\": \\"SysOM\\",\\n \\"support_arch\\": \\"x86\\",\\n \\"type\\": \\"control\\",\\n \\"description\\": \\"SysOM Agent\\",\\n \\"versions\\": [\\n {\\n \\"version\\": \\"3.4.0-1\\",\\n \\"install_script\\": \\"sysom.sh install\\",\\n \\"uninstall_script\\": \\"sysom.sh uninstall\\",\\n \\"upgrade_script\\": \\"sysom.sh upgrade\\",\\n \\"created_at\\": \\"2024-09-14T20:46:08\\",\\n \\"updated_at\\": \\"2024-09-14T20:46:08\\"\\n }\\n ],\\n \\"created_at\\": \\"2024-09-14T20:46:08\\",\\n \\"updated_at\\": \\"2024-09-14T20:46:08\\"\\n },\\n \\"RequestId\\": \\"2024-09-14T20:46:08\\"\\n}","type":"json"}]', ], 'ListAllInstances' => [ 'summary' => '此接口用于获取已纳管/未纳管实例列表并带有实例信息', 'path' => '/api/v1/am/instance/listAllInstances', 'methods' => [ 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREalinux586OFI', ], ], 'parameters' => [ [ 'name' => 'region', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', ], ], [ 'name' => 'instanceType', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'ecs', 'default' => 'all', 'enum' => [ 'ecs', 'eflo', 'all', ], ], ], [ 'name' => 'managedType', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'managed', 'enum' => [ 'managed', 'unmanaged', 'install', 'uninstall', 'upgrade', ], ], ], [ 'name' => 'filters', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '{}', ], ], [ 'name' => 'current', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '1', ], ], [ 'name' => 'pageSize', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '10', ], ], [ 'name' => 'pluginId', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '01fc4a0b-f199-4885-9861-b4054a310fe7', ], ], [ 'name' => 'maxResults', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '100', ], ], [ 'name' => 'nextToken', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'U+w1wv2R4ZWR5oZLXD0+Dp4dD+2BRJj42DLT6GrZysw=', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'requestId' => [ 'title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '2D693121-C925-5154-8DF6-C09A8B369822'."\n", ], 'code' => [ 'description' => '', 'type' => 'string', 'example' => 'Success', ], 'message' => [ 'description' => '', 'type' => 'string', 'example' => 'instance not exists', ], 'total' => [ 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '2', ], 'data' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'instanceId' => [ 'description' => '', 'type' => 'string', 'example' => 'i-bp17uabeke9v7n30abm2', ], 'osHealthScore' => [ 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '100', ], 'resourceGroupName' => [ 'description' => '', 'type' => 'string', 'example' => 'xxxx', ], 'instanceName' => [ 'description' => '', 'type' => 'string', 'example' => 'test', ], 'installType' => [ 'description' => '', 'type' => 'string', 'example' => 'console', ], 'instanceType' => [ 'description' => '', 'type' => 'string', 'example' => 'ecs', ], 'installLevel' => [ 'description' => '', 'type' => 'string', 'example' => 'Cluster', ], 'attributes' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'infoValue' => [ 'description' => '', 'type' => 'string', 'example' => 'diagnosis', ], 'infoType' => [ 'description' => '', 'type' => 'string', 'example' => 'instance_tag', ], 'infoKey' => [ 'description' => '', 'type' => 'string', 'example' => 'sysom', ], ], ], ], 'resourceGroupId' => [ 'description' => '', 'type' => 'string', 'example' => '3b24a621-acb3-11ef-8c90-00163e1029af', ], 'osName' => [ 'description' => '', 'type' => 'string', 'example' => 'alios', ], 'status' => [ 'description' => '', 'type' => 'string', 'example' => 'Running', ], 'clusterId' => [ 'description' => '', 'type' => 'string', 'example' => '3b24a621-acb3-11ef-8c90-00163e1029af', ], 'osArch' => [ 'description' => '', 'type' => 'string', 'example' => 'x86_64', ], 'kernelVersion' => [ 'description' => '', 'type' => 'string', 'example' => '5.10.134-18.al8.x86_64', ], 'imageId' => [ 'description' => '', 'type' => 'string', 'example' => 'aliyun_3_x64_20G_alibase_20250117.vhd', ], 'manageType' => [ 'description' => '', 'type' => 'string', 'example' => 'managed', ], 'manageLevel' => [ 'description' => '', 'type' => 'string', 'example' => 'cluster', ], 'clusterName' => [ 'description' => '', 'type' => 'string', 'example' => 'zjk_vpc_domain_1', ], 'publicIp' => [ 'description' => '', 'type' => 'string', 'example' => '47.98.215.58', ], 'privateIp' => [ 'description' => '', 'type' => 'string', 'example' => '172.21.172.7', ], 'agentConfigId' => [ 'type' => 'string', ], 'agentConfigName' => [ 'type' => 'string', ], ], ], ], 'maxResults' => [ 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '20', ], 'nextToken' => [ 'description' => '', 'type' => 'string', 'example' => 'c2f78a783f49457caba6bace6f6f79e4', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'Sysom.ServerError', 'errorMessage' => 'Server error, please correct the code according to the error message. %s.', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"2D693121-C925-5154-8DF6-C09A8B369822\\\\n\\",\\n \\"code\\": \\"Success\\",\\n \\"message\\": \\"instance not exists\\",\\n \\"total\\": 2,\\n \\"data\\": [\\n {\\n \\"instanceId\\": \\"i-bp17uabeke9v7n30abm2\\",\\n \\"osHealthScore\\": 100,\\n \\"resourceGroupName\\": \\"xxxx\\",\\n \\"instanceName\\": \\"test\\",\\n \\"installType\\": \\"console\\",\\n \\"instanceType\\": \\"ecs\\",\\n \\"installLevel\\": \\"Cluster\\",\\n \\"attributes\\": [\\n {\\n \\"infoValue\\": \\"diagnosis\\",\\n \\"infoType\\": \\"instance_tag\\",\\n \\"infoKey\\": \\"sysom\\"\\n }\\n ],\\n \\"resourceGroupId\\": \\"3b24a621-acb3-11ef-8c90-00163e1029af\\",\\n \\"osName\\": \\"alios\\",\\n \\"status\\": \\"Running\\",\\n \\"clusterId\\": \\"3b24a621-acb3-11ef-8c90-00163e1029af\\",\\n \\"osArch\\": \\"x86_64\\",\\n \\"kernelVersion\\": \\"5.10.134-18.al8.x86_64\\",\\n \\"imageId\\": \\"aliyun_3_x64_20G_alibase_20250117.vhd\\",\\n \\"manageType\\": \\"managed\\",\\n \\"manageLevel\\": \\"cluster\\",\\n \\"clusterName\\": \\"zjk_vpc_domain_1\\",\\n \\"publicIp\\": \\"47.98.215.58\\",\\n \\"privateIp\\": \\"172.21.172.7\\",\\n \\"agentConfigId\\": \\"test_id\\",\\n \\"agentConfigName\\": \\"test_name\\"\\n }\\n ],\\n \\"maxResults\\": 20,\\n \\"nextToken\\": \\"c2f78a783f49457caba6bace6f6f79e4\\"\\n}","type":"json"}]', ], 'UpdateEventsAttention' => [ 'summary' => '异常项关注度更新', 'path' => '/api/v1/openapi/proxy/post/cluster_update_events_attention', 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '256747', 'abilityTreeNodes' => [ 'FEATUREalinux586OFI', ], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'uuid' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => '03de78af-f49f-433d-b5b1-0f6a70c493ba', ], 'range' => [ 'description' => '', 'type' => 'string', 'required' => false, 'enumValueTitles' => [ 'cluster' => 'cluster', 'uid' => 'uid', 'instance' => 'instance', ], 'example' => 'cluster', ], 'mode' => [ 'description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'enumValueTitles' => [ '0', '1', '2', '3', -1 => '-1', ], 'example' => '0', ], ], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'code' => [ 'description' => '', 'type' => 'string', 'example' => 'Success', ], 'message' => [ 'title' => 'Id of the request', 'description' => '', 'type' => 'string', 'example' => 'Instance not belong to current user', ], 'data' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'mode' => [ 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '1', ], ], ], 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => '44841312-7227-55C9-AE03-D59729BFAE38', ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"Success\\",\\n \\"message\\": \\"Instance not belong to current user\\",\\n \\"data\\": {\\n \\"mode\\": 1\\n },\\n \\"RequestId\\": \\"44841312-7227-55C9-AE03-D59729BFAE38\\"\\n}","type":"json"}]', ], 'ListAbnormalyEvents' => [ 'summary' => '获取一定时间段内的异常事件', 'path' => '/api/v1/openapi/cluster_health/range/abnormaly_events', 'methods' => [ 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREalinux586OFI', ], ], 'parameters' => [ [ 'name' => 'cluster', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '1808078950770264', ], ], [ 'name' => 'instance', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'i-wz9d00ut2ska3mlyhn6j', ], ], [ 'name' => 'start', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '1725797727754', ], ], [ 'name' => 'pod', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'test-pod', ], ], [ 'name' => 'namespace', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'default', ], ], [ 'name' => 'end', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '1725801327754', ], ], [ 'name' => 'level', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'enumValueTitles' => [ 'warning' => 'warning', 'error' => 'error', ], 'example' => 'potential', ], ], [ 'name' => 'showPod', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'enumValueTitles' => [ '0', ], 'example' => '1', ], ], [ 'name' => 'current', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', ], ], [ 'name' => 'pageSize', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', ], ], [ 'name' => 'event', 'in' => 'query', 'schema' => [ 'type' => 'string', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'code' => [ 'description' => '', 'type' => 'string', 'example' => 'Success', ], 'message' => [ 'description' => '', 'type' => 'string', 'example' => "\n", ], 'data' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'end_at' => [ 'type' => 'integer', 'format' => 'int64', ], 'item' => [ 'description' => '', 'type' => 'string', 'example' => '', ], 'instance' => [ 'description' => '', 'type' => 'string', 'example' => 'i-wz9d00ut2ska3mlyhn6j', ], 'opts' => [ 'description' => '', 'type' => 'array', 'properties' => [ 'label' => [ 'name' => 'label', 'description' => '', 'type' => 'string', 'example' => 'diagnose', 'backendName' => 'label', ], 'type' => [ 'name' => 'type', 'description' => '', 'type' => 'string', 'enumValueTitles' => [ 'result' => 'result', 'realtime' => 'realtime', 'history' => 'history', ], 'example' => 'realtime', 'backendName' => 'type', ], 'params' => [ 'name' => 'params', 'description' => '', 'type' => 'string', 'example' => '"{\\"service_name\\": \\"oomcheck\\", \\"params\\": {\\"auto_initial\\": true, \\"instance\\": \\"i-wz9d00ut2ska3mlyhn6i\\", \\"region\\": \\"cn-shenzhen\\", \\"uuid\\": \\"24576d0c-a19d-49dd-8a64-3867440fd7a6\\", \\"is_history\\": 1}}"', 'backendName' => 'params', ], ], 'items' => [ 'type' => 'object', 'properties' => [ 'result' => [ 'type' => 'object', 'properties' => [ 'url' => [ 'type' => 'string', ], 'status' => [ 'type' => 'string', ], ], ], 'label' => [ 'type' => 'string', ], 'type' => [ 'type' => 'string', ], ], ], ], 'level' => [ 'type' => 'string', ], 'region_id' => [ 'description' => '', 'type' => 'string', 'example' => 'cn-shanghai', ], 'description' => [ 'description' => '', 'type' => 'string', 'example' => '', ], 'created_at' => [ 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '1725801090000', ], 'type' => [ 'description' => '', 'type' => 'string', 'enumValueTitles' => [ 'saturation' => 'saturation', 'load' => 'load', 'latency' => 'latency', 'error' => 'error', ], 'example' => 'saturation', ], 'diag_status' => [ 'type' => 'integer', 'format' => 'int32', ], 'uuid' => [ 'type' => 'string', ], 'pod' => [ 'type' => 'string', ], 'namespace' => [ 'type' => 'string', ], 'raw_metrics' => [ 'type' => 'object', 'properties' => [ 'metrics' => [ 'type' => 'array', 'items' => [ 'type' => 'string', ], ], 'start_time' => [ 'type' => 'number', 'format' => 'float', ], 'end_time' => [ 'type' => 'number', 'format' => 'float', ], ], ], ], ], ], 'total' => [ 'type' => 'integer', 'format' => 'int32', ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"Success\\",\\n \\"message\\": \\"\\\\n\\",\\n \\"data\\": [\\n {\\n \\"end_at\\": 1725797727754,\\n \\"item\\": \\"节点CPU使用率检测\\",\\n \\"instance\\": \\"i-wz9d00ut2ska3mlyhn6j\\",\\n \\"opts\\": [\\n {\\n \\"result\\": {\\n \\"url\\": \\"/diagnose/result/PhfFg456\\",\\n \\"status\\": \\"success\\"\\n },\\n \\"label\\": \\"diagnose\\",\\n \\"type\\": \\"auto\\"\\n }\\n ],\\n \\"level\\": \\"potential\\",\\n \\"region_id\\": \\"cn-shanghai\\",\\n \\"description\\": \\"节点发生OOM, 可查看OOM发生原因\\",\\n \\"created_at\\": 1725801090000,\\n \\"type\\": \\"saturation\\",\\n \\"diag_status\\": 3,\\n \\"uuid\\": \\"43f05b46-1034-42e8-a528-6e5ca1108277\\",\\n \\"pod\\": \\"test-pod\\",\\n \\"namespace\\": \\"default\\",\\n \\"raw_metrics\\": {\\n \\"metrics\\": [\\n \\"\\"\\n ],\\n \\"start_time\\": 0,\\n \\"end_time\\": 0\\n }\\n }\\n ],\\n \\"total\\": 4\\n}","type":"json"}]', ], 'ListInstanceHealth' => [ 'summary' => '获取一定时间内集群节点/Pod健康度列表', 'path' => '/api/v1/openapi/cluster_health/range/instance_health_list', 'methods' => [ 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREalinux586OFI', ], ], 'parameters' => [ [ 'name' => 'cluster', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '1808078950770264', ], ], [ 'name' => 'instance', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'i-wz9d00ut2ska3mlyhn6j', ], ], [ 'name' => 'start', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'number', 'format' => 'float', 'required' => true, 'example' => '1725797727754', ], ], [ 'name' => 'end', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'number', 'format' => 'float', 'required' => true, 'example' => '1725801327754', ], ], [ 'name' => 'current', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', ], ], [ 'name' => 'pageSize', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'code' => [ 'description' => '', 'type' => 'string', 'example' => 'SysomOpenAPI.ServerError', ], 'message' => [ 'description' => '', 'type' => 'string', 'example' => 'Query no data', ], 'data' => [ 'description' => '', 'type' => 'array', 'properties' => [ 'score' => [ 'name' => 'score', 'description' => '', 'type' => 'number', 'format' => 'float', 'example' => '100', 'backendName' => 'score', ], 'instance' => [ 'name' => 'instance', 'description' => '', 'type' => 'string', 'example' => 'i-wz9d00ut2ska3mlyhn6j', 'backendName' => 'instance', ], 'region_id' => [ 'name' => 'region_id', 'description' => '', 'type' => 'string', 'example' => 'cn-shenzhen', ], 'status' => [ 'name' => 'status', 'description' => '', 'type' => 'string', 'enumValueTitles' => [ 'Running' => '', 'Offline' => '', ], 'example' => 'Running', ], 'pod' => [ 'name' => 'pod', 'description' => '', 'type' => 'string', 'example' => 'test-pod', ], 'namespace' => [ 'name' => 'namespace', 'description' => '', 'type' => 'string', 'example' => 'default', ], 'images' => [ 'name' => 'images', 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'string', 'example' => 'nginx:1.14.1-8.6', 'extendType' => 'true', ], 'itemName' => '', ], ], 'items' => [ 'type' => 'object', 'properties' => [ 'score' => [ 'type' => 'number', 'format' => 'float', ], 'instance' => [ 'type' => 'string', ], 'region_id' => [ 'type' => 'string', ], 'status' => [ 'type' => 'string', ], 'pod' => [ 'type' => 'string', ], 'namespace' => [ 'type' => 'string', ], 'images' => [ 'type' => 'array', 'items' => [ 'type' => 'string', ], ], ], ], ], 'total' => [ 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '42', ], 'request_id' => [ 'description' => '', 'type' => 'string', 'example' => '35F91AAB-5FDF-5A22-B211-C7C6B00817D0', ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"SysomOpenAPI.ServerError\\",\\n \\"message\\": \\"Query no data\\",\\n \\"data\\": [\\n {\\n \\"score\\": 100,\\n \\"instance\\": \\"i-wz9d00ut2ska3mlyhn6j\\",\\n \\"region_id\\": \\"cn-shanghai\\",\\n \\"status\\": \\"Running\\",\\n \\"pod\\": \\"test-pod\\",\\n \\"namespace\\": \\"default\\",\\n \\"images\\": [\\n \\"alinux3:latest\\"\\n ]\\n }\\n ],\\n \\"total\\": 42,\\n \\"request_id\\": \\"35F91AAB-5FDF-5A22-B211-C7C6B00817D0\\"\\n}","type":"json"}]', ], 'InvokeAnomalyDiagnosis' => [ 'summary' => '异常项诊断跳转', 'path' => '/api/v1/openapi/cluster_health/diagnosis/invoke_anomaly_diagnose', 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'high', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREalinux586OFI', ], ], 'parameters' => [ [ 'name' => 'uuid', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '8047d763-5465-4a8c-b1cd-23f5a8ba2594', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'code' => [ 'description' => '', 'type' => 'string', 'example' => 'Success', ], 'message' => [ 'description' => '', 'type' => 'string', 'example' => 'success', ], 'requestId' => [ 'description' => 'Id of the request', 'type' => 'string', 'example' => '2D693121-C925-5154-8DF6-C09A8B369822', ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"Success\\",\\n \\"message\\": \\"success\\",\\n \\"requestId\\": \\"2D693121-C925-5154-8DF6-C09A8B369822\\"\\n}","type":"json"}]', ], 'GetRangeScore' => [ 'summary' => '获取健康分趋势', 'path' => '/api/v1/openapi/cluster_health/range/score', 'methods' => [ 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREalinuxFVZ8GD', ], ], 'parameters' => [ [ 'name' => 'cluster', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '1808078950770264', ], ], [ 'name' => 'instance', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'i-wz9d00ut2ska3mlyhn6j', ], ], [ 'name' => 'start', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'number', 'format' => 'float', 'required' => true, 'example' => '1725797727754', ], ], [ 'name' => 'end', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'number', 'format' => 'float', 'required' => true, 'example' => '1725801327754', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'code' => [ 'title' => '资源一级ID', 'description' => '代表资源一级ID的资源属性字段', 'type' => 'string', 'required' => false, 'example' => 'Success', 'pattern' => '^[a-zA-Z._-]+$', 'default' => '', ], 'message' => [ 'description' => '', 'type' => 'string', 'example' => '""', ], 'data' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'type' => [ 'description' => '', 'type' => 'string', 'enumValueTitles' => [ '总分' => 'total', '饱和度' => 'saturation', '错误' => 'error', '延时' => 'latency', '负载' => 'load', ], 'example' => 'saturation', ], 'value' => [ 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '100', ], 'time' => [ 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '1725797727754', ], ], ], ], 'total' => [ 'description' => '', 'type' => 'number', 'format' => 'float', 'example' => '2', ], 'request_id' => [ 'description' => '', 'type' => 'string', 'example' => '35F91AAB-5FDF-5A22-B211-C7C6B00817D0', ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"Success\\",\\n \\"message\\": \\"\\\\\\"\\\\\\"\\",\\n \\"data\\": [\\n {\\n \\"type\\": \\"saturation\\",\\n \\"value\\": 100,\\n \\"time\\": 1725797727754\\n }\\n ],\\n \\"total\\": 2,\\n \\"request_id\\": \\"35F91AAB-5FDF-5A22-B211-C7C6B00817D0\\"\\n}","type":"json"}]', ], 'GetProblemPercentage' => [ 'summary' => '获取一定时间内集群中节点/节点中pod异常问题占比', 'path' => '/api/v1/openapi/cluster_health/range/problem_percentage', 'methods' => [ 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREalinux586OFI', ], ], 'parameters' => [ [ 'name' => 'cluster', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '1808078950770264', ], ], [ 'name' => 'instance', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'i-wz9d00ut2ska3mlyhn6j', ], ], [ 'name' => 'start', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'number', 'format' => 'float', 'required' => true, 'example' => '1725797727754', ], ], [ 'name' => 'end', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'number', 'format' => 'float', 'required' => true, 'example' => '1725801327754', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'code' => [ 'description' => '', 'type' => 'string', 'example' => 'Success', ], 'message' => [ 'description' => '', 'type' => 'string', 'example' => 'result: code=1 msg=(Request failed, status_code != 200)', ], 'data' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'type' => [ 'description' => '', 'type' => 'string', 'enumValueTitles' => [ '饱和度' => 'saturation', '错误' => 'error', '延时' => 'latency', '负载' => 'load', ], 'example' => 'saturation', ], 'value' => [ 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '5', ], ], ], ], 'total' => [ 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '19', ], 'request_id' => [ 'description' => '', 'type' => 'string', 'example' => '35F91AAB-5FDF-5A22-B211-C7C6B00817D0', ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"Success\\",\\n \\"message\\": \\"result: code=1 msg=(Request failed, status_code != 200)\\",\\n \\"data\\": [\\n {\\n \\"type\\": \\"saturation\\",\\n \\"value\\": 5\\n }\\n ],\\n \\"total\\": 19,\\n \\"request_id\\": \\"35F91AAB-5FDF-5A22-B211-C7C6B00817D0\\"\\n}","type":"json"}]', ], 'GetInstantScore' => [ 'summary' => '获取实时集群/节点健康度分数', 'path' => '/api/v1/openapi/cluster_health/instant/score', 'methods' => [ 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '230346', 'abilityTreeNodes' => [ 'FEATUREalinuxFVZ8GD', ], ], 'parameters' => [ [ 'name' => 'cluster', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '1808078950770264', ], ], [ 'name' => 'instance', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'i-wz9d00ut2ska3mlyhn6j', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'code' => [ 'title' => '资源一级ID', 'description' => '集群ID', 'type' => 'string', 'required' => false, 'example' => 'Success', 'pattern' => '^[a-zA-Z._-]+$', 'default' => '', ], 'message' => [ 'description' => '', 'type' => 'string', 'example' => 'Query no data', ], 'data' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'saturation' => [ 'description' => '', 'type' => 'number', 'format' => 'float', 'example' => '100', ], 'latency' => [ 'description' => '', 'type' => 'number', 'format' => 'float', 'example' => '100', ], 'load' => [ 'description' => '', 'type' => 'number', 'format' => 'float', 'example' => '100', ], 'error' => [ 'description' => '', 'type' => 'number', 'format' => 'float', 'example' => '100', ], 'total' => [ 'type' => 'number', 'format' => 'float', ], ], ], 'requestId' => [ 'title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '2D693121-C925-5154-8DF6-C09A8B369822'."\n", ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"Success\\",\\n \\"message\\": \\"Query no data\\",\\n \\"data\\": {\\n \\"saturation\\": 100,\\n \\"latency\\": 100,\\n \\"load\\": 100,\\n \\"error\\": 100,\\n \\"total\\": 100\\n },\\n \\"requestId\\": \\"2D693121-C925-5154-8DF6-C09A8B369822\\\\n\\"\\n}","type":"json"}]', ], 'GetHealthPercentage' => [ 'summary' => '获取一段时间的节点/pod健康度比例', 'path' => '/api/v1/openapi/cluster_health/range/health_percentage', 'methods' => [ 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '230371', 'abilityTreeNodes' => [ 'FEATUREalinux586OFI', ], ], 'parameters' => [ [ 'name' => 'cluster', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '1808078950770264', ], ], [ 'name' => 'instance', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'i-wz9d00ut2ska3mlyhn6j', ], ], [ 'name' => 'start', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'number', 'format' => 'float', 'required' => true, 'example' => '1725797727754', ], ], [ 'name' => 'end', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'number', 'format' => 'float', 'required' => true, 'example' => '1725801327754', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'code' => [ 'description' => '', 'type' => 'string', 'example' => 'SysomOpenAPI.ServerError'."\n", ], 'message' => [ 'description' => '', 'type' => 'string', 'example' => '""', ], 'data' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'type' => [ 'description' => '', 'type' => 'string', 'enumValueTitles' => [ '不健康' => 'warning', '健康' => 'health', '亚健康' => 'potential', '严重不健康' => 'error', ], 'example' => 'health', ], 'value' => [ 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '1', ], ], ], ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"SysomOpenAPI.ServerError\\\\n\\",\\n \\"message\\": \\"\\\\\\"\\\\\\"\\",\\n \\"data\\": [\\n {\\n \\"type\\": \\"health\\",\\n \\"value\\": 1\\n }\\n ]\\n}","type":"json"}]', ], 'GetAbnormalEventsCount' => [ 'summary' => '获取节点/Pod不同等级异常事件的数量', 'path' => '/api/v1/openapi/cluster_health/range/abnormaly_events_count', 'methods' => [ 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '237718', 'abilityTreeNodes' => [ 'FEATUREalinux586OFI', ], ], 'parameters' => [ [ 'name' => 'cluster', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '1808078950770264', ], ], [ 'name' => 'instance', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'i-wz9d00ut2ska3mlyhn6j', ], ], [ 'name' => 'pod', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'test-pod', ], ], [ 'name' => 'namespace', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'default', ], ], [ 'name' => 'start', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '1725797727754', ], ], [ 'name' => 'end', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '1725801327754', ], ], [ 'name' => 'showPod', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int32', ], ], [ 'name' => 'level', 'in' => 'query', 'schema' => [ 'type' => 'string', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'code' => [ 'description' => '', 'type' => 'string', 'example' => 'Success', ], 'message' => [ 'description' => '', 'type' => 'string', 'example' => 'result: code=1 msg=(Request failed, status_code != 200)', ], 'data' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'type' => [ 'description' => '', 'type' => 'string', 'enumValueTitles' => [ '"potential"' => 'potential', '"error"' => 'error', '"warning"' => 'warning', ], 'example' => 'health', ], 'value' => [ 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '1', ], 'eventList' => [ 'type' => 'array', 'items' => [ 'type' => 'string', ], ], ], ], ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"Success\\",\\n \\"message\\": \\"result: code=1 msg=(Request failed, status_code != 200)\\",\\n \\"data\\": [\\n {\\n \\"type\\": \\"health\\",\\n \\"value\\": 1,\\n \\"eventList\\": [\\n \\"节点根文件系统使用检测\\"\\n ]\\n }\\n ]\\n}","type":"json"}]', ], 'ListDiagnosis' => [ 'summary' => '获取诊断历史记录列表', 'path' => '/api/v1/openapi/diagnosis/list_diagnosis', 'methods' => [ 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREalinux586OFI', ], ], 'parameters' => [ [ 'name' => 'current', 'in' => 'query', 'schema' => [ 'title' => '当前页数', 'description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => false, ], ], [ 'name' => 'pageSize', 'in' => 'query', 'schema' => [ 'title' => '每页大小', 'description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10', ], ], [ 'name' => 'service_name', 'in' => 'query', 'schema' => [ 'title' => '诊断类型', 'description' => '', 'type' => 'string', 'required' => false, ], ], [ 'name' => 'params', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, ], ], [ 'name' => 'status', 'in' => 'query', 'schema' => [ 'title' => '诊断状态'."\n", 'description' => '', 'type' => 'string', 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '响应数据', 'description' => '', 'type' => 'object', 'properties' => [ 'code' => [ 'title' => '状态码'."\n", 'description' => '', 'type' => 'string', 'example' => 'Success', ], 'message' => [ 'title' => '表示当前调用返回读取到的位置,空代表数据已经读取完毕', 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'SysomOpenAPIAssumeRoleException: EntityNotExist.Role The role not exists: acs:ram::xxxxx:role/aliyunserviceroleforsysom', ], 'data' => [ 'description' => '', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'task_id' => [ 'description' => '', 'type' => 'string', ], 'status' => [ 'description' => '', 'type' => 'string', ], 'service_name' => [ 'description' => '', 'type' => 'string', ], 'command' => [ 'description' => '', 'type' => 'any', ], 'params' => [ 'description' => '', 'type' => 'any', ], 'code' => [ 'description' => '', 'type' => 'integer', 'format' => 'int32', ], 'err_msg' => [ 'description' => '', 'type' => 'string', ], 'result' => [ 'description' => '', 'type' => 'any', ], 'url' => [ 'description' => '', 'type' => 'string', ], 'created_at' => [ 'type' => 'string', ], 'updated_at' => [ 'type' => 'string', ], ], ], ], 'total' => [ 'title' => '总数', 'description' => '', 'type' => 'integer', 'format' => 'int64', ], 'RequestId' => [ 'type' => 'string', ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"Success\\",\\n \\"message\\": \\"SysomOpenAPIAssumeRoleException: EntityNotExist.Role The role not exists: acs:ram::xxxxx:role/aliyunserviceroleforsysom\\",\\n \\"data\\": [\\n {\\n \\"task_id\\": \\"grcuU21a\\",\\n \\"status\\": \\"Running\\",\\n \\"service_name\\": \\"memgraph\\",\\n \\"command\\": \\"{\\\\n \\\\\\"jobs\\\\\\":[\\\\n {\\\\n \\\\\\"cmd\\\\\\":\\\\\\"mkdir -p /var/log/sysak && sysak podmem -r 100 -a -j /var/log/sysak/podmem.json > /dev/null 2>&1 && cat /var/log/sysak/podmem.json\\\\\\",\\\\n \\\\\\"instance\\\\\\":\\\\\\"172.20.12.174\\\\\\",\\\\n \\\\\\"fetch_file_list\\\\\\":[\\\\n\\\\n ]\\\\n }\\\\n ],\\\\n \\\\\\"in_order\\\\\\":true,\\\\n \\\\\\"offline_mode\\\\\\":false,\\\\n \\\\\\"offline_results\\\\\\":[\\\\n\\\\n ]\\\\n}\\",\\n \\"params\\": \\"{\\\\n \\\\\\"type\\\\\\":\\\\\\"all\\\\\\",\\\\n \\\\\\"value\\\\\\":\\\\\\"\\\\\\",\\\\n \\\\\\"channel\\\\\\":\\\\\\"ssh\\\\\\",\\\\n \\\\\\"instance\\\\\\":\\\\\\"172.1.2.174\\\\\\",\\\\n \\\\\\"service_name\\\\\\":\\\\\\"filecache\\\\\\"\\\\n}\\",\\n \\"code\\": 0,\\n \\"err_msg\\": \\"Diagnosis failed\\",\\n \\"result\\": \\"{\\\\n \\\\\\"summary\\\\\\":\\\\\\" memory cgroup leak\\\\\\",\\\\n \\\\\\"dataMemEvent\\\\\\":{\\\\n \\\\\\"data\\\\\\":[\\\\n {\\\\n \\\\\\"key\\\\\\":\\\\\\"Util\\\\\\",\\\\n \\\\\\"value\\\\\\":20\\\\n },\\\\n {\\\\n \\\\\\"key\\\\\\":\\\\\\"MemLeak\\\\\\",\\\\n \\\\\\"value\\\\\\":\\\\\\"OK\\\\\\"\\\\n },\\\\n {\\\\n \\\\\\"key\\\\\\":\\\\\\"MemcgLeak\\\\\\",\\\\n \\\\\\"value\\\\\\":\\\\\\"NG\\\\\\"\\\\n },\\\\n {\\\\n \\\\\\"key\\\\\\":\\\\\\"MemFrag\\\\\\",\\\\n \\\\\\"value\\\\\\":\\\\\\"OK\\\\\\"\\\\n }\\\\n ]\\\\n },\\\\n \\\\\\"dataMemOverView\\\\\\":{\\\\n \\\\\\"data\\\\\\":[\\\\n {\\\\n \\\\\\"key\\\\\\":\\\\\\"app\\\\\\",\\\\n \\\\\\"value\\\\\\":10937332\\\\n },\\\\n {\\\\n \\\\\\"key\\\\\\":\\\\\\"free\\\\\\",\\\\n \\\\\\"value\\\\\\":806800\\\\n },\\\\n {\\\\n \\\\\\"key\\\\\\":\\\\\\"kernel\\\\\\",\\\\n \\\\\\"value\\\\\\":4527660\\\\n }\\\\n ]\\\\n },\\\\n \\\\\\"dataKerMem\\\\\\":{\\\\n \\\\\\"data\\\\\\":[\\\\n {\\\\n \\\\\\"key\\\\\\":\\\\\\"SReclaimable\\\\\\",\\\\n \\\\\\"value\\\\\\":3411292\\\\n },\\\\n {\\\\n \\\\\\"key\\\\\\":\\\\\\"VmallocUsed\\\\\\",\\\\n \\\\\\"value\\\\\\":30980\\\\n },\\\\n {\\\\n \\\\\\"key\\\\\\":\\\\\\"allocPage\\\\\\",\\\\n \\\\\\"value\\\\\\":177732\\\\n },\\\\n {\\\\n \\\\\\"key\\\\\\":\\\\\\"KernelStack\\\\\\",\\\\n \\\\\\"value\\\\\\":9280\\\\n },\\\\n {\\\\n \\\\\\"key\\\\\\":\\\\\\"PageTables\\\\\\",\\\\n \\\\\\"value\\\\\\":38056\\\\n },\\\\n {\\\\n \\\\\\"key\\\\\\":\\\\\\"SUnreclaim\\\\\\",\\\\n \\\\\\"value\\\\\\":170248\\\\n },\\\\n {\\\\n \\\\\\"key\\\\\\":\\\\\\"reserved\\\\\\",\\\\n \\\\\\"value\\\\\\":690072\\\\n }\\\\n ]\\\\n },\\\\n \\\\\\"dataUserMem\\\\\\":{\\\\n \\\\\\"data\\\\\\":[\\\\n {\\\\n \\\\\\"key\\\\\\":\\\\\\"filecache\\\\\\",\\\\n \\\\\\"value\\\\\\":8010008\\\\n },\\\\n {\\\\n \\\\\\"key\\\\\\":\\\\\\"anon\\\\\\",\\\\n \\\\\\"value\\\\\\":2468608\\\\n },\\\\n {\\\\n \\\\\\"key\\\\\\":\\\\\\"mlock\\\\\\",\\\\n \\\\\\"value\\\\\\":0\\\\n },\\\\n {\\\\n \\\\\\"key\\\\\\":\\\\\\"huge1G\\\\\\",\\\\n \\\\\\"value\\\\\\":0\\\\n },\\\\n {\\\\n \\\\\\"key\\\\\\":\\\\\\"huge2M\\\\\\",\\\\n \\\\\\"value\\\\\\":0\\\\n },\\\\n {\\\\n \\\\\\"key\\\\\\":\\\\\\"buffers\\\\\\",\\\\n \\\\\\"value\\\\\\":458608\\\\n },\\\\n {\\\\n \\\\\\"key\\\\\\":\\\\\\"shmem\\\\\\",\\\\n \\\\\\"value\\\\\\":2284\\\\n }\\\\n ]\\\\n },\\\\n \\\\\\"dataCacheList\\\\\\":{\\\\n \\\\\\"data\\\\\\":[\\\\n {\\\\n \\\\\\"key\\\\\\":0,\\\\n \\\\\\"Name\\\\\\":\\\\\\"/var/lib/mysql/sysom/sys_handler_log.ibd\\\\\\",\\\\n \\\\\\"cached\\\\\\":576764,\\\\n \\\\\\"Task\\\\\\":\\\\\\"mysqld_78575 \\\\\\"\\\\n },\\\\n {\\\\n \\\\\\"key\\\\\\":1,\\\\n \\\\\\"Name\\\\\\":\\\\\\"/var/log/sysom/sysom-migration-access.log\\\\\\",\\\\n \\\\\\"cached\\\\\\":276688,\\\\n \\\\\\"Task\\\\\\":\\\\\\"gunicorn_33647 ,gunicorn_460836 ,gunicorn_559934 ,gunicorn_731758 ,gunicorn_2362682 \\\\\\"\\\\n },\\\\n {\\\\n \\\\\\"key\\\\\\":2,\\\\n \\\\\\"Name\\\\\\":\\\\\\"/var/log/sysom/sysom-rtdemo-access.log\\\\\\",\\\\n \\\\\\"cached\\\\\\":229404,\\\\n \\\\\\"Task\\\\\\":\\\\\\"gunicorn_60718 ,gunicorn_720734 ,gunicorn_722168 \\\\\\"\\\\n },\\\\n {\\\\n \\\\\\"key\\\\\\":3,\\\\n \\\\\\"Name\\\\\\":\\\\\\"/var/log/sysom/sysom-monitor-server-access.log\\\\\\",\\\\n \\\\\\"cached\\\\\\":197368,\\\\n \\\\\\"Task\\\\\\":\\\\\\"gunicorn_33682 ,gunicorn_671155 ,gunicorn_714998 \\\\\\"\\\\n },\\\\n {\\\\n \\\\\\"key\\\\\\":4,\\\\n \\\\\\"Name\\\\\\":\\\\\\"/var/log/sysom/sysom-channel-access.log\\\\\\",\\\\n \\\\\\"cached\\\\\\":180276,\\\\n \\\\\\"Task\\\\\\":\\\\\\"gunicorn_33233 ,gunicorn_499735 ,gunicorn_725497 \\\\\\"\\\\n },\\\\n {\\\\n \\\\\\"key\\\\\\":5,\\\\n \\\\\\"Name\\\\\\":\\\\\\"total cached of close file\\\\\\",\\\\n \\\\\\"cached\\\\\\":3729668,\\\\n \\\\\\"Task\\\\\\":\\\\\\"\\\\\\"\\\\n }\\\\n ]\\\\n },\\\\n \\\\\\"dataProcMemList\\\\\\":{\\\\n \\\\\\"data\\\\\\":[\\\\n {\\\\n \\\\\\"key\\\\\\":0,\\\\n \\\\\\"task\\\\\\":\\\\\\"mysqld\\\\\\",\\\\n \\\\\\"MemTotal\\\\\\":240856,\\\\n \\\\\\"RssAnon\\\\\\":218248,\\\\n \\\\\\"RssFile\\\\\\":22608\\\\n },\\\\n {\\\\n \\\\\\"key\\\\\\":1,\\\\n \\\\\\"task\\\\\\":\\\\\\"systemd-journal\\\\\\",\\\\n \\\\\\"MemTotal\\\\\\":150248,\\\\n \\\\\\"RssAnon\\\\\\":74300,\\\\n \\\\\\"RssFile\\\\\\":75944\\\\n },\\\\n {\\\\n \\\\\\"key\\\\\\":2,\\\\n \\\\\\"task\\\\\\":\\\\\\"gunicorn\\\\\\",\\\\n \\\\\\"MemTotal\\\\\\":144640,\\\\n \\\\\\"RssAnon\\\\\\":114200,\\\\n \\\\\\"RssFile\\\\\\":30440\\\\n },\\\\n {\\\\n \\\\\\"key\\\\\\":3,\\\\n \\\\\\"task\\\\\\":\\\\\\"gunicorn\\\\\\",\\\\n \\\\\\"MemTotal\\\\\\":141480,\\\\n \\\\\\"RssAnon\\\\\\":111040,\\\\n \\\\\\"RssFile\\\\\\":30440\\\\n },\\\\n {\\\\n \\\\\\"key\\\\\\":4,\\\\n \\\\\\"task\\\\\\":\\\\\\"grafana-server\\\\\\",\\\\n \\\\\\"MemTotal\\\\\\":103660,\\\\n \\\\\\"RssAnon\\\\\\":42732,\\\\n \\\\\\"RssFile\\\\\\":60928\\\\n },\\\\n {\\\\n \\\\\\"key\\\\\\":5,\\\\n \\\\\\"task\\\\\\":\\\\\\"gunicorn\\\\\\",\\\\n \\\\\\"MemTotal\\\\\\":97444,\\\\n \\\\\\"RssAnon\\\\\\":76256,\\\\n \\\\\\"RssFile\\\\\\":21188\\\\n },\\\\n {\\\\n \\\\\\"key\\\\\\":6,\\\\n \\\\\\"task\\\\\\":\\\\\\"gunicorn\\\\\\",\\\\n \\\\\\"MemTotal\\\\\\":97260,\\\\n \\\\\\"RssAnon\\\\\\":76072,\\\\n \\\\\\"RssFile\\\\\\":21188\\\\n },\\\\n {\\\\n \\\\\\"key\\\\\\":7,\\\\n \\\\\\"task\\\\\\":\\\\\\"prometheus\\\\\\",\\\\n \\\\\\"MemTotal\\\\\\":95356,\\\\n \\\\\\"RssAnon\\\\\\":45376,\\\\n \\\\\\"RssFile\\\\\\":49980\\\\n },\\\\n {\\\\n \\\\\\"key\\\\\\":8,\\\\n \\\\\\"task\\\\\\":\\\\\\"gunicorn\\\\\\",\\\\n \\\\\\"MemTotal\\\\\\":90144,\\\\n \\\\\\"RssAnon\\\\\\":76456,\\\\n \\\\\\"RssFile\\\\\\":13688\\\\n },\\\\n {\\\\n \\\\\\"key\\\\\\":9,\\\\n \\\\\\"task\\\\\\":\\\\\\"gunicorn\\\\\\",\\\\n \\\\\\"MemTotal\\\\\\":89796,\\\\n \\\\\\"RssAnon\\\\\\":76108,\\\\n \\\\\\"RssFile\\\\\\":13688\\\\n }\\\\n ]\\\\n }\\\\n}\\",\\n \\"url\\": \\"/diagnose/detail/qe3Z34sa\\",\\n \\"created_at\\": \\"2024-12-25T15:08:19\\",\\n \\"updated_at\\": \\"2024-12-25T15:08:19\\"\\n }\\n ],\\n \\"total\\": 319,\\n \\"RequestId\\": \\"44841312-7227-55C9-AE03-D59729BFAE38\\"\\n}","type":"json"}]', ], 'GetDiagnosisResult' => [ 'summary' => '获取诊断结果', 'path' => '/api/v1/openapi/diagnosis/get_diagnosis_results', 'methods' => [ 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREalinuxV02H6G', ], ], 'parameters' => [ [ 'name' => 'task_id', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'quzuYl23', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'code' => [ 'description' => '', 'type' => 'string', 'example' => 'Success', ], 'message' => [ 'description' => '', 'type' => 'string', 'example' => '""', ], 'data' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'task_id' => [ 'description' => '', 'type' => 'string', 'example' => 'grcuU21a', ], 'status' => [ 'description' => '', 'type' => 'string', 'example' => 'Running', 'enum' => [ 'Success', 'Fail', 'Ready', 'Running', ], ], 'service_name' => [ 'description' => '', 'type' => 'string', 'example' => 'memgraph', ], 'command' => [ 'description' => '', 'type' => 'any', 'example' => '{'."\n" .' "jobs":['."\n" .' {'."\n" .' "cmd":"mkdir -p /var/log/sysak && sysak podmem -r 100 -a -j /var/log/sysak/podmem.json > /dev/null 2>&1 && cat /var/log/sysak/podmem.json",'."\n" .' "instance":"172.20.12.174",'."\n" .' "fetch_file_list":['."\n" ."\n" .' ]'."\n" .' }'."\n" .' ],'."\n" .' "in_order":true,'."\n" .' "offline_mode":false,'."\n" .' "offline_results":['."\n" ."\n" .' ]'."\n" .'}', ], 'params' => [ 'description' => '', 'type' => 'any', 'example' => '{'."\n" .' "type":"all",'."\n" .' "value":"",'."\n" .' "channel":"ssh",'."\n" .' "instance":"172.1.2.174",'."\n" .' "service_name":"filecache"'."\n" .'}', ], 'code' => [ 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '0', ], 'err_msg' => [ 'description' => '', 'type' => 'string', 'example' => 'Diagnosis failed', ], 'result' => [ 'description' => '', 'type' => 'any', 'example' => '{'."\n" .' "summary":" memory cgroup leak",'."\n" .' "dataMemEvent":{'."\n" .' "data":['."\n" .' {'."\n" .' "key":"Util",'."\n" .' "value":20'."\n" .' },'."\n" .' {'."\n" .' "key":"MemLeak",'."\n" .' "value":"OK"'."\n" .' },'."\n" .' {'."\n" .' "key":"MemcgLeak",'."\n" .' "value":"NG"'."\n" .' },'."\n" .' {'."\n" .' "key":"MemFrag",'."\n" .' "value":"OK"'."\n" .' }'."\n" .' ]'."\n" .' },'."\n" .' "dataMemOverView":{'."\n" .' "data":['."\n" .' {'."\n" .' "key":"app",'."\n" .' "value":10937332'."\n" .' },'."\n" .' {'."\n" .' "key":"free",'."\n" .' "value":806800'."\n" .' },'."\n" .' {'."\n" .' "key":"kernel",'."\n" .' "value":4527660'."\n" .' }'."\n" .' ]'."\n" .' },'."\n" .' "dataKerMem":{'."\n" .' "data":['."\n" .' {'."\n" .' "key":"SReclaimable",'."\n" .' "value":3411292'."\n" .' },'."\n" .' {'."\n" .' "key":"VmallocUsed",'."\n" .' "value":30980'."\n" .' },'."\n" .' {'."\n" .' "key":"allocPage",'."\n" .' "value":177732'."\n" .' },'."\n" .' {'."\n" .' "key":"KernelStack",'."\n" .' "value":9280'."\n" .' },'."\n" .' {'."\n" .' "key":"PageTables",'."\n" .' "value":38056'."\n" .' },'."\n" .' {'."\n" .' "key":"SUnreclaim",'."\n" .' "value":170248'."\n" .' },'."\n" .' {'."\n" .' "key":"reserved",'."\n" .' "value":690072'."\n" .' }'."\n" .' ]'."\n" .' },'."\n" .' "dataUserMem":{'."\n" .' "data":['."\n" .' {'."\n" .' "key":"filecache",'."\n" .' "value":8010008'."\n" .' },'."\n" .' {'."\n" .' "key":"anon",'."\n" .' "value":2468608'."\n" .' },'."\n" .' {'."\n" .' "key":"mlock",'."\n" .' "value":0'."\n" .' },'."\n" .' {'."\n" .' "key":"huge1G",'."\n" .' "value":0'."\n" .' },'."\n" .' {'."\n" .' "key":"huge2M",'."\n" .' "value":0'."\n" .' },'."\n" .' {'."\n" .' "key":"buffers",'."\n" .' "value":458608'."\n" .' },'."\n" .' {'."\n" .' "key":"shmem",'."\n" .' "value":2284'."\n" .' }'."\n" .' ]'."\n" .' },'."\n" .' "dataCacheList":{'."\n" .' "data":['."\n" .' {'."\n" .' "key":0,'."\n" .' "Name":"/var/lib/mysql/sysom/sys_handler_log.ibd",'."\n" .' "cached":576764,'."\n" .' "Task":"mysqld_78575 "'."\n" .' },'."\n" .' {'."\n" .' "key":1,'."\n" .' "Name":"/var/log/sysom/sysom-migration-access.log",'."\n" .' "cached":276688,'."\n" .' "Task":"gunicorn_33647 ,gunicorn_460836 ,gunicorn_559934 ,gunicorn_731758 ,gunicorn_2362682 "'."\n" .' },'."\n" .' {'."\n" .' "key":2,'."\n" .' "Name":"/var/log/sysom/sysom-rtdemo-access.log",'."\n" .' "cached":229404,'."\n" .' "Task":"gunicorn_60718 ,gunicorn_720734 ,gunicorn_722168 "'."\n" .' },'."\n" .' {'."\n" .' "key":3,'."\n" .' "Name":"/var/log/sysom/sysom-monitor-server-access.log",'."\n" .' "cached":197368,'."\n" .' "Task":"gunicorn_33682 ,gunicorn_671155 ,gunicorn_714998 "'."\n" .' },'."\n" .' {'."\n" .' "key":4,'."\n" .' "Name":"/var/log/sysom/sysom-channel-access.log",'."\n" .' "cached":180276,'."\n" .' "Task":"gunicorn_33233 ,gunicorn_499735 ,gunicorn_725497 "'."\n" .' },'."\n" .' {'."\n" .' "key":5,'."\n" .' "Name":"total cached of close file",'."\n" .' "cached":3729668,'."\n" .' "Task":""'."\n" .' }'."\n" .' ]'."\n" .' },'."\n" .' "dataProcMemList":{'."\n" .' "data":['."\n" .' {'."\n" .' "key":0,'."\n" .' "task":"mysqld",'."\n" .' "MemTotal":240856,'."\n" .' "RssAnon":218248,'."\n" .' "RssFile":22608'."\n" .' },'."\n" .' {'."\n" .' "key":1,'."\n" .' "task":"systemd-journal",'."\n" .' "MemTotal":150248,'."\n" .' "RssAnon":74300,'."\n" .' "RssFile":75944'."\n" .' },'."\n" .' {'."\n" .' "key":2,'."\n" .' "task":"gunicorn",'."\n" .' "MemTotal":144640,'."\n" .' "RssAnon":114200,'."\n" .' "RssFile":30440'."\n" .' },'."\n" .' {'."\n" .' "key":3,'."\n" .' "task":"gunicorn",'."\n" .' "MemTotal":141480,'."\n" .' "RssAnon":111040,'."\n" .' "RssFile":30440'."\n" .' },'."\n" .' {'."\n" .' "key":4,'."\n" .' "task":"grafana-server",'."\n" .' "MemTotal":103660,'."\n" .' "RssAnon":42732,'."\n" .' "RssFile":60928'."\n" .' },'."\n" .' {'."\n" .' "key":5,'."\n" .' "task":"gunicorn",'."\n" .' "MemTotal":97444,'."\n" .' "RssAnon":76256,'."\n" .' "RssFile":21188'."\n" .' },'."\n" .' {'."\n" .' "key":6,'."\n" .' "task":"gunicorn",'."\n" .' "MemTotal":97260,'."\n" .' "RssAnon":76072,'."\n" .' "RssFile":21188'."\n" .' },'."\n" .' {'."\n" .' "key":7,'."\n" .' "task":"prometheus",'."\n" .' "MemTotal":95356,'."\n" .' "RssAnon":45376,'."\n" .' "RssFile":49980'."\n" .' },'."\n" .' {'."\n" .' "key":8,'."\n" .' "task":"gunicorn",'."\n" .' "MemTotal":90144,'."\n" .' "RssAnon":76456,'."\n" .' "RssFile":13688'."\n" .' },'."\n" .' {'."\n" .' "key":9,'."\n" .' "task":"gunicorn",'."\n" .' "MemTotal":89796,'."\n" .' "RssAnon":76108,'."\n" .' "RssFile":13688'."\n" .' }'."\n" .' ]'."\n" .' }'."\n" .'}', ], 'url' => [ 'description' => '', 'type' => 'string', 'example' => '/diagnose/detail/qe3Z34sa', ], 'created_at' => [ 'type' => 'string', ], 'updated_at' => [ 'type' => 'string', ], ], ], 'request_id' => [ 'description' => '', 'type' => 'string', 'example' => '9515E5A0-8905-59B0-9BBF-5F0BE568C3A0', ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"Success\\",\\n \\"message\\": \\"\\\\\\"\\\\\\"\\",\\n \\"data\\": {\\n \\"task_id\\": \\"grcuU21a\\",\\n \\"status\\": \\"Running\\",\\n \\"service_name\\": \\"memgraph\\",\\n \\"command\\": \\"{\\\\n \\\\\\"jobs\\\\\\":[\\\\n {\\\\n \\\\\\"cmd\\\\\\":\\\\\\"mkdir -p /var/log/sysak && sysak podmem -r 100 -a -j /var/log/sysak/podmem.json > /dev/null 2>&1 && cat /var/log/sysak/podmem.json\\\\\\",\\\\n \\\\\\"instance\\\\\\":\\\\\\"172.20.12.174\\\\\\",\\\\n \\\\\\"fetch_file_list\\\\\\":[\\\\n\\\\n ]\\\\n }\\\\n ],\\\\n \\\\\\"in_order\\\\\\":true,\\\\n \\\\\\"offline_mode\\\\\\":false,\\\\n \\\\\\"offline_results\\\\\\":[\\\\n\\\\n ]\\\\n}\\",\\n \\"params\\": \\"{\\\\n \\\\\\"type\\\\\\":\\\\\\"all\\\\\\",\\\\n \\\\\\"value\\\\\\":\\\\\\"\\\\\\",\\\\n \\\\\\"channel\\\\\\":\\\\\\"ssh\\\\\\",\\\\n \\\\\\"instance\\\\\\":\\\\\\"172.1.2.174\\\\\\",\\\\n \\\\\\"service_name\\\\\\":\\\\\\"filecache\\\\\\"\\\\n}\\",\\n \\"code\\": 0,\\n \\"err_msg\\": \\"Diagnosis failed\\",\\n \\"result\\": \\"{\\\\n \\\\\\"summary\\\\\\":\\\\\\" memory cgroup leak\\\\\\",\\\\n \\\\\\"dataMemEvent\\\\\\":{\\\\n \\\\\\"data\\\\\\":[\\\\n {\\\\n \\\\\\"key\\\\\\":\\\\\\"Util\\\\\\",\\\\n \\\\\\"value\\\\\\":20\\\\n },\\\\n {\\\\n \\\\\\"key\\\\\\":\\\\\\"MemLeak\\\\\\",\\\\n \\\\\\"value\\\\\\":\\\\\\"OK\\\\\\"\\\\n },\\\\n {\\\\n \\\\\\"key\\\\\\":\\\\\\"MemcgLeak\\\\\\",\\\\n \\\\\\"value\\\\\\":\\\\\\"NG\\\\\\"\\\\n },\\\\n {\\\\n \\\\\\"key\\\\\\":\\\\\\"MemFrag\\\\\\",\\\\n \\\\\\"value\\\\\\":\\\\\\"OK\\\\\\"\\\\n }\\\\n ]\\\\n },\\\\n \\\\\\"dataMemOverView\\\\\\":{\\\\n \\\\\\"data\\\\\\":[\\\\n {\\\\n \\\\\\"key\\\\\\":\\\\\\"app\\\\\\",\\\\n \\\\\\"value\\\\\\":10937332\\\\n },\\\\n {\\\\n \\\\\\"key\\\\\\":\\\\\\"free\\\\\\",\\\\n \\\\\\"value\\\\\\":806800\\\\n },\\\\n {\\\\n \\\\\\"key\\\\\\":\\\\\\"kernel\\\\\\",\\\\n \\\\\\"value\\\\\\":4527660\\\\n }\\\\n ]\\\\n },\\\\n \\\\\\"dataKerMem\\\\\\":{\\\\n \\\\\\"data\\\\\\":[\\\\n {\\\\n \\\\\\"key\\\\\\":\\\\\\"SReclaimable\\\\\\",\\\\n \\\\\\"value\\\\\\":3411292\\\\n },\\\\n {\\\\n \\\\\\"key\\\\\\":\\\\\\"VmallocUsed\\\\\\",\\\\n \\\\\\"value\\\\\\":30980\\\\n },\\\\n {\\\\n \\\\\\"key\\\\\\":\\\\\\"allocPage\\\\\\",\\\\n \\\\\\"value\\\\\\":177732\\\\n },\\\\n {\\\\n \\\\\\"key\\\\\\":\\\\\\"KernelStack\\\\\\",\\\\n \\\\\\"value\\\\\\":9280\\\\n },\\\\n {\\\\n \\\\\\"key\\\\\\":\\\\\\"PageTables\\\\\\",\\\\n \\\\\\"value\\\\\\":38056\\\\n },\\\\n {\\\\n \\\\\\"key\\\\\\":\\\\\\"SUnreclaim\\\\\\",\\\\n \\\\\\"value\\\\\\":170248\\\\n },\\\\n {\\\\n \\\\\\"key\\\\\\":\\\\\\"reserved\\\\\\",\\\\n \\\\\\"value\\\\\\":690072\\\\n }\\\\n ]\\\\n },\\\\n \\\\\\"dataUserMem\\\\\\":{\\\\n \\\\\\"data\\\\\\":[\\\\n {\\\\n \\\\\\"key\\\\\\":\\\\\\"filecache\\\\\\",\\\\n \\\\\\"value\\\\\\":8010008\\\\n },\\\\n {\\\\n \\\\\\"key\\\\\\":\\\\\\"anon\\\\\\",\\\\n \\\\\\"value\\\\\\":2468608\\\\n },\\\\n {\\\\n \\\\\\"key\\\\\\":\\\\\\"mlock\\\\\\",\\\\n \\\\\\"value\\\\\\":0\\\\n },\\\\n {\\\\n \\\\\\"key\\\\\\":\\\\\\"huge1G\\\\\\",\\\\n \\\\\\"value\\\\\\":0\\\\n },\\\\n {\\\\n \\\\\\"key\\\\\\":\\\\\\"huge2M\\\\\\",\\\\n \\\\\\"value\\\\\\":0\\\\n },\\\\n {\\\\n \\\\\\"key\\\\\\":\\\\\\"buffers\\\\\\",\\\\n \\\\\\"value\\\\\\":458608\\\\n },\\\\n {\\\\n \\\\\\"key\\\\\\":\\\\\\"shmem\\\\\\",\\\\n \\\\\\"value\\\\\\":2284\\\\n }\\\\n ]\\\\n },\\\\n \\\\\\"dataCacheList\\\\\\":{\\\\n \\\\\\"data\\\\\\":[\\\\n {\\\\n \\\\\\"key\\\\\\":0,\\\\n \\\\\\"Name\\\\\\":\\\\\\"/var/lib/mysql/sysom/sys_handler_log.ibd\\\\\\",\\\\n \\\\\\"cached\\\\\\":576764,\\\\n \\\\\\"Task\\\\\\":\\\\\\"mysqld_78575 \\\\\\"\\\\n },\\\\n {\\\\n \\\\\\"key\\\\\\":1,\\\\n \\\\\\"Name\\\\\\":\\\\\\"/var/log/sysom/sysom-migration-access.log\\\\\\",\\\\n \\\\\\"cached\\\\\\":276688,\\\\n \\\\\\"Task\\\\\\":\\\\\\"gunicorn_33647 ,gunicorn_460836 ,gunicorn_559934 ,gunicorn_731758 ,gunicorn_2362682 \\\\\\"\\\\n },\\\\n {\\\\n \\\\\\"key\\\\\\":2,\\\\n \\\\\\"Name\\\\\\":\\\\\\"/var/log/sysom/sysom-rtdemo-access.log\\\\\\",\\\\n \\\\\\"cached\\\\\\":229404,\\\\n \\\\\\"Task\\\\\\":\\\\\\"gunicorn_60718 ,gunicorn_720734 ,gunicorn_722168 \\\\\\"\\\\n },\\\\n {\\\\n \\\\\\"key\\\\\\":3,\\\\n \\\\\\"Name\\\\\\":\\\\\\"/var/log/sysom/sysom-monitor-server-access.log\\\\\\",\\\\n \\\\\\"cached\\\\\\":197368,\\\\n \\\\\\"Task\\\\\\":\\\\\\"gunicorn_33682 ,gunicorn_671155 ,gunicorn_714998 \\\\\\"\\\\n },\\\\n {\\\\n \\\\\\"key\\\\\\":4,\\\\n \\\\\\"Name\\\\\\":\\\\\\"/var/log/sysom/sysom-channel-access.log\\\\\\",\\\\n \\\\\\"cached\\\\\\":180276,\\\\n \\\\\\"Task\\\\\\":\\\\\\"gunicorn_33233 ,gunicorn_499735 ,gunicorn_725497 \\\\\\"\\\\n },\\\\n {\\\\n \\\\\\"key\\\\\\":5,\\\\n \\\\\\"Name\\\\\\":\\\\\\"total cached of close file\\\\\\",\\\\n \\\\\\"cached\\\\\\":3729668,\\\\n \\\\\\"Task\\\\\\":\\\\\\"\\\\\\"\\\\n }\\\\n ]\\\\n },\\\\n \\\\\\"dataProcMemList\\\\\\":{\\\\n \\\\\\"data\\\\\\":[\\\\n {\\\\n \\\\\\"key\\\\\\":0,\\\\n \\\\\\"task\\\\\\":\\\\\\"mysqld\\\\\\",\\\\n \\\\\\"MemTotal\\\\\\":240856,\\\\n \\\\\\"RssAnon\\\\\\":218248,\\\\n \\\\\\"RssFile\\\\\\":22608\\\\n },\\\\n {\\\\n \\\\\\"key\\\\\\":1,\\\\n \\\\\\"task\\\\\\":\\\\\\"systemd-journal\\\\\\",\\\\n \\\\\\"MemTotal\\\\\\":150248,\\\\n \\\\\\"RssAnon\\\\\\":74300,\\\\n \\\\\\"RssFile\\\\\\":75944\\\\n },\\\\n {\\\\n \\\\\\"key\\\\\\":2,\\\\n \\\\\\"task\\\\\\":\\\\\\"gunicorn\\\\\\",\\\\n \\\\\\"MemTotal\\\\\\":144640,\\\\n \\\\\\"RssAnon\\\\\\":114200,\\\\n \\\\\\"RssFile\\\\\\":30440\\\\n },\\\\n {\\\\n \\\\\\"key\\\\\\":3,\\\\n \\\\\\"task\\\\\\":\\\\\\"gunicorn\\\\\\",\\\\n \\\\\\"MemTotal\\\\\\":141480,\\\\n \\\\\\"RssAnon\\\\\\":111040,\\\\n \\\\\\"RssFile\\\\\\":30440\\\\n },\\\\n {\\\\n \\\\\\"key\\\\\\":4,\\\\n \\\\\\"task\\\\\\":\\\\\\"grafana-server\\\\\\",\\\\n \\\\\\"MemTotal\\\\\\":103660,\\\\n \\\\\\"RssAnon\\\\\\":42732,\\\\n \\\\\\"RssFile\\\\\\":60928\\\\n },\\\\n {\\\\n \\\\\\"key\\\\\\":5,\\\\n \\\\\\"task\\\\\\":\\\\\\"gunicorn\\\\\\",\\\\n \\\\\\"MemTotal\\\\\\":97444,\\\\n \\\\\\"RssAnon\\\\\\":76256,\\\\n \\\\\\"RssFile\\\\\\":21188\\\\n },\\\\n {\\\\n \\\\\\"key\\\\\\":6,\\\\n \\\\\\"task\\\\\\":\\\\\\"gunicorn\\\\\\",\\\\n \\\\\\"MemTotal\\\\\\":97260,\\\\n \\\\\\"RssAnon\\\\\\":76072,\\\\n \\\\\\"RssFile\\\\\\":21188\\\\n },\\\\n {\\\\n \\\\\\"key\\\\\\":7,\\\\n \\\\\\"task\\\\\\":\\\\\\"prometheus\\\\\\",\\\\n \\\\\\"MemTotal\\\\\\":95356,\\\\n \\\\\\"RssAnon\\\\\\":45376,\\\\n \\\\\\"RssFile\\\\\\":49980\\\\n },\\\\n {\\\\n \\\\\\"key\\\\\\":8,\\\\n \\\\\\"task\\\\\\":\\\\\\"gunicorn\\\\\\",\\\\n \\\\\\"MemTotal\\\\\\":90144,\\\\n \\\\\\"RssAnon\\\\\\":76456,\\\\n \\\\\\"RssFile\\\\\\":13688\\\\n },\\\\n {\\\\n \\\\\\"key\\\\\\":9,\\\\n \\\\\\"task\\\\\\":\\\\\\"gunicorn\\\\\\",\\\\n \\\\\\"MemTotal\\\\\\":89796,\\\\n \\\\\\"RssAnon\\\\\\":76108,\\\\n \\\\\\"RssFile\\\\\\":13688\\\\n }\\\\n ]\\\\n }\\\\n}\\",\\n \\"url\\": \\"/diagnose/detail/qe3Z34sa\\",\\n \\"created_at\\": \\"2025-12-03 16:30:28\\",\\n \\"updated_at\\": \\"2025-12-03 16:30:28\\"\\n },\\n \\"request_id\\": \\"9515E5A0-8905-59B0-9BBF-5F0BE568C3A0\\"\\n}","type":"json"}]', ], 'InvokeDiagnosis' => [ 'summary' => '发起诊断', 'path' => '/api/v1/openapi/diagnosis/invoke_diagnosis', 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'high', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREalinuxV02H6G', ], ], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'properties' => [ 'service_name' => [ 'title' => '诊断类型', 'description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'enumValueTitles' => [ 'iofsstat' => '', 'jruntime' => '', 'oomcheck' => '', 'iohang' => '', 'pingtrace' => '', 'rtdelay' => '', 'memgraph' => '', 'retran' => '', 'jitter' => '', 'iolatency' => '', 'procdiag' => '', 'loadtask' => '', 'filecache' => '', 'schedmoni' => '', 'packetdrop' => '', ], 'example' => 'memgraph', ], 'channel' => [ 'title' => '诊断通道,固定为 openapi_cloud_assist', 'description' => '', 'type' => 'string', 'required' => true, 'enumValueTitles' => [ 'cloud_assist' => '', ], 'example' => 'cloud_assist', ], 'params' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => '{'."\n" .' "instance": "i-wz9gdv7qmdhusamc4dl01",'."\n" .' "uid": "xxxxxxxxxxxxxx",'."\n" .' "region": "cn-shenzhen"'."\n" .'}', ], ], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'code' => [ 'description' => '', 'type' => 'string', 'example' => 'Success', ], 'message' => [ 'description' => '', 'type' => 'string', 'example' => 'SysomOpenAPIAssumeRoleException: EntityNotExist.Role The role not exists: acs:ram::xxxxx:role/aliyunserviceroleforsysom', ], 'data' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'task_id' => [ 'description' => '', 'type' => 'string', 'example' => 'ihqhAcrt', ], ], ], 'request_id' => [ 'type' => 'string', ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"Success\\",\\n \\"message\\": \\"SysomOpenAPIAssumeRoleException: EntityNotExist.Role The role not exists: acs:ram::xxxxx:role/aliyunserviceroleforsysom\\",\\n \\"data\\": {\\n \\"task_id\\": \\"ihqhAcrt\\"\\n },\\n \\"request_id\\": \\"43A910E9-A739-525E-855D-A32C257F1826\\"\\n}","type":"json"}]', ], 'AuthDiagnosis' => [ 'summary' => '授权 SysOM 对某个机器进行诊断', 'path' => '/api/v1/openapi/diagnosis/auth', 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREalinux586OFI', ], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'properties' => [ 'instances' => [ 'title' => '授权诊断的机器列表', 'description' => '', 'type' => 'array', 'items' => [ 'type' => 'object', 'required' => false, 'example' => 'i-wz9gdv7qmdhntqmc4rjd', 'properties' => [ 'instance' => [ 'type' => 'string', ], 'region' => [ 'type' => 'string', ], ], ], 'required' => true, 'docRequired' => true, ], 'autoCreateRole' => [ 'title' => '是否自动创建服务角色', 'type' => 'boolean', ], 'autoInstallAgent' => [ 'title' => '如果没有安装Agent,是否自动安装最新版本的 Agent', 'type' => 'boolean', ], ], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => '', 'type' => 'object', 'properties' => [ 'code' => [ 'title' => 'Id of the request', 'description' => '', 'type' => 'string', 'example' => 'Success', ], 'message' => [ 'description' => '', 'type' => 'string', 'example' => 'SysomOpenAPIAssumeRoleException: EntityNotExist.Role The role not exists: acs:ram::xxxxx:role/aliyunserviceroleforsysom', ], 'data' => [ 'description' => '', 'type' => 'any', 'example' => '{}', ], 'request_id' => [ 'type' => 'string', ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"Success\\",\\n \\"message\\": \\"SysomOpenAPIAssumeRoleException: EntityNotExist.Role The role not exists: acs:ram::xxxxx:role/aliyunserviceroleforsysom\\",\\n \\"data\\": \\"{}\\",\\n \\"request_id\\": \\"35F91AAB-5FDF-5A22-B211-C7C6B00817D0\\"\\n}","type":"json"}]', ], 'GetCopilotHistory' => [ 'summary' => '获取copilot历史聊天记录', 'path' => '/api/v1/copilot/get_copilot_history', 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREalinuxGP5QJE', ], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'count' => [ 'title' => '请求历史聊天记录的数量,一般小于100条', 'description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '100', ], ], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'requestId' => [ 'title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '2D693121-C925-5154-8DF6-C09A8B369822'."\n", ], 'code' => [ 'description' => '', 'type' => 'string', 'example' => 'SysomOpenAPI.InvalidParameter', ], 'message' => [ 'description' => '', 'type' => 'string', 'example' => 'SysomOpenAPIAssumeRoleException: EntityNotExist.Role The role not exists: acs:ram::xxxxx:role/aliyunserviceroleforsysom', ], 'data' => [ 'title' => '聊天记录列表,长度为请求数量,若聊天记录小于请求数量,则为实际的聊天记录数量,格式:[{"user":“”,"content":“”.question,"time":"“},{...}]', 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'user' => [ 'title' => 'user/copilot,user为用户,copilot为机器人', 'description' => '', 'type' => 'string', 'example' => 'user'."\n" .'copilot', ], 'content' => [ 'title' => '聊天内容文本', 'description' => '', 'type' => 'string', 'example' => '', ], 'time' => [ 'title' => '聊天记录时间,string类型', 'description' => '', 'type' => 'string', 'example' => '2024-09-02 10:02:39', ], ], ], ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"2D693121-C925-5154-8DF6-C09A8B369822\\\\n\\",\\n \\"code\\": \\"SysomOpenAPI.InvalidParameter\\",\\n \\"message\\": \\"SysomOpenAPIAssumeRoleException: EntityNotExist.Role The role not exists: acs:ram::xxxxx:role/aliyunserviceroleforsysom\\",\\n \\"data\\": [\\n {\\n \\"user\\": \\"user\\\\ncopilot\\",\\n \\"content\\": \\"copilot回复的具体内容\\",\\n \\"time\\": \\"2024-09-02 10:02:39\\"\\n }\\n ]\\n}","type":"json"}]', ], 'GenerateCopilotStreamResponse' => [ 'summary' => '流式copilot服务接口', 'path' => '/api/v1/copilot/generate_copilot_stream_response', 'methods' => [ 'post', ], 'schemes' => [ 'https', 'sse', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [], 'produces' => [], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREalinux586OFI', ], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'llmParamString' => [ 'title' => '对接copilot llm服务的入参,参考标准LLM接口入参dict,需要转化成string并传入llmParamString中', 'description' => '', 'type' => 'string', 'required' => false, 'example' => '', ], ], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'requestId' => [ 'title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '2D693121-C925-5154-8DF6-C09A8B369822'."\n", ], 'code' => [ 'title' => '错误码', 'description' => '', 'type' => 'string', 'example' => 'SysomOpenAPI.ServerError'."\n", ], 'message' => [ 'title' => '错误码描述,若无错误则为空', 'description' => '', 'type' => 'string', 'example' => 'Requests for llm service failed'."\n", ], 'data' => [ 'title' => 'llm服务返回的data,字符串类型,如为dict需自行转换解析', 'description' => '', 'type' => 'string', 'example' => '', ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"2D693121-C925-5154-8DF6-C09A8B369822\\\\n\\",\\n \\"code\\": \\"SysomOpenAPI.ServerError\\\\n\\",\\n \\"message\\": \\"Requests for llm service failed\\\\n\\",\\n \\"data\\": \\"{\'choices\': [{\'finish_reason\': \'stop\', \'index\': 0, \'message\': {\'content\': \'Alinux是一个基于Linux的开源操作系统,它主要由阿里巴巴集团开发和维护,专为大规模云计算和大数据处理环境设计。这个系统针对高并发、低延迟以及资源利用率优化进行了深度定制和改良,以适应阿里内部复杂且庞大的业务需求。由于其在性能和稳定性方面的优秀表现,Alinux也在逐渐被外部的一些企业和研究机构采用,特别是在需要处理高负载场景的领域。与标准Linux发行版相比,Alinux可能包含特定的内核补丁、优化工具集以及其他阿里巴巴内部研发的特性。然而,值得注意的是,尽管名称中的“Ali”可能让人联想到与阿里巴巴的紧密关系,但Alinux作为一个项目,已经于2021年成为开放原子开源基金会(OpenAtom Foundation)下的一个子项目,即 OpenAnolis,这标志着它的社区化和广泛化的进程。\', \'role\': \'assistant\'}}], \'model\': \'Qwen1.5\', \'sentiment\': [], \'status_code\': 200, \'time\': 6.836989402770996, \'usage\': {\'completion_tokens\': 180, \'prompt_tokens\': 176, \'time_dict\': {\'auto_regression_time\': 0.03798324399524265, \'speed\': 26.327398474054736, \'total_generate_time\': 6.836983919143677}, \'total_tokens\': 356}}\\"\\n}","type":"json"}]', ], 'GenerateCopilotResponse' => [ 'summary' => '获取copilot服务的返回结果', 'path' => '/api/v1/copilot/generate_copilot_response', 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREalinux586OFI', ], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'llmParamString' => [ 'title' => '对接copilot llm服务的入参,参考标准LLM接口入参dict,需要转化成string并传入llmParamString中', 'description' => '', 'type' => 'string', 'required' => false, 'example' => '', ], ], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'requestId' => [ 'title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '2D693121-C925-5154-8DF6-C09A8B369822', ], 'code' => [ 'title' => '错误码', 'description' => '', 'type' => 'string', 'example' => 'SysomOpenAPI.ServerError', ], 'massage' => [ 'title' => '错误码描述,若无错误则为空', 'description' => '', 'type' => 'string', 'example' => 'Requests for llm service failed', ], 'data' => [ 'title' => 'llm服务返回的data,字符串类型,如为dict需自行转换解析', 'description' => '', 'type' => 'string', 'example' => '', ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"2D693121-C925-5154-8DF6-C09A8B369822\\",\\n \\"code\\": \\"SysomOpenAPI.ServerError\\",\\n \\"massage\\": \\"Requests for llm service failed\\",\\n \\"data\\": \\"{\'choices\': [{\'finish_reason\': \'stop\', \'index\': 0, \'message\': {\'content\': \'Alinux是一个基于Linux的开源操作系统,它主要由阿里巴巴集团开发和维护,专为大规模云计算和大数据处理环境设计。这个系统针对高并发、低延迟以及资源利用率优化进行了深度定制和改良,以适应阿里内部复杂且庞大的业务需求。由于其在性能和稳定性方面的优秀表现,Alinux也在逐渐被外部的一些企业和研究机构采用,特别是在需要处理高负载场景的领域。与标准Linux发行版相比,Alinux可能包含特定的内核补丁、优化工具集以及其他阿里巴巴内部研发的特性。然而,值得注意的是,尽管名称中的“Ali”可能让人联想到与阿里巴巴的紧密关系,但Alinux作为一个项目,已经于2021年成为开放原子开源基金会(OpenAtom Foundation)下的一个子项目,即 OpenAnolis,这标志着它的社区化和广泛化的进程。\', \'role\': \'assistant\'}}], \'model\': \'Qwen1.5\', \'sentiment\': [], \'status_code\': 200, \'time\': 6.836989402770996, \'usage\': {\'completion_tokens\': 180, \'prompt_tokens\': 176, \'time_dict\': {\'auto_regression_time\': 0.03798324399524265, \'speed\': 26.327398474054736, \'total_generate_time\': 6.836983919143677}, \'total_tokens\': 356}}\\"\\n}","type":"json"}]', ], 'CheckInstanceSupport' => [ 'summary' => '检查目标实例是否被 SysOM 支持', 'path' => '/api/v1/am/supportInstanceList/checkInstanceSupport', 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREalinux586OFI', ], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'region' => [ 'title' => '实例所属 Region,务必保证 instances 中传递的所有实例ID都属于同一个 region', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', ], 'instances' => [ 'title' => '需要检查的实例ID列表', 'description' => '', 'type' => 'array', 'items' => [ 'title' => '实例ID', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'i-2zxxxxxx', ], 'required' => false, 'example' => '["i-2zxxxxxx"]', ], ], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'requestId' => [ 'title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '2D693121-C925-5154-8DF6-C09A8B369822'."\n", ], 'code' => [ 'title' => '状态码'."\n" .'- `code == Success` 则代表授权成功;'."\n" .'- 其它状态码代表授权失败,授权失败时查看 `message` 字段获取详细的错误信息;', 'description' => '', 'type' => 'string', 'example' => 'Success', ], 'data' => [ 'title' => '返回数据。', 'description' => '', 'type' => 'array', 'items' => [ 'title' => '返回结果。', 'description' => '', 'type' => 'object', 'properties' => [ 'support' => [ 'title' => '是否支持被 SysOM 纳管'."\n" ."\n" .'- **true**:支持被 SysOM 纳管'."\n" ."\n" .'- **false**:不支持被 SysOM 纳管', 'description' => '', 'type' => 'boolean', 'example' => 'true', ], 'reason' => [ 'title' => '当success为false时,该值不为空,表示不支持被纳管的原因', 'description' => '', 'type' => 'string', 'example' => 'instance not found in ecs', ], 'instance' => [ 'title' => 'ECS实例ID', 'description' => '', 'type' => 'string', 'example' => 'i-wz9d00ut2ska3mlyhn6j', ], ], ], ], 'message' => [ 'title' => '错误信息,code != Success 时,在此处存放错误信息', 'description' => '', 'type' => 'string', 'example' => 'SysomOpenAPIAssumeRoleException: EntityNotExist.Role The role not exists: acs:ram::xxxxx:role/aliyunserviceroleforsysom', ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"2D693121-C925-5154-8DF6-C09A8B369822\\\\n\\",\\n \\"code\\": \\"Success\\",\\n \\"data\\": [\\n {\\n \\"support\\": true,\\n \\"reason\\": \\"instance not found in ecs\\",\\n \\"instance\\": \\"i-wz9d00ut2ska3mlyhn6j\\"\\n }\\n ],\\n \\"message\\": \\"SysomOpenAPIAssumeRoleException: EntityNotExist.Role The role not exists: acs:ram::xxxxx:role/aliyunserviceroleforsysom\\"\\n}","type":"json"}]', ], 'StartAIDiffAnalysis' => [ 'summary' => '查看AI Infra差分分析结果', 'path' => '/api/v1/appObserv/aiAnalysis/diffAnalysis', 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREalinuxFVZ8GD', ], ], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'task1' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'analysisId' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '16896fa8-37f6-4c70-bb32-67fa9817d426', ], 'pids' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '452651:python3 ./test.py', ], 'required' => false, ], 'step_start' => [ 'description' => '', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '4660550379415.497', ], 'step_end' => [ 'description' => '', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '4660551334179.955', ], ], 'required' => true, 'example' => '', ], 'task2' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'analysisId' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => '16896fa8-37f6-4c70-bb32-67fa9817d426', ], 'pids' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '452651:python3 ./test.py', ], 'required' => true, 'example' => '452651:python3 ./test.py', ], 'step_start' => [ 'description' => '', 'type' => 'number', 'format' => 'float', 'required' => true, 'example' => '4660550379415.497', ], 'step_end' => [ 'description' => '', 'type' => 'number', 'format' => 'float', 'required' => true, 'example' => '4660551334179.955', ], ], 'required' => true, 'example' => '', ], ], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'requestId' => [ 'title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '2D693121-C925-5154-8DF6-C09A8B369822', ], 'code' => [ 'description' => '', 'type' => 'string', 'example' => 'Success', ], 'message' => [ 'description' => '', 'type' => 'string', 'example' => '""', ], 'data' => [ 'description' => '', 'type' => 'string', 'example' => '', ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"2D693121-C925-5154-8DF6-C09A8B369822\\",\\n \\"code\\": \\"Success\\",\\n \\"message\\": \\"\\\\\\"\\\\\\"\\",\\n \\"data\\": \\"\\\\\\"[\\\\n {\\\\n name: \\\\\\"xxx\\\\\\", #算子名称\\\\n before_time: 2, # 前者总耗时\\\\n after_time: 4, # 后者总耗时\\\\n time_diff: 2, # 耗时差异\\\\n before_time_perc: \\\\\\"80%\\\\\\", # 前者总耗时百分比\\\\n after_time_perc: \\\\\\"23%\\\\\\", # 后者总耗时百分比\\\\n time_perc_diff: \\\\\\"-54%\\\\\\", # 耗时差异\\\\n before_count: 1, # 前者总调用差异\\\\n after_count: 2, # 后者总调用差异\\\\n count_diff: 1, # 调用差异\\\\n before_count_perc: \\\\\\"56%\\\\\\", # 前者总调用差异\\\\n after_count_perc: \\\\\\"32%\\\\\\", # 后者总调用差异\\\\n count_perc_diff: \\\\\\"44%\\\\\\", # 调用差异\\\\n },\\\\n {...}\\\\n]\\\\\\"\\"\\n}","type":"json"}]', ], 'DescribeMetricList' => [ 'summary' => '查询指标', 'path' => '/api/v1/openapi/proxy/get/describeMetricList', 'methods' => [ 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREalinux586OFI', ], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'instance', 'in' => 'query', 'schema' => [ 'title' => '实例ID。', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'i-wz9d00ut2ska3mlyhn6j', ], ], [ 'name' => 'metricName', 'in' => 'query', 'schema' => [ 'title' => '监控项名称', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'sysom_cpu_graph', ], ], [ 'name' => 'startTime', 'in' => 'query', 'schema' => [ 'title' => '起始时间,秒级时间戳'."\n", 'description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1709740800000', ], ], [ 'name' => 'endTime', 'in' => 'query', 'schema' => [ 'title' => '截止时间,秒级时间戳', 'description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1683618245000', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '响应参数:'."\n", 'description' => '', 'type' => 'object', 'properties' => [ 'requestId' => [ 'title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '2D693121-C925-5154-8DF6-C09A8B369822'."\n", ], 'code' => [ 'title' => '状态码'."\n" .'- `code == Success` 则代表授权成功;'."\n" .'- 其它状态码代表授权失败,授权失败时查看 `message` 字段获取详细的错误信息;', 'description' => '', 'type' => 'string', 'example' => 'Success', ], 'message' => [ 'title' => '错误信息'."\n" .'- 如果 `code == Success`,则本字段为空;'."\n" .'- 否则本字段包含请求错误信息。', 'description' => '', 'type' => 'string', 'example' => '分析ID: 56dae746-ef55-4f77-8373-cb3594c41457'."\n" .'机器i-bp164ns76pzirbwv0snt分析失败, 失败原因: Not get GPU trace data for \'56dae746-ef55-4f77-8373-cb3594c41457\' \'[\'93811\']\'!', ], 'data' => [ 'title' => '返回数据。', 'description' => '', 'type' => 'array', 'items' => [ 'title' => '返回数据。', 'description' => '', 'type' => 'object', 'properties' => [ 'metricName' => [ 'title' => '监控项名称', 'description' => '', 'type' => 'string', 'example' => 'sysom_cpu_usage_idle', ], 'labels' => [ 'title' => '监控项标签', 'description' => '', 'type' => 'string', 'example' => '{\'taskExecName\': \'build-and-deploy\', \'pipelineName\': \'pipeline-run-1722909642357\'}', ], 'values' => [ 'description' => '', 'type' => 'array', 'items' => [ 'title' => '监控数据', 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'string', 'example' => '1743036429.0', ], 'example' => '["1743036429.0", "10489572.0"]', ], ], ], ], ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"2D693121-C925-5154-8DF6-C09A8B369822\\\\n\\",\\n \\"code\\": \\"Success\\",\\n \\"message\\": \\"分析ID: 56dae746-ef55-4f77-8373-cb3594c41457\\\\n机器i-bp164ns76pzirbwv0snt分析失败, 失败原因: Not get GPU trace data for \'56dae746-ef55-4f77-8373-cb3594c41457\' \'[\'93811\']\'!\\",\\n \\"data\\": [\\n {\\n \\"metricName\\": \\"sysom_cpu_usage_idle\\",\\n \\"labels\\": \\"{\'taskExecName\': \'build-and-deploy\', \'pipelineName\': \'pipeline-run-1722909642357\'}\\",\\n \\"values\\": [\\n [\\n \\"1743036429.0\\"\\n ]\\n ]\\n }\\n ]\\n}","type":"json"}]', ], 'CreateVmcoreDiagnosisTask' => [ 'summary' => '创建宕机诊断任务', 'path' => '/api/v1/crashAgent/diagnosis/createDiagnosisTask', 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREalinux586OFI', ], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'taskType' => [ 'description' => '', 'type' => 'string', 'required' => true, 'enumValueTitles' => [ 'dmesg' => 'dmesg', 'vmcore' => 'vmcore', ], 'example' => 'vmcore', 'title' => '任务类型', ], 'vmcoreUrl' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'https://bucket-cn-hangzhou.oss-cn-hangzhou.aliyuncs.com/vmcore/file/path', 'title' => 'vmcore下载链接', ], 'debuginfoUrl' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'https://bucket-cn-hangzhou.oss-cn-hangzhou.aliyuncs.com/debuginfo/file/path', 'title' => 'debuginfo下载链接', ], 'debuginfoCommonUrl' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'https://bucket-cn-hangzhou.oss-cn-hangzhou.aliyuncs.com/debuginfo-common/file/path', 'title' => 'debuginfo-common rpm包下载链接', ], 'dmesgUrl' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'https://bucket-cn-hangzhou.oss-cn-hangzhou.aliyuncs.com/dmesg/file/path', 'title' => 'dmesg下载链接', ], ], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'requestId' => [ 'description' => '', 'type' => 'string', 'example' => '2D693121-C925-5154-8DF6-C09A8B369822', ], 'message' => [ 'description' => '', 'type' => 'string', 'example' => '""', ], 'data' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'taskId' => [ 'description' => '', 'type' => 'string', 'enumValueTitles' => [], 'example' => 'bbe94a98-4192-4172-b856-95777e0a55d7', 'title' => '任务ID', ], ], ], 'code' => [ 'description' => '', 'type' => 'string', 'example' => 'Success', ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"2D693121-C925-5154-8DF6-C09A8B369822\\",\\n \\"message\\": \\"\\\\\\"\\\\\\"\\",\\n \\"data\\": {\\n \\"taskId\\": \\"bbe94a98-4192-4172-b856-95777e0a55d7\\"\\n },\\n \\"code\\": \\"Success\\"\\n}","type":"json"}]', ], 'GetVmcoreDiagnosisTask' => [ 'summary' => '查询宕机诊断任务结果', 'path' => '/api/v1/crashAgent/diagnosis/queryTask', 'methods' => [ 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREalinux586OFI', ], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'taskId', 'in' => 'query', 'schema' => [ 'title' => '任务ID'."\n", 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'bbe94a98-4192-4172-b856-95777e0a55d7', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'requestId' => [ 'title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '2D693121-C925-5154-8DF6-C09A8B369822', ], 'code' => [ 'description' => '', 'type' => 'string', 'example' => 'Success', ], 'message' => [ 'description' => '', 'type' => 'string', 'example' => 'SysomOpenAPIException: SysomOpenAPI.InvalidParameter Invalid params, should be json string or dict', ], 'data' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'taskId' => [ 'title' => '任务ID', 'description' => '', 'type' => 'string', 'example' => 'bbe94a98-4192-4172-b856-95777e0a55d7', ], 'createdAt' => [ 'title' => '任务创建时间', 'description' => '', 'type' => 'string', 'example' => '2025-12-02T17:36:12', ], 'diagnoseResult' => [ 'title' => '诊断结果', 'description' => '', 'type' => 'string', 'example' => 'result', ], 'errorMsg' => [ 'title' => '诊断错误信息', 'description' => '', 'type' => 'string', 'example' => 'error message', ], 'taskType' => [ 'title' => '任务类型', 'description' => '', 'type' => 'string', 'enumValueTitles' => [ 'dmesg' => 'dmesg', 'vmcore' => 'vmcore', ], 'example' => 'vmcore', ], 'taskStatus' => [ 'title' => '任务状态', 'description' => '', 'type' => 'string', 'enumValueTitles' => [ 'running' => 'running', 'queuing' => 'queuing', 'created' => 'created', 'success' => 'success', 'error' => 'error', ], 'example' => 'running', ], 'urls' => [ 'title' => '任务携带的相关文件下载链接', 'description' => '', 'type' => 'object', 'properties' => [ 'debuginfoCommonUrl' => [ 'title' => 'debuginfo-common rpm包下载链接', 'description' => '', 'type' => 'string', 'example' => 'https://bucket-cn-hangzhou.oss-cn-hangzhou.aliyuncs.com/debuginfo-common/file/path', ], 'debuginfoUrl' => [ 'title' => 'debuginfo rpm包下载链接', 'description' => '', 'type' => 'string', 'example' => ' '."\n" .'https://bucket-cn-hangzhou.oss-cn-hangzhou.aliyuncs.com/debuginfo/file/path', ], 'dmesgUrl' => [ 'title' => 'dmesg日志下载链接', 'description' => '', 'type' => 'string', 'example' => 'https://bucket-cn-hangzhou.oss-cn-hangzhou.aliyuncs.com/dmesg/file/path', ], 'vmcoreUrl' => [ 'title' => 'vmcore文件下载链接', 'description' => '', 'type' => 'string', 'example' => 'https://bucket-cn-hangzhou.oss-cn-hangzhou.aliyuncs.com/vmcore/file/path', ], ], ], ], ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"2D693121-C925-5154-8DF6-C09A8B369822\\",\\n \\"code\\": \\"Success\\",\\n \\"message\\": \\"SysomOpenAPIException: SysomOpenAPI.InvalidParameter Invalid params, should be json string or dict\\",\\n \\"data\\": {\\n \\"taskId\\": \\"bbe94a98-4192-4172-b856-95777e0a55d7\\",\\n \\"createdAt\\": \\"2025-12-02T17:36:12\\",\\n \\"diagnoseResult\\": \\"result\\",\\n \\"errorMsg\\": \\"error message\\",\\n \\"taskType\\": \\"vmcore\\",\\n \\"taskStatus\\": \\"running\\",\\n \\"urls\\": {\\n \\"debuginfoCommonUrl\\": \\"https://bucket-cn-hangzhou.oss-cn-hangzhou.aliyuncs.com/debuginfo-common/file/path\\",\\n \\"debuginfoUrl\\": \\"\\\\t\\\\nhttps://bucket-cn-hangzhou.oss-cn-hangzhou.aliyuncs.com/debuginfo/file/path\\",\\n \\"dmesgUrl\\": \\"https://bucket-cn-hangzhou.oss-cn-hangzhou.aliyuncs.com/dmesg/file/path\\",\\n \\"vmcoreUrl\\": \\"https://bucket-cn-hangzhou.oss-cn-hangzhou.aliyuncs.com/vmcore/file/path\\"\\n }\\n }\\n}","type":"json"}]', ], 'ListVmcoreDiagnosisTask' => [ 'summary' => '查询历史宕机诊断任务', 'path' => '/api/v1/crashAgent/diagnosis/queryTaskList', 'methods' => [ 'get', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREalinux586OFI', ], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'days', 'in' => 'query', 'schema' => [ 'title' => '表示过去days天的任务,最多不超过30天', 'description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '3', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'requestId' => [ 'title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '2D693121-C925-5154-8DF6-C09A8B369822'."\n", ], 'message' => [ 'description' => '', 'type' => 'string', 'example' => 'SysomOpenAPIException: SysomOpenAPI.InvalidParameter Invalid params, should be json string or dict', ], 'code' => [ 'description' => '', 'type' => 'string', 'example' => 'Success', ], 'data' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'taskId' => [ 'title' => '任务ID', 'description' => '', 'type' => 'string', 'example' => 'bbe94a98-4192-4172-b856-95777e0a55d7'."\n", ], 'taskType' => [ 'title' => '任务类型', 'description' => '', 'type' => 'string', 'enumValueTitles' => [ 'dmesg' => 'dmesg', 'vmcore' => 'vmcore', ], 'example' => 'vmcore', ], 'taskStatus' => [ 'title' => '任务状态', 'description' => '', 'type' => 'string', 'enumValueTitles' => [ 'running' => 'running', 'queuing' => 'queuing', 'created' => 'created', 'success' => 'success', 'error' => 'error', ], 'example' => 'running', ], 'createdAt' => [ 'title' => '任务创建时间', 'description' => '', 'type' => 'string', 'example' => '2025-12-02T17:36:12'."\n", ], 'errorMsg' => [ 'title' => '错误信息', 'description' => '', 'type' => 'string', 'example' => 'error message', ], ], ], ], 'total' => [ 'title' => '任务总数', 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '2', ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"2D693121-C925-5154-8DF6-C09A8B369822\\\\n\\",\\n \\"message\\": \\"SysomOpenAPIException: SysomOpenAPI.InvalidParameter Invalid params, should be json string or dict\\",\\n \\"code\\": \\"Success\\",\\n \\"data\\": [\\n {\\n \\"taskId\\": \\"bbe94a98-4192-4172-b856-95777e0a55d7\\\\n\\",\\n \\"taskType\\": \\"vmcore\\",\\n \\"taskStatus\\": \\"running\\",\\n \\"createdAt\\": \\"2025-12-02T17:36:12\\\\n\\",\\n \\"errorMsg\\": \\"error message\\"\\n }\\n ],\\n \\"total\\": 2\\n}","type":"json"}]', ], 'CpuHighAgentStreamResponse' => [ 'summary' => 'cpu高agent流式接口', 'path' => '/api/v1/highCpuAgent/streamResponse', 'methods' => [ 'post', ], 'schemes' => [ 'https', 'sse', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/octet-stream', ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREalinuxGP5QJE', ], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'llmParamString' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '', ], ], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'requestId' => [ 'title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '2D693121-C925-5154-8DF6-C09A8B369822'."\n", ], 'code' => [ 'description' => '', 'type' => 'string', 'example' => 'Success', ], 'message' => [ 'description' => '', 'type' => 'string', 'example' => 'SysomOpenAPIAssumeRoleException: EntityNotExist.Role The role not exists: acs:ram::xxxxx:role/aliyunserviceroleforsysom', ], 'data' => [ 'description' => '', 'type' => 'string', 'example' => '', ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"2D693121-C925-5154-8DF6-C09A8B369822\\\\n\\",\\n \\"code\\": \\"Success\\",\\n \\"message\\": \\"SysomOpenAPIAssumeRoleException: EntityNotExist.Role The role not exists: acs:ram::xxxxx:role/aliyunserviceroleforsysom\\",\\n \\"data\\": \\"\\"\\n}","type":"json"}]', ], ], 'endpoints' => [ [ 'regionId' => 'cn-hangzhou', 'endpoint' => 'sysom.cn-hangzhou.aliyuncs.com', ], ], ];