'1.0',
'info' => ['style' => 'ROA', 'product' => 'GEMP', 'version' => '2021-04-13'],
'directories' => [
[
'children' => ['CreateIntegrationConfig', 'DisableIntegrationConfig', 'EnableIntegrationConfig', 'GetIntegrationConfig', 'ListIntegrationConfigs', 'ListIntegrationConfigTimelines', 'ConfirmIntegrationConfig', 'DeleteIntegrationConfig', 'UpdateIntegrationConfig', 'RefreshIntegrationConfigKey'],
'type' => 'directory',
'title' => 'Integration configuration',
],
[
'children' => ['GetUserGuideStatus', 'UpdateUserGuideStatus', 'ListUserSerivceGroups'],
'type' => 'directory',
'title' => 'Personnel',
],
[
'children' => ['ListServiceGroupMonitorSourceTemplates', 'ListDataReportForServiceGroup', 'CheckWebhook', 'EnableServiceGroupWebhook', 'CreateServiceGroup', 'DeleteServiceGroup', 'DeleteServiceGroupUser', 'GetServiceGroup', 'ListServiceGroups', 'UpdateServiceGroup', 'DisableServiceGroupWebhook'],
'type' => 'directory',
'title' => 'Service groups',
],
[
'children' => ['GetServiceGroupSpecialPersonScheduling', 'GetServiceGroupSchedulingPreview', 'GetServiceGroupPersonScheduling', 'CreateServiceGroupScheduling', 'GetServiceGroupScheduling', 'UpdateServiceGroupSpecialDayScheduling', 'UpdateServiceGroupScheduling'],
'type' => 'directory',
'title' => 'Scheduling',
],
[
'children' => ['CreateRouteRule', 'DeleteRouteRule', 'DisableRouteRule', 'EnableRouteRule', 'GetRouteRule', 'ListRouteRules', 'UpdateRouteRule', 'VerifyRouteRule'],
'type' => 'directory',
'title' => 'Routing rules',
],
[
'children' => [
'CreateIncidentSubtotal',
'ListIncidentSubtotals',
'GetIncidentListByIdList',
'DeleteIncident',
'CreateIncident',
'DeliverIncident',
'GetIncidentStatistics',
'FinishIncident',
'UpdateIncident',
'RespondIncident',
'ListIncidentDetailTimelines',
[
'children' => ['GetIncidentSubtotalCount', 'GetSimilarIncidentStatistics'],
'type' => 'directory',
'title' => 'Similar events',
],
],
'type' => 'directory',
'title' => 'Events',
],
[
'children' => ['ListTrendForSourceEvent', 'ListSourceEventsForMonitorSource', 'ListSourceEvents', 'GetEvent'],
'type' => 'directory',
'title' => 'Alerts',
],
[
'children' => [
'GeneratePictureUploadSign', 'ListProblemDetailOperations', 'UpdateProblemImprovement', 'ListSubscriptionServiceGroups', 'CreateProblem', 'CreateProblemMeasure', 'CreateProblemSubtotal', 'CreateProblemTimeline', 'CreateProblemTimelines', 'AddProblemServiceGroup', 'UpdateProblem', 'UpdateProblemNotice', 'UpdateProblemTimeline', 'GenerateProblemPictureUploadSign', 'ListProblemOperations', 'ListProblems', 'ListProblemSubtotals', 'CancelProblem', 'FinishProblem', 'RecoverProblem',
'ReplayProblem', 'RevokeProblemRecovery', 'GenerateProblemPictureLink', 'UpdateProblemEffectionService', 'DeleteProblemEffectionService', 'UpdateProblemMeasure', 'DeleteProblem', 'GetProblem', 'GetProblemImprovement', 'DeleteProblemMeasure', 'DeleteProblemTimeline', 'ListProblemTimeLines', 'GetProblemEffectionService', 'GetProblemPreview', 'RemoveProblemServiceGroup', 'CreateProblemEffectionService',
],
'type' => 'directory',
'title' => 'Incidents',
],
[
'children' => ['GetResourceStatistics', 'ListConfigs', 'ListDictionaries', 'ListMonitorSources'],
'type' => 'directory',
'title' => 'Global configuration',
],
[
'children' => ['CreateTenantApplication', 'GetTenantApplication'],
'type' => 'directory',
'title' => 'Mobile applications',
],
[
'children' => ['PushMonitor'],
'type' => 'directory',
'title' => 'Business monitoring',
],
[
'children' => ['ListEscalationPlanServices', 'CreateEscalationPlan', 'DeleteEscalationPlan', 'DisableEscalationPlan', 'EnableEscalationPlan', 'GetEscalationPlan', 'ListEscalationPlans', 'UpdateEscalationPlan'],
'type' => 'directory',
'title' => 'Upgrade plans',
],
[
'children' => ['CreateRichText', 'GetRichText', 'UpdateRichText'],
'type' => 'directory',
'title' => 'Rich text',
],
[
'children' => [
'ListIncidentDetailEscalationPlans', 'GetHomePageGuidance', 'ListChartDataForServiceGroup', 'ListDataReportForUser', 'ListChartDataForUser', 'GeneratePictureLink', 'RemoveIntegrationConfig', 'ListByMonitorSourceId', 'ListRouteRulesByService', 'GetTenantStatus', 'BillingStatistics', 'DeleteServiceGroupScheduling', 'ListEscalationPlansByNoticeObject', 'UnbindUser', 'ListRouteRulesByAssignWhoId', 'ListServiceGroupsByUserId', 'CreateService', 'CreateSubscription', 'CreateUser', 'DeleteService',
'DeleteSubscription', 'DeleteUser', 'DisableSubscription', 'EnableSubscription', 'GetIncident', 'GetService', 'GetSubscription', 'GetUser', 'ListAlerts', 'ListIncidentTimelines', 'ListIncidents', 'ListServices', 'ListSubscriptions', 'ListUsers', 'UpdateService', 'UpdateSubscription', 'UpdateUser',
],
'type' => 'directory',
'title' => 'Others',
],
],
'components' => [
'schemas' => [],
],
'apis' => [
'AddProblemServiceGroup' => [
'summary' => 'Adds a new problem emergency collaboration group.',
'path' => '/problem/addServiceGroup',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempZVI8H5'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'Request body.',
'properties' => [
'problemId' => ['description' => 'Problem ID.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'required' => false, 'example' => '10'],
'serviceGroupIds' => [
'description' => 'Emergency collaboration group.',
'items' => ['description' => 'Emergency collaboration group ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '应急协同组ID', 'required' => false, 'title' => ''],
'required' => false,
'title' => '',
'type' => 'array',
'example' => '',
],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Response structure.',
'properties' => [
'requestId' => ['title' => 'Id of the request', 'description' => 'Request ID.', 'type' => 'string', 'example' => '5AD6E6BC-2582-4E0E-832D-52CB1B922253'],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"5AD6E6BC-2582-4E0E-832D-52CB1B922253\\"\\n}","type":"json"}]',
'title' => 'Create an incident emergency collaboration group',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'gemp:AddProblemServiceGroup',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddProblemServiceGroup'],
],
],
],
'BillingStatistics' => [
'summary' => 'Billing display',
'path' => '/charging/details',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempV73LIB'],
],
'parameters' => [],
'responses' => [
200 => [
'schema' => [
'description' => 'Response structure.',
'type' => 'object',
'properties' => [
'data' => [
'description' => 'Return result.',
'type' => 'object',
'properties' => [
'ruleCount' => ['description' => 'Total number of transfer rules.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => ''],
'ruleCountFree' => ['description' => 'Number of free transfer rules.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => ''],
'subscriptionNotifyCount' => ['description' => 'Number of subscription notifications.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => ''],
'subscriptionNotifyCountFree' => ['description' => 'Number of free subscription notifications.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => ''],
'escalationPlanCount' => ['description' => 'Number of escalation policies.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => ''],
'escalationPlanCountFree' => ['description' => 'Number of free escalation policies.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => ''],
'hasScheduleServiceGroupCount' => ['description' => 'Number of service schedules.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => ''],
'hasScheduleServiceGroupCountFree' => ['description' => 'Number of free service schedules.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => ''],
'appUserCount' => ['description' => 'Number of Cloud DingTalk collaborations.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => ''],
'appUserCountFree' => ['description' => 'Number of free Cloud DingTalk collaboration users.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => ''],
'eventReportApi' => ['description' => 'Alert reporting.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => ''],
'eventReportApiFree' => ['description' => 'Number of free alert reports.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => ''],
'smsSend' => ['description' => 'Number of text messages.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => ''],
'smsSendFree' => ['description' => 'Number of free text messages.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => ''],
'voiceSend' => ['description' => 'Number of calls.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => ''],
'voiceSendFree' => ['description' => 'Number of free calls.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => ''],
'emailSend' => ['description' => 'Number of emails.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => ''],
'emailSendFree' => ['description' => 'Number of free emails.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => ''],
'imMsgSend' => ['description' => 'Number of instant messages.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => ''],
'imMsgSendFree' => ['description' => 'Number of free instant messages.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => ''],
'type' => ['description' => 'Query status under system control:'."\n"
."\n"
.'- true: Enable database query.'."\n"
."\n"
.'- false: Disable database query.', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
],
'title' => '',
'example' => '',
],
'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '4A83AF20-B471-5646-A2CA-2DC688A13013', 'title' => ''],
],
'title' => '',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": {\\n \\"ruleCount\\": 0,\\n \\"ruleCountFree\\": 0,\\n \\"subscriptionNotifyCount\\": 0,\\n \\"subscriptionNotifyCountFree\\": 0,\\n \\"escalationPlanCount\\": 0,\\n \\"escalationPlanCountFree\\": 0,\\n \\"hasScheduleServiceGroupCount\\": 0,\\n \\"hasScheduleServiceGroupCountFree\\": 0,\\n \\"appUserCount\\": 0,\\n \\"appUserCountFree\\": 0,\\n \\"eventReportApi\\": 0,\\n \\"eventReportApiFree\\": 0,\\n \\"smsSend\\": 0,\\n \\"smsSendFree\\": 0,\\n \\"voiceSend\\": 0,\\n \\"voiceSendFree\\": 0,\\n \\"emailSend\\": 0,\\n \\"emailSendFree\\": 0,\\n \\"imMsgSend\\": 0,\\n \\"imMsgSendFree\\": 0,\\n \\"type\\": true\\n },\\n \\"RequestId\\": \\"4A83AF20-B471-5646-A2CA-2DC688A13013\\"\\n}","type":"json"}]',
'title' => 'Billing Display',
'changeSet' => [
['createdAt' => '2022-07-14T14:03:56.000Z', 'description' => 'Request parameters changed'],
['createdAt' => '2022-07-14T13:13:04.000Z', 'description' => 'OpenAPI offline'],
],
'ramActions' => [
[
'operationType' => 'none',
'ramAction' => [
'action' => 'gemp:BillingStatistics',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'BillingStatistics'],
],
],
],
'CancelProblem' => [
'summary' => 'Fault cancellation.',
'path' => '/problem/cancel',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempWLQJXL'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'The request body.',
'properties' => [
'problemId' => ['description' => 'The problem ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '312', 'title' => '', 'required' => false],
'cancelReasonDescription' => ['description' => 'The description of the cancellation reason.', 'type' => 'string', 'example' => '原因描述', 'title' => '', 'required' => false],
'cancelReason' => ['description' => 'The cancellation reason.', 'type' => 'integer', 'format' => 'int64', 'example' => '取消原因', 'title' => '', 'required' => false],
'problemNotifyType' => ['description' => '- PROBLEM\\_NOTIFY: Notification type.'."\n"
."\n"
.'- PROBLEM\\_NOTIFY: Problem notification.'."\n"
."\n"
.'- PROBLEM\\_UPDATE: Problem update.'."\n"
."\n"
.'- PROBLEM\\_UPGRADE: Problem upgrade.'."\n"
."\n"
.'- PROBLEM\\_DEGRADE: Problem downgrade.'."\n"
."\n"
.'- PROBLEM\\_RECOVER: Problem recovery.'."\n"
."\n"
.'- PROBLEM\\_REISSUE: Problem reissue.'."\n"
."\n"
.'- PROBLEM\\_CANCEL: Problem cancellation.', 'type' => 'integer', 'format' => 'int64', 'example' => 'PROBLEM_NOTIFY', 'title' => '', 'required' => false],
'clientToken' => ['description' => 'The idempotence token.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '4361a0e1-6747-4834-96ce-0c4840fd3812'],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'The response structure.',
'properties' => [
'requestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'B81E84B5-8FD1-45F3-969A-B5067AADCFFF'],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'ProblemStatusError', 'errorMessage' => 'The problem status is abnormal.', 'description' => ''],
],
404 => [
['errorCode' => 'ProblemNotExisted', 'errorMessage' => 'The problem does not exist.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"B81E84B5-8FD1-45F3-969A-B5067AADCFFF\\"\\n}","type":"json"}]',
'title' => 'Cancel a fault',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'gemp:CancelProblem',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CancelProblem'],
],
],
],
'CheckWebhook' => [
'summary' => 'Validate the validity of the webhook URL. ',
'path' => '/services/check/webhook',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempU4CBQS'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'A short description of struct',
'example' => 'body',
'properties' => [
'clientToken' => ['description' => 'Idempotency validation. ', 'example' => 'FD200FAE-E98F-496E-BFE6-4CE61E59A2E9', 'required' => false, 'title' => '', 'type' => 'string'],
'webhook' => ['description' => 'Webhook URL. ', 'example' => 'https://oapi.dingtalk.com/robot/send?access_token=XXX', 'required' => false, 'title' => '', 'type' => 'string'],
'webhookType' => ['description' => 'Webhook URL type: '."\n"
.'- WeCom: WEIXIN_GROUP. '."\n"
.'- DingTalk group: DING_GROUP. '."\n"
.'- Lark group: FEISHU_GROUP. ', 'example' => 'DING_GROUP', 'required' => false, 'title' => '', 'type' => 'string'],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Schema of Response',
'properties' => [
'requestId' => ['description' => 'Id of the request', 'example' => 'FD200FAE-E98F-496E-BFE6-4CE61E59A2E9', 'title' => 'Id of the request', 'type' => 'string'],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'errorCodes' => [
403 => [
['errorCode' => 'WebhookVerificationError', 'errorMessage' => 'A webhook verification error occurred.', 'description' => ''],
['errorCode' => 'WebhookAddressFormatError', 'errorMessage' => 'The webhook address format is invalid.', 'description' => ''],
['errorCode' => 'WebhookAccessRestricts', 'errorMessage' => 'Traffic is restricted for webhook access.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"FD200FAE-E98F-496E-BFE6-4CE61E59A2E9\\"\\n}","type":"json"}]',
'title' => 'Validate webhook ',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'none',
'ramAction' => [
'action' => 'gemp:CheckWebhook',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CheckWebhook'],
],
],
],
'ConfirmIntegrationConfig' => [
'summary' => 'Confirm the integration configuration. ',
'path' => '/integrationConfig/confirm',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempRI7VNP'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'A short description of struct',
'properties' => [
'integrationConfigId' => ['description' => 'Integration configuration ID. ', 'example' => '101', 'format' => 'int64', 'required' => false, 'type' => 'integer', 'title' => ''],
'clientToken' => ['description' => 'Idempotency token. ', 'example' => '601FA6A2-AC5C-4B59-BE11-378F887A6A11', 'required' => false, 'title' => '', 'type' => 'string'],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Schema of Response',
'properties' => [
'requestId' => ['description' => 'Id of the request', 'example' => '601FA6A2-AC5C-4B59-BE11-378F887A6A11', 'type' => 'string', 'title' => ''],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'errorCodes' => [
403 => [
['errorCode' => 'IntegationConfigAlreadyIntegrated', 'errorMessage' => 'The specified integration config is already integrated.', 'description' => ''],
],
[
['errorCode' => 'IntegationConfigNotExists', 'errorMessage' => 'The specified integration config does not exist.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"601FA6A2-AC5C-4B59-BE11-378F887A6A11\\"\\n}","type":"json"}]',
'title' => 'Confirm Integration Configuration ',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'none',
'ramAction' => [
'action' => 'gemp:ConfirmIntegrationConfig',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ConfirmIntegrationConfig'],
],
],
],
'CreateEscalationPlan' => [
'summary' => 'Create an escalation plan.',
'path' => '/escalationPlan/create',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempGUN0ZL'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'A short description of struct',
'properties' => [
'escalationPlanName' => ['description' => 'Escalation plan name.', 'example' => 'name123', 'required' => true, 'title' => '', 'type' => 'string'],
'escalationPlanDescription' => ['description' => 'Escalation plan description.', 'example' => 'desc2322424', 'required' => true, 'title' => '', 'type' => 'string'],
'escalationPlanScopeObjects' => [
'description' => 'List of escalation plan scope objects.',
'items' => [
'description' => 'object',
'properties' => [
'scopeObjectId' => ['description' => 'Scope object ID.', 'example' => '23433', 'format' => 'int64', 'required' => true, 'title' => '', 'type' => 'integer'],
'scope' => ['description' => 'Scope object type.', 'example' => 'SERVICE', 'required' => false, 'title' => '', 'type' => 'string'],
],
'required' => true,
'type' => 'object',
'title' => '',
'example' => '',
],
'required' => true,
'title' => '',
'type' => 'array',
'example' => '',
],
'escalationPlanRules' => [
'description' => 'List of escalation plan rules.',
'items' => [
'description' => 'object',
'properties' => [
'escalationPlanConditions' => [
'description' => 'Escalation conditions.',
'items' => [
'description' => 'object',
'properties' => [
'level' => ['description' => 'Management event Level. Valid values: P1 to P4, where P1 is the highest Priority and P4 is the lowest. ', 'example' => 'P1', 'required' => true, 'title' => '', 'type' => 'string'],
'effection' => ['description' => 'Impact level. Valid values: '."\n"
."\n"
.'- HIGH: High '."\n"
.'- LOW: Low', 'example' => 'LOW', 'required' => true, 'title' => '', 'type' => 'string'],
],
'required' => true,
'type' => 'object',
'title' => '',
'example' => '',
],
'required' => true,
'title' => '',
'type' => 'array',
'example' => '',
],
'escalationPlanStrategies' => [
'description' => 'Upgrade policy. ',
'items' => [
'description' => 'object',
'properties' => [
'noticeTime' => ['description' => 'Notification time.', 'example' => '40', 'required' => true, 'title' => '', 'type' => 'string'],
'noticeObjects' => [
'description' => 'List of escalation notification object IDs. ',
'items' => ['description' => 'Notification object. ', 'example' => '23', 'format' => 'int64', 'required' => false, 'type' => 'integer', 'title' => ''],
'required' => true,
'title' => '',
'type' => 'array',
'example' => '',
],
'noticeChannels' => [
'description' => 'Escalation notification policy.',
'items' => ['description' => 'List of notification channels. ', 'example' => '["SMS","PHONE"]', 'required' => true, 'type' => 'string', 'title' => ''],
'required' => true,
'title' => '',
'type' => 'array',
'example' => '',
],
'enableWebhook' => ['description' => 'Whether webhook is enabled. '."\n"
."\n"
.'- true: Yes '."\n"
.'- false: No ', 'example' => 'true', 'required' => true, 'title' => '', 'type' => 'boolean'],
'serviceGroupIds' => [
'description' => 'Service group ID. ',
'items' => ['description' => 'Service group ID. ', 'example' => '434', 'format' => 'int64', 'required' => false, 'type' => 'integer', 'title' => ''],
'required' => false,
'title' => '',
'type' => 'array',
'example' => '',
],
'escalationPlanType' => ['description' => 'The escalation type. ', 'title' => 'Escalation Type ', 'type' => 'string', 'required' => false, 'example' => 'UN_FINISH'],
'noticeRoleList' => [
'description' => 'The list of roles to notify. ',
'title' => 'Notification Role List ',
'type' => 'array',
'items' => ['description' => 'The list of roles. ', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10asqwqwwqwq', 'title' => ''],
'required' => false,
'example' => '',
],
],
'required' => true,
'type' => 'object',
'title' => '',
'example' => '',
],
'required' => true,
'title' => '',
'type' => 'array',
'example' => '',
],
'escalationPlanType' => ['description' => 'The escalation type (deprecated; this parameter can be left blank). ', 'example' => 'UN_FINISH', 'required' => false, 'title' => '', 'type' => 'string'],
],
'required' => true,
'type' => 'object',
'title' => '',
'example' => '',
],
'required' => true,
'title' => '',
'type' => 'array',
'example' => '',
],
'clientToken' => ['description' => 'clientToken', 'example' => '6b404f14-****-4b53-a1a1-30a58bREQUEST', 'required' => false, 'title' => 'clientToken', 'type' => 'string'],
'isGlobal' => ['description' => 'Indicates whether the policy is global. '."\n"
.'- true: Yes '."\n"
.'- false: No', 'title' => 'Is Global Policy', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Schema of Response',
'properties' => [
'requestId' => ['description' => 'Id of the request', 'example' => 'A5A1FEAE-9C47-011C-9C73-A376BC21925D', 'title' => 'Id of the request', 'type' => 'string'],
'data' => [
'description' => 'data',
'properties' => [
'escalationPlanId' => ['description' => 'Escalation plan ID.', 'example' => '234532', 'format' => 'int64', 'title' => '', 'type' => 'integer'],
],
'title' => 'data',
'type' => 'object',
'example' => '',
],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'EscalationPlanRuleNull', 'errorMessage' => 'Escalation plan rule can not be null.', 'description' => ''],
['errorCode' => 'EscalationPlanServiceNull', 'errorMessage' => 'Escalation plan service can not be nulll', 'description' => ''],
['errorCode' => 'EscalationPlanAlreadyExisted', 'errorMessage' => 'The escalation plan already exists.', 'description' => ''],
['errorCode' => 'EscalationPlanServiceAleardyRelated', 'errorMessage' => 'The specified service is already related.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"A5A1FEAE-9C47-011C-9C73-A376BC21925D\\",\\n \\"data\\": {\\n \\"escalationPlanId\\": 234532\\n }\\n}","type":"json"}]',
'title' => 'Create an escalation plan',
'changeSet' => [
['createdAt' => '2023-04-13T12:01:53.000Z', 'description' => 'Request parameters changed'],
['createdAt' => '2023-03-03T02:18:07.000Z', 'description' => 'Request parameters changed'],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'gemp:CreateEscalationPlan',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateEscalationPlan'],
],
],
],
'CreateIncident' => [
'summary' => 'Manually create an incident.',
'path' => '/incident/manualSave',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempKAIUZH'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'body',
'properties' => [
'incidentLevel' => ['description' => 'Event level: P1, P2, P3, P4', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'P1'],
'clientToken' => ['description' => 'Idempotency token', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '2b63cdef-7ac3-4892-a76d-0f3389ef729f'],
'relatedServiceId' => ['description' => 'Service ID', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'required' => false, 'example' => '12312'],
'effect' => ['description' => 'Impact level: HIGH, LOW', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'LOW'],
'incidentTitle' => ['description' => 'Incident title', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '事件标题A'],
'assignUserId' => ['description' => 'Assignee ID', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'required' => false, 'example' => '12312'],
'incidentDescription' => ['description' => 'Incident description', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '事件描述B'],
'channels' => [
'description' => 'Notification channels
'."\n"
.'SMS (text message), EMAIL (email)
'."\n"
.'PHONE (phone call), WEIXIN\\_GROUP (WeCom group), DING\\_GROUP (DingTalk group), WEBHOOK (webhook notification)
',
'items' => ['description' => 'Notification channel', 'type' => 'string', 'example' => 'SMS', 'required' => false, 'title' => ''],
'required' => false,
'title' => '',
'type' => 'array',
'example' => '',
],
'serviceGroupId' => ['description' => '12000', 'type' => 'integer', 'format' => 'int64', 'example' => '服务组id', 'title' => '', 'required' => false],
],
'required' => false,
'type' => 'object',
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Schema of Response',
'properties' => [
'data' => [
'description' => 'Id of the request',
'properties' => [
'incidentId' => ['description' => 'Incident primary key ID', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '事件Id'],
],
'title' => 'Id of the request',
'type' => 'object',
'example' => '',
],
'requestId' => ['title' => 'requestId', 'description' => 'requestId', 'type' => 'string', 'example' => 'FD200FAE-E98F-496E-BFE6-4CE61E59A2E9'],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'errorCodes' => [
404 => [
['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified Resource is not found.', 'description' => 'The specified Resource is not found.'],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": {\\n \\"incidentId\\": 0\\n },\\n \\"requestId\\": \\"FD200FAE-E98F-496E-BFE6-4CE61E59A2E9\\"\\n}","type":"json"}]',
'title' => 'Manually create a management event',
'changeSet' => [
['createdAt' => '2021-07-16T04:09:41.000Z', 'description' => 'Request parameters changed'],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'gemp:CreateIncident',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateIncident'],
],
],
],
'CreateIncidentSubtotal' => [
'summary' => 'Add a subtotal to a management event.',
'path' => '/incident/save/subtotal',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempHBPHMV'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'body',
'properties' => [
'incidentId' => ['description' => 'Management event ID.', 'example' => '12312', 'format' => 'int64', 'required' => true, 'title' => '', 'type' => 'integer'],
'description' => ['description' => 'Description.', 'example' => '描述', 'required' => false, 'title' => '', 'type' => 'string'],
'clientToken' => ['description' => 'Idempotency validation.', 'example' => 'FD200FAE-E98F-496E-BFE6-4CE61E59A2E9', 'required' => false, 'title' => '', 'type' => 'string'],
],
'required' => false,
'type' => 'object',
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Schema of Response',
'properties' => [
'requestId' => ['description' => 'requestId', 'example' => 'FD200FAE-E98F-496E-BFE6-4CE61E59A2E9', 'title' => 'requestId', 'type' => 'string'],
'data' => [
'description' => 'data',
'properties' => [
'subtotalId' => ['description' => 'Subtotal ID.', 'example' => '123', 'format' => 'int64', 'title' => '', 'type' => 'integer'],
],
'type' => 'object',
'title' => '',
'example' => '',
],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'IncidentStatusInvalid', 'errorMessage' => 'The incident status is invalid.', 'description' => ''],
['errorCode' => 'IncidentUpdateInvalid', 'errorMessage' => 'The incident update is invalid.', 'description' => ''],
],
404 => [
['errorCode' => 'IncidentNotExtisted', 'errorMessage' => 'The incident does not exist.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"FD200FAE-E98F-496E-BFE6-4CE61E59A2E9\\",\\n \\"data\\": {\\n \\"subtotalId\\": 123\\n }\\n}","type":"json"}]',
'title' => 'Add a subtotal to a management event',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'gemp:CreateIncidentSubtotal',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateIncidentSubtotal'],
],
],
],
'CreateIntegrationConfig' => [
'summary' => 'Create an integration configuration. ',
'path' => '/integrationConfig/create',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempBHVB81'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'body',
'properties' => [
'monitorSourceId' => ['description' => 'Monitoring source ID. ', 'example' => '23469', 'format' => 'int64', 'required' => false, 'type' => 'integer', 'title' => ''],
'clientToken' => ['description' => 'Idempotency token. ', 'example' => '601FA6A2-AC5C-4B59-BE11-378F887A6A11', 'required' => false, 'type' => 'string', 'title' => ''],
],
'required' => false,
'type' => 'object',
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Schema of Response',
'properties' => [
'requestId' => ['description' => 'id of the request', 'example' => '601FA6A2-AC5C-4B59-BE11-378F887A6A11', 'type' => 'string', 'title' => ''],
'data' => [
'description' => 'data',
'properties' => [
'integrationConfigId' => ['description' => 'Integration configuration ID. ', 'example' => '101', 'format' => 'int64', 'title' => '', 'type' => 'integer'],
],
'type' => 'object',
'title' => '',
'example' => '',
],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'errorCodes' => [
403 => [
['errorCode' => 'IntegationConfigAlreadyExists', 'errorMessage' => 'The specified integration config already exists.', 'description' => ''],
['errorCode' => 'CreateIntegrationConfigFail', 'errorMessage' => 'Failed to create integration config.', 'description' => ''],
],
[
['errorCode' => 'MonitorSourceNotExists', 'errorMessage' => 'The specified monitor source does not exist.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"601FA6A2-AC5C-4B59-BE11-378F887A6A11\\",\\n \\"data\\": {\\n \\"integrationConfigId\\": 101\\n }\\n}","type":"json"}]',
'title' => 'Create Integration Configuration ',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'gemp:CreateIntegrationConfig',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateIntegrationConfig'],
],
],
],
'CreateProblem' => [
'summary' => 'A new fault has occurred.',
'path' => '/problem/upgrade',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempZB7ZAW'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'Request body.',
'properties' => [
'problemName' => ['description' => 'Problem name.', 'type' => 'string', 'example' => '故障A', 'title' => '', 'required' => false],
'clientToken' => ['description' => 'Idempotent check token.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'E789D869-DB13-4913-BAA8-A1F56F94B94D'],
'problemStatus' => ['description' => 'Problem status:'."\n"
."\n"
.'- HANDLING: In progress.'."\n"
."\n"
.'- RECOVERED: Recovered.'."\n"
."\n"
.'- REPLAYING: Replaying.'."\n"
."\n"
.'- REPLAYED: Replayed.'."\n"
."\n"
.'- CANCEL: Canceled.', 'type' => 'string', 'example' => 'HANDLING', 'title' => '', 'required' => false],
'problemLevel' => ['description' => 'Problem level in descending order:'."\n"
."\n"
.'- P1'."\n"
."\n"
.'- P2'."\n"
."\n"
.'- P3'."\n"
."\n"
.'- P4', 'type' => 'string', 'example' => 'P2', 'title' => '', 'required' => false],
'progressSummary' => ['description' => 'Progress summary.', 'type' => 'string', 'example' => '进展摘要', 'title' => '', 'required' => false],
'relatedServiceId' => ['description' => 'Service ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '123122', 'title' => '', 'required' => false],
'mainHandlerId' => ['description' => 'Main handler.', 'type' => 'integer', 'format' => 'int64', 'example' => '32121', 'title' => '', 'required' => false],
'preliminaryReason' => ['description' => 'Preliminary reason.', 'type' => 'string', 'example' => '初步原因', 'title' => '', 'required' => false],
'discoverTime' => ['description' => 'Discovery time.', 'type' => 'string', 'example' => '2020-10-02 00:00:00', 'title' => '', 'required' => false],
'recoveryTime' => ['description' => 'Recovery time.', 'type' => 'string', 'example' => '2020-10-02 00:00:00', 'title' => '', 'required' => false],
'affectServiceIds' => [
'description' => 'List of affected services.',
'items' => ['description' => 'Affected service ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '1232231', 'required' => false, 'title' => ''],
'required' => false,
'title' => '',
'type' => 'array',
'example' => '',
],
'serviceGroupIds' => [
'description' => 'Emergency collaboration group.',
'items' => ['description' => 'Service group ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '213121', 'required' => false, 'title' => ''],
'required' => false,
'title' => '',
'type' => 'array',
'example' => '',
],
'incidentId' => ['description' => 'Event ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '123221', 'title' => '', 'required' => false],
'problemNotifyType' => ['description' => 'Notification type.', 'type' => 'string', 'example' => 'PROBLEM_NOTIFY', 'title' => '', 'required' => false],
'progressSummaryRichTextId' => ['description' => 'Progress description rich text ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '343', 'title' => '', 'required' => false],
],
'required' => false,
'type' => 'object',
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Response structure.',
'properties' => [
'requestId' => ['title' => 'Id of the request', 'description' => 'Request ID.', 'type' => 'string', 'example' => 'E789D869-DB13-4933-BAA8-A1F56F94B94D'],
'data' => [
'description' => 'Result.',
'properties' => [
'problemId' => ['description' => 'Problem ID.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '321331'],
],
'type' => 'object',
'title' => '',
'example' => '',
],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'errorCodes' => [
404 => [
['errorCode' => 'IncidentNotExtisted', 'errorMessage' => 'The incident does not exist.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"E789D869-DB13-4933-BAA8-A1F56F94B94D\\",\\n \\"data\\": {\\n \\"problemId\\": 321331\\n }\\n}","type":"json"}]',
'title' => 'Problem upgrade ',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'gemp:CreateProblem',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateProblem'],
],
],
],
'CreateProblemEffectionService' => [
'summary' => 'Create an impact service. ',
'path' => '/problem/process/effectionService/create',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempZVI8H5'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'A short description of struct',
'properties' => [
'serviceId' => ['description' => 'Impact service ID. ', 'example' => '185647232', 'format' => 'int64', 'required' => false, 'title' => '', 'type' => 'integer'],
'level' => ['description' => 'Impact level. ', 'example' => 'P1', 'required' => false, 'title' => '', 'type' => 'string'],
'status' => ['description' => 'Impact status: '."\n"
.'- 0: Not recovered. '."\n"
.'- 1: Recovered. ', 'example' => '0', 'required' => false, 'title' => '', 'type' => 'string'],
'description' => ['description' => 'Impact description. ', 'example' => '这是一个影响描述。', 'required' => false, 'title' => '', 'type' => 'string'],
'pictureUrl' => [
'description' => 'Image URLs. ',
'items' => ['description' => 'Image key. ', 'example' => 'problem/xxxxxxxssxxxa2c8-40b9-9162-08a6c2e338e2', 'required' => false, 'type' => 'string', 'title' => ''],
'required' => false,
'title' => '',
'type' => 'array',
'example' => '',
],
'problemId' => ['description' => 'Problem ID. ', 'example' => '164327640', 'format' => 'int64', 'required' => true, 'title' => '', 'type' => 'integer'],
'clientToken' => ['description' => 'clientToken', 'example' => 'e0b6735e-1a04-4d6b-a625-d2350612492c', 'required' => false, 'title' => 'clientToken', 'type' => 'string'],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Schema of Response',
'properties' => [
'requestId' => ['description' => 'id of the request', 'example' => 'c26f36de-1ec8-496a-a828-880676c5ef81', 'type' => 'string', 'title' => ''],
'data' => [
'description' => 'data',
'properties' => [
'effectionServiceId' => ['description' => 'Impact service ID. ', 'example' => '125647350', 'format' => 'int64', 'title' => '', 'type' => 'integer'],
],
'type' => 'object',
'title' => '',
'example' => '',
],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'EffectionServiceAlreadyExisted', 'errorMessage' => 'EffectionService already exists.', 'description' => ''],
],
404 => [
['errorCode' => 'ProblemNotExisted', 'errorMessage' => 'The problem does not exist.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"c26f36de-1ec8-496a-a828-880676c5ef81\\",\\n \\"data\\": {\\n \\"effectionServiceId\\": 125647350\\n }\\n}","type":"json"}]',
'title' => 'Create an impact service ',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'gemp:CreateProblemEffectionService',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateProblemEffectionService'],
],
],
],
'CreateProblemMeasure' => [
'summary' => 'Creates an improvement measure for a problem.',
'path' => '/problem/improvement/measure/save',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempLC8226'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'The request body.',
'properties' => [
'type' => ['description' => 'The type of the measure.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => '', 'required' => false],
'problemId' => ['description' => 'The ID of the problem.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '23', 'title' => ''],
'content' => ['description' => 'The content of the measure.', 'type' => 'string', 'example' => '措施内容', 'title' => '', 'required' => false],
'checkStandard' => ['description' => 'The acceptance criteria.', 'type' => 'string', 'example' => '标准', 'title' => '', 'required' => false],
'checkUserId' => ['description' => 'The ID of the user who accepts the measure.', 'type' => 'integer', 'format' => 'int64', 'example' => '123', 'title' => '', 'required' => false],
'planFinishTime' => ['description' => 'The planned completion time.', 'type' => 'string', 'example' => '2020-01-23 00:00:00', 'title' => '', 'required' => false],
'directorId' => ['description' => 'The ID of the owner.', 'type' => 'integer', 'format' => 'int64', 'example' => '123', 'title' => '', 'required' => false],
'stalkerId' => ['description' => 'The ID of the tracker.', 'type' => 'integer', 'format' => 'int64', 'example' => '123', 'title' => '', 'required' => false],
'status' => ['description' => 'The status of the measure. Valid values:'."\n"
."\n"
.'- IMPROVED'."\n"
."\n"
.'- UNIMPROVED', 'type' => 'string', 'example' => 'IMPROVED', 'title' => '', 'required' => false],
'clientToken' => ['description' => 'The idempotence token.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '4361a0e1-6747-4834-96ce-0c4840fd3812'],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'The response structure.',
'properties' => [
'requestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '4361a0e1-6747-4834-96ce-0c4840fd3812'],
'data' => [
'description' => 'The returned data.',
'properties' => [
'measureId' => ['description' => 'The ID of the improvement measure.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1231'],
],
'type' => 'object',
'title' => '',
'example' => '',
],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'errorCodes' => [
404 => [
['errorCode' => 'ProblemNotExisted', 'errorMessage' => 'The problem does not exist.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"4361a0e1-6747-4834-96ce-0c4840fd3812\\",\\n \\"data\\": {\\n \\"measureId\\": 1231\\n }\\n}","type":"json"}]',
'title' => 'Create a Fault Improvement Measure ',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'gemp:CreateProblemMeasure',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateProblemMeasure'],
],
],
],
'CreateProblemSubtotal' => [
'summary' => 'Add a subtotal note to a fault.',
'path' => '/problem/save/subtotal',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempZB7ZAW'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'A short description of struct',
'properties' => [
'problemId' => ['description' => 'Fault ID.', 'example' => '1231', 'format' => 'int64', 'required' => true, 'title' => '', 'type' => 'integer'],
'description' => ['description' => 'Subtotal text.', 'example' => '描述', 'required' => false, 'title' => '', 'type' => 'string'],
'clientToken' => ['description' => 'Idempotency validation token.', 'example' => '4361a0e1-6747-4834-96ce-0c4840fd3814', 'required' => false, 'title' => '', 'type' => 'string'],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Schema of Response',
'properties' => [
'requestId' => ['description' => 'Id of the request', 'example' => '4361a0e1-6747-4834-96ce-0c4840fd381A', 'title' => 'Id of the request', 'type' => 'string'],
'data' => [
'description' => 'object',
'properties' => [
'subtotalId' => ['description' => 'Subtotal ID.', 'example' => '123', 'format' => 'int64', 'title' => '', 'type' => 'integer'],
],
'type' => 'object',
'title' => '',
'example' => '',
],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'errorCodes' => [
404 => [
['errorCode' => 'ProblemNotExisted', 'errorMessage' => 'The problem does not exist.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"4361a0e1-6747-4834-96ce-0c4840fd381A\\",\\n \\"data\\": {\\n \\"subtotalId\\": 123\\n }\\n}","type":"json"}]',
'title' => 'Add a subtotal note to a fault',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'gemp:CreateProblemSubtotal',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateProblemSubtotal'],
],
],
],
'CreateProblemTimeline' => [
'summary' => 'Creates a problem timeline node.',
'path' => '/problem/process/timeline/create',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempZVI8H5'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'A short description of struct',
'properties' => [
'problemId' => ['description' => 'Problem ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '102', 'title' => ''],
'keyNode' => ['description' => 'Key node lookup table: PROBLEM\\_KEY\\_NODE', 'type' => 'string', 'required' => false, 'example' => 'PROBLEM_KEY_NODE', 'title' => ''],
'content' => ['description' => 'Node content', 'type' => 'string', 'example' => '时间线内容XXXX', 'title' => '', 'required' => false],
'time' => ['description' => 'Occurrence time', 'type' => 'string', 'example' => '2021-06-06 12:11:22', 'title' => '', 'required' => false],
'clientToken' => ['title' => 'clientToken', 'description' => 'Idempotent identity', 'type' => 'string', 'example' => '601FA6A2-AC5C-4B59-BE11-378FTOKENA11', 'required' => false],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Schema of Response',
'properties' => [
'requestId' => ['title' => 'id of the request', 'description' => 'id of the request', 'type' => 'string', 'example' => '10REQUES-AC5C-4B59-BE11-378F117A6A88'],
'data' => [
'description' => 'data',
'properties' => [
'problemTimelineId' => ['description' => 'Problem timeline ID', 'type' => 'integer', 'format' => 'int64', 'example' => '102', 'title' => ''],
],
'title' => 'Object',
'type' => 'object',
'example' => '',
],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'errorCodes' => [
404 => [
['errorCode' => 'ProblemNotExisted', 'errorMessage' => 'The problem does not exist.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"10REQUES-AC5C-4B59-BE11-378F117A6A88\\",\\n \\"data\\": {\\n \\"problemTimelineId\\": 102\\n }\\n}","type":"json"}]',
'title' => 'Create a fault timeline node',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'gemp:CreateProblemTimeline',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateProblemTimeline'],
],
],
],
'CreateProblemTimelines' => [
'summary' => 'Create time points in batch.',
'path' => '/problem/process/timeline/batchCreate',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempLC8226'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'A short description of struct',
'properties' => [
'problemId' => ['description' => 'Problem ID.', 'example' => '423', 'format' => 'int64', 'required' => true, 'title' => '', 'type' => 'integer'],
'timelineNodes' => ['description' => 'Timeline nodes.', 'example' => '2018-01-01 18:01,谁做了什么事情\\n2018-01-01 18:01,谁做了什么事情\\n2018-01-01 18:01,谁做了什么事情', 'required' => false, 'title' => '', 'type' => 'string'],
'clientToken' => ['description' => 'clientToken', 'example' => 'e0b6735e-1a04-4d6b-a625-d2350612492c', 'required' => false, 'title' => 'clientToken', 'type' => 'string'],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Schema of Response',
'properties' => [
'requestId' => ['description' => 'id of the request', 'example' => '10REQUES-AC5C-4B59-BE11-378F117A6A88', 'type' => 'string', 'title' => ''],
'data' => [
'description' => 'data',
'properties' => [
'problemTimelineIds' => [
'description' => 'List of timeline IDs.',
'items' => ['description' => 'Timeline ID.', 'example' => '435', 'format' => 'int64', 'type' => 'integer', 'title' => ''],
'type' => 'array',
'title' => '',
'example' => '',
],
],
'type' => 'object',
'title' => '',
'example' => '',
],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'errorCodes' => [
403 => [
['errorCode' => 'TimelineFormatException', 'errorMessage' => 'The timeline format is invalid.', 'description' => ''],
['errorCode' => 'TimeFormatException', 'errorMessage' => 'The time format is invalid.', 'description' => ''],
],
[
['errorCode' => 'ProblemNotExisted', 'errorMessage' => 'The problem does not exist.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"10REQUES-AC5C-4B59-BE11-378F117A6A88\\",\\n \\"data\\": {\\n \\"problemTimelineIds\\": [\\n 435\\n ]\\n }\\n}","type":"json"}]',
'title' => 'Create time points in batch.',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'gemp:CreateProblemTimelines',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateProblemTimelines'],
],
],
],
'CreateRichText' => [
'summary' => 'Creates a rich text.',
'path' => '/rich/create',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempHBPHMV'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'The request body.',
'properties' => [
'instanceId' => ['description' => 'The resource ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '140080050'."\n", 'title' => '', 'required' => false],
'instanceType' => ['description' => 'The resource type.'."\n"
."\n"
.'- INCIDENT: event.'."\n"
."\n"
.'- ALERT: alert.'."\n"
."\n"
.'- PROBLEM: problem.', 'type' => 'string', 'example' => 'INCIDENT', 'title' => '', 'required' => false],
'richText' => ['description' => 'The rich text content.', 'type' => 'string', 'example' => '这是一个富文本', 'title' => '', 'required' => false],
],
'required' => false,
'title' => 'body',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'The response structure.',
'properties' => [
'requestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '10REQUES-AC5C-4B59-BE11-378F117A6A88'],
'data' => [
'description' => 'The returned data.',
'properties' => [
'instanceId' => ['description' => 'The resource ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '140080050'."\n", 'title' => ''],
'instanceType' => ['description' => 'The resource type.'."\n"
."\n"
.'- 0: event.'."\n"
."\n"
.'- 1: alert.'."\n"
."\n"
.'- 2: problem.', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''],
'richText' => ['description' => 'The rich text content.', 'type' => 'string', 'example' => '这是一个富文本', 'title' => ''],
],
'title' => 'data',
'type' => 'object',
'example' => '',
],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"10REQUES-AC5C-4B59-BE11-378F117A6A88\\",\\n \\"data\\": {\\n \\"instanceId\\": 140080050,\\n \\"instanceType\\": 0,\\n \\"richText\\": \\"这是一个富文本\\"\\n }\\n}","type":"json"}]',
'title' => 'Create rich text',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'gemp:CreateRichText',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateRichText'],
],
],
],
'CreateRouteRule' => [
'summary' => 'Creates a routing rule.',
'path' => '/routeRule/save',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempLJVP1W'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'Parameters for creating a routing rule.',
'properties' => [
'ruleName' => ['description' => 'The name of the routing rule.', 'type' => 'string', 'required' => true, 'example' => '规则名称', 'title' => ''],
'enableStatus' => ['description' => 'Enable status:'."\n"
."\n"
.'- disable: Disable.'."\n"
."\n"
.'- enable: Enable.', 'type' => 'string', 'example' => 'enable', 'title' => '', 'required' => false],
'relatedServiceId' => ['description' => 'The ID of the associated service.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '100', 'title' => ''],
'routeType' => ['description' => 'Routing type:'."\n"
."\n"
.'- INCIDENT: Triggering event.'."\n"
."\n"
.'- ALERT: Trigger alerts only.', 'type' => 'string', 'required' => true, 'example' => 'INCIDENT', 'title' => ''],
'incidentLevel' => ['description' => 'Event level: P1, P2, P3, P4 in decreasing order.', 'type' => 'string', 'required' => true, 'example' => 'P1', 'title' => ''],
'assignObjectId' => ['description' => 'The ID of the event assignment object (service group ID or user ID).', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '65', 'title' => ''],
'assignObjectType' => ['description' => 'Event assignment object type:'."\n"
."\n"
.'- SERVICEGROUP: Service group.'."\n"
."\n"
.'- USER: Single user.', 'type' => 'string', 'required' => true, 'example' => 'SERVICEGROUP', 'title' => ''],
'effection' => ['description' => 'Impact level:'."\n"
."\n"
.'- LOW: General.'."\n"
."\n"
.'- HIGH: Critical.', 'type' => 'string', 'required' => true, 'example' => 'LOW', 'title' => ''],
'timeWindow' => ['description' => 'Time window.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '2', 'title' => ''],
'matchCount' => ['description' => 'Number of hits.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '3', 'title' => ''],
'timeWindowUnit' => ['description' => 'Time window unit:'."\n"
."\n"
.'- MINUTE: Minute.'."\n"
."\n"
.'- SECOND: Second.', 'type' => 'string', 'required' => true, 'example' => 'MINUTE', 'title' => ''],
'routeChildRules' => [
'description' => 'Array of child rules.',
'items' => [
'description' => 'Child rule.',
'properties' => [
'monitorSourceId' => ['description' => 'Monitoring source ID.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1', 'title' => ''],
'conditions' => [
'description' => 'List of matching conditions.',
'items' => [
'description' => 'Condition.',
'properties' => [
'key' => ['description' => 'Matching key.', 'type' => 'string', 'required' => true, 'example' => 'payload.summary', 'title' => ''],
'value' => ['description' => 'Matching value.', 'type' => 'string', 'required' => true, 'example' => '123', 'title' => ''],
'operationSymbol' => ['description' => 'Operator.', 'type' => 'string', 'required' => true, 'example' => 'equals', 'title' => ''],
],
'required' => true,
'type' => 'object',
'title' => '',
'example' => '',
],
'required' => true,
'title' => '',
'type' => 'array',
'example' => '',
],
'childConditionRelation' => ['description' => '- 0: AND.'."\n"
."\n"
.'- 1: OR.', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => '', 'required' => false],
'problemLevel' => ['title' => 'Problem Severity Level', 'description' => 'Problem level: P1, P2, P3, P4 in decreasing order.', 'type' => 'string', 'required' => false, 'example' => 'P1'],
],
'required' => true,
'type' => 'object',
'title' => '',
'example' => '',
],
'required' => true,
'title' => '',
'type' => 'array',
'example' => '',
],
'notifyChannels' => [
'description' => 'List of notification channels.',
'items' => ['description' => 'Notification channel:'."\n"
."\n"
.'- SMS: Text message.'."\n"
."\n"
.'- PHONE: Voice.'."\n"
."\n"
.'- EMAIL: Email.'."\n"
."\n"
.'- WEBHOOK: Group notification.', 'type' => 'string', 'required' => true, 'example' => '[SMS,PHONE]', 'title' => ''],
'required' => true,
'title' => '',
'type' => 'array',
'example' => '',
],
'clientToken' => ['description' => 'Idempotent token.', 'type' => 'string', 'example' => 'C4BE3837-1A13-413B-A225-2C88188E8A43', 'title' => '', 'required' => false],
'childRuleRelation' => ['description' => 'Child rule relation:'."\n"
."\n"
.'- AND: AND.'."\n"
."\n"
.'- OR: OR.', 'type' => 'string', 'required' => true, 'example' => 'AND', 'title' => ''],
'problemLevelGroup' => [
'description' => 'Problem level group.',
'additionalProperties' => [
'description' => 'Problem level.',
'type' => 'object',
'properties' => [
'childRuleRelation' => ['title' => 'Child Rule Relation, 0 for AND, 1 for OR ', 'description' => 'Child rule relation:'."\n"
."\n"
.'- 0: AND.'."\n"
."\n"
.'- 1: OR.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
'matchCount' => ['title' => 'Suppression: Hit count', 'description' => 'Suppression: Number of hits.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'],
'timeWindow' => ['title' => 'Suppression: Time Window ', 'description' => 'Suppression: Time window.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '5'],
'timeWindowUnit' => ['title' => 'Suppression: Time Window Unit ', 'description' => 'Suppression: Time window unit.', 'type' => 'string', 'required' => false, 'example' => 'M'],
'enableUpgrade' => ['title' => 'Upgrade: Whether to upgrade', 'description' => 'Upgrade: Enable upgrade.', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
'upgradeTimeWindow' => ['title' => 'Upgrade: Time window', 'description' => 'Upgrade: Time window.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '5'],
'upgradeTimeWindowUnit' => ['title' => 'Upgrade: Time Window Unit ', 'description' => 'Upgrade: Time window unit.', 'type' => 'string', 'required' => false, 'example' => 'M'],
],
'title' => '',
'example' => '',
],
'type' => 'object',
'required' => false,
'title' => '',
'example' => '',
],
'coverageProblemLevels' => [
'description' => 'Problem level coverage.',
'title' => 'Fault level overwrite ',
'type' => 'array',
'items' => ['description' => 'Problem level type.', 'type' => 'string', 'required' => false, 'example' => 'P1', 'title' => ''],
'required' => false,
'example' => '',
],
'problemEffectionServices' => [
'description' => 'Affected services.',
'title' => 'Services affected by the fault',
'type' => 'array',
'items' => ['description' => 'Affected service ID.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', 'title' => ''],
'required' => false,
'example' => '',
],
'convergenceFields' => [
'description' => 'Collection of convergence fields.',
'title' => 'Collection of convergence fields',
'type' => 'array',
'items' => ['description' => 'Collection of convergence fields.', 'type' => 'string', 'required' => false, 'example' => 'app', 'title' => ''],
'required' => false,
'example' => '',
],
'convergenceType' => ['title' => 'Convergence Type (0: Stream Rule Convergence, 1: Field Convergence) ', 'description' => 'Convergence type:'."\n"
."\n"
.'- 0: Routing rule convergence.'."\n"
."\n"
.'- 1: Field convergence.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '0'],
],
'required' => false,
'title' => '',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Response structure.',
'properties' => [
'requestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '请求ID', 'title' => ''],
'data' => [
'description' => 'Return result.',
'example' => '65',
'properties' => [
'routeRuleId' => ['description' => 'Rule ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''],
],
'title' => '',
'type' => 'object',
],
],
'title' => '',
'type' => 'object',
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'AddRouteRuleFail', 'errorMessage' => 'Failed to add the rule.', 'description' => ''],
['errorCode' => 'RouteRuleNameAlreadyExisted', 'errorMessage' => 'The rule name already exists.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"请求ID\\",\\n \\"data\\": {\\n \\"routeRuleId\\": 1000\\n }\\n}","type":"json"}]',
'title' => 'Create a stream routing rule ',
'changeSet' => [
['createdAt' => '2022-12-07T12:30:08.000Z', 'description' => 'Request parameters changed'],
['createdAt' => '2022-02-21T02:23:11.000Z', 'description' => 'Request parameters changed'],
['createdAt' => '2021-07-16T04:09:48.000Z', 'description' => 'Request parameters changed'],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'gemp:CreateRouteRule',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateRouteRule'],
],
],
],
'CreateService' => [
'summary' => 'Creates a service.',
'path' => '/services/save',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgemp1A354K'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'Request body.',
'properties' => [
'serviceDescription' => ['description' => 'Service description.', 'type' => 'string', 'example' => '服务描述', 'title' => '', 'required' => false],
'serviceName' => ['description' => 'Service name.', 'type' => 'string', 'required' => true, 'example' => '服务名字', 'title' => ''],
'clientToken' => ['description' => 'Idempotency token.', 'type' => 'string', 'example' => 'C4BE3837-1A13-413B-A225-2C88188E8A43', 'title' => '', 'required' => false],
'escalationPlanId' => ['title' => 'Upgrade policy ID ', 'description' => 'Upgrade policy ID.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '345'],
'serviceGroupIdList' => [
'description' => 'Service group ID.',
'title' => 'List of service group IDs ',
'type' => 'array',
'items' => ['description' => 'Service group ID.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'title' => '', 'example' => ''],
'required' => false,
'example' => '',
],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Response structure.',
'properties' => [
'requestId' => ['title' => 'Id of the request', 'description' => 'Request ID.', 'type' => 'string', 'example' => 'C4BE3837-1A13-413B-A225-2C88188E8A43'],
'data' => [
'description' => 'Service ID.',
'example' => '1',
'properties' => [
'serviceId' => ['description' => 'Service ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''],
],
'title' => '',
'type' => 'object',
],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'AddServiceFail', 'errorMessage' => 'Failed to add the service.', 'description' => ''],
['errorCode' => 'ServiceNameAlreadyExisted', 'errorMessage' => 'The service name is already in use.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"C4BE3837-1A13-413B-A225-2C88188E8A43\\",\\n \\"data\\": {\\n \\"serviceId\\": 1\\n }\\n}","type":"json"}]',
'title' => 'Create a service ',
'changeSet' => [
['createdAt' => '2023-04-13T12:01:53.000Z', 'description' => 'Request parameters changed'],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'gemp:CreateService',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateService'],
],
],
],
'CreateServiceGroup' => [
'summary' => 'Creates a service group.',
'path' => '/services/group/insert',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgemp1A354K'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'Request body.',
'properties' => [
'serviceGroupName' => ['description' => 'Service group name.', 'type' => 'string', 'required' => true, 'example' => '我的服务组', 'title' => ''],
'userIds' => [
'description' => 'User IDs.',
'items' => ['description' => 'User ID.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '65', 'title' => ''],
'required' => true,
'title' => '',
'type' => 'array',
'example' => '',
],
'enableWebhook' => ['description' => 'Enable or disable the webhook:'."\n"
."\n"
.'- DISABLE: Disable the webhook.'."\n"
."\n"
.'- ENABLE: Enable the webhook.', 'type' => 'string', 'required' => true, 'example' => 'ENABLE', 'title' => ''],
'webhookType' => ['description' => 'Webhook type:'."\n"
."\n"
.'- WEIXIN\\_GROUP: WeChat.'."\n"
."\n"
.'- DING\\_GROUP: DingTalk.'."\n"
."\n"
.'- FEISHU\\_GROUP: Lark.', 'type' => 'string', 'required' => true, 'example' => 'DING_GROUP', 'title' => ''],
'serviceGroupDescription' => ['description' => 'Service group description.', 'type' => 'string', 'example' => '这个是一个服务描述', 'title' => '', 'required' => false],
'webhookLink' => ['title' => 'webhookLink', 'description' => 'Webhook URL.', 'type' => 'string', 'required' => true, 'example' => 'https://oapi.ding****.com/robot/send?access_token=****'],
'monitorSourceTemplates' => [
'description' => 'Monitoring source message templates.',
'items' => [
'description' => 'Monitoring source message template.',
'properties' => [
'templateId' => ['description' => 'Message template ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '111', 'title' => '', 'required' => false],
'monitorSourceId' => ['description' => 'Monitoring source ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '111', 'title' => '', 'required' => false],
'monitorSourceName' => ['description' => 'Monitoring source name.', 'type' => 'string', 'example' => 'zabbix', 'title' => '', 'required' => false],
'templateContent' => ['description' => 'Template content.', 'type' => 'string', 'example' => 'xx', 'title' => '', 'required' => false],
],
'required' => false,
'type' => 'object',
'title' => '',
'example' => '',
],
'required' => false,
'title' => '',
'type' => 'array',
'example' => '',
],
'clientToken' => ['description' => 'Idempotency token.', 'type' => 'string', 'example' => 'C4BE3837-1A13-413B-A225-2C88188E8A43', 'title' => '', 'required' => false],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Response structure.',
'properties' => [
'requestId' => ['title' => 'Id of the request', 'description' => 'Request ID.', 'type' => 'string', 'example' => 'C4BE3837-1A13-413B-A225-2C88188E8A43'],
'data' => [
'description' => 'Service group ID.',
'example' => '1',
'properties' => [
'serviceGroupId' => ['description' => 'Service group ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''],
],
'title' => '',
'type' => 'object',
],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'ServiceGroupWebHookLinkAlreadyExisted', 'errorMessage' => 'The webhook link is already in use.', 'description' => ''],
['errorCode' => 'ServiceGroupNameAlreadyExisted', 'errorMessage' => 'The service group name is already in use.', 'description' => ''],
['errorCode' => 'AddServiceGroupFail', 'errorMessage' => 'Failed to add the service group.', 'description' => ''],
],
405 => [
['errorCode' => 'openFailed', 'errorMessage' => 'open Failed', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"C4BE3837-1A13-413B-A225-2C88188E8A43\\",\\n \\"data\\": {\\n \\"serviceGroupId\\": 1000\\n }\\n}","type":"json"}]',
'title' => 'Create a service group',
'changeSet' => [
['createdAt' => '2022-10-27T12:01:25.000Z', 'description' => 'Error codes changed'],
['createdAt' => '2021-07-16T04:09:45.000Z', 'description' => 'Request parameters changed'],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'gemp:CreateServiceGroup',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateServiceGroup'],
],
],
],
'CreateServiceGroupScheduling' => [
'summary' => 'Create a new service group scheduling.',
'path' => '/services/group/scheduling/save',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempUBXKF7'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'Request body.',
'properties' => [
'serviceGroupId' => ['description' => 'Service group ID.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1000', 'title' => ''],
'schedulingWay' => ['description' => 'Scheduling method:'."\n"
."\n"
.'- FAST: Fast scheduling.'."\n"
."\n"
.'- FINE: Fine-grained scheduling.', 'type' => 'string', 'required' => true, 'example' => 'FAST', 'title' => ''],
'fastScheduling' => [
'description' => 'You can enable fast scheduling.',
'example' => '12',
'properties' => [
'singleDuration' => ['description' => 'Duration per person.', 'type' => 'integer', 'format' => 'int32', 'example' => '12', 'title' => '', 'required' => false],
'dutyPlan' => ['description' => 'Duty plan:'."\n"
."\n"
.'- FAST\\_CHOICE: Fast choice.'."\n"
."\n"
.'- CUSTOM: Custom.', 'type' => 'string', 'example' => 'FAST_CHOICE', 'title' => '', 'required' => false],
'singleDurationUnit' => ['description' => 'Duration unit:'."\n"
."\n"
.'- HOUR: Hour.'."\n"
."\n"
.'- DAY: Day.', 'type' => 'string', 'example' => 'DAY', 'title' => '', 'required' => false],
'schedulingUsers' => [
'description' => 'Users for fast rotation scheduling.',
'items' => [
'description' => 'Fast rotation user.',
'properties' => [
'schedulingUserId' => ['description' => 'Rotation user ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '6666', 'title' => '', 'required' => false],
'schedulingOrder' => ['description' => 'Scheduling order.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => '', 'required' => false],
'schedulingObjectType' => ['title' => 'Scheduling Object Type ', 'description' => 'Scheduling type:'."\n"
."\n"
.'- 0: Single-person scheduling.'."\n"
."\n"
.'- 1: Multi-person scheduling.', 'type' => 'string', 'required' => false, 'example' => '1'],
'schedulingUserIdList' => [
'description' => 'User IDs for multi-person scheduling.',
'title' => 'User IDs for Multi-User Scheduling ',
'type' => 'array',
'items' => ['description' => 'User ID.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'title' => '', 'example' => ''],
'required' => false,
'example' => '',
],
],
'required' => false,
'type' => 'object',
'title' => '',
'example' => '',
],
'required' => false,
'title' => '',
'type' => 'array',
'example' => '',
],
],
'required' => false,
'title' => '',
'type' => 'object',
],
'fineScheduling' => [
'description' => 'Fine-grained scheduling configuration.',
'properties' => [
'period' => ['description' => 'Rotation period.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => '', 'required' => false],
'periodUnit' => ['description' => 'Rotation period unit:'."\n"
."\n"
.'- HOUR: Hour.'."\n"
."\n"
.'- DAY: Day.', 'type' => 'string', 'example' => 'DAY', 'title' => '', 'required' => false],
'shiftType' => ['description' => 'Shift type:'."\n"
."\n"
.'- MORNING\\_NIGHT: Morning and night shifts.'."\n"
."\n"
.'- MORNING\\_NOON\\_NIGHT: Morning, noon, and night shifts.'."\n"
."\n"
.'- CUSTOM: Custom.', 'type' => 'string', 'example' => 'MORNING_NIGHT', 'title' => '', 'required' => false],
'schedulingFineShifts' => [
'description' => 'Personnel information for fine-grained shift scheduling.',
'items' => [
'description' => 'Shift information.',
'properties' => [
'schedulingStartTime' => ['description' => 'Scheduling start time.', 'type' => 'string', 'example' => '2020-08-13', 'title' => '', 'required' => false],
'schedulingEndTime' => ['description' => 'Scheduling end time.', 'type' => 'string', 'example' => '2020-10-13', 'title' => '', 'required' => false],
'schedulingOrder' => ['description' => 'Scheduling order.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => '', 'required' => false],
'skipOneDay' => ['description' => 'Whether the shift spans across days:'."\n"
."\n"
.'- true: Yes.'."\n"
."\n"
.'- false: No.', 'type' => 'boolean', 'example' => 'true', 'title' => '', 'required' => false],
'cycleOrder' => ['description' => 'Rotation sequence.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => '', 'required' => false],
'shiftName' => ['description' => 'Shift name.', 'type' => 'string', 'example' => '早班', 'title' => '', 'required' => false],
'schedulingUserId' => ['description' => 'Scheduled user ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '11', 'title' => '', 'required' => false],
'schedulingObjectType' => ['title' => 'Scheduling Object Type', 'description' => 'Scheduling object type.', 'type' => 'string', 'required' => false, 'example' => ''],
'schedulingUserIdList' => [
'description' => 'User IDs for multi-person scheduling.',
'title' => 'User IDs for Multi-Person Scheduling ',
'type' => 'array',
'items' => ['description' => 'User ID.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'title' => '', 'example' => ''],
'required' => false,
'example' => '',
],
],
'required' => false,
'type' => 'object',
'title' => '',
'example' => '',
],
'required' => false,
'title' => '',
'type' => 'array',
'example' => '',
],
'schedulingTemplateFineShifts' => [
'description' => 'Fine-grained scheduling template.',
'items' => [
'description' => 'Fine-grained scheduling template.',
'properties' => [
'schedulingStartTime' => ['description' => 'Scheduling start time.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '2021-09-01 08:00:00'],
'schedulingEndTime' => ['description' => 'Scheduling end time.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '2021-10-01 08:00:00'],
'schedulingOrder' => ['description' => 'Scheduling order.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'required' => false, 'example' => '1'],
'schedulingUserId' => ['description' => 'Scheduled user ID.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'required' => false, 'example' => '1'],
'schedulingUserName' => ['description' => 'The username of the scheduled user.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '刘先生'],
'skipOneDay' => ['description' => 'Whether the shift spans across days.', 'type' => 'boolean', 'title' => '', 'required' => false, 'example' => 'false'],
'schedulingObjectType' => ['title' => 'Scheduling Object Type ', 'description' => 'Scheduling object type.', 'type' => 'string', 'required' => false, 'example' => ''],
'schedulingUserIdList' => [
'description' => 'User IDs for multi-person scheduling.',
'title' => 'User IDs for Multi-User Scheduling',
'type' => 'array',
'items' => ['description' => 'User ID.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'title' => '', 'example' => ''],
'required' => false,
'example' => '',
],
],
'required' => false,
'type' => 'object',
'title' => '',
'example' => '',
],
'required' => false,
'title' => '',
'type' => 'array',
'example' => '',
],
],
'required' => false,
'title' => '',
'type' => 'object',
'example' => '',
],
'clientToken' => ['description' => 'Idempotency token.', 'type' => 'string', 'example' => 'C4BE3837-1A13-413B-A225-2C88188E8A43', 'title' => '', 'required' => false],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Response structure.',
'properties' => [
'requestId' => ['title' => 'Id of the request', 'description' => 'Request ID.', 'type' => 'string', 'example' => 'xxxxxxxxxx'],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"xxxxxxxxxx\\"\\n}","type":"json"}]',
'title' => 'Create a service group schedule',
'changeSet' => [
['createdAt' => '2022-12-26T13:01:21.000Z', 'description' => 'Request parameters changed'],
['createdAt' => '2021-09-10T01:53:17.000Z', 'description' => 'OpenAPI offline'],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'gemp:CreateServiceGroupScheduling',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateServiceGroupScheduling'],
],
],
],
'CreateSubscription' => [
'summary' => 'Create a notification subscription. ',
'path' => '/notify/subscription/create',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempJPZI30'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'A short description of struct',
'properties' => [
'subscriptionTitle' => ['description' => 'Notification subscription name.', 'example' => 'testSubscription', 'required' => true, 'title' => '', 'type' => 'string'],
'scope' => ['description' => 'Subscription range type.', 'example' => 'SERVICE', 'format' => 'int64', 'required' => true, 'title' => '', 'type' => 'integer'],
'notifyObjectType' => ['description' => 'Notification object type. ', 'example' => 'USER', 'format' => 'int64', 'required' => true, 'title' => '', 'type' => 'integer'],
'expiredType' => ['description' => 'Subscription validity period. ', 'example' => 'LONG_TERM', 'format' => 'int64', 'required' => true, 'title' => '', 'type' => 'integer'],
'period' => ['description' => 'Short-term time segment. ', 'example' => '20天', 'required' => false, 'title' => '', 'type' => 'string'],
'scopeObjectList' => [
'description' => 'List of subscription scopes.',
'items' => [
'description' => 'Object',
'properties' => [
'scopeObjectId' => ['description' => 'Scope object ID.', 'example' => '1', 'format' => 'int64', 'required' => true, 'title' => '', 'type' => 'integer'],
],
'required' => true,
'type' => 'object',
'title' => '',
'example' => '',
],
'required' => true,
'title' => '',
'type' => 'array',
'example' => '',
],
'notifyObjectList' => [
'description' => 'List of notification objects. ',
'items' => [
'description' => 'Object',
'properties' => [
'notifyObjectId' => ['description' => 'Notification object ID. ', 'example' => '2', 'format' => 'int64', 'required' => true, 'title' => '', 'type' => 'integer'],
],
'required' => true,
'type' => 'object',
'title' => '',
'example' => '',
],
'required' => true,
'title' => '',
'type' => 'array',
'example' => '',
],
'notifyStrategyList' => [
'description' => 'List of notification policies.',
'items' => [
'description' => 'Object',
'properties' => [
'instanceType' => ['description' => 'Subscribed instance type: '."\n"
.'- INCIDENT: management event. '."\n"
.'- ALERT: alert. '."\n"
.'- PROBLEM: problem.', 'example' => 'INCIDENT', 'format' => 'int64', 'required' => true, 'title' => '', 'type' => 'integer'],
'strategies' => [
'description' => 'Conditions in JSON format, containing multiple conditions such as Level, Impact, and key-value pairs. ',
'items' => [
'description' => 'Object',
'properties' => [
'conditions' => [
'description' => 'Notification policy conditions. ',
'items' => [
'description' => 'Object',
'properties' => [
'effection' => ['description' => 'Impact scope. ', 'example' => 'HIGH', 'required' => false, 'title' => '', 'type' => 'string'],
'problemNotifyType' => ['description' => 'Problem notification type.', 'example' => 'PROBLEM_UPDATE', 'required' => false, 'title' => '', 'type' => 'string'],
'level' => ['description' => 'Level.', 'example' => 'P1', 'required' => false, 'title' => '', 'type' => 'string'],
'action' => ['description' => 'Action.', 'example' => 'INCIDENT_TRIGGER', 'required' => false, 'title' => '', 'type' => 'string'],
],
'required' => false,
'type' => 'object',
'title' => '',
'example' => '',
],
'required' => false,
'title' => '',
'type' => 'array',
'example' => '',
],
],
'required' => false,
'type' => 'object',
'title' => '',
'example' => '',
],
'required' => true,
'title' => '',
'type' => 'array',
'example' => '',
],
'channels' => ['description' => 'Channels, separated by commas.', 'example' => 'SMS,PHONE', 'required' => true, 'title' => '', 'type' => 'string'],
'periodChannel' => [
'description' => 'Channel for time-segmented notification subscription.',
'properties' => [
'workday' => ['description' => 'Notification subscription Channel for weekdays. ', 'example' => 'SMS,PHONE', 'required' => false, 'title' => '', 'type' => 'string'],
'nonWorkday' => ['description' => 'Channel for notification subscription on non-workdays.', 'example' => 'SMS,PHONE', 'required' => false, 'title' => '', 'type' => 'string'],
],
'required' => false,
'title' => '',
'type' => 'object',
'example' => '',
],
],
'required' => true,
'type' => 'object',
'title' => '',
'example' => '',
],
'required' => true,
'title' => '',
'type' => 'array',
'example' => '',
],
'clientToken' => ['description' => 'Idempotent parameter.', 'example' => '601FA6A2-AC5C-4B59-BE11-378FTOKENA11', 'required' => false, 'title' => '', 'type' => 'string'],
'startTime' => ['description' => 'Effective start time.', 'example' => '2021-02-03 10:10:10', 'required' => false, 'title' => '', 'type' => 'string'],
'endTime' => ['description' => 'Expiration time.', 'example' => '2021-11-03 10:10:10', 'required' => false, 'title' => '', 'type' => 'string'],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Schema of Response',
'properties' => [
'requestId' => ['description' => 'request id', 'example' => '10REQUES-AC5C-4B59-BE11-378F117A6A88', 'title' => 'request id', 'type' => 'string'],
'data' => [
'description' => 'data',
'properties' => [
'subscriptionId' => ['description' => 'Subscription ID. ', 'example' => '101', 'format' => 'int64', 'title' => '', 'type' => 'integer'],
],
'type' => 'object',
'title' => '',
'example' => '',
],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'errorCodes' => [
403 => [
['errorCode' => 'NotifySubsAlreadyExists', 'errorMessage' => 'The specified subscription already exists.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"10REQUES-AC5C-4B59-BE11-378F117A6A88\\",\\n \\"data\\": {\\n \\"subscriptionId\\": 101\\n }\\n}","type":"json"}]',
'title' => 'Create Notification Subscription ',
'changeSet' => [
['createdAt' => '2021-07-16T04:09:37.000Z', 'description' => 'Request parameters changed'],
['createdAt' => '2021-07-16T04:09:37.000Z', 'description' => 'Request parameters changed'],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'gemp:CreateSubscription',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateSubscription'],
],
],
],
'CreateTenantApplication' => [
'summary' => 'Create a mobile application.',
'path' => '/mobileApp/create',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempU4CBQS'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'A short description of struct',
'properties' => [
'channel' => ['description' => 'Application collaboration channel.', 'example' => 'DINGDING', 'required' => true, 'title' => '', 'type' => 'string'],
'clientToken' => ['description' => 'Idempotency identity.', 'example' => '7C56D225-7C34-40BB-9624-C8BA449260E6', 'required' => true, 'title' => '', 'type' => 'string'],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Schema of Response',
'properties' => [
'requestId' => ['description' => 'id of the req', 'example' => '10REQUES-AC5C-4B59-BE11-378F117A6A88', 'title' => 'id of the req', 'type' => 'string'],
'data' => [
'description' => 'data',
'properties' => [
'openUrl' => ['description' => 'Activation URL.', 'example' => 'http://xxxx', 'title' => '', 'type' => 'string'],
'progress' => ['description' => 'Activation progress status. '."\n"
.'- OPENED: Activated. '."\n"
.'- OPENING: Activating.', 'example' => 'OPENED', 'title' => '', 'type' => 'string'],
],
'title' => 'data',
'type' => 'object',
'example' => '',
],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'TenantAppAlreadyExisit', 'errorMessage' => 'App is opened.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"10REQUES-AC5C-4B59-BE11-378F117A6A88\\",\\n \\"data\\": {\\n \\"openUrl\\": \\"http://xxxx\\",\\n \\"progress\\": \\"OPENED\\"\\n }\\n}","type":"json"}]',
'title' => 'Create a mobile application',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'gemp:CreateTenantApplication',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateTenantApplication'],
],
],
],
'CreateUser' => [
'summary' => 'Creates a user.',
'path' => '/user/create',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempT8ZOYV'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'Request body.',
'properties' => [
'ramId' => ['description' => 'User ID.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '4787654378343', 'title' => ''],
'phone' => ['description' => 'Phone number.', 'type' => 'string', 'required' => false, 'example' => '1888898****', 'title' => ''],
'username' => ['description' => 'Username.', 'type' => 'string', 'required' => false, 'example' => '张先生', 'title' => ''],
'email' => ['description' => 'Email address.', 'type' => 'string', 'required' => false, 'example' => '12121****@qq.com', 'title' => ''],
'clientToken' => ['description' => 'Idempotency token.', 'type' => 'string', 'required' => false, 'example' => 'c26f36de-1ec8-496a-a828-880676c5ef81', 'title' => ''],
'roleIdList' => [
'description' => 'List of role IDs.',
'title' => 'List of role IDs',
'type' => 'array',
'items' => ['description' => 'User role.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'title' => '', 'example' => ''],
'required' => false,
'example' => '',
],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Response structure.',
'properties' => [
'requestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'c26f36de-1ec8-496a-a828-880676c5ef81', 'title' => ''],
'data' => [
'description' => 'Response data.',
'properties' => [
'userId' => ['description' => 'User ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''],
],
'type' => 'object',
'title' => '',
'example' => '',
],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'PhoneAlreadyExists', 'errorMessage' => 'The specified phone number already exists.', 'description' => ''],
['errorCode' => 'UserCountExcess', 'errorMessage' => 'Available users have run out, please upgrade to a higher version.', 'description' => 'Available users have run out, please upgrade to a higher version'],
],
402 => [
['errorCode' => 'IdentitySelectionError', 'errorMessage' => 'Identity selection error', 'description' => ''],
],
[
['errorCode' => 'UserAlreadyExists', 'errorMessage' => 'The specified user already exists.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"c26f36de-1ec8-496a-a828-880676c5ef81\\",\\n \\"data\\": {\\n \\"userId\\": 1\\n }\\n}","type":"json"}]',
'title' => 'Create a user',
'changeSet' => [
['createdAt' => '2024-08-15T11:46:18.000Z', 'description' => 'Error codes changed'],
['createdAt' => '2023-04-13T12:01:54.000Z', 'description' => 'Request parameters changed'],
],
'ramActions' => [
[
'operationType' => 'create',
'ramAction' => [
'action' => 'gemp:CreateUser',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateUser'],
],
],
],
'DeleteEscalationPlan' => [
'summary' => 'Delete an upgrade plan.',
'path' => '/escalationPlan/delete',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'delete',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempGUN0ZL'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'A short description of struct',
'properties' => [
'escalationPlanId' => ['description' => 'Upgrade plan ID.', 'example' => '234534', 'format' => 'int64', 'required' => true, 'title' => '', 'type' => 'integer'],
'clientToken' => ['description' => 'Idempotency identity.', 'example' => 'A5A1****-9C47-011C-9C73-A376BC2REQUEST', 'required' => false, 'title' => 'clientToken', 'type' => 'string'],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Schema of Response',
'properties' => [
'requestId' => ['description' => 'Id of the request', 'example' => 'A5A1FEAE-9C47-011C-9C73-A376BC21925D', 'title' => 'Id of the request', 'type' => 'string'],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'errorCodes' => [
404 => [
['errorCode' => 'EscalationPlanNotExists', 'errorMessage' => 'The specified escalation plan does not exist.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"A5A1FEAE-9C47-011C-9C73-A376BC21925D\\"\\n}","type":"json"}]',
'title' => 'Delete an upgrade plan',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'gemp:DeleteEscalationPlan',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteEscalationPlan'],
],
],
],
'DeleteIncident' => [
'summary' => 'Delete a management event.',
'path' => '/incident/delete',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'delete',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempKAIUZH'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'body',
'properties' => [
'clientToken' => ['description' => 'Idempotency validation.', 'example' => 'FD200FAE-E98F-496E-BFE6-4CE61E59A2E9', 'required' => false, 'title' => '', 'type' => 'string'],
'incidentId' => ['description' => 'Management event ID.', 'example' => '12321', 'format' => 'int64', 'required' => false, 'title' => '', 'type' => 'integer'],
],
'required' => false,
'type' => 'object',
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Schema of Response',
'properties' => [
'requestId' => ['description' => 'Id of the request', 'example' => 'FD200FAE-E98F-496E-BFE6-4CE61E59A2E9', 'title' => 'Id of the request', 'type' => 'string'],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'IncidentStatusInvalid', 'errorMessage' => 'The incident status is invalid.', 'description' => ''],
['errorCode' => 'IncidentUpdateInvalid', 'errorMessage' => 'The incident update is invalid.', 'description' => ''],
],
404 => [
['errorCode' => 'IncidentNotExtisted', 'errorMessage' => 'The incident does not exist.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"FD200FAE-E98F-496E-BFE6-4CE61E59A2E9\\"\\n}","type":"json"}]',
'title' => 'Delete a management event',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'gemp:DeleteIncident',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteIncident'],
],
],
],
'DeleteIntegrationConfig' => [
'summary' => 'Delete an integration configuration.',
'path' => '/integrationConfig/delete',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'delete',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempSLACC7'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'A short description of struct',
'properties' => [
'integrationConfigId' => ['description' => 'Integration configuration ID.', 'example' => '100', 'format' => 'int64', 'required' => false, 'title' => '', 'type' => 'integer'],
'clientToken' => ['description' => 'Idempotent ID.', 'example' => '601FA6A2-AC5C-4B59-BE11-378F887A6A11', 'required' => false, 'title' => '', 'type' => 'string'],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Schema of Response',
'properties' => [
'requestId' => ['description' => 'Id of the request', 'example' => '601FA6A2-AC5C-4B59-BE11-378F887A6A11', 'title' => 'Id of the request', 'type' => 'string'],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'errorCodes' => [
404 => [
['errorCode' => 'IntegationConfigNotExists', 'errorMessage' => 'The specified integration config does not exist.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"601FA6A2-AC5C-4B59-BE11-378F887A6A11\\"\\n}","type":"json"}]',
'title' => 'Delete integration configuration',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'gemp:DeleteIntegrationConfig',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteIntegrationConfig'],
],
],
],
'DeleteProblem' => [
'summary' => 'Delete a fault.',
'path' => '/problem/delete',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'delete',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempZVI8H5'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'A short description of struct',
'properties' => [
'problemId' => ['description' => 'Fault ID.', 'example' => '1231', 'format' => 'int64', 'required' => false, 'title' => '', 'type' => 'integer'],
'clientToken' => ['description' => 'Idempotency validation.', 'example' => '4361a0e1-6747-4834-96ce-0c4840fd3812', 'required' => false, 'title' => '', 'type' => 'string'],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Schema of Response',
'properties' => [
'requestId' => ['description' => 'Id of the request', 'example' => '4361a0e1-6747-4834-96ce-0c4840fd3812', 'title' => 'Id of the request', 'type' => 'string'],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'errorCodes' => [
404 => [
['errorCode' => 'ProblemNotExisted', 'errorMessage' => 'The problem does not exist.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"4361a0e1-6747-4834-96ce-0c4840fd3812\\"\\n}","type":"json"}]',
'title' => 'Delete a fault',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'gemp:DeleteProblem',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteProblem'],
],
],
],
'DeleteProblemEffectionService' => [
'summary' => 'Delete the impact service.',
'path' => '/problem/process/effectionService/delete',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'delete',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempIOV4BX'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'A short description of struct',
'properties' => [
'effectionServiceId' => ['description' => 'Impact service ID', 'example' => '567', 'format' => 'int64', 'required' => false, 'title' => '', 'type' => 'integer'],
'problemId' => ['description' => 'Problem ID', 'example' => '876', 'format' => 'int64', 'required' => false, 'title' => '', 'type' => 'integer'],
'clientToken' => ['description' => 'clientToken', 'example' => 'e0b6735e-1a04-4d6b-a625-d2350612492c', 'required' => false, 'title' => 'clientToken', 'type' => 'string'],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Schema of Response',
'properties' => [
'requestId' => ['description' => 'Id of the request', 'example' => 'e0b6735e-1a04-4d6b-a625-d2350612492c', 'title' => 'Id of the request', 'type' => 'string'],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'errorCodes' => [
404 => [
['errorCode' => 'ProblemNotExisted', 'errorMessage' => 'The problem does not exist.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"e0b6735e-1a04-4d6b-a625-d2350612492c\\"\\n}","type":"json"}]',
'title' => 'Delete the impact service',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'gemp:DeleteProblemEffectionService',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteProblemEffectionService'],
],
],
],
'DeleteProblemMeasure' => [
'summary' => 'Delete a fault improvement measure. ',
'path' => '/problem/improvement/measure/delete',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'delete',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempZB7ZAW'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'A short description of struct',
'properties' => [
'measureId' => ['description' => 'The ID of the fault improvement measure. ', 'example' => '1213', 'format' => 'int64', 'required' => false, 'title' => '', 'type' => 'integer'],
'problemId' => ['description' => 'The fault ID. ', 'example' => '2131', 'required' => false, 'title' => '', 'type' => 'string'],
'clientToken' => ['description' => 'An idempotency validation token. ', 'example' => '4361a0e1-6747-4834-96ce-0c4840fd3812', 'required' => false, 'title' => '', 'type' => 'string'],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Schema of Response',
'properties' => [
'requestId' => ['description' => 'Id of the request', 'example' => '4361a0e1-6747-4834-96ce-0c4840fd3812', 'title' => 'Id of the request', 'type' => 'string'],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'errorCodes' => [
404 => [
['errorCode' => 'ProblemNotExisted', 'errorMessage' => 'The problem does not exist.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"4361a0e1-6747-4834-96ce-0c4840fd3812\\"\\n}","type":"json"}]',
'title' => 'Delete a fault improvement measure ',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'gemp:DeleteProblemMeasure',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteProblemMeasure'],
],
],
],
'DeleteProblemTimeline' => [
'summary' => 'Delete a fault management event timeline edge zone.',
'path' => '/problem/process/timeline/delete',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'delete',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgemp65LXE3'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'A short description of struct',
'properties' => [
'problemTimelineId' => ['description' => 'Timeline ID.', 'example' => '11', 'format' => 'int64', 'required' => false, 'title' => 'ID', 'type' => 'integer'],
'problemId' => ['description' => 'Fault ID.', 'example' => '102', 'format' => 'int64', 'required' => false, 'title' => '', 'type' => 'integer'],
'clientToken' => ['description' => 'Idempotency identity.', 'example' => '601FA6A2-AC5C-4B59-BE11-378FTOKENA11', 'required' => false, 'title' => 'clientToken', 'type' => 'string'],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Schema of Response',
'properties' => [
'requestId' => ['description' => 'Id of the request', 'example' => '10REQUES-AC5C-4B59-BE11-378F117A6A88', 'title' => 'Id of the request', 'type' => 'string'],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'errorCodes' => [
404 => [
['errorCode' => 'ProblemNotExisted', 'errorMessage' => 'The problem does not exist.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"10REQUES-AC5C-4B59-BE11-378F117A6A88\\"\\n}","type":"json"}]',
'title' => 'Delete a fault management event timeline edge zone',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'gemp:DeleteProblemTimeline',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteProblemTimeline'],
],
],
],
'DeleteRouteRule' => [
'summary' => 'Deletes a routing rule.',
'path' => '/routeRule/delete',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'delete',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempLJVP1W'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'The request body.',
'properties' => [
'routeRuleId' => ['description' => 'The rule ID.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '10000', 'title' => ''],
'clientToken' => ['description' => 'The idempotency token.', 'type' => 'string', 'example' => 'C4BE3837-1A13-413B-A225-2C88188E8A43', 'title' => '', 'required' => false],
],
'required' => false,
'type' => 'object',
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'The response structure.',
'properties' => [
'requestId' => ['description' => 'The request ID.', 'type' => 'integer', 'format' => 'int64', 'example' => 'C4BE3837-1A13-413B-A225-2C88188E8A43', 'title' => ''],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'DeleteEnabledRuleFail', 'errorMessage' => 'Failed to delete the rule with the enabled status.', 'description' => ''],
['errorCode' => 'DeleteRuleFail', 'errorMessage' => 'Failed to delete the rules.', 'description' => ''],
],
404 => [
['errorCode' => 'RouteRuleNotExisted', 'errorMessage' => 'The rule does not exist.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": 0\\n}","type":"json"}]',
'title' => 'Delete a stream rule',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'gemp:DeleteRouteRule',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteRouteRule'],
],
],
],
'DeleteService' => [
'summary' => 'Delete a service.',
'path' => '/services/delete',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'delete',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgemp1A354K'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'A short description of struct',
'properties' => [
'serviceId' => ['description' => 'Service ID.', 'example' => '10002000', 'format' => 'int64', 'required' => false, 'title' => '', 'type' => 'integer'],
'clientToken' => ['description' => 'Idempotency token.', 'example' => 'C4BE3837-1A13-413B-A225-2C88188E8A43', 'required' => false, 'title' => '', 'type' => 'string'],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Schema of Response',
'properties' => [
'requestId' => ['description' => 'Id of the request', 'example' => 'C4BE3837-1A13-413B-A225-2C88188E8A43', 'title' => 'Id of the request', 'type' => 'string'],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'DeleteServiceFail', 'errorMessage' => 'Failed to delete the service.', 'description' => ''],
],
404 => [
['errorCode' => 'ServiceNotExisted', 'errorMessage' => 'The service does not exist.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"C4BE3837-1A13-413B-A225-2C88188E8A43\\"\\n}","type":"json"}]',
'title' => 'Delete Service',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'gemp:DeleteService',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteService'],
],
],
],
'DeleteServiceGroup' => [
'summary' => 'Delete a service group. ',
'path' => '/services/group/delete',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'delete',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgemp1A354K'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'A short description of struct',
'properties' => [
'serviceGroupId' => ['description' => 'Service ID. ', 'example' => '1000', 'format' => 'int64', 'required' => false, 'title' => '', 'type' => 'integer'],
'clientToken' => ['description' => 'Idempotency token. ', 'example' => 'C4BE3837-1A13-413B-A225-2C88188E8A43', 'required' => false, 'title' => '', 'type' => 'string'],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Schema of Response',
'properties' => [
'requestId' => ['description' => 'Id of the request', 'example' => 'C4BE3837-1A13-413B-A225-2C88188E8A43', 'title' => 'Id of the request', 'type' => 'string'],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'DeleteServiceGroupFail', 'errorMessage' => 'Failed to delete the service group.', 'description' => 'Failed to delete the service group.'],
['errorCode' => 'ServiceGroupNotExisted', 'errorMessage' => 'The service group does not exist.', 'description' => ''],
],
[
['errorCode' => 'ServiceGroupNotExisted', 'errorMessage' => 'The service group does not exist.', 'description' => ''],
],
[
['errorCode' => 'DeleteServiceGroupFail', 'errorMessage' => 'The service group has been associated with escalationPlan.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"C4BE3837-1A13-413B-A225-2C88188E8A43\\"\\n}","type":"json"}]',
'title' => 'Delete service group ',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'gemp:DeleteServiceGroup',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteServiceGroup'],
],
],
],
'DeleteServiceGroupScheduling' => [
'summary' => 'Deletes a schedule.',
'path' => '/services/group/scheduling/delete',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'delete',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempUBXKF7'],
],
'parameters' => [],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'type' => 'object',
'properties' => [
'requestId' => ['title' => 'Id of the request', 'type' => 'string', 'description' => '', 'example' => ''],
],
'description' => '',
'example' => '',
],
],
],
'errorCodes' => [
401 => [
['errorCode' => 'DeleteServiceGroupSchedulingFail', 'errorMessage' => 'The service group has been associated with route rule. ', 'description' => ''],
],
],
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'gemp:DeleteServiceGroupScheduling',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"\\"\\n}","type":"json"}]',
'title' => 'DeleteServiceGroupScheduling',
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteServiceGroupScheduling'],
],
],
],
'DeleteServiceGroupUser' => [
'summary' => 'Delete a member from a service group. ',
'path' => '/services/group/deleteServiceGroupUser',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'delete',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempT8ZOYV'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'A short description of struct',
'properties' => [
'serviceGroupId' => ['description' => 'Service group ID. ', 'example' => '66666', 'format' => 'int64', 'required' => false, 'title' => '', 'type' => 'integer'],
'oldUserId' => ['description' => 'Old User ID. ', 'example' => '777777', 'format' => 'int64', 'required' => false, 'title' => '', 'type' => 'integer'],
'newUserId' => ['description' => 'New User ID. ', 'example' => '88888', 'format' => 'int64', 'required' => false, 'title' => '', 'type' => 'integer'],
'removeUser' => ['description' => 'Delete a service group member. ', 'example' => 'true', 'required' => false, 'title' => '', 'type' => 'boolean'],
'clientToken' => ['description' => 'Idempotency token. ', 'example' => 'xxxxxx', 'required' => false, 'title' => '', 'type' => 'string'],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Schema of Response',
'properties' => [
'requestId' => ['description' => 'Id of the request', 'example' => 'xxxxxx', 'title' => 'Id of the request', 'type' => 'string'],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"xxxxxx\\"\\n}","type":"json"}]',
'title' => 'Delete a member from a service group ',
'changeSet' => [
['createdAt' => '2021-10-20T13:27:37.000Z', 'description' => 'OpenAPI offline'],
],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'gemp:DeleteServiceGroupUser',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteServiceGroupUser'],
],
],
],
'DeleteSubscription' => [
'summary' => 'Delete a notification subscription.',
'path' => '/notify/subscription/delete',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'delete',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempJPZI30'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'body',
'properties' => [
'subscriptionId' => ['description' => 'Subscription ID.', 'example' => '10', 'format' => 'int64', 'required' => false, 'type' => 'integer', 'title' => ''],
],
'required' => false,
'type' => 'object',
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Schema of Response',
'properties' => [
'requestId' => ['description' => 'requestId', 'example' => 'c26f36de-1ec8-496a-a828-880676c5ef81', 'title' => 'requestId', 'type' => 'string'],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"c26f36de-1ec8-496a-a828-880676c5ef81\\"\\n}","type":"json"}]',
'title' => 'Delete Notification Subscription',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'gemp:DeleteSubscription',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteSubscription'],
],
],
],
'DeleteUser' => [
'summary' => 'Delete a user.',
'path' => '/user/delete',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'delete',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempT8ZOYV'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'A short description of struct',
'properties' => [
'userId' => ['description' => 'User ID.', 'example' => '1', 'format' => 'int64', 'required' => true, 'title' => '', 'type' => 'integer'],
'clientToken' => ['description' => 'Idempotency token.', 'example' => 'c26f36de-1ec8-496a-a828-880676c5ef81', 'required' => false, 'title' => '', 'type' => 'string'],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Schema of Response',
'properties' => [
'requestId' => ['description' => 'id of the request', 'example' => 'c26f36de-1ec8-496a-a828-880676c5ef81', 'title' => 'id of the request', 'type' => 'string'],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'DeleteUserFail ', 'errorMessage' => 'The user has been associated with route rule.', 'description' => ''],
],
[
['errorCode' => 'DeleteUserFail ', 'errorMessage' => 'The user has been associated with escalationPlan.', 'description' => ''],
],
[
['errorCode' => 'DeleteUserFail ', 'errorMessage' => 'Users are scheduled.', 'description' => ''],
],
404 => [
['errorCode' => 'UserNotExists', 'errorMessage' => 'The specified user does not exist.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"c26f36de-1ec8-496a-a828-880676c5ef81\\"\\n}","type":"json"}]',
'title' => 'Delete User',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'delete',
'ramAction' => [
'action' => 'gemp:DeleteUser',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteUser'],
],
],
],
'DeliverIncident' => [
'summary' => 'Change owner of a management event. ',
'path' => '/incident/deliver',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempKAIUZH'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'A short description of struct',
'properties' => [
'incidentId' => ['description' => 'Management event ID. ', 'example' => '1223212', 'format' => 'int64', 'required' => false, 'title' => '', 'type' => 'integer'],
'assignUserId' => ['description' => 'User ID to whom the event is reassigned. ', 'example' => '212321', 'format' => 'int64', 'required' => false, 'title' => '', 'type' => 'integer'],
'clientToken' => ['description' => 'Idempotency validation ID. ', 'example' => 'FD200FAE-E98F-496E-BFE6-4CE61CS9A221', 'required' => false, 'title' => '', 'type' => 'string'],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Schema of Response',
'properties' => [
'requestId' => ['description' => 'Id of the request', 'example' => 'FD200FAE-E98F-496E-BFE6-4CE61E59A2FS', 'title' => 'Id of the request', 'type' => 'string'],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'IncidentUpdateInvalid', 'errorMessage' => 'The incident update is invalid.', 'description' => ''],
['errorCode' => 'IncidentStatusInvalid', 'errorMessage' => 'The incident status is invalid.', 'description' => ''],
],
404 => [
['errorCode' => 'IncidentNotExtisted', 'errorMessage' => 'The incident does not exist.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"FD200FAE-E98F-496E-BFE6-4CE61E59A2FS\\"\\n}","type":"json"}]',
'title' => 'Change Owner of Management Event ',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'gemp:DeliverIncident',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeliverIncident'],
],
],
],
'DisableEscalationPlan' => [
'summary' => 'Disable an upgrade plan.',
'path' => '/escalationPlan/disable',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempGUN0ZL'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'A short description of struct',
'properties' => [
'escalationPlanId' => ['description' => 'Upgrade plan ID.', 'example' => '234534', 'format' => 'int64', 'required' => true, 'title' => '', 'type' => 'integer'],
'clientToken' => ['description' => 'Idempotency identity.', 'example' => 'A5A1FEAE-9C47-011C-9C73-A376BC2REQUEST', 'required' => false, 'title' => 'clientToken', 'type' => 'string'],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Schema of Response',
'properties' => [
'requestId' => ['description' => 'Id of the request', 'example' => 'A5A1FEAE-9C47-011C-9C73-A376BC21925D', 'title' => 'Id of the request', 'type' => 'string'],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'EscalationPlanAlreadyDisable', 'errorMessage' => 'The escalation plan is already disabled.', 'description' => ''],
],
404 => [
['errorCode' => 'EscalationPlanNotExists', 'errorMessage' => 'The specified escalation plan does not exist.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"A5A1FEAE-9C47-011C-9C73-A376BC21925D\\"\\n}","type":"json"}]',
'title' => 'Disable an upgrade plan',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'gemp:DisableEscalationPlan',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DisableEscalationPlan'],
],
],
],
'DisableIntegrationConfig' => [
'summary' => 'Disable the integration configuration.',
'path' => '/integrationConfig/disable',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempSLACC7'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'A short description of struct',
'properties' => [
'integrationConfigId' => ['description' => 'Integration configuration ID', 'example' => '12345703', 'format' => 'int64', 'required' => false, 'type' => 'integer', 'title' => ''],
'clientToken' => ['description' => 'Idempotency identity', 'example' => '601FA6A2-AC5C-4B59-BE11-378F887A6A11', 'required' => false, 'title' => '', 'type' => 'string'],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Schema of Response',
'properties' => [
'requestId' => ['description' => 'requestId', 'example' => '601FA6A2-AC5C-4B59-BE11-378F887A6A11', 'title' => 'requestId', 'type' => 'string'],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'errorCodes' => [
403 => [
['errorCode' => 'IntegationConfigNotIntegrated', 'errorMessage' => 'The specified integration config is not integrated.', 'description' => ''],
['errorCode' => 'IntegationConfigAlreadyDisable', 'errorMessage' => 'The specified integration config is already disabled.', 'description' => ''],
],
[
['errorCode' => 'IntegationConfigNotExists', 'errorMessage' => 'The specified integration config does not exist.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"601FA6A2-AC5C-4B59-BE11-378F887A6A11\\"\\n}","type":"json"}]',
'title' => 'Disable the integration configuration',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'gemp:DisableIntegrationConfig',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DisableIntegrationConfig'],
],
],
],
'DisableRouteRule' => [
'summary' => 'Disable a rule.',
'path' => '/routeRule/disable',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempLJVP1W'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'body',
'properties' => [
'routeRuleId' => ['description' => 'Rule ID.', 'example' => '1', 'format' => 'int64', 'required' => true, 'title' => '', 'type' => 'integer'],
'clientToken' => ['description' => 'Idempotency token.', 'example' => 'C4BE3837-1A13-413B-A225-2C88188E8A43', 'required' => false, 'title' => '', 'type' => 'string'],
],
'required' => false,
'type' => 'object',
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Schema of Response',
'properties' => [
'requestId' => ['description' => 'Request ID.', 'example' => 'C4BE3837-1A13-413B-A225-2C88188E8A43', 'required' => true, 'title' => '', 'type' => 'string'],
'data' => ['description' => 'C4BE3837-1A13-413B-A225-2C88188E8A43', 'example' => 'null', 'format' => 'int64', 'title' => 'C4BE3837-1A13-413B-A225-2C88188E8A43', 'type' => 'integer'],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'errorCodes' => [
404 => [
['errorCode' => 'RouteRuleNotExisted', 'errorMessage' => 'The rule does not exist.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"C4BE3837-1A13-413B-A225-2C88188E8A43\\",\\n \\"data\\": 0\\n}","type":"json"}]',
'title' => 'Disable Rule',
'requestParamsDescription' => "\n",
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'gemp:DisableRouteRule',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DisableRouteRule'],
],
],
],
'DisableServiceGroupWebhook' => [
'summary' => 'Disable the webhook of a service group.',
'path' => '/services/group/disableWebhook',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgemp1A354K'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'A short description of struct',
'properties' => [
'serviceGroupId' => ['description' => 'Service group ID.', 'example' => '1', 'format' => 'int64', 'required' => false, 'title' => '', 'type' => 'integer'],
'clientToken' => ['description' => 'Idempotency token.', 'example' => 'C4BE3837-1A13-413B-A225-2C88188E8A43', 'required' => false, 'title' => '', 'type' => 'string'],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Schema of Response',
'properties' => [
'requestId' => ['description' => 'Id of the request', 'example' => 'C4BE3837-1A13-413B-A225-2C88188E8A43', 'title' => 'Id of the request', 'type' => 'string'],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'DisableWebhookFailed', 'errorMessage' => 'Disabling webhook failed.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"C4BE3837-1A13-413B-A225-2C88188E8A43\\"\\n}","type":"json"}]',
'title' => 'Disable the webhook of a service group',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'gemp:DisableServiceGroupWebhook',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DisableServiceGroupWebhook'],
],
],
],
'DisableSubscription' => [
'summary' => 'Disable notification subscription. ',
'path' => '/notify/subscription/doDisable',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempM00V6L'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'A short description of struct',
'properties' => [
'subscriptionId' => ['description' => 'Subscription ID. ', 'example' => '89', 'format' => 'int64', 'required' => false, 'type' => 'integer', 'title' => ''],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Schema of Response',
'properties' => [
'requestId' => ['description' => 'requestId', 'example' => '10REQUES-AC5C-4B59-BE11-378F117A6A88', 'type' => 'string', 'title' => ''],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'errorCodes' => [
403 => [
['errorCode' => 'NotifySubsAlreadyDisable', 'errorMessage' => 'The specified subscription is already disabled.', 'description' => ''],
],
[
['errorCode' => 'NotifySubsNotExists', 'errorMessage' => 'The specified subscription does not exist.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"10REQUES-AC5C-4B59-BE11-378F117A6A88\\"\\n}","type":"json"}]',
'title' => 'Disable notification subscription ',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'gemp:DisableSubscription',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DisableSubscription'],
],
],
],
'EnableEscalationPlan' => [
'summary' => 'Enable an escalation plan.',
'path' => '/escalationPlan/enable',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempGUN0ZL'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'A short description of struct',
'properties' => [
'escalationPlanId' => ['description' => 'The escalation plan ID.', 'example' => '234534', 'format' => 'int64', 'required' => true, 'title' => '', 'type' => 'integer'],
'clientToken' => ['description' => 'An idempotency identity.', 'example' => 'A5A1FEAE-9C47-011C-9C73-A376BC2REQUEST', 'required' => false, 'title' => 'clientToken', 'type' => 'string'],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Schema of Response',
'properties' => [
'requestId' => ['description' => 'Id of the request', 'example' => 'A5A1FEAE-9C47-011C-9C73-A376BC21925D', 'title' => 'Id of the request', 'type' => 'string'],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'EscalationPlanAlreadyEnable', 'errorMessage' => 'The escalation plan is already enabled.', 'description' => ''],
],
404 => [
['errorCode' => 'EscalationPlanNotExists', 'errorMessage' => 'The specified escalation plan does not exist.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"A5A1FEAE-9C47-011C-9C73-A376BC21925D\\"\\n}","type":"json"}]',
'title' => 'Enable an escalation plan',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'gemp:EnableEscalationPlan',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'EnableEscalationPlan'],
],
],
],
'EnableIntegrationConfig' => [
'summary' => 'Enable the integration configuration. ',
'path' => '/integrationConfig/enable',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempBHVB81'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'A short description of struct',
'properties' => [
'integrationConfigId' => ['description' => 'Integration configuration ID. ', 'example' => '197667760', 'format' => 'int64', 'required' => false, 'type' => 'integer', 'title' => ''],
'clientToken' => ['description' => 'Idempotency identity. ', 'example' => '601FA6A2-AC5C-4B59-BE11-378F887A6A11', 'required' => false, 'title' => '', 'type' => 'string'],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Schema of Response',
'properties' => [
'requestId' => ['description' => 'requestId', 'example' => '601FA6A2-AC5C-4B59-BE11-378F887A6A11', 'type' => 'string', 'title' => ''],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'errorCodes' => [
403 => [
['errorCode' => 'IntegationConfigNotIntegrated', 'errorMessage' => 'The specified integration config is not integrated.', 'description' => ''],
['errorCode' => 'IntegationConfigAlreadyEnable', 'errorMessage' => 'The specified integration config is already enabled.', 'description' => ''],
],
[
['errorCode' => 'IntegationConfigNotExists', 'errorMessage' => 'The specified integration config does not exist.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"601FA6A2-AC5C-4B59-BE11-378F887A6A11\\"\\n}","type":"json"}]',
'title' => 'Enable Integration Configuration ',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'gemp:EnableIntegrationConfig',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'EnableIntegrationConfig'],
],
],
],
'EnableRouteRule' => [
'summary' => 'Enables a routing rule.',
'path' => '/routeRule/enable',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempLJVP1W'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'Request Body.',
'properties' => [
'routeRuleId' => ['description' => 'Rule ID.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1', 'title' => ''],
'clientToken' => ['description' => 'Idempotent token.', 'type' => 'string', 'required' => true, 'example' => 'C4BE3837-1A13-413B-A225-2C88188E8A43', 'title' => ''],
],
'required' => false,
'type' => 'object',
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Response structure.',
'properties' => [
'requestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'C4BE3837-1A13-413B-A225-2C88188E8A43', 'title' => ''],
'data' => ['description' => 'Returned data.', 'type' => 'integer', 'format' => 'int32', 'example' => 'null', 'title' => ''],
],
'type' => 'object',
'title' => '',
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'EnableRouteRuleFail', 'errorMessage' => 'Failed to enable the rules.', 'description' => ''],
],
404 => [
['errorCode' => 'RouteRuleNotExisted', 'errorMessage' => 'The rule does not exist.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"C4BE3837-1A13-413B-A225-2C88188E8A43\\",\\n \\"data\\": 0\\n}","type":"json"}]',
'title' => 'Enable Rule',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'gemp:EnableRouteRule',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'EnableRouteRule'],
],
],
],
'EnableServiceGroupWebhook' => [
'summary' => 'Enable the webhook for a service group. ',
'path' => '/services/group/enableWebhook',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgemp1A354K'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'A short description of struct',
'properties' => [
'serviceGroupId' => ['description' => 'Service group ID. ', 'example' => '1', 'format' => 'int64', 'required' => false, 'title' => '', 'type' => 'integer'],
'clientToken' => ['description' => 'Idempotency token. ', 'example' => 'C4BE3837-1A13-413B-A225-2C88188E8A43', 'required' => false, 'title' => '', 'type' => 'string'],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Schema of Response',
'properties' => [
'requestId' => ['description' => 'Id of the request', 'example' => 'C4BE3837-1A13-413B-A225-2C88188E8A43', 'title' => 'Id of the request', 'type' => 'string'],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'EnableServiceGroupWebhookFail', 'errorMessage' => 'Failed to enable the service group webhook.', 'description' => ''],
['errorCode' => 'ServiceGroupNotExisted', 'errorMessage' => 'The service group does not exist.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"C4BE3837-1A13-413B-A225-2C88188E8A43\\"\\n}","type":"json"}]',
'title' => 'Enable the webhook for a service group ',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'gemp:EnableServiceGroupWebhook',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'EnableServiceGroupWebhook'],
],
],
],
'EnableSubscription' => [
'summary' => 'Enable Notifications subscription.',
'path' => '/notify/subscription/enable',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempJPZI30'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'A short description of struct',
'properties' => [
'subscriptionId' => ['description' => 'Subscription ID.', 'example' => '10', 'format' => 'int64', 'required' => false, 'type' => 'integer', 'title' => ''],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Schema of Response',
'properties' => [
'requestId' => ['description' => 'requestId', 'example' => 'c26f36de-1ec8-496a-a828-880676c5ef81', 'type' => 'string', 'title' => ''],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'errorCodes' => [
403 => [
['errorCode' => 'NotifySubsAlreadyEnable', 'errorMessage' => 'The specified subscription is already enabled.', 'description' => ''],
],
[
['errorCode' => 'NotifySubsNotExists', 'errorMessage' => 'The specified subscription does not exist.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"c26f36de-1ec8-496a-a828-880676c5ef81\\"\\n}","type":"json"}]',
'title' => 'Enable Notifications subscription',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'gemp:EnableSubscription',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'EnableSubscription'],
],
],
],
'FinishIncident' => [
'summary' => 'Finishes an incident.',
'path' => '/incident/finish',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempKAIUZH'],
],
'parameters' => [
[
'name' => 'Body',
'in' => 'body',
'style' => 'flat',
'schema' => [
'description' => 'Request body parameters.',
'properties' => [
'incidentIds' => [
'description' => 'Incident IDs. You can specify up to 10 IDs.',
'items' => ['description' => 'An incident ID.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '12321', 'title' => ''],
'required' => true,
'title' => '',
'type' => 'array',
'example' => '',
],
'incidentFinishReason' => ['description' => 'The reason for finishing the incident.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => '', 'required' => false],
'incidentFinishReasonDescription' => ['description' => 'A description of the reason for finishing the incident.', 'type' => 'string', 'example' => '原因', 'title' => '', 'required' => false],
'incidentFinishSolution' => ['description' => 'The solution applied to resolve the incident.', 'type' => 'integer', 'format' => 'int32', 'example' => '3', 'title' => '', 'required' => false],
'incidentFinishSolutionDescription' => ['description' => 'A description of the solution applied to resolve the incident.', 'type' => 'string', 'example' => '原因', 'title' => '', 'required' => false],
'clientToken' => ['description' => 'An idempotency token.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'FD200FAE-E98F-496E-BFE6-4CE61E59A2DC'],
],
'required' => true,
'title' => '',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Response schema',
'properties' => [
'requestId' => ['title' => 'requestId', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'FD200FAE-E98F-496E-BFE6-4CE61E59A2E9'],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'IncidentUpdateInvalid', 'errorMessage' => 'The incident update is invalid.', 'description' => ''],
],
404 => [
['errorCode' => 'IncidentNotExtisted', 'errorMessage' => 'The incident does not exist.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"FD200FAE-E98F-496E-BFE6-4CE61E59A2E9\\"\\n}","type":"json"}]',
'title' => 'Complete Event',
'requestParamsDescription' => '{"incidentIds":\\[170003050],"incidentFinishReason":"1","incidentFinishReasonDescription":"222","incidentFinishSolution":"1","incidentFinishSolutionDescription":"22222222","clientToken":"155afb33-2300-4c7c-a114-4c8ab1ef4ba7"}',
'changeSet' => [
['createdAt' => '2022-08-10T09:29:57.000Z', 'description' => 'Request parameters changed'],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'gemp:FinishIncident',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'FinishIncident'],
],
],
],
'FinishProblem' => [
'summary' => 'Complete the fault resolution.',
'path' => '/problem/finish',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempZB7ZAW'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'A short description of struct',
'properties' => [
'problemId' => ['description' => 'Fault ID.', 'example' => '3123', 'format' => 'int64', 'required' => false, 'title' => '', 'type' => 'integer'],
'clientToken' => ['description' => 'Idempotency validation.', 'example' => '6338F42D-ED0B-442C-932C-657300AFB4BB', 'required' => false, 'title' => '', 'type' => 'string'],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Schema of Response',
'properties' => [
'requestId' => ['description' => 'Id of the request', 'example' => '6338F42D-ED0B-442C-932C-657300AFB4BB', 'title' => 'Id of the request', 'type' => 'string'],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'ProblemStatusError', 'errorMessage' => 'The problem status is abnormal.', 'description' => ''],
],
404 => [
['errorCode' => 'ProblemNotExisted', 'errorMessage' => 'The problem does not exist.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"6338F42D-ED0B-442C-932C-657300AFB4BB\\"\\n}","type":"json"}]',
'title' => 'Fault Resolution Completion',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'gemp:FinishProblem',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'FinishProblem'],
],
],
],
'GeneratePictureLink' => [
'summary' => 'Generate Image Link ',
'path' => '/rich/oss/getPictureLink',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempHBPHMV'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'A short description of struct',
'properties' => [
'keys' => [
'description' => 'keys',
'items' => ['description' => 'oss key', 'example' => 'oss key', 'required' => false, 'type' => 'string', 'title' => ''],
'required' => false,
'title' => 'keys',
'type' => 'array',
'example' => '',
],
'problemId' => ['description' => 'Problem ID.', 'example' => '50002020', 'format' => 'int64', 'required' => false, 'title' => '', 'type' => 'integer'],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Schema of Response',
'properties' => [
'requestId' => ['description' => 'Id of the request', 'example' => 'xxxxxx', 'title' => 'Id of the request', 'type' => 'string'],
'data' => [
'description' => 'data',
'properties' => [
'links' => [
'description' => 'array',
'items' => [
'description' => 'object',
'properties' => [
'key' => ['description' => 'oss key', 'example' => 'problem/38b2a36d-484d-4242-b9cf-d243e5*****', 'title' => 'oss key', 'type' => 'string'],
'link' => ['description' => 'url', 'example' => 'http://*****-bucket.oss-cn-shanghai.aliyuncs.com/problem/38b2a36d-484d-4242-b9cf-d243e53a82c6?Expires=1625662477&OSSAccessKeyId=LTAI****************&Signature=1NFnt%2BnudD%2F%2BHVc31b6v5%2FF*****', 'title' => 'url', 'type' => 'string'],
],
'type' => 'object',
'title' => '',
'example' => '',
],
'title' => 'array',
'type' => 'array',
'example' => '',
],
],
'type' => 'object',
'title' => '',
'example' => '',
],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"xxxxxx\\",\\n \\"data\\": {\\n \\"links\\": [\\n {\\n \\"key\\": \\"problem/38b2a36d-484d-4242-b9cf-d243e5*****\\",\\n \\"link\\": \\"http://*****-bucket.oss-cn-shanghai.aliyuncs.com/problem/38b2a36d-484d-4242-b9cf-d243e53a82c6?Expires=1625662477&OSSAccessKeyId=LTAI****************&Signature=1NFnt%2BnudD%2F%2BHVc31b6v5%2FF*****\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
'title' => 'Generate Image Link ',
'requestParamsDescription' => '{'."\n"
.' "keys" : [ "oss key" ],'."\n"
.' "problemId" : 50002020'."\n"
.'}',
'responseParamsDescription' => '{'."\n"
.' "requestId": "xxxxxx",'."\n"
.' "data": {'."\n"
.' "links": ['."\n"
.' {'."\n"
.' "key": "problem/38b2a36d-484d-4242-b9cf-d243e53a82c6",'."\n"
.' "link": "http://gam-objects-bucket.oss-cn-shanghai.aliyuncs.com/problem/38b2a36d-484d-4242-b9cf-d243e53a82c6?Expires=1625662477&OSSAccessKeyId=XXXX&Signature=XXXX"'."\n"
.' }'."\n"
.' ]'."\n"
.' }'."\n"
.'}',
'changeSet' => [
['createdAt' => '2024-07-08T11:07:03.000Z', 'description' => 'Response parameters changed'],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:GeneratePictureLink',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GeneratePictureLink'],
],
],
],
'GeneratePictureUploadSign' => [
'summary' => 'Generate image upload signature information. ',
'path' => '/rich/oss/generatePostPolicy',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempHBPHMV'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'A short description of struct',
'properties' => [
'instanceId' => ['description' => 'Resource ID. ', 'example' => '123123', 'format' => 'int64', 'required' => false, 'title' => '', 'type' => 'integer'],
'instanceType' => ['description' => 'Resource Type: '."\n"
.'- INCIDENT: management event image. '."\n"
.'- ALERT: Alerting image. '."\n"
.'- PROBLEM: Problem image. ', 'example' => 'INCIDENT', 'required' => false, 'title' => '', 'type' => 'string'],
'files' => [
'description' => 'List of image files. ',
'items' => [
'properties' => [
'fileName' => ['description' => 'Image name.', 'example' => '文件', 'required' => false, 'title' => '', 'type' => 'string'],
'fileType' => ['description' => 'The following image types are supported:'."\n"
.'- JPEG'."\n"
.'- PNG'."\n"
.'- GIF', 'example' => 'JPG', 'required' => false, 'title' => '', 'type' => 'string'],
'fileSize' => ['description' => 'File size in bytes.', 'example' => '100', 'format' => 'int64', 'required' => false, 'title' => '', 'type' => 'integer'],
],
'required' => false,
'type' => 'object',
'description' => 'List of image files. ',
'title' => '',
'example' => '',
],
'required' => false,
'title' => '',
'type' => 'array',
'example' => '',
],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Schema of Response',
'properties' => [
'requestId' => ['description' => 'Id of the request', 'example' => 'e2d4306a-bf4d-4345-9ae6-158223c85dbd', 'title' => 'Id of the request', 'type' => 'string'],
'data' => [
'description' => 'data',
'properties' => [
'bucketName' => ['description' => 'oss bucket name', 'example' => 'gam-objects-bucket', 'title' => 'oss bucket name', 'type' => 'string'],
'policy' => ['description' => 'policy', 'example' => 'eyJleHBpcmF0aW9uIjoiMjAyMS0wNy0xM1QwNDowOTo0NS4yODJaIiwiY29uZGl0aW9ucyI6W1siY29udGVudC1sZW5ndGgtcmFuZ2UiLDAsMTA0ODU3NjAwXSxbInN0YXJ0cy13aXRoIiwiJGtleSIsInByb2JsZW0iXV19', 'title' => 'policy', 'type' => 'string'],
'signature' => ['description' => 'signature', 'example' => 'SHqvIkwUNQd8Hervklir*****', 'title' => 'signature', 'type' => 'string'],
'accessKeyId' => ['description' => 'accessKeyId', 'example' => 'LTAI****************', 'title' => 'accessKeyId', 'type' => 'string'],
'url' => ['description' => 'url', 'example' => 'https://*****-bucket.oss-cn-shanghai.aliyuncs.com', 'title' => 'url', 'type' => 'string'],
'files' => [
'description' => 'files',
'items' => [
'properties' => [
'fileName' => ['description' => 'Image name. ', 'example' => '文件A', 'title' => '', 'type' => 'string'],
'fileType' => ['description' => 'Image type.', 'example' => 'JPG', 'title' => '', 'type' => 'string'],
'fileSize' => ['description' => 'Image size. ', 'example' => '100', 'format' => 'int64', 'title' => '', 'type' => 'integer'],
'key' => ['description' => 'oss key', 'example' => 'problem/25a2316c-b08d-41a5-9f41-*****', 'title' => 'oss key', 'type' => 'string'],
],
'type' => 'object',
'description' => 'Image list. ',
'title' => '',
'example' => '',
],
'title' => 'files',
'type' => 'array',
'example' => '',
],
],
'title' => 'data',
'type' => 'object',
'example' => '',
],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"e2d4306a-bf4d-4345-9ae6-158223c85dbd\\",\\n \\"data\\": {\\n \\"bucketName\\": \\"gam-objects-bucket\\",\\n \\"policy\\": \\"eyJleHBpcmF0aW9uIjoiMjAyMS0wNy0xM1QwNDowOTo0NS4yODJaIiwiY29uZGl0aW9ucyI6W1siY29udGVudC1sZW5ndGgtcmFuZ2UiLDAsMTA0ODU3NjAwXSxbInN0YXJ0cy13aXRoIiwiJGtleSIsInByb2JsZW0iXV19\\",\\n \\"signature\\": \\"SHqvIkwUNQd8Hervklir*****\\",\\n \\"accessKeyId\\": \\"LTAI****************\\",\\n \\"url\\": \\"https://*****-bucket.oss-cn-shanghai.aliyuncs.com\\",\\n \\"files\\": [\\n {\\n \\"fileName\\": \\"文件A\\",\\n \\"fileType\\": \\"JPG\\",\\n \\"fileSize\\": 100,\\n \\"key\\": \\"problem/25a2316c-b08d-41a5-9f41-*****\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
'title' => 'Generate Image Upload Signature Information ',
'changeSet' => [
['createdAt' => '2024-07-08T11:07:03.000Z', 'description' => 'Response parameters changed'],
],
'ramActions' => [
[
'operationType' => 'none',
'ramAction' => [
'action' => 'gemp:GeneratePictureUploadSign',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GeneratePictureUploadSign'],
],
],
],
'GenerateProblemPictureLink' => [
'summary' => 'Obtain the fault image links.',
'path' => '/problem/process/oss/getPresignedLink',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempZB7ZAW'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'A short description of struct',
'properties' => [
'keys' => [
'description' => 'oss key',
'items' => ['description' => 'keys', 'example' => 'problem/38b2a7893-484d-8989-b9cf-d243e53a82c6', 'required' => false, 'type' => 'string', 'title' => ''],
'required' => false,
'title' => 'oss key',
'type' => 'array',
'example' => '',
],
'problemId' => ['description' => 'Fault ID.', 'example' => '50002021', 'required' => false, 'title' => '', 'type' => 'string'],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Schema of Response',
'properties' => [
'requestId' => ['description' => 'requestId', 'example' => 'c26f36de-1ec8-496a-a828-88067879ef81', 'title' => 'requestId', 'type' => 'string'],
'data' => [
'description' => 'data',
'properties' => [
'links' => [
'description' => 'List of image links.',
'items' => [
'description' => 'object',
'properties' => [
'key' => ['description' => 'oss key', 'example' => 'problem/xxxxxxxxxx-484d-4242-b9cf-xxxxxxxxxx', 'title' => 'oss key', 'type' => 'string'],
'link' => ['description' => 'Image link.', 'example' => 'http://xxxx-xxxx-bucket.oss-cn-xxxx.aliyuncs.com/pxxxx/38xxxxd-4789-4242-b9cfxxxxxxxxc6?Expires=1xxxxxxxxxx7&OSSAccessKeyId=xxxxxxxxxxxxxx7&Signature=xxxxxxxxxxxxxxxxxxxxxx', 'title' => '', 'type' => 'string'],
],
'type' => 'object',
'title' => '',
'example' => '',
],
'title' => '',
'type' => 'array',
'example' => '',
],
],
'type' => 'object',
'title' => '',
'example' => '',
],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'errorCodes' => [
404 => [
['errorCode' => 'ProblemNotExisted', 'errorMessage' => 'The problem does not exist.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"c26f36de-1ec8-496a-a828-88067879ef81\\",\\n \\"data\\": {\\n \\"links\\": [\\n {\\n \\"key\\": \\"problem/xxxxxxxxxx-484d-4242-b9cf-xxxxxxxxxx\\",\\n \\"link\\": \\"http://xxxx-xxxx-bucket.oss-cn-xxxx.aliyuncs.com/pxxxx/38xxxxd-4789-4242-b9cfxxxxxxxxc6?Expires=1xxxxxxxxxx7&OSSAccessKeyId=xxxxxxxxxxxxxx7&Signature=xxxxxxxxxxxxxxxxxxxxxx\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
'title' => 'Obtain the fault image links',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:GenerateProblemPictureLink',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GenerateProblemPictureLink'],
],
],
],
'GenerateProblemPictureUploadSign' => [
'summary' => 'Obtain signature information for uploading fault images. ',
'path' => '/problem/process/oss/generatePostPolicy',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgemp4EPB1U'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'A short description of struct',
'properties' => [
'fileName' => ['description' => 'File name. ', 'example' => 'test', 'required' => false, 'title' => '', 'type' => 'string'],
'fileType' => ['description' => 'File type. ', 'example' => 'png', 'required' => false, 'title' => '', 'type' => 'string'],
'fileSize' => ['description' => 'File size unit (KB). ', 'example' => '1000', 'format' => 'int64', 'required' => false, 'title' => '', 'type' => 'integer'],
'problemId' => ['description' => 'Problem ID. ', 'example' => '67876', 'format' => 'int64', 'required' => false, 'title' => '', 'type' => 'integer'],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Schema of Response',
'properties' => [
'requestId' => ['description' => 'requestId', 'example' => 'e2d4306a-bf4d-4345-9ae6-158223c85dbd', 'title' => 'requestId', 'type' => 'string'],
'data' => [
'description' => 'data',
'properties' => [
'bucketName' => ['description' => 'oss bucket name', 'example' => 'xxxx-xxxx-xxxx', 'title' => 'oss bucket name', 'type' => 'string'],
'key' => ['description' => 'oss key', 'example' => 'problem/xxxxxxxxxxxxxxxx1-b3185d529277', 'title' => 'oss key', 'type' => 'string'],
'policy' => ['description' => 'policy', 'example' => 'eyJleHBpcmF0a0p0IjoiMjAyMS0wNy0xM1QwNDowOTo0NS4yODJaIiwiY29uZGl0aW9ucyI6W1siY29udGVudC1sZW5ndGgtcmFuZ2UiLDAsMTA0ODU3NjAwXSxbInN0YXJ0cy13aXRoIiwiJGtleSIsInByb2JsZW0iXV19', 'title' => 'policy', 'type' => 'string'],
'signature' => ['description' => 'signature', 'example' => 'SHqvIkwUNQd0o0rvklir2K8U+ts=', 'title' => 'signature', 'type' => 'string'],
'url' => ['description' => 'url', 'example' => 'https://xxx-xxx-bucket.oss-cn-shanghai.aliyuncs.com', 'title' => 'url', 'type' => 'string'],
'accessKeyId' => ['description' => 'ossaccessKeyId', 'example' => 'XXXXXXXH8GMy1iLRCno7', 'title' => 'ossaccessKeyId', 'type' => 'string'],
],
'type' => 'object',
'title' => '',
'example' => '',
],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"e2d4306a-bf4d-4345-9ae6-158223c85dbd\\",\\n \\"data\\": {\\n \\"bucketName\\": \\"xxxx-xxxx-xxxx\\",\\n \\"key\\": \\"problem/xxxxxxxxxxxxxxxx1-b3185d529277\\",\\n \\"policy\\": \\"eyJleHBpcmF0a0p0IjoiMjAyMS0wNy0xM1QwNDowOTo0NS4yODJaIiwiY29uZGl0aW9ucyI6W1siY29udGVudC1sZW5ndGgtcmFuZ2UiLDAsMTA0ODU3NjAwXSxbInN0YXJ0cy13aXRoIiwiJGtleSIsInByb2JsZW0iXV19\\",\\n \\"signature\\": \\"SHqvIkwUNQd0o0rvklir2K8U+ts=\\",\\n \\"url\\": \\"https://xxx-xxx-bucket.oss-cn-shanghai.aliyuncs.com\\",\\n \\"accessKeyId\\": \\"XXXXXXXH8GMy1iLRCno7\\"\\n }\\n}","type":"json"}]',
'title' => 'Obtain signature information for uploading fault images ',
'changeSet' => [
['createdAt' => '2024-08-15T11:46:18.000Z', 'description' => 'Response parameters changed'],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:GenerateProblemPictureUploadSign',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GenerateProblemPictureUploadSign'],
],
],
],
'GetEscalationPlan' => [
'summary' => 'Retrieve detailed information about a specified dynamic lookup table.',
'path' => '/escalationPlan/detail',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempGUN0ZL'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'A short description of struct',
'properties' => [
'escalationPlanId' => ['description' => 'Escalation plan ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '345', 'title' => ''],
'clientToken' => ['description' => 'Idempotency token', 'type' => 'string', 'example' => 'A5A1FEAE-9C47-011C-9C73-A376BC2REQUEST', 'title' => '', 'required' => false],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Response schema',
'properties' => [
'requestId' => ['title' => 'Id of the request', 'description' => 'Request ID', 'type' => 'string', 'example' => 'A5A1FEAE-9C47-011C-9C73-A376BC2REQUEST'],
'data' => [
'description' => 'Data',
'properties' => [
'escalationPlanId' => ['description' => 'Escalation plan ID', 'type' => 'integer', 'format' => 'int64', 'example' => '2345', 'title' => ''],
'escalationPlanName' => ['description' => 'Escalation plan name', 'type' => 'string', 'example' => '升级计划234', 'title' => ''],
'escalationPlanDescription' => ['description' => 'Escalation plan description', 'type' => 'string', 'example' => '描述1234', 'title' => ''],
'escalationPlanScopeObjects' => [
'description' => 'Escalation plan scope objects',
'items' => [
'description' => 'Object',
'properties' => [
'scopeObjectId' => ['description' => 'Scope object ID', 'type' => 'integer', 'format' => 'int64', 'example' => '234', 'title' => ''],
'scope' => ['description' => 'Scope object type', 'type' => 'string', 'example' => 'SERVICE', 'title' => ''],
'scopeObjectName' => ['description' => 'Scope object name', 'type' => 'string', 'example' => 'xx服务', 'title' => ''],
'escalationPlanScopeObjects' => ['description' => 'Service deletion flag. 1: active. 0: deleted.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'],
'scopeObjectDeletedType' => ['description' => 'Service deletion flag. 1: active. 0: deleted.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'],
],
'type' => 'object',
'title' => '',
'example' => '',
],
'title' => '',
'type' => 'array',
'example' => '',
],
'escalationPlanRules' => [
'description' => 'Escalation plan rules',
'items' => [
'description' => 'Object',
'properties' => [
'escalationPlanRuleId' => ['description' => 'Escalation plan rule ID', 'type' => 'integer', 'format' => 'int64', 'example' => '345', 'title' => ''],
'escalationPlanConditions' => [
'description' => 'Escalation plan conditions',
'items' => [
'description' => 'Object',
'properties' => [
'level' => ['description' => 'Event level', 'type' => 'string', 'example' => 'P1', 'title' => ''],
'effection' => ['description' => 'Impact level', 'type' => 'string', 'example' => 'LOW', 'title' => ''],
],
'type' => 'object',
'title' => '',
'example' => '',
],
'title' => '',
'type' => 'array',
'example' => '',
],
'escalationPlanStrategies' => [
'description' => 'Escalation plan strategies',
'items' => [
'description' => 'Object',
'properties' => [
'noticeTime' => ['description' => 'Notification time (minutes)', 'type' => 'integer', 'format' => 'int64', 'example' => '40', 'title' => ''],
'escalationPlanType' => ['description' => 'Escalation plan type', 'type' => 'string', 'example' => 'UN_ACKNOWLEDGE', 'title' => ''],
'noticeObjectList' => [
'description' => 'Notification recipients',
'items' => [
'description' => 'Object',
'properties' => [
'noticeObjectId' => ['description' => 'Notification recipient ID', 'type' => 'integer', 'format' => 'int64', 'example' => '234', 'title' => ''],
'noticeObjectName' => ['description' => 'Notification recipient name', 'type' => 'string', 'example' => '张老三', 'title' => ''],
],
'type' => 'object',
'title' => '',
'example' => '',
],
'title' => '',
'type' => 'array',
'example' => '',
],
'noticeChannels' => ['description' => 'Notification channel', 'type' => 'string', 'example' => 'SMS', 'title' => ''],
'enableWebhook' => ['description' => 'Enable group notifications', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
'serviceGroups' => [
'description' => 'Service groups',
'items' => [
'properties' => [
'id' => ['description' => 'Service group ID', 'type' => 'integer', 'format' => 'int64', 'example' => '343', 'title' => ''],
'serviceGroupName' => ['description' => 'Service group name', 'type' => 'string', 'example' => 'VCD是', 'title' => ''],
],
'type' => 'object',
'description' => 'Service group',
'title' => '',
'example' => '',
],
'title' => '',
'type' => 'array',
'example' => '',
],
'noticeObjects' => [
'description' => 'Notification recipients',
'type' => 'array',
'items' => ['description' => 'Notification recipient ID', 'type' => 'integer', 'format' => 'int64', 'example' => '111', 'title' => ''],
'title' => '',
'example' => '',
],
'noticeRoleList' => [
'description' => 'Role IDs',
'type' => 'array',
'items' => ['description' => 'The list of role IDs.', 'type' => 'integer', 'format' => 'int64', 'example' => '222', 'title' => ''],
'title' => '',
'example' => '',
],
'noticeRoleObjectList' => [
'description' => 'Role objects',
'type' => 'array',
'items' => [
'description' => 'A list of role objects.',
'type' => 'object',
'properties' => [
'id' => ['description' => 'Notification recipient ID', 'type' => 'integer', 'format' => 'int64', 'example' => '111', 'title' => ''],
'name' => ['description' => 'Notification recipient name', 'type' => 'string', 'example' => 'XX服务组', 'title' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
],
'type' => 'object',
'title' => '',
'example' => '',
],
'title' => '',
'type' => 'array',
'example' => '',
],
],
'type' => 'object',
'title' => '',
'example' => '',
],
'title' => '',
'type' => 'array',
'example' => '',
],
'createTime' => ['description' => 'Creation time', 'type' => 'string', 'example' => '2021-09-09 09:09:09', 'title' => ''],
'isGlobal' => ['title' => 'Indicates whether it is a global policy ', 'description' => 'Is global policy. true: yes. false: no.', 'type' => 'boolean', 'default' => 'false', 'example' => 'true'],
],
'title' => 'data',
'type' => 'object',
'example' => '',
],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'errorCodes' => [
404 => [
['errorCode' => 'EscalationPlanNotExists', 'errorMessage' => 'The specified escalation plan does not exist.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"A5A1FEAE-9C47-011C-9C73-A376BC2REQUEST\\",\\n \\"data\\": {\\n \\"escalationPlanId\\": 2345,\\n \\"escalationPlanName\\": \\"升级计划234\\",\\n \\"escalationPlanDescription\\": \\"描述1234\\",\\n \\"escalationPlanScopeObjects\\": [\\n {\\n \\"scopeObjectId\\": 234,\\n \\"scope\\": \\"SERVICE\\",\\n \\"scopeObjectName\\": \\"xx服务\\",\\n \\"escalationPlanScopeObjects\\": 1,\\n \\"scopeObjectDeletedType\\": 1\\n }\\n ],\\n \\"escalationPlanRules\\": [\\n {\\n \\"escalationPlanRuleId\\": 345,\\n \\"escalationPlanConditions\\": [\\n {\\n \\"level\\": \\"P1\\",\\n \\"effection\\": \\"LOW\\"\\n }\\n ],\\n \\"escalationPlanStrategies\\": [\\n {\\n \\"noticeTime\\": 40,\\n \\"escalationPlanType\\": \\"UN_ACKNOWLEDGE\\",\\n \\"noticeObjectList\\": [\\n {\\n \\"noticeObjectId\\": 234,\\n \\"noticeObjectName\\": \\"张老三\\"\\n }\\n ],\\n \\"noticeChannels\\": \\"SMS\\",\\n \\"enableWebhook\\": true,\\n \\"serviceGroups\\": [\\n {\\n \\"id\\": 343,\\n \\"serviceGroupName\\": \\"VCD是\\"\\n }\\n ],\\n \\"noticeObjects\\": [\\n 111\\n ],\\n \\"noticeRoleList\\": [\\n 222\\n ],\\n \\"noticeRoleObjectList\\": [\\n {\\n \\"id\\": 111,\\n \\"name\\": \\"XX服务组\\"\\n }\\n ]\\n }\\n ]\\n }\\n ],\\n \\"createTime\\": \\"2021-09-09 09:09:09\\",\\n \\"isGlobal\\": true\\n }\\n}","type":"json"}]',
'title' => 'Escalation Plan Details',
'changeSet' => [
['createdAt' => '2023-04-13T12:01:53.000Z', 'description' => 'Response parameters changed'],
['createdAt' => '2022-06-07T11:52:18.000Z', 'description' => 'Response parameters changed'],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:GetEscalationPlan',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetEscalationPlan'],
],
],
],
'GetEvent' => [
'summary' => 'Query the most recent alert.',
'path' => '/events/getLastTimeEvent',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempERNU0Z'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'A short description of struct',
'properties' => [
'monitorSourceId' => ['description' => 'Monitor source ID cannot be empty.', 'example' => '1', 'format' => 'int64', 'required' => true, 'title' => '', 'type' => 'integer'],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Schema of Response',
'properties' => [
'requestId' => ['description' => 'Id of the request', 'example' => 'XXXXXXXXXXXX', 'title' => 'Id of the request', 'type' => 'string'],
'data' => [
'description' => 'Return Result.',
'properties' => [
'monitorSourceId' => ['description' => 'Alert source ID.', 'example' => '1', 'format' => 'int64', 'title' => '', 'type' => 'integer'],
'monitorSourceName' => ['description' => 'Alert source name.', 'example' => 'zabbix', 'title' => '', 'type' => 'string'],
'eventTime' => ['description' => 'Alert reporting time.', 'example' => '2002-09-08 15:30:35', 'title' => '', 'type' => 'string'],
'eventJson' => ['description' => 'Alert content.', 'example' => '“”', 'title' => '', 'type' => 'string'],
],
'title' => '',
'type' => 'object',
'example' => '',
],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"XXXXXXXXXXXX\\",\\n \\"data\\": {\\n \\"monitorSourceId\\": 1,\\n \\"monitorSourceName\\": \\"zabbix\\",\\n \\"eventTime\\": \\"2002-09-08 15:30:35\\",\\n \\"eventJson\\": \\"“”\\"\\n }\\n}","type":"json"}]',
'title' => 'Query the most recent alert',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:GetEvent',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetEvent'],
],
],
],
'GetHomePageGuidance' => [
'summary' => 'Query homepage guidance configuration.',
'path' => '/guidance/detail',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempVWXIZC'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'Query parameters for homepage guidance.',
'properties' => [
'clientToken' => ['description' => 'Idempotency token.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '7564AA8A-7F49-594E-8E33-F43EB3875116'],
],
'required' => false,
'title' => '',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Response structure.',
'properties' => [
'requestId' => ['title' => 'Id of the request', 'description' => 'Request ID.', 'type' => 'string', 'example' => 'xxxxxx'],
'data' => [
'description' => 'Homepage guidance configuration.',
'properties' => [
'serviceStatus' => ['description' => 'Service configuration status.', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
'usersStatus' => ['description' => 'User configuration status.', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
'serviceGroupStatus' => ['description' => 'Service group configuration status.', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
'notifySubscriptionStatus' => ['description' => 'Notification subscription configuration status.', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
],
'type' => 'object',
'title' => '',
'example' => '',
],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"xxxxxx\\",\\n \\"data\\": {\\n \\"serviceStatus\\": true,\\n \\"usersStatus\\": true,\\n \\"serviceGroupStatus\\": true,\\n \\"notifySubscriptionStatus\\": true\\n }\\n}","type":"json"}]',
'title' => 'Query Home Page Configuration Guide',
'requestParamsDescription' => '{'."\n"
.'"pageNumber": 1,'."\n"
.'"pageSize": 10,'."\n"
.'"clientToken": "89b3ed86-e8d6-43b4-82a6-a711055806eb"'."\n"
.'}',
'responseParamsDescription' => '```'."\n"
.'{'."\n"
.' "data": {'."\n"
.' "usersStatus": true,'."\n"
.' "serviceStatus": true,'."\n"
.' "notifySubscriptionStatus": false,'."\n"
.' "serviceGroupStatus": true'."\n"
.' },'."\n"
.' "requestId": "CAB6E15D-ECE8-54A4-87C3-D701862DD4A2"'."\n"
.'}'."\n"
.'```',
'changeSet' => [
['createdAt' => '2021-10-20T13:27:37.000Z', 'description' => 'OpenAPI offline'],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:GetHomePageGuidance',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetHomePageGuidance'],
],
],
],
'GetIncident' => [
'summary' => 'Event details.',
'path' => '/incident/detail',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempJ0ENN8'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'body',
'properties' => [
'incidentId' => ['description' => 'The event ID.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'required' => false, 'example' => '32113'],
'clientToken' => ['description' => 'The client token that is used to ensure the idempotence of the request.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '2b63cdef-7ac3-4892-a76d-0f3389ef729f'],
],
'required' => false,
'type' => 'object',
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'The response structure.',
'properties' => [
'requestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '2b63cdef-7ac3-4892-a76d-0f3389ef7291', 'title' => ''],
'data' => [
'description' => 'data',
'properties' => [
'incidentId' => ['description' => 'The event ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '3213', 'title' => ''],
'routeRuleId' => ['description' => 'The routing rule ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '3123', 'title' => ''],
'routeRuleName' => ['description' => 'The name of the routing rule.', 'type' => 'string', 'example' => '流转规则A', 'title' => ''],
'relatedServiceId' => ['description' => 'The ID of the associated service.', 'type' => 'integer', 'format' => 'int64', 'example' => '312312', 'title' => ''],
'relatedServiceName' => ['description' => 'The name of the associated service.', 'type' => 'string', 'example' => '服务A', 'title' => ''],
'relatedServiceDescription' => ['description' => 'The description of the associated service.', 'type' => 'string', 'example' => '关联服务描述', 'title' => ''],
'incidentStatus' => ['description' => 'The status of the event. Valid values: ASSIGNED, RESPONDED, and FINISHED.', 'type' => 'string', 'example' => 'FINISHE', 'title' => ''],
'incidentLevel' => ['description' => 'The level of the event. The levels are P1, P2, P3, and P4, in descending order of severity.', 'type' => 'string', 'example' => 'P4', 'title' => ''],
'effect' => ['description' => 'The impact level. Valid values: HIGH and LOW.', 'type' => 'string', 'example' => 'LOW', 'title' => ''],
'assignUserId' => ['description' => 'The ID of the user to whom the event is assigned.', 'type' => 'integer', 'format' => 'int64', 'example' => '12312', 'title' => ''],
'assignUserName' => ['description' => 'The name of the user to whom the event is assigned. This name is obtained from the user table.', 'type' => 'string', 'example' => '小明', 'title' => ''],
'assignUserPhone' => ['description' => 'The phone number of the user to whom the event is assigned.', 'type' => 'string', 'example' => '1390000****', 'title' => ''],
'incidentNumber' => ['description' => 'The event number.', 'type' => 'string', 'example' => 'I3443831000000016247759753663894', 'title' => ''],
'incidentTitle' => ['description' => 'The event title.', 'type' => 'string', 'example' => '事件标题', 'title' => ''],
'createTime' => ['description' => 'The time when the event was created.', 'type' => 'string', 'example' => '2020-01-10 00:00:00', 'title' => ''],
'isManual' => ['description' => 'The source of the event. A value of \\`true\\` indicates that the event was created manually. A value of \\`false\\` indicates that the event was created automatically.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
'isUpgrade' => ['description' => 'Indicates whether the event was escalated.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
'incidentDescription' => ['description' => 'The event description.', 'type' => 'string', 'example' => '事件描述', 'title' => ''],
'problemId' => ['description' => 'The problem ID.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '232113'],
'problemNumber' => ['description' => 'The problem number.', 'type' => 'string', 'title' => '', 'example' => '3332113231453321'],
'durationTime' => ['description' => 'The duration.', 'type' => 'integer', 'format' => 'int64', 'example' => '3000000', 'title' => ''],
'notifyChannels' => [
'description' => 'The notification channels.',
'example' => '1 短信 2 邮件 3 电话 4 企微群 5 钉钉群 6飞书 7 群通知 8 slack',
'items' => ['type' => 'string', 'example' => 'WEBHOOK', 'description' => '', 'title' => ''],
'title' => '',
'type' => 'array',
],
'relatedServiceGroupName' => ['description' => 'The name of the associated service group.', 'type' => 'string', 'example' => '服务组A', 'title' => ''],
'relatedServiceGroupId' => ['description' => 'The ID of the associated service group.', 'type' => 'integer', 'format' => 'int64', 'example' => '13000', 'title' => ''],
'relServiceDeleteType' => ['description' => 'The service deletion field.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'],
'relRouteRuleDeleteType' => ['description' => 'The rule deletion field.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'],
'assignToWhoIsValid' => ['description' => 'Indicates whether the assigned user is valid. A value of 1 indicates that the user is valid. A value of 0 indicates that the user is invalid.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'],
'relServiceGroupIsValid' => ['description' => 'Indicates whether the associated service group is valid. A value of 1 indicates that the group is valid. A value of 0 indicates that the group is invalid.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'],
'defaultAssignToWhoName' => ['description' => 'The name of the default assignee.', 'type' => 'string', 'title' => '', 'example' => '小明'],
'defaultAssignToWho' => ['description' => 'The ID of the default assignee.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1212'],
'defaultAssignToWhoIsValid' => ['description' => 'The status of the default assignee. A value of 1 indicates that the assignee is normal. A value of 0 indicates that the assignee is deleted.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'],
],
'type' => 'object',
'title' => '',
'example' => '',
],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'errorCodes' => [
404 => [
['errorCode' => 'IncidentNotExtisted', 'errorMessage' => 'The incident does not exist.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"2b63cdef-7ac3-4892-a76d-0f3389ef7291\\",\\n \\"data\\": {\\n \\"incidentId\\": 3213,\\n \\"routeRuleId\\": 3123,\\n \\"routeRuleName\\": \\"流转规则A\\",\\n \\"relatedServiceId\\": 312312,\\n \\"relatedServiceName\\": \\"服务A\\",\\n \\"relatedServiceDescription\\": \\"关联服务描述\\",\\n \\"incidentStatus\\": \\"FINISHE\\",\\n \\"incidentLevel\\": \\"P4\\",\\n \\"effect\\": \\"LOW\\",\\n \\"assignUserId\\": 12312,\\n \\"assignUserName\\": \\"小明\\",\\n \\"assignUserPhone\\": \\"1390000****\\",\\n \\"incidentNumber\\": \\"I3443831000000016247759753663894\\",\\n \\"incidentTitle\\": \\"事件标题\\",\\n \\"createTime\\": \\"2020-01-10 00:00:00\\",\\n \\"isManual\\": true,\\n \\"isUpgrade\\": true,\\n \\"incidentDescription\\": \\"事件描述\\",\\n \\"problemId\\": 232113,\\n \\"problemNumber\\": \\"3332113231453321\\",\\n \\"durationTime\\": 3000000,\\n \\"notifyChannels\\": [\\n \\"WEBHOOK\\"\\n ],\\n \\"relatedServiceGroupName\\": \\"服务组A\\",\\n \\"relatedServiceGroupId\\": 13000,\\n \\"relServiceDeleteType\\": 1,\\n \\"relRouteRuleDeleteType\\": 1,\\n \\"assignToWhoIsValid\\": 1,\\n \\"relServiceGroupIsValid\\": 1,\\n \\"defaultAssignToWhoName\\": \\"小明\\",\\n \\"defaultAssignToWho\\": 1212,\\n \\"defaultAssignToWhoIsValid\\": 1\\n }\\n}","type":"json"}]',
'title' => 'Management Event Details ',
'changeSet' => [
['createdAt' => '2022-08-11T12:53:49.000Z', 'description' => 'Response parameters changed'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetIncident'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:GetIncident',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'GetIncidentListByIdList' => [
'summary' => 'Queries the details of one or more incidents based on their IDs.',
'path' => '/incident/getIncidentListByIdList',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempJ0ENN8'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'body',
'properties' => [
'clientToken' => ['description' => 'Idempotency token.', 'type' => 'string', 'required' => false, 'example' => 'FD200FAE-E98F-496E-BFE6-4CE61E59A2E9', 'title' => ''],
'incidentIdList' => [
'description' => 'List of incident IDs.',
'items' => ['description' => 'Incident ID.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1122', 'title' => ''],
'required' => false,
'type' => 'array',
'title' => '',
'example' => '',
],
],
'required' => false,
'type' => 'object',
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Response schema',
'properties' => [
'requestId' => ['title' => 'Id of the request', 'description' => 'Request ID.', 'type' => 'string', 'example' => 'C4BE3837-1A13-413B-A225-2C88188E8A43'],
'data' => [
'description' => 'data',
'items' => [
'description' => 'Response data.',
'properties' => [
'incidentId' => ['description' => 'Incident ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '3213', 'title' => ''],
'routeRuleId' => ['description' => 'Routing rule ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '10000', 'title' => ''],
'routeRuleName' => ['description' => 'Routing rule name.', 'type' => 'string', 'example' => '规则A', 'title' => ''],
'incidentStatus' => ['description' => 'Incident status. Valid values: 0 (assigned), 1 (responded), 2 (resolved).', 'type' => 'string', 'example' => 'FINISHE', 'title' => ''],
'relatedServiceId' => ['description' => 'Related service ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '213123', 'title' => ''],
'relatedServiceName' => ['description' => 'Related service name.', 'type' => 'string', 'example' => '服务A', 'title' => ''],
'effect' => ['description' => 'Impact level. Valid values: HIGH, LOW.', 'type' => 'string', 'example' => 'LOW', 'title' => ''],
'assignUserId' => ['description' => 'User ID assigned to the incident.', 'type' => 'integer', 'format' => 'int64', 'example' => '12312', 'title' => ''],
'assignUserName' => ['description' => 'Name of the user assigned to the incident.', 'type' => 'string', 'example' => '小明', 'title' => ''],
'assignUserPhone' => ['description' => 'Phone number of the user assigned to the incident.', 'type' => 'string', 'example' => '139****1111', 'title' => ''],
'incidentTitle' => ['description' => 'Incident title.', 'type' => 'string', 'example' => '事件标题', 'title' => ''],
'createTime' => ['description' => 'Creation time.', 'type' => 'string', 'example' => '2010-03-09 15:53:45', 'title' => ''],
'isManual' => ['description' => 'Indicates whether the incident was created manually. Valid values: true (manual), false (automatic).', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
'isUpgrade' => ['description' => 'Indicates whether the incident was upgraded.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
'incidentDescription' => ['description' => 'Incident description.', 'type' => 'string', 'example' => '事件描述', 'title' => ''],
'problemId' => ['description' => 'Problem ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '12312', 'title' => ''],
'durationTime' => ['description' => 'The duration of the incident.', 'type' => 'string', 'example' => '3000000', 'title' => ''],
'notifyChannels' => [
'description' => '',
'items' => ['description' => 'The channel for notifications.', 'type' => 'string', 'example' => '[SMS,PHONE]', 'title' => ''],
'type' => 'array',
'title' => '',
'example' => '',
],
'relatedServiceGroupName' => ['description' => 'Related service group name.', 'type' => 'string', 'example' => '服务组A', 'title' => ''],
'relatedServiceGroupId' => ['description' => 'Related service group ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '13000', 'title' => ''],
'relServiceDeleteType' => ['description' => 'Service deletion flag.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
'relRouteRuleDeleteType' => ['description' => 'Routing rule deletion flag.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
'assignToWhoIsValid' => ['description' => 'Indicates whether the assigned user is valid. Valid values: 1 (valid), 0 (invalid).', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
'relServiceGroupIsValid' => ['description' => 'Indicates whether the related service group is valid. Valid values: 1 (valid), 0 (invalid).', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
'defaultAssignToWhoName' => ['description' => 'Name of the default assignee.', 'type' => 'string', 'example' => '小明', 'title' => ''],
'relatedServiceDescription' => ['description' => 'Description of the related service.', 'type' => 'string', 'example' => '关联服务描述', 'title' => ''],
'incidentLevel' => ['description' => 'Incident severity level. Valid values: P1, P2, P3, P4 (in descending order of severity).', 'type' => 'string', 'example' => 'P4', 'title' => ''],
'incidentNumber' => ['description' => 'Incident number.', 'type' => 'string', 'example' => 'I13002001', 'title' => ''],
'problemNumber' => ['description' => 'Problem number.', 'type' => 'string', 'example' => 'P1231231', 'title' => ''],
'defaultAssignToWho' => ['description' => 'ID of the default assignee.', 'type' => 'integer', 'format' => 'int32', 'example' => '1212', 'title' => ''],
'defaultAssignToWhoIsValid' => ['description' => 'Deletion status of the default assignee.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
],
'type' => 'object',
'title' => '',
'example' => '',
],
'type' => 'array',
'title' => '',
'example' => '',
],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'errorCodes' => [
404 => [
['errorCode' => 'IncidentNotExtisted', 'errorMessage' => 'The incident does not exist.', 'description' => ''],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"C4BE3837-1A13-413B-A225-2C88188E8A43\\",\\n \\"data\\": [\\n {\\n \\"incidentId\\": 3213,\\n \\"routeRuleId\\": 10000,\\n \\"routeRuleName\\": \\"规则A\\",\\n \\"incidentStatus\\": \\"FINISHE\\",\\n \\"relatedServiceId\\": 213123,\\n \\"relatedServiceName\\": \\"服务A\\",\\n \\"effect\\": \\"LOW\\",\\n \\"assignUserId\\": 12312,\\n \\"assignUserName\\": \\"小明\\",\\n \\"assignUserPhone\\": \\"139****1111\\",\\n \\"incidentTitle\\": \\"事件标题\\",\\n \\"createTime\\": \\"2010-03-09 15:53:45\\",\\n \\"isManual\\": true,\\n \\"isUpgrade\\": true,\\n \\"incidentDescription\\": \\"事件描述\\",\\n \\"problemId\\": 12312,\\n \\"durationTime\\": \\"3000000\\",\\n \\"notifyChannels\\": [\\n \\"[SMS,PHONE]\\"\\n ],\\n \\"relatedServiceGroupName\\": \\"服务组A\\",\\n \\"relatedServiceGroupId\\": 13000,\\n \\"relServiceDeleteType\\": 1,\\n \\"relRouteRuleDeleteType\\": 1,\\n \\"assignToWhoIsValid\\": 1,\\n \\"relServiceGroupIsValid\\": 1,\\n \\"defaultAssignToWhoName\\": \\"小明\\",\\n \\"relatedServiceDescription\\": \\"关联服务描述\\",\\n \\"incidentLevel\\": \\"P4\\",\\n \\"incidentNumber\\": \\"I13002001\\",\\n \\"problemNumber\\": \\"P1231231\\",\\n \\"defaultAssignToWho\\": 1212,\\n \\"defaultAssignToWhoIsValid\\": 1\\n }\\n ]\\n}","type":"json"}]',
'title' => 'Query management event details by event ID',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:GetIncidentListByIdList',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetIncidentListByIdList'],
],
],
],
'GetIncidentStatistics' => [
'summary' => 'Management event statistics.',
'path' => '/incident/count',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempJ0ENN8'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'A short description of struct',
'properties' => [
'clientToken' => ['description' => 'Idempotency validation ID.', 'example' => 'FD200FAE-E98F-496E-BFE6-4CE61E59A2E9', 'required' => false, 'title' => '', 'type' => 'string'],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'object',
'properties' => [
'requestId' => ['description' => 'requestId', 'example' => 'FD200FAE-E98F-496E-BFE6-4CE61E59A2E9', 'type' => 'string', 'title' => ''],
'data' => [
'description' => 'data',
'properties' => [
'myResponse' => ['description' => 'My pending responses.', 'example' => '1', 'format' => 'int32', 'title' => '', 'type' => 'integer'],
'myFinish' => ['description' => 'My completed.', 'example' => '11', 'format' => 'int32', 'title' => '', 'type' => 'integer'],
'allResponse' => ['description' => 'All pending responses.', 'example' => '12', 'format' => 'int32', 'title' => '', 'type' => 'integer'],
'allFinish' => ['description' => 'All completed.', 'example' => '113', 'format' => 'int32', 'title' => '', 'type' => 'integer'],
],
'type' => 'object',
'title' => '',
'example' => '',
],
],
'type' => 'object',
'title' => '',
'example' => '',
],
],
],
'errorCodes' => [
403 => [
['errorCode' => 'UserNotAdded', 'errorMessage' => 'The user is not added to the system.', 'description' => 'The user did not added to system'],
],
[
['errorCode' => 'IncidentNotExtisted', 'errorMessage' => 'The incident does not exist.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"FD200FAE-E98F-496E-BFE6-4CE61E59A2E9\\",\\n \\"data\\": {\\n \\"myResponse\\": 1,\\n \\"myFinish\\": 11,\\n \\"allResponse\\": 12,\\n \\"allFinish\\": 113\\n }\\n}","type":"json"}]',
'title' => 'Management Event Statistics',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:GetIncidentStatistics',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetIncidentStatistics'],
],
],
],
'GetIncidentSubtotalCount' => [
'summary' => 'Obtain the subtotal quantity of similar management events. ',
'path' => '/incident/subtotal/count',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgemp71I60H'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'A short description of struct',
'properties' => [
'incidentIds' => [
'description' => 'List of management event IDs ',
'items' => ['example' => '6754', 'format' => 'int64', 'required' => false, 'type' => 'integer', 'description' => 'List of management event IDs ', 'title' => ''],
'required' => true,
'title' => '',
'type' => 'array',
'example' => '',
],
'clientToken' => ['description' => 'Idempotency identity ', 'example' => '7C56D225-7C34-40BB-9624-C8BA449260E6', 'required' => false, 'title' => '', 'type' => 'string'],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Schema of Response',
'properties' => [
'data' => [
'description' => 'data',
'properties' => [
'subtotalCount' => ['description' => 'map', 'example' => '{12:12}', 'title' => 'map', 'type' => 'object'],
'requestId' => ['description' => 'id of the request', 'example' => '24343424234', 'title' => 'id of the request', 'type' => 'string'],
],
'title' => 'data',
'type' => 'object',
'example' => '',
],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": {\\n \\"subtotalCount\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"requestId\\": \\"24343424234\\"\\n }\\n}","type":"json"}]',
'title' => 'Obtain the subtotal quantity of similar management events ',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:GetIncidentSubtotalCount',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetIncidentSubtotalCount'],
],
],
],
'GetIntegrationConfig' => [
'summary' => 'Integration configuration details.',
'path' => '/integrationConfig/detail',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempBHVB81'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'A short description of struct',
'properties' => [
'integrationConfigId' => ['description' => 'Integration configuration ID.', 'example' => '68', 'format' => 'int64', 'required' => false, 'title' => '', 'type' => 'integer'],
'clientToken' => ['description' => 'Idempotency identity.', 'example' => '601FA6A2-AC5C-4B59-BE11-378F887A6A11', 'required' => false, 'title' => '', 'type' => 'string'],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Schema of Response',
'properties' => [
'requestId' => ['description' => 'Id of the request', 'example' => '601FA6A2-AC5C-4B59-BE11-378F887A6A11', 'title' => 'Id of the request', 'type' => 'string'],
'data' => [
'description' => 'data',
'properties' => [
'integrationConfigId' => ['description' => 'Integration configuration ID.', 'example' => '101', 'format' => 'int64', 'title' => '', 'type' => 'integer'],
'monitorSourceId' => ['description' => 'Monitoring source ID.', 'example' => '65', 'format' => 'int64', 'title' => '', 'type' => 'integer'],
'monitorSourceName' => ['description' => 'Name of the monitoring source.', 'example' => 'Zabbix', 'title' => '', 'type' => 'string'],
'monitorSourceShortName' => ['description' => 'Short name of the monitoring source.', 'example' => 'Zabbix', 'title' => '', 'type' => 'string'],
'accessKey' => ['description' => 'Integration key.', 'example' => '601FA6A2-AC5C-4B59-BE11-378F887A6A11', 'title' => '', 'type' => 'string'],
'isReceivedEvent' => ['description' => 'Indicates whether alerts are accepted.', 'example' => 'True', 'title' => '', 'type' => 'boolean'],
'status' => ['description' => 'Integration configuration status: '."\n"
.'- DISABLE: disabled. '."\n"
.'- INTEGRATED: integrated. '."\n"
.'- UNINTEGRATED: not integrated.', 'example' => 'INTEGRATED', 'title' => '', 'type' => 'string'],
],
'type' => 'object',
'title' => '',
'example' => '',
],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'errorCodes' => [
404 => [
['errorCode' => 'IntegationConfigNotExists', 'errorMessage' => 'The specified integration config does not exist.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"601FA6A2-AC5C-4B59-BE11-378F887A6A11\\",\\n \\"data\\": {\\n \\"integrationConfigId\\": 101,\\n \\"monitorSourceId\\": 65,\\n \\"monitorSourceName\\": \\"Zabbix\\",\\n \\"monitorSourceShortName\\": \\"Zabbix\\",\\n \\"accessKey\\": \\"601FA6A2-AC5C-4B59-BE11-378F887A6A11\\",\\n \\"isReceivedEvent\\": true,\\n \\"status\\": \\"INTEGRATED\\"\\n }\\n}","type":"json"}]',
'title' => 'Integration configuration details',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:GetIntegrationConfig',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetIntegrationConfig'],
],
],
],
'GetProblem' => [
'summary' => 'Failure details.',
'path' => '/problem/detail',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempUCUJK5'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'The request body.',
'properties' => [
'problemId' => ['description' => 'The problem ID.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1', 'title' => ''],
'clientToken' => ['description' => 'A client token to ensure idempotence.', 'type' => 'string', 'required' => false, 'example' => 'C4BE3837-1A13-413B-A225-2C88188E8A43', 'title' => ''],
],
'required' => false,
'type' => 'object',
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'The response structure.',
'properties' => [
'data' => [
'description' => 'The details.',
'properties' => [
'problemId' => [
'title' => 'ID',
'description' => 'The problem ID.',
'type' => 'integer',
'format' => 'int64',
'required' => true,
'example' => '1',
'enum' => ['Success', 'Fail', 'Cancel'],
],
'createTime' => ['description' => 'The time when the problem was created.', 'type' => 'string', 'example' => '2010-03-09 15:53:45', 'title' => ''],
'incidentNumber' => ['description' => 'The event number.', 'type' => 'string', 'example' => 'I3443835000012016260833157948165', 'title' => ''],
'incidentId' => ['description' => 'The event ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '130000032', 'title' => ''],
'problemNumber' => ['description' => 'The problem number.', 'type' => 'string', 'example' => 'P34438300010030116260833538987481', 'title' => ''],
'problemName' => ['description' => 'The name of the problem.', 'type' => 'string', 'example' => '故障', 'title' => ''],
'problemStatus' => ['description' => 'The status of the problem.'."\n"
."\n"
.'- HANDLING: The problem is being handled.'."\n"
."\n"
.'- RECOVERED: The problem has been resolved.'."\n"
."\n"
.'- REPLAYING: The problem is under review.'."\n"
."\n"
.'- REPLAYED: The problem has been reviewed.'."\n"
."\n"
.'- CANCEL: The problem has been canceled.', 'type' => 'integer', 'format' => 'int32', 'example' => 'HANDLING', 'title' => ''],
'problemLevel' => ['description' => 'The level of the problem, in descending order of severity:'."\n"
."\n"
.'- P1'."\n"
."\n"
.'- P2'."\n"
."\n"
.'- P3'."\n"
."\n"
.'- P4', 'type' => 'integer', 'format' => 'int32', 'example' => 'P1', 'title' => ''],
'discoverTime' => ['description' => 'The time when the problem was discovered.', 'type' => 'string', 'example' => '2010-03-09 15:53:45', 'title' => ''],
'recoveryTime' => ['description' => 'The time when the service recovered from the problem.', 'type' => 'string', 'example' => '2010-03-09 15:53:45', 'title' => ''],
'relatedServiceId' => ['description' => 'The ID of the associated service.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''],
'serviceName' => ['description' => 'The name of the associated service.', 'type' => 'string', 'example' => '服务', 'title' => ''],
'progressSummary' => ['description' => 'The summary of the progress.', 'type' => 'string', 'example' => '进展摘要', 'title' => ''],
'preliminaryReason' => ['description' => 'The preliminary cause of the problem.', 'type' => 'string', 'example' => '初步原因', 'title' => ''],
'mainHandler' => ['description' => 'The primary handler of the problem.', 'type' => 'integer', 'format' => 'int64', 'example' => '小王', 'title' => ''],
'mainHandlerId' => ['description' => 'The ID of the primary handler.', 'type' => 'integer', 'format' => 'int64', 'example' => '2000', 'title' => ''],
'mainHandlerPhone' => ['description' => 'The phone number of the primary handler.', 'type' => 'string', 'example' => '1308987****', 'title' => ''],
'feedback' => ['description' => 'The feedback.', 'type' => 'string', 'example' => 'feedback', 'title' => ''],
'cancelReasonDescription' => ['description' => 'The description of the cancellation reason.', 'type' => 'string', 'example' => '取消原因描述', 'title' => ''],
'cancelReason' => ['description' => 'The reason for cancellation.', 'type' => 'integer', 'format' => 'int64', 'example' => '37', 'title' => ''],
'durationTime' => ['description' => 'The duration.', 'type' => 'integer', 'format' => 'int64', 'example' => '300000', 'title' => ''],
'progressSummaryRichTextId' => ['description' => 'The ID of the rich text for the progress summary.', 'type' => 'integer', 'format' => 'int64', 'example' => '1231231', 'title' => ''],
'handingProblemOperateLogs' => [
'description' => 'The operation logs for the problem that is being handled.',
'items' => [
'description' => 'The operation logs for the problem that is being handled.',
'properties' => [
'operator' => ['description' => 'The operator.', 'type' => 'string', 'example' => '小王', 'title' => ''],
'userId' => ['description' => 'The user ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '233', 'title' => ''],
'actionName' => ['description' => 'The action name.', 'type' => 'string', 'example' => '取消故障', 'title' => ''],
'actionTime' => ['description' => 'The name of the action.', 'type' => 'string', 'example' => '2010-03-09 15:53:45', 'title' => ''],
'userIsValid' => ['description' => 'Indicates whether the user is valid.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''],
],
'type' => 'object',
'title' => '',
'example' => '',
],
'title' => '',
'type' => 'array',
'example' => '',
],
'restoredProblemOperateLogs' => [
'description' => 'The operation logs for the resolved problem.',
'items' => [
'description' => 'The operation logs for the resolved problem.',
'properties' => [
'operator' => ['description' => 'The operator.', 'type' => 'string', 'example' => '小王', 'title' => ''],
'userId' => ['description' => 'The user ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '3232', 'title' => ''],
'actionName' => ['description' => 'The action name.', 'type' => 'string', 'example' => '恢复故障', 'title' => ''],
'actionTime' => ['description' => 'The name of the action.', 'type' => 'string', 'example' => '2020-08-08 15:39:39', 'title' => ''],
'userIsValid' => ['description' => 'Indicates whether the user is valid.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''],
],
'type' => 'object',
'title' => '',
'example' => '',
],
'title' => '',
'type' => 'array',
'example' => '',
],
'replayingProblemOperateLogs' => [
'description' => 'The operation logs for the problem that is under review.',
'items' => [
'description' => 'The operation logs for the problem that is under review.',
'properties' => [
'operator' => ['description' => 'The operator.', 'type' => 'string', 'example' => '小杰', 'title' => ''],
'userId' => ['description' => 'The user ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '用户id', 'title' => ''],
'actionName' => ['description' => 'The action name.', 'type' => 'string', 'example' => '复盘故障', 'title' => ''],
'actionTime' => ['description' => 'The name of the action.', 'type' => 'string', 'example' => '2020-08-08 15:39:39', 'title' => ''],
'userIsValid' => ['description' => 'Indicates whether the user is valid.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''],
],
'type' => 'object',
'title' => '',
'example' => '',
],
'title' => '',
'type' => 'array',
'example' => '',
],
'replayProblemOperateLogs' => [
'description' => 'The operation logs for the reviewed problem.',
'items' => [
'description' => 'The operation logs for the reviewed problem.',
'properties' => [
'operator' => ['description' => 'The operator.', 'type' => 'string', 'example' => '小王', 'title' => ''],
'userId' => ['description' => 'The user ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '2323', 'title' => ''],
'actionName' => ['description' => 'The action name.', 'type' => 'string', 'example' => '复盘故障', 'title' => ''],
'actionTime' => ['description' => 'Action name.', 'type' => 'string', 'example' => '2020-08-08 15:39:39', 'title' => ''],
'userIsValid' => ['description' => 'Indicates whether the user is valid.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''],
],
'type' => 'object',
'title' => '',
'example' => '',
],
'title' => '',
'type' => 'array',
'example' => '',
],
'effectionServices' => [
'description' => 'The affected services.',
'items' => [
'description' => 'The affected services.',
'properties' => [
'effectionServiceId' => ['description' => 'The service ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''],
'effectionLevel' => ['description' => 'The impact level, in descending order of severity:'."\n"
."\n"
.'- P1'."\n"
."\n"
.'- P2'."\n"
."\n"
.'- P3'."\n"
."\n"
.'- P4', 'type' => 'integer', 'format' => 'int64', 'example' => 'P1', 'title' => ''],
'effectionStatus' => ['description' => 'The status of the affected service:'."\n"
."\n"
.'- RECOVERED: The service has recovered.'."\n"
."\n"
.'- UN\\_RECOVERED: The service has not recovered.', 'type' => 'integer', 'format' => 'int32', 'example' => 'RESTORED', 'title' => ''],
'description' => ['description' => 'The description of the impact.', 'type' => 'string', 'example' => '描述', 'title' => ''],
'serviceName' => ['description' => 'The service name.', 'type' => 'string', 'example' => '购物车', 'title' => ''],
'serviceDeleteType' => ['description' => 'The deletion status of the service:'."\n"
."\n"
.'- 1: Normal.'."\n"
."\n"
.'- 0: Deleted.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'],
],
'type' => 'object',
'title' => '',
'example' => '',
],
'title' => '',
'type' => 'array',
'example' => '',
],
'coordinationGroups' => [
'description' => 'The emergency response groups.',
'items' => [
'description' => 'The emergency response groups.',
'properties' => [
'serviceGroupId' => ['description' => 'The service group ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''],
'serviceGroupName' => ['description' => 'The name of the service group.', 'type' => 'string', 'example' => '冲上云霄', 'title' => ''],
'isValid' => ['description' => 'Indicates whether the group is valid.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''],
],
'type' => 'object',
'title' => '',
'example' => '',
],
'title' => '',
'type' => 'array',
'example' => '',
],
'timelines' => [
'description' => 'The timeline of problem operations.',
'items' => [
'description' => 'The timeline of problem operations.',
'properties' => [
'keyNode' => ['description' => 'The key node. For more information, see the PROBLEM\\_KEY\\_NODE lookup table.', 'type' => 'string', 'title' => '', 'example' => '1,2,3,4,5,7,6,8,9,10'],
],
'type' => 'object',
'title' => '',
'example' => '',
],
'title' => '',
'type' => 'array',
'example' => '',
],
'cancelProblemOperateLogs' => [
'description' => 'The operation logs for the canceled problem.',
'items' => [
'description' => 'The operation logs for the canceled problem.',
'properties' => [
'operator' => ['description' => 'The operator.', 'type' => 'string', 'example' => '小王', 'title' => ''],
'actionName' => ['description' => 'The action name.', 'type' => 'string', 'example' => '取消故障', 'title' => ''],
'actionTime' => ['description' => 'The time of the operation.', 'type' => 'string', 'example' => '2020-09-08 15:38:38', 'title' => ''],
'userId' => ['description' => 'The user ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '66666', 'title' => ''],
],
'type' => 'object',
'title' => '',
'example' => '',
],
'title' => '',
'type' => 'array',
'example' => '',
],
'serviceDeleteType' => ['title' => 'serviceDeleteType', 'description' => 'The deletion type of the service:'."\n"
."\n"
.'- 1: Manually deleted.'."\n"
."\n"
.'- 2: Automatically deleted.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'mainHandlerIsValid' => ['description' => 'The validity status of the primary handler:'."\n"
."\n"
.'- 0: Invalid.'."\n"
."\n"
.'- 1: Valid.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1'],
'isRuleTrigger' => ['title' => 'Is rule triggered: 1 for Yes, 0 for No ', 'description' => 'Indicates whether the problem was triggered by a rule:'."\n"
."\n"
.'- 0: No.'."\n"
."\n"
.'- 1: Yes.', 'type' => 'boolean', 'example' => '1'],
],
'title' => '',
'type' => 'object',
'example' => '',
],
'requestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'C4BE3837-1A13-41VB-A225-2C88188E8A43', 'title' => ''],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'errorCodes' => [
404 => [
['errorCode' => 'ProblemNotExisted', 'errorMessage' => 'The problem does not exist.', 'description' => ''],
],
],
'staticInfo' => [],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": {\\n \\"problemId\\": 1,\\n \\"createTime\\": \\"2010-03-09 15:53:45\\",\\n \\"incidentNumber\\": \\"I3443835000012016260833157948165\\",\\n \\"incidentId\\": 130000032,\\n \\"problemNumber\\": \\"P34438300010030116260833538987481\\",\\n \\"problemName\\": \\"故障\\",\\n \\"problemStatus\\": 0,\\n \\"problemLevel\\": 0,\\n \\"discoverTime\\": \\"2010-03-09 15:53:45\\",\\n \\"recoveryTime\\": \\"2010-03-09 15:53:45\\",\\n \\"relatedServiceId\\": 1,\\n \\"serviceName\\": \\"服务\\",\\n \\"progressSummary\\": \\"进展摘要\\",\\n \\"preliminaryReason\\": \\"初步原因\\",\\n \\"mainHandler\\": 0,\\n \\"mainHandlerId\\": 2000,\\n \\"mainHandlerPhone\\": \\"1308987****\\",\\n \\"feedback\\": \\"feedback\\",\\n \\"cancelReasonDescription\\": \\"取消原因描述\\",\\n \\"cancelReason\\": 37,\\n \\"durationTime\\": 300000,\\n \\"progressSummaryRichTextId\\": 1231231,\\n \\"handingProblemOperateLogs\\": [\\n {\\n \\"operator\\": \\"小王\\",\\n \\"userId\\": 233,\\n \\"actionName\\": \\"取消故障\\",\\n \\"actionTime\\": \\"2010-03-09 15:53:45\\",\\n \\"userIsValid\\": 1\\n }\\n ],\\n \\"restoredProblemOperateLogs\\": [\\n {\\n \\"operator\\": \\"小王\\",\\n \\"userId\\": 3232,\\n \\"actionName\\": \\"恢复故障\\",\\n \\"actionTime\\": \\"2020-08-08 15:39:39\\",\\n \\"userIsValid\\": 1\\n }\\n ],\\n \\"replayingProblemOperateLogs\\": [\\n {\\n \\"operator\\": \\"小杰\\",\\n \\"userId\\": 0,\\n \\"actionName\\": \\"复盘故障\\",\\n \\"actionTime\\": \\"2020-08-08 15:39:39\\",\\n \\"userIsValid\\": 1\\n }\\n ],\\n \\"replayProblemOperateLogs\\": [\\n {\\n \\"operator\\": \\"小王\\",\\n \\"userId\\": 2323,\\n \\"actionName\\": \\"复盘故障\\",\\n \\"actionTime\\": \\"2020-08-08 15:39:39\\",\\n \\"userIsValid\\": 1\\n }\\n ],\\n \\"effectionServices\\": [\\n {\\n \\"effectionServiceId\\": 1,\\n \\"effectionLevel\\": 0,\\n \\"effectionStatus\\": 0,\\n \\"description\\": \\"描述\\",\\n \\"serviceName\\": \\"购物车\\",\\n \\"serviceDeleteType\\": 1\\n }\\n ],\\n \\"coordinationGroups\\": [\\n {\\n \\"serviceGroupId\\": 1,\\n \\"serviceGroupName\\": \\"冲上云霄\\",\\n \\"isValid\\": 1\\n }\\n ],\\n \\"timelines\\": [\\n {\\n \\"keyNode\\": \\"1,2,3,4,5,7,6,8,9,10\\"\\n }\\n ],\\n \\"cancelProblemOperateLogs\\": [\\n {\\n \\"operator\\": \\"小王\\",\\n \\"actionName\\": \\"取消故障\\",\\n \\"actionTime\\": \\"2020-09-08 15:38:38\\",\\n \\"userId\\": 66666\\n }\\n ],\\n \\"serviceDeleteType\\": 1,\\n \\"mainHandlerIsValid\\": 1,\\n \\"isRuleTrigger\\": true\\n },\\n \\"requestId\\": \\"C4BE3837-1A13-41VB-A225-2C88188E8A43\\"\\n}","type":"json"}]',
'title' => 'Problem details ',
'changeSet' => [
['createdAt' => '2022-12-14T12:10:11.000Z', 'description' => 'Response parameters changed'],
['createdAt' => '2021-07-16T04:09:43.000Z', 'description' => 'Response parameters changed'],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:GetProblem',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetProblem'],
],
],
],
'GetProblemEffectionService' => [
'summary' => 'Details of the services affected by the fault.',
'path' => '/problem/process/effectionService/detail',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempLC8226'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'Request Body.',
'properties' => [
'effectionServiceId' => ['description' => 'ID primary key.', 'type' => 'integer', 'format' => 'int64', 'example' => '9', 'title' => '', 'required' => false],
'problemId' => ['description' => 'Problem ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '46', 'title' => '', 'required' => false],
'clientToken' => ['title' => 'clientToken', 'description' => 'Idempotent check ID.', 'type' => 'string', 'example' => 'e2d4306a-bf4d-4345-9ae6-158223c85dbd', 'required' => false],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Response structure.',
'properties' => [
'requestId' => ['title' => 'requestId', 'description' => 'Request ID.', 'type' => 'string', 'example' => 'e2d4306a-bf4d-4345-9ae6-158223c85dbd'],
'data' => [
'description' => 'Query result.',
'properties' => [
'effectionServiceId' => ['description' => 'Impacted service ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '6442430', 'title' => ''],
'serviceName' => ['description' => 'Service name.', 'type' => 'string', 'example' => '哈哈', 'title' => ''],
'serviceId' => ['description' => 'Service ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '170000000', 'title' => ''],
'level' => ['description' => 'Impact level.', 'type' => 'integer', 'format' => 'int64', 'example' => 'P2', 'title' => ''],
'status' => ['description' => 'Impact status:'."\n"
."\n"
.'- 0: Not recovered.'."\n"
."\n"
.'- 1: Recovered.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''],
'description' => ['description' => 'Impact description.', 'type' => 'string', 'example' => 'ew', 'title' => ''],
'picUrl' => [
'description' => 'Image link.',
'items' => ['description' => 'Image key.', 'type' => 'string', 'example' => '[ "problem/axxxxxx2-1xxxx4565-be92-f44ae2xxxxx", "problem/7xxxxxxe314-49998-b9e7-399e78b41fbd", "problem/xxxxx-f40d-4611-0978-1d1f719a929a" ]', 'title' => ''],
'title' => '',
'type' => 'array',
'example' => '',
],
],
'type' => 'object',
'title' => '',
'example' => '',
],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'errorCodes' => [
404 => [
['errorCode' => 'EffectionServiceNotExisted', 'errorMessage' => 'EffectionService does not exist.', 'description' => ''],
['errorCode' => 'ProblemNotExisted', 'errorMessage' => 'The problem does not exist.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"e2d4306a-bf4d-4345-9ae6-158223c85dbd\\",\\n \\"data\\": {\\n \\"effectionServiceId\\": 6442430,\\n \\"serviceName\\": \\"哈哈\\",\\n \\"serviceId\\": 170000000,\\n \\"level\\": 0,\\n \\"status\\": 1,\\n \\"description\\": \\"ew\\",\\n \\"picUrl\\": [\\n \\"[ \\\\\\"problem/axxxxxx2-1xxxx4565-be92-f44ae2xxxxx\\\\\\", \\\\\\"problem/7xxxxxxe314-49998-b9e7-399e78b41fbd\\\\\\", \\\\\\"problem/xxxxx-f40d-4611-0978-1d1f719a929a\\\\\\" ]\\"\\n ]\\n }\\n}","type":"json"}]',
'title' => 'Service Details of Impact',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:GetProblemEffectionService',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetProblemEffectionService'],
],
],
],
'GetProblemImprovement' => [
'summary' => 'Details of post-incident reviews and improvements.',
'path' => '/problem/improvement/detail',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgemp1XQ9JR'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'The request body.',
'properties' => [
'problemId' => ['description' => 'The problem ID.', 'type' => 'string', 'example' => '312312', 'title' => '', 'required' => false],
'clientToken' => ['description' => 'The idempotence token.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '4361a0e1-6747-4834-96ce-0c4840fd3812'],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'The response structure.',
'properties' => [
'requestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '4361a0e1-6747-4834-96ce-0c4840fd3811'],
'data' => [
'description' => 'The impact record for the problem.',
'properties' => [
'problemId' => ['description' => 'The problem ID.', 'type' => 'string', 'title' => '', 'example' => '231231'],
'problemReason' => ['description' => 'The cause of the problem.', 'type' => 'string', 'title' => '', 'example' => '故障的原因'],
'recentActivity' => ['description' => 'The lookup table for recent activities (PROBLEM\\_RECENT\\_ACTIVITY).', 'type' => 'string', 'title' => '', 'example' => '2'],
'injectionMode' => ['description' => 'The lookup table for injection modes (PROBLEM\\_INJECTION\\_MODE).', 'type' => 'string', 'title' => '', 'example' => '3'],
'recoveryMode' => ['description' => 'The lookup table for recovery modes (PROBLEM\\_RECOVERY\\_MODE).', 'type' => 'string', 'title' => '', 'example' => '2'],
'discoverSource' => ['description' => 'The lookup table for discovery sources (PROBLEM\\_DISCOVER\\_SOURCE).', 'type' => 'string', 'title' => '', 'example' => '1'],
'userReport' => ['description' => 'The lookup table for user reports (PROBLEM\\_USER\\_REPORT).', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1'],
'monitorSourceName' => ['description' => 'The name of the monitoring source.', 'type' => 'string', 'title' => '', 'example' => 'Zabbix'],
'relationChanges' => ['description' => 'The associated changes.', 'type' => 'string', 'title' => '', 'example' => '关联变更'],
'dutyUserId' => ['description' => 'The ID of the problem owner.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '231'],
'replayDutyUserId' => ['description' => 'The ID of the review owner.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '23123'],
'replayDutyUserPhone' => ['description' => 'The phone number of the review owner.', 'type' => 'string', 'title' => '', 'example' => '1308787****'],
'dutyDepartmentId' => ['description' => 'The department responsible for the problem.', 'type' => 'string', 'title' => '', 'example' => '12312'],
'dutyUserName' => ['description' => 'The name of the problem owner.', 'type' => 'string', 'title' => '', 'example' => '小明'],
'dutyUserPhone' => ['description' => 'The phone number of the problem owner.', 'type' => 'string', 'title' => '', 'example' => '13098898****'],
'replayDutyUserName' => ['description' => 'The name of the review owner.', 'type' => 'string', 'title' => '', 'example' => '小花'],
'remark' => ['description' => 'The remarks.', 'type' => 'string', 'title' => '', 'example' => '备注'],
'isManual' => ['description' => 'Indicates whether the operation was manual.', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
'dutyDepartmentName' => ['description' => 'The name of the department responsible for the problem.', 'type' => 'string', 'title' => '', 'example' => '服务组B'],
'measureList' => [
'description' => 'The list of improvement measures.',
'items' => [
'description' => 'The list of improvement measures.',
'properties' => [
'measureId' => ['description' => 'The ID of the improvement measure. This ID is used for deletion or update operations.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '12312'],
'type' => ['description' => 'The lookup table for measure types (PROBLEM\\_REPLAY\\_IMPROVEMENT).', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '2'],
'content' => ['description' => 'The content of the measure.', 'type' => 'string', 'title' => '', 'example' => '内容A'],
'checkStandard' => ['description' => 'The acceptance criteria.', 'type' => 'string', 'title' => '', 'example' => '验收标准A'],
'checkUserId' => ['description' => 'The ID of the verifier.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '12'],
'checkUserName' => ['description' => 'The name of the verifier.', 'type' => 'string', 'title' => '', 'example' => '小军'],
'directorName' => ['description' => 'The name of the owner.', 'type' => 'string', 'title' => '', 'example' => '小张'],
'stalkerName' => ['description' => 'The name of the tracker.', 'type' => 'string', 'title' => '', 'example' => '小李'],
'planFinishTime' => ['description' => 'The planned completion time.', 'type' => 'string', 'title' => '', 'example' => '2021-05-01 00:00:00'],
'directorId' => ['description' => 'The ID of the owner.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '212'],
'stalkerId' => ['description' => 'The ID of the tracker.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '3121'],
'status' => ['description' => 'The status. Valid values:'."\n"
."\n"
.'- IMPROVED: The measure is implemented.'."\n"
."\n"
.'- UNIMPROVED: The measure is not implemented.', 'type' => 'string', 'title' => '', 'example' => 'UNIMPROVED'],
'checkUserIsValid' => ['title' => 'Indicates whether the validation user is invalid. 0 means invalid and 1 means valid.', 'description' => 'Indicates whether the verifier is valid. Valid values:'."\n"
."\n"
.'- 0: Invalid.'."\n"
."\n"
.'- 1: Valid.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'directorIsValid' => ['title' => 'Owner validity status, 0 for invalid and 1 for valid ', 'description' => 'Indicates whether the owner is valid. Valid values:'."\n"
."\n"
.'- 0: Invalid.'."\n"
."\n"
.'- 1: Valid.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'stalkerIsValid' => ['title' => 'Whether the trail assignee is invalid; 0 indicates invalid, and 1 indicates valid ', 'description' => 'Indicates whether the tracker is valid. Valid values:'."\n"
."\n"
.'- 0: Invalid.'."\n"
."\n"
.'- 1: Valid.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
],
'type' => 'object',
'title' => '',
'example' => '',
],
'title' => '',
'type' => 'array',
'example' => '',
],
'customProblemReason' => ['title' => 'Custom fault reason ', 'description' => 'The custom cause of the problem.', 'type' => 'string', 'example' => '1'],
'replayDutyUserIsValid' => ['title' => 'Replay Owner Validity Status, 0 Invalid 1 Valid', 'description' => 'Indicates whether the review owner is valid. Valid values:'."\n"
."\n"
.'- 0: Invalid.'."\n"
."\n"
.'- 1: Valid.', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
'dutyUserIsValid' => ['title' => 'Validity status of the person responsible for the fault, where 0 indicates invalid and 1 indicates valid ', 'description' => 'Indicates whether the problem owner is valid. Valid values:'."\n"
."\n"
.'- 0: Invalid.'."\n"
."\n"
.'- 1: Valid.', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
],
'type' => 'object',
'title' => '',
'example' => '',
],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'errorCodes' => [
404 => [
['errorCode' => 'ProblemNotExisted', 'errorMessage' => 'The problem does not exist.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"4361a0e1-6747-4834-96ce-0c4840fd3811\\",\\n \\"data\\": {\\n \\"problemId\\": \\"231231\\",\\n \\"problemReason\\": \\"故障的原因\\",\\n \\"recentActivity\\": \\"2\\",\\n \\"injectionMode\\": \\"3\\",\\n \\"recoveryMode\\": \\"2\\",\\n \\"discoverSource\\": \\"1\\",\\n \\"userReport\\": 1,\\n \\"monitorSourceName\\": \\"Zabbix\\",\\n \\"relationChanges\\": \\"关联变更\\",\\n \\"dutyUserId\\": 231,\\n \\"replayDutyUserId\\": 23123,\\n \\"replayDutyUserPhone\\": \\"1308787****\\",\\n \\"dutyDepartmentId\\": \\"12312\\",\\n \\"dutyUserName\\": \\"小明\\",\\n \\"dutyUserPhone\\": \\"13098898****\\",\\n \\"replayDutyUserName\\": \\"小花\\",\\n \\"remark\\": \\"备注\\",\\n \\"isManual\\": true,\\n \\"dutyDepartmentName\\": \\"服务组B\\",\\n \\"measureList\\": [\\n {\\n \\"measureId\\": 12312,\\n \\"type\\": 2,\\n \\"content\\": \\"内容A\\",\\n \\"checkStandard\\": \\"验收标准A\\",\\n \\"checkUserId\\": 12,\\n \\"checkUserName\\": \\"小军\\",\\n \\"directorName\\": \\"小张\\",\\n \\"stalkerName\\": \\"小李\\",\\n \\"planFinishTime\\": \\"2021-05-01 00:00:00\\",\\n \\"directorId\\": 212,\\n \\"stalkerId\\": 3121,\\n \\"status\\": \\"UNIMPROVED\\",\\n \\"checkUserIsValid\\": 1,\\n \\"directorIsValid\\": 1,\\n \\"stalkerIsValid\\": 1\\n }\\n ],\\n \\"customProblemReason\\": \\"1\\",\\n \\"replayDutyUserIsValid\\": 1,\\n \\"dutyUserIsValid\\": 1\\n }\\n}","type":"json"}]',
'title' => 'Fault Post-Mortem Improvement Details ',
'changeSet' => [
['createdAt' => '2022-06-14T12:26:25.000Z', 'description' => 'Response parameters changed'],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:GetProblemImprovement',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetProblemImprovement'],
],
],
],
'GetProblemPreview' => [
'summary' => 'Previews a problem notification.',
'path' => '/problem/preview',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempLC8226'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'Request body.',
'properties' => [
'problemId' => ['description' => 'Problem ID.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'required' => false, 'example' => '12312'],
'problemNotifyType' => ['description' => 'Notification type:'."\n"
."\n"
.'- PROBLEM\\_NOTIFY: Problem notification.'."\n"
."\n"
.'- PROBLEM\\_UPDATE: Problem update.'."\n"
."\n"
.'- PROBLEM\\_UPGRADE: Problem upgrade.'."\n"
."\n"
.'- PROBLEM\\_DEGRADE: Problem downgrade.'."\n"
."\n"
.'- PROBLEM\\_RECOVER: Problem recovery.'."\n"
."\n"
.'- PROBLEM\\_REISSUE: Problem reissue.'."\n"
."\n"
.'- PROBLEM\\_CANCEL: Problem cancellation.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'PROBLEM_NOTIFY'],
'problemLevel' => ['description' => 'Problem severity level.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'P2'],
'effectServiceIds' => [
'description' => 'Affected services.',
'items' => ['description' => 'Affected service ID.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1231', 'title' => ''],
'required' => false,
'title' => '',
'type' => 'array',
'example' => '',
],
'relatedServiceId' => ['description' => 'Associated service ID.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'required' => false, 'example' => '21312'],
'incidentId' => ['description' => 'Incident ID.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'required' => false, 'example' => '213123'],
'serviceGroupIds' => [
'description' => 'Coordination group IDs.',
'items' => ['description' => 'Service group ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '12313', 'required' => false, 'title' => ''],
'required' => false,
'title' => '',
'type' => 'array',
'example' => '',
],
'clientToken' => ['description' => 'Idempotency token.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '4361a0e1-6747-4834-96ce-0c4840f13812'],
],
'required' => false,
'type' => 'object',
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Response structure.',
'properties' => [
'requestId' => ['title' => 'requestId', 'description' => 'Request ID.', 'type' => 'string', 'example' => '4361a0e1-6747-4834-96ce-0c2840fd3812'],
'data' => [
'description' => 'Downgrade rule.',
'properties' => [
'problem' => [
'description' => 'Associated problem.',
'properties' => [
'problemName' => ['description' => 'Problem name.', 'type' => 'string', 'title' => '', 'example' => '故障名称'],
'problemStatus' => ['description' => 'Problem status:'."\n"
."\n"
.'- HANDLING: Handling.'."\n"
."\n"
.'- RECOVERED: Recovered.'."\n"
."\n"
.'- REPLAYING: Reviewing.'."\n"
."\n"
.'- REPLAYED: Reviewed.'."\n"
."\n"
.'- CANCEL: Canceled.', 'type' => 'string', 'title' => '', 'example' => 'HANDLING'],
'problemLevel' => ['description' => 'Problem severity levels, in descending order:'."\n"
."\n"
.'- P1'."\n"
."\n"
.'- P2'."\n"
."\n"
.'- P3'."\n"
."\n"
.'- P4', 'type' => 'string', 'title' => '', 'example' => 'P2'],
'discoverTime' => ['description' => 'Discovery time.', 'type' => 'string', 'title' => '', 'example' => '2021-02-21 00:00:00'],
'recoveryTime' => ['description' => 'Recovery time.', 'type' => 'string', 'title' => '', 'example' => '2021-02-21 00:00:00'],
'serviceName' => ['description' => 'Associated service name.', 'type' => 'string', 'title' => '', 'example' => '服务A'],
'progressSummary' => ['description' => 'Progress summary.', 'type' => 'string', 'title' => '', 'example' => '摘要123'],
'preliminaryReason' => ['description' => 'Preliminary cause.', 'type' => 'string', 'title' => '', 'example' => '原因A'],
'mainHandlerName' => ['description' => 'Main handler.', 'type' => 'string', 'title' => '', 'example' => '小明'],
'mainHandlerId' => ['description' => 'Main handler ID.', 'type' => 'string', 'title' => '', 'example' => '231'],
'isManual' => ['description' => 'Indicates whether the action is manual.', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
'isUpgrade' => ['description' => 'Indicates whether the problem was upgraded.', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
'problemId' => ['description' => 'Problem ID.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '123123'],
'relatedServiceId' => ['description' => 'Associated service ID.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '213123'],
'createTime' => ['description' => 'Creation time.', 'type' => 'string', 'title' => '', 'example' => '2021-02-21 00:00:00'],
'progressSummaryRichTextId' => ['description' => 'Rich text ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '12312', 'title' => ''],
'coordinationGroups' => [
'description' => 'Emergency coordination groups.',
'items' => [
'properties' => [
'serviceGroupName' => ['description' => 'Service group name.', 'type' => 'string', 'title' => '', 'example' => '服务组A'],
'serviceGroupId' => ['description' => 'Service ID.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1231'],
'serviceGroupDescription' => ['description' => 'Service group description.', 'type' => 'string', 'title' => '', 'example' => '服务组描述'],
],
'type' => 'object',
'description' => 'Emergency coordination group.',
'title' => '',
'example' => '',
],
'title' => '',
'type' => 'array',
'example' => '',
],
'effectionServices' => [
'description' => 'Affected services.',
'items' => [
'properties' => [
'serviceName' => ['description' => 'Affected service name.', 'type' => 'string', 'title' => '', 'example' => '服务B'],
'serviceId' => ['description' => 'Affected service ID.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1231'],
],
'type' => 'object',
'description' => 'Affected service.',
'title' => '',
'example' => '',
],
'title' => '',
'type' => 'array',
'example' => '',
],
],
'type' => 'object',
'title' => '',
'example' => '',
],
'voice' => [
'description' => 'The voice associated with the problem.',
'properties' => [
'count' => ['description' => 'The total number.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '12'],
'users' => [
'description' => 'User groups.',
'items' => [
'description' => 'User.',
'properties' => [
'username' => ['description' => 'The user.', 'type' => 'string', 'title' => '', 'example' => '用户名称'],
],
'type' => 'object',
'title' => '',
'example' => '',
],
'type' => 'array',
'title' => '',
'example' => '',
],
],
'title' => '',
'type' => 'object',
'example' => '',
],
'mail' => [
'description' => 'The mailbox.',
'properties' => [
'count' => ['description' => 'The number.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '123'],
'users' => [
'description' => 'User groups.',
'items' => [
'description' => 'User.',
'properties' => [
'username' => ['description' => 'Username.', 'type' => 'string', 'title' => '', 'example' => '用户名称'],
],
'type' => 'object',
'title' => '',
'example' => '',
],
'type' => 'array',
'title' => '',
'example' => '',
],
],
'title' => '',
'type' => 'object',
'example' => '',
],
'sms' => [
'description' => 'SMS notifications.',
'properties' => [
'count' => ['description' => 'The total number.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '12'],
'users' => [
'description' => 'User groups.',
'items' => [
'description' => 'User.',
'properties' => [
'username' => ['description' => 'Username.', 'type' => 'string', 'title' => '', 'example' => '用户名称'],
],
'type' => 'object',
'title' => '',
'example' => '',
],
'type' => 'array',
'title' => '',
'example' => '',
],
],
'title' => '',
'type' => 'object',
'example' => '',
],
'webhook' => [
'description' => 'Webhook notifications.',
'properties' => [
'count' => ['description' => 'Number of webhook notifications.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '32'],
'serviceGroups' => [
'description' => 'Service groups.',
'items' => [
'description' => 'Service group name.',
'properties' => [
'serviceName' => ['description' => 'Service name.', 'type' => 'string', 'title' => '', 'example' => '服务名称'],
],
'type' => 'object',
'title' => '',
'example' => '',
],
'type' => 'array',
'title' => '',
'example' => '',
],
],
'title' => 'webhook',
'type' => 'object',
'example' => '',
],
'upBeforeData' => ['description' => 'Data before upgrade.', 'type' => 'string', 'title' => '', 'example' => '最新升级前等级'],
'upAfterData' => ['description' => 'Data after upgrade.', 'type' => 'string', 'title' => '', 'example' => '最新升级后等级'],
'deBeforeData' => ['description' => 'Data before downgrade.', 'type' => 'string', 'title' => '', 'example' => '最新降级前等级'],
'deAfterData' => ['description' => 'Data after downgrade.', 'type' => 'string', 'title' => '', 'example' => '最新降级后等级'],
],
'type' => 'object',
'title' => '',
'example' => '',
],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'errorCodes' => [
404 => [
['errorCode' => 'ProblemNotExisted', 'errorMessage' => 'The problem does not exist.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"4361a0e1-6747-4834-96ce-0c2840fd3812\\",\\n \\"data\\": {\\n \\"problem\\": {\\n \\"problemName\\": \\"故障名称\\",\\n \\"problemStatus\\": \\"HANDLING\\",\\n \\"problemLevel\\": \\"P2\\",\\n \\"discoverTime\\": \\"2021-02-21 00:00:00\\",\\n \\"recoveryTime\\": \\"2021-02-21 00:00:00\\",\\n \\"serviceName\\": \\"服务A\\",\\n \\"progressSummary\\": \\"摘要123\\",\\n \\"preliminaryReason\\": \\"原因A\\",\\n \\"mainHandlerName\\": \\"小明\\",\\n \\"mainHandlerId\\": \\"231\\",\\n \\"isManual\\": true,\\n \\"isUpgrade\\": true,\\n \\"problemId\\": 123123,\\n \\"relatedServiceId\\": 213123,\\n \\"createTime\\": \\"2021-02-21 00:00:00\\",\\n \\"progressSummaryRichTextId\\": 12312,\\n \\"coordinationGroups\\": [\\n {\\n \\"serviceGroupName\\": \\"服务组A\\",\\n \\"serviceGroupId\\": 1231,\\n \\"serviceGroupDescription\\": \\"服务组描述\\"\\n }\\n ],\\n \\"effectionServices\\": [\\n {\\n \\"serviceName\\": \\"服务B\\",\\n \\"serviceId\\": 1231\\n }\\n ]\\n },\\n \\"voice\\": {\\n \\"count\\": 12,\\n \\"users\\": [\\n {\\n \\"username\\": \\"用户名称\\"\\n }\\n ]\\n },\\n \\"mail\\": {\\n \\"count\\": 123,\\n \\"users\\": [\\n {\\n \\"username\\": \\"用户名称\\"\\n }\\n ]\\n },\\n \\"sms\\": {\\n \\"count\\": 12,\\n \\"users\\": [\\n {\\n \\"username\\": \\"用户名称\\"\\n }\\n ]\\n },\\n \\"webhook\\": {\\n \\"count\\": 32,\\n \\"serviceGroups\\": [\\n {\\n \\"serviceName\\": \\"服务名称\\"\\n }\\n ]\\n },\\n \\"upBeforeData\\": \\"最新升级前等级\\",\\n \\"upAfterData\\": \\"最新升级后等级\\",\\n \\"deBeforeData\\": \\"最新降级前等级\\",\\n \\"deAfterData\\": \\"最新降级后等级\\"\\n }\\n}","type":"json"}]',
'title' => 'Get Fault Notification Preview ',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:GetProblemPreview',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetProblemPreview'],
],
],
],
'GetResourceStatistics' => [
'summary' => 'Obtain Usage Summary.',
'path' => '/config/resource/count',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgemp20VVML'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'body',
'example' => 'body',
'properties' => [
'clientToken' => ['description' => 'Idempotency validation ID.', 'example' => 'FD200FAE-E98F-496E-BFE6-4CE61E59A2E9', 'required' => false, 'title' => '', 'type' => 'string'],
],
'required' => false,
'title' => 'body',
'type' => 'object',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Schema of Response',
'properties' => [
'requestId' => ['description' => 'Id of the request', 'example' => 'FD200FAE-E98F-496E-BFE6-4CE61E59A2E9', 'title' => 'Id of the request', 'type' => 'string'],
'data' => [
'description' => 'data',
'properties' => [
'incidentCount' => ['description' => 'Total number of management events.', 'example' => '1331', 'format' => 'int32', 'title' => '', 'type' => 'integer'],
'alertCount' => ['description' => 'Total number of alerts.', 'example' => '123', 'format' => 'int32', 'title' => '', 'type' => 'integer'],
'problemCount' => ['description' => 'Total number of faults.', 'example' => '221', 'format' => 'int32', 'title' => '', 'type' => 'integer'],
'integrationCount' => ['description' => 'Total number of integrations.', 'example' => '2211', 'format' => 'int32', 'title' => '', 'type' => 'integer'],
],
'title' => 'data',
'type' => 'object',
'example' => '',
],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"FD200FAE-E98F-496E-BFE6-4CE61E59A2E9\\",\\n \\"data\\": {\\n \\"incidentCount\\": 1331,\\n \\"alertCount\\": 123,\\n \\"problemCount\\": 221,\\n \\"integrationCount\\": 2211\\n }\\n}","type":"json"}]',
'title' => 'Obtain Usage Summary',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:GetResourceStatistics',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetResourceStatistics'],
],
],
],
'GetRichText' => [
'summary' => 'Retrieve rich text information.',
'path' => '/rich/detail',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgemp71I60H'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'Request body.',
'properties' => [
'richTextId' => ['description' => 'Rich text ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '140080050', 'title' => '', 'required' => false],
'instanceId' => ['description' => 'Resource ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '140080050', 'title' => '', 'required' => false],
'instanceType' => ['description' => 'Resource type:'."\n"
."\n"
.'- INCIDENT: Event.'."\n"
."\n"
.'- ALERT: Alert.'."\n"
."\n"
.'- PROBLEM: Problem.', 'type' => 'string', 'required' => false, 'example' => 'INCIDENT', 'title' => ''],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Response structure.',
'properties' => [
'requestId' => ['title' => 'Id of the request', 'description' => 'Request ID.', 'type' => 'string', 'example' => '4AA343E4-AB98-56D9-B699-D932902BA3EC'],
'data' => [
'description' => 'Returned data.',
'properties' => [
'instanceId' => ['description' => 'Resource ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '140080050', 'title' => ''],
'richText' => ['description' => 'Rich text content.', 'type' => 'string', 'example' => '这是一个富文本', 'title' => ''],
'instanceType' => ['description' => 'Resource type:'."\n"
."\n"
.'- 0: Event.'."\n"
."\n"
.'- 1: Alert.'."\n"
."\n"
.'- 2: Problem.', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''],
],
'title' => 'data',
'type' => 'object',
'example' => '',
],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"4AA343E4-AB98-56D9-B699-D932902BA3EC\\",\\n \\"data\\": {\\n \\"instanceId\\": 140080050,\\n \\"richText\\": \\"这是一个富文本\\",\\n \\"instanceType\\": 0\\n }\\n}","type":"json"}]',
'title' => 'Retrieve rich text information ',
'requestParamsDescription' => '{'."\n"
.'"richTextId" : 111111,'."\n"
.'"instanceId" : 111111111,'."\n"
.'"instanceType" : "INCIDENT"'."\n"
.'}',
'responseParamsDescription' => '{'."\n"
.'"elapsedTime": 0,'."\n"
.'"requestId": "4AA343E4-AB98-56D9-B699-D932902BA3EC",'."\n"
.'"success": true,'."\n"
.'"errCode": 200,'."\n"
.'"errMessage": null,'."\n"
.'"data": {'."\n"
.'"id": 140080050,'."\n"
.'"instanceId": 133,'."\n"
.'"instanceType": 0,'."\n"
.'"richText": "null"'."\n"
.'}'."\n"
.'}',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:GetRichText',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetRichText'],
],
],
],
'GetRouteRule' => [
'summary' => 'View rule details.',
'path' => '/routeRule/detail',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempJRUU6V'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'Request body.',
'properties' => [
'routeRuleId' => ['description' => 'Rule ID.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1', 'title' => ''],
'clientToken' => ['description' => 'Idempotency token.', 'type' => 'string', 'example' => 'C4BE3837-1A13-413B-A225-2C88188E8A43', 'title' => '', 'required' => false],
],
'required' => false,
'type' => 'object',
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Response structure.',
'properties' => [
'requestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '6B9347ED-FD93-42B4-B9A4-7282962F5D6A', 'title' => ''],
'data' => [
'description' => 'Rule details.',
'properties' => [
'routeRuleId' => ['description' => 'Rule ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '180000000', 'title' => ''],
'ruleName' => ['description' => 'Routing rule name.', 'type' => 'string', 'example' => '规则1', 'title' => ''],
'timeWindow' => ['description' => 'Time window.', 'type' => 'integer', 'format' => 'int32', 'example' => '3', 'title' => ''],
'relatedServiceName' => ['description' => 'Associated service name.', 'type' => 'string', 'example' => '冲上云霄', 'title' => ''],
'enableStatus' => ['description' => 'Whether the rule is enabled:'."\n"
."\n"
.'- DISABLE: Disabled.'."\n"
."\n"
.'- ENABLE: Enabled.', 'type' => 'string', 'example' => 'disable', 'title' => ''],
'relatedServiceId' => ['description' => 'Associated service ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''],
'routeType' => ['description' => 'Routing type:'."\n"
."\n"
.'- INCIDENT: Trigger an incident.'."\n"
."\n"
.'- ALERT: Trigger only an alert.', 'type' => 'string', 'example' => 'INCIDENT', 'title' => ''],
'incidentLevel' => ['description' => 'Incident severity level:'."\n"
."\n"
.'- P1'."\n"
."\n"
.'- P2'."\n"
."\n"
.'- P3'."\n"
."\n"
.'- P4', 'type' => 'string', 'example' => 'P1', 'title' => ''],
'assignObjectId' => ['description' => 'Assigned object ID (service group ID or user ID).', 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''],
'assignObjectType' => ['description' => 'Assigned object type:'."\n"
."\n"
.'- SERVICEGROUP: Service group.'."\n"
."\n"
.'- USER: Individual user.', 'type' => 'string', 'example' => 'SERVICEGROUP', 'title' => ''],
'effection' => ['description' => 'Severity:'."\n"
."\n"
.'- LOW: Minor.'."\n"
."\n"
.'- HIGH: Critical.', 'type' => 'string', 'example' => 'LOW', 'title' => ''],
'matchCount' => ['description' => 'Number of matches.', 'type' => 'integer', 'format' => 'int64', 'example' => '3', 'title' => ''],
'childRuleRelation' => ['description' => 'Child rule relationship:'."\n"
."\n"
.'- AND: AND.'."\n"
."\n"
.'- OR: OR.', 'type' => 'string', 'example' => 'AND、OR', 'title' => ''],
'eventRouteChildRules' => [
'description' => 'Child rules.',
'items' => [
'description' => 'Child rule.',
'properties' => [
'childRouteRuleId' => ['description' => 'Child rule ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''],
'isValidChildRule' => ['description' => 'Whether the child rule is valid:'."\n"
."\n"
.'- true: Valid.'."\n"
."\n"
.'- false: Invalid.', 'type' => 'boolean', 'example' => 'false', 'title' => ''],
'parentRuleId' => ['description' => 'Parent rule ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '1800', 'title' => ''],
'monitorSourceId' => ['description' => 'Monitoring source ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''],
'monitorIntegrationConfigId' => ['description' => 'Integration configuration ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''],
'monitorSourceName' => ['description' => 'Monitoring source name.', 'type' => 'string', 'example' => 'zabbix', 'title' => ''],
'childConditionRelation' => ['description' => 'Child condition relationship:'."\n"
."\n"
.'- 0: AND.'."\n"
."\n"
.'- 1: OR.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''],
'conditions' => [
'description' => 'Matching conditions.',
'items' => [
'description' => 'Condition.',
'properties' => [
'key' => ['description' => 'Condition key.', 'type' => 'string', 'example' => 'alarmName', 'title' => ''],
'value' => ['description' => 'Match value.', 'type' => 'string', 'example' => 'Zabbix server', 'title' => ''],
'operationSymbol' => ['description' => 'Operator.', 'type' => 'string', 'example' => 'contain', 'title' => ''],
],
'type' => 'object',
'title' => '',
'example' => '',
],
'title' => '',
'type' => 'array',
'example' => '',
],
'problemLevel' => ['description' => 'Problem severity level.', 'type' => 'string', 'example' => '1', 'title' => ''],
],
'type' => 'object',
'title' => '',
'example' => '',
],
'title' => '',
'type' => 'array',
'example' => '',
],
'createTime' => ['description' => 'Creation time.', 'type' => 'string', 'example' => '2020-09-08 15:30:30', 'title' => ''],
'updateTime' => ['description' => 'Last update time.', 'type' => 'string', 'example' => '2020-09-08 15:30:30', 'title' => ''],
'notifyChannels' => [
'description' => 'Notification channels.',
'items' => ['description' => 'Notification channel.', 'type' => 'string', 'example' => '[SMS,PHONE]', 'title' => ''],
'title' => '',
'type' => 'array',
'example' => '',
],
'notifyChannelNames' => [
'description' => 'Notification channel names.',
'items' => ['description' => 'Notification channel name.', 'type' => 'string', 'example' => '[短信,电话]', 'title' => ''],
'title' => '',
'type' => 'array',
'example' => '',
],
'assignObjectName' => ['description' => 'Assigned object name.', 'type' => 'string', 'example' => '刘先生', 'title' => ''],
'relServiceDeleteType' => ['description' => 'Service deletion field.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'],
'problemLevelGroup' => [
'additionalProperties' => [
'type' => 'object',
'properties' => [
'childRuleRelation' => ['description' => 'Child rule relationship.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '11'],
'matchCount' => ['description' => 'Count.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '11'],
'timeWindow' => ['description' => 'Time window.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1'],
'timeWindowUnit' => ['description' => 'Time unit.', 'type' => 'string', 'title' => '', 'example' => '1'],
'enableUpgrade' => ['description' => 'Whether enabled.', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
'upgradeTimeWindow' => ['description' => 'The time window for the upgrade.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1'],
'upgradeTimeWindowUnit' => ['description' => 'Service unit.', 'type' => 'string', 'title' => '', 'example' => '1'],
],
'description' => 'Service group.',
'title' => '',
'example' => '',
],
'type' => 'object',
'description' => 'Problem severity level group.',
'title' => '',
'example' => '',
],
'coverageProblemLevels' => [
'description' => 'Problem severity level coverage.',
'items' => ['description' => 'Problem severity level.', 'type' => 'string', 'example' => '1', 'title' => ''],
'title' => '',
'type' => 'array',
'example' => '',
],
'problemEffectionServices' => [
'description' => 'Services affected by the problem.',
'items' => ['description' => 'Service associated with the problem.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''],
'title' => '',
'type' => 'array',
'example' => '',
],
'convergenceFields' => [
'description' => 'Convergence field collection.',
'title' => 'Convergence Fields Collection',
'type' => 'array',
'items' => ['description' => 'Convergence field name.', 'type' => 'string', 'example' => 'name', 'title' => ''],
'example' => '',
],
'convergenceType' => ['title' => 'Convergence type (0: stream rule convergence, 1: field convergence) ', 'description' => 'Convergence type:'."\n"
."\n"
.'- 0: Rule-based convergence.'."\n"
."\n"
.'- 1: Field-based convergence.', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
],
'title' => '',
'type' => 'object',
'example' => '',
],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'errorCodes' => [
404 => [
['errorCode' => 'RouteRuleNotExisted', 'errorMessage' => 'The rule does not exist.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"6B9347ED-FD93-42B4-B9A4-7282962F5D6A\\",\\n \\"data\\": {\\n \\"routeRuleId\\": 180000000,\\n \\"ruleName\\": \\"规则1\\",\\n \\"timeWindow\\": 3,\\n \\"relatedServiceName\\": \\"冲上云霄\\",\\n \\"enableStatus\\": \\"disable\\",\\n \\"relatedServiceId\\": 1000,\\n \\"routeType\\": \\"INCIDENT\\",\\n \\"incidentLevel\\": \\"P1\\",\\n \\"assignObjectId\\": 1000,\\n \\"assignObjectType\\": \\"SERVICEGROUP\\",\\n \\"effection\\": \\"LOW\\",\\n \\"matchCount\\": 3,\\n \\"childRuleRelation\\": \\"AND、OR\\",\\n \\"eventRouteChildRules\\": [\\n {\\n \\"childRouteRuleId\\": 1000,\\n \\"isValidChildRule\\": false,\\n \\"parentRuleId\\": 1800,\\n \\"monitorSourceId\\": 1,\\n \\"monitorIntegrationConfigId\\": 1,\\n \\"monitorSourceName\\": \\"zabbix\\",\\n \\"childConditionRelation\\": 1,\\n \\"conditions\\": [\\n {\\n \\"key\\": \\"alarmName\\",\\n \\"value\\": \\"Zabbix server\\",\\n \\"operationSymbol\\": \\"contain\\"\\n }\\n ],\\n \\"problemLevel\\": \\"1\\"\\n }\\n ],\\n \\"createTime\\": \\"2020-09-08 15:30:30\\",\\n \\"updateTime\\": \\"2020-09-08 15:30:30\\",\\n \\"notifyChannels\\": [\\n \\"[SMS,PHONE]\\"\\n ],\\n \\"notifyChannelNames\\": [\\n \\"[短信,电话]\\"\\n ],\\n \\"assignObjectName\\": \\"刘先生\\",\\n \\"relServiceDeleteType\\": 1,\\n \\"problemLevelGroup\\": {\\n \\"key\\": {\\n \\"childRuleRelation\\": 11,\\n \\"matchCount\\": 11,\\n \\"timeWindow\\": 1,\\n \\"timeWindowUnit\\": \\"1\\",\\n \\"enableUpgrade\\": true,\\n \\"upgradeTimeWindow\\": 1,\\n \\"upgradeTimeWindowUnit\\": \\"1\\"\\n }\\n },\\n \\"coverageProblemLevels\\": [\\n \\"1\\"\\n ],\\n \\"problemEffectionServices\\": [\\n 1\\n ],\\n \\"convergenceFields\\": [\\n \\"name\\"\\n ],\\n \\"convergenceType\\": 0\\n }\\n}","type":"json"}]',
'title' => 'View rule details',
'requestParamsDescription' => '{'."\n"
.'"routeRuleId" : 1'."\n"
.'}',
'responseParamsDescription' => '{'."\n"
.'"requestId": "6B9347ED-FD93-42B4-B9A4-7282962F5D6A",'."\n"
.'"data": {'."\n"
.'"routeRuleId": 180000000,'."\n"
.'"ruleName": "Rule 1",'."\n"
.'"timeWindow": 3,'."\n"
.'"relatedServiceName": "Soar to the Cloud",'."\n"
.'"enableStatus": "DISABLE",'."\n"
.'"relatedServiceId": 1000,'."\n"
.'"routeType": "INCIDENT",'."\n"
.'"incidentLevel": "P1",'."\n"
.'"assignObjectId": 1000,'."\n"
.'"assignObjectType": "SERVICEGROUP",'."\n"
.'"effection": "LOW",'."\n"
.'"matchCount": 3,'."\n"
.'"eventRouteChildRules": \\['."\n"
.'{'."\n"
.'"childRouteRuleId": 1000,'."\n"
.'"isValidChildRule": false,'."\n"
.'"parentRuleId": 1800,'."\n"
.'"monitorSourceId": 1,'."\n"
.'"monitorIntegrationConfigId": 1,'."\n"
.'"monitorSourceName": "zabbix",'."\n"
.'"conditions": \\['."\n"
.'{'."\n"
.'"key": "alarmName",'."\n"
.'"value": "Zabbix server",'."\n"
.'"operationSymbol": "contain"'."\n"
.'}'."\n"
.']'."\n"
.'}'."\n"
.'],'."\n"
.'"createTime": "2020-09-08 15:30:30",'."\n"
.'"updateTime": "2020-09-08 15:30:30",'."\n"
.'"notifyChannels": \\['."\n"
.'"\\[SMS,PHONE]"'."\n"
.'],'."\n"
.'"notifyChannelNames": \\['."\n"
.'"\\[SMS, PHONE]"'."\n"
.'],'."\n"
.'"assignObjectName": "Mr. Liu"'."\n"
.'}'."\n"
.'}',
'changeSet' => [
['createdAt' => '2022-12-07T12:30:08.000Z', 'description' => 'Response parameters changed'],
['createdAt' => '2022-06-07T11:52:18.000Z', 'description' => 'Response parameters changed'],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:GetRouteRule',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetRouteRule'],
],
],
],
'GetService' => [
'summary' => 'Queries the details of a service.',
'path' => '/services/detail',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgemp1A354K'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'The request body.',
'properties' => [
'serviceId' => ['description' => 'The service ID.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'title' => '', 'example' => '1'],
'clientToken' => ['description' => 'The idempotence token.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'C4BE3837-1A13-413B-A225-2C88188E8A43'],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'The response structure.',
'properties' => [
'requestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'C4BE3837-1A13-413B-A225-2C88188E8A43'],
'data' => [
'description' => 'The service details.',
'properties' => [
'serviceId' => ['description' => 'The service ID.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1'],
'serviceName' => ['description' => 'The service name.', 'type' => 'string', 'title' => '', 'example' => '保洁服务'],
'serviceDescription' => ['description' => 'The service description.', 'type' => 'string', 'title' => '', 'example' => '服务描述'],
'updateTime' => ['description' => 'The time when the service was last updated.', 'type' => 'string', 'title' => '', 'example' => '2020-03-08 12:53:53'],
'serviceGroupIdList' => [
'minItems' => 0,
'description' => 'The list of service group IDs.',
'title' => 'Service Group ID List',
'type' => 'array',
'items' => ['title' => 'Service Group ID', 'description' => 'The service group ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'default' => '1'],
'example' => '',
],
'escalationPlanId' => ['title' => 'Escalation Policy ID', 'description' => 'The escalation policy ID.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1'],
],
'title' => '',
'type' => 'object',
'example' => '',
],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'errorCodes' => [
404 => [
['errorCode' => 'ServiceNotExisted', 'errorMessage' => 'The service does not exist.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"C4BE3837-1A13-413B-A225-2C88188E8A43\\",\\n \\"data\\": {\\n \\"serviceId\\": 1,\\n \\"serviceName\\": \\"保洁服务\\",\\n \\"serviceDescription\\": \\"服务描述\\",\\n \\"updateTime\\": \\"2020-03-08 12:53:53\\",\\n \\"serviceGroupIdList\\": [\\n 1\\n ],\\n \\"escalationPlanId\\": 1\\n }\\n}","type":"json"}]',
'title' => 'Query Service Details ',
'changeSet' => [
['createdAt' => '2023-04-13T12:01:53.000Z', 'description' => 'Response parameters changed'],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:GetService',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetService'],
],
],
],
'GetServiceGroup' => [
'summary' => 'View the details of a service group.',
'path' => '/services/group/detail',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgemp1A354K'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'Request body.',
'properties' => [
'serviceGroupId' => ['description' => 'Service group ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '2323232', 'title' => '', 'required' => false],
'clientToken' => ['description' => 'Idempotency token.', 'type' => 'string', 'example' => 'C4BE3837-1A13-413B-A225-2C88188E8A43', 'title' => '', 'required' => false],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Response structure.',
'properties' => [
'requestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'C4BE3837-1A13-413B-A225-2C88188E8A43', 'title' => ''],
'data' => [
'description' => 'Returned result.',
'properties' => [
'updateTime' => ['description' => 'Modification time.', 'type' => 'string', 'example' => '2020-05-03 15:39:39', 'title' => ''],
'users' => [
'description' => 'Array of user IDs.',
'items' => [
'description' => 'User ID.',
'properties' => [
'userId' => ['description' => 'User ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''],
'userName' => ['description' => 'Username.', 'type' => 'string', 'example' => 'jack', 'title' => ''],
'phone' => ['description' => 'Phone number.', 'type' => 'string', 'example' => '1390000****', 'title' => ''],
'serviceGroupId' => ['description' => 'Service group ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''],
'roleNameList' => [
'description' => 'Role list.',
'title' => 'Role List ',
'type' => 'array',
'items' => ['title' => 'Role Name ', 'description' => 'Role name.', 'type' => 'string', 'example' => '测试'],
'example' => '',
],
],
'type' => 'object',
'title' => '',
'example' => '',
],
'title' => '',
'type' => 'array',
'example' => '',
],
'serviceGroupDescription' => ['description' => 'Service group description.', 'type' => 'string', 'example' => '服务描述', 'title' => ''],
'webhookLink' => ['description' => 'Webhook URL.', 'type' => 'string', 'example' => 'wwwwwww', 'title' => ''],
'webhookType' => ['description' => 'Webhook type:'."\n"
."\n"
.'- WEIXIN\\_GROUP: WeCom group.'."\n"
."\n"
.'- DING\\_GROUP: DingTalk group.', 'type' => 'string', 'example' => 'WEIXIN_GROUP', 'title' => ''],
'enableWebhook' => ['description' => '- ENABLE: Enable.'."\n"
."\n"
.'- DISABLE: Disable.', 'type' => 'string', 'example' => 'ENABLE', 'title' => ''],
'serviceGroupName' => ['description' => 'Service group name.', 'type' => 'string', 'example' => '冲上云霄', 'title' => ''],
'serviceGroupId' => ['description' => 'Service group ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''],
'createTime' => ['description' => 'Creation time.', 'type' => 'string', 'example' => '2020-08-08 10:00:00', 'title' => ''],
],
'type' => 'object',
'title' => '',
'example' => '',
],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'ServiceGroupNotExisted', 'errorMessage' => 'The service group does not exist.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"C4BE3837-1A13-413B-A225-2C88188E8A43\\",\\n \\"data\\": {\\n \\"updateTime\\": \\"2020-05-03 15:39:39\\",\\n \\"users\\": [\\n {\\n \\"userId\\": 10,\\n \\"userName\\": \\"jack\\",\\n \\"phone\\": \\"1390000****\\",\\n \\"serviceGroupId\\": 1,\\n \\"roleNameList\\": [\\n \\"测试\\"\\n ]\\n }\\n ],\\n \\"serviceGroupDescription\\": \\"服务描述\\",\\n \\"webhookLink\\": \\"wwwwwww\\",\\n \\"webhookType\\": \\"WEIXIN_GROUP\\",\\n \\"enableWebhook\\": \\"ENABLE\\",\\n \\"serviceGroupName\\": \\"冲上云霄\\",\\n \\"serviceGroupId\\": 1000,\\n \\"createTime\\": \\"2020-08-08 10:00:00\\"\\n }\\n}","type":"json"}]',
'title' => 'View service group details',
'changeSet' => [
['createdAt' => '2023-04-13T12:01:54.000Z', 'description' => 'Response parameters changed'],
['createdAt' => '2021-07-16T04:09:45.000Z', 'description' => 'Response parameters changed'],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:GetServiceGroup',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetServiceGroup'],
],
],
],
'GetServiceGroupPersonScheduling' => [
'summary' => 'Query the schedule of a service group for a specific user.',
'path' => '/services/group/scheduling/user/getScheduling',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempCICFVA'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'A short description of struct',
'properties' => [
'userId' => ['description' => 'User ID.', 'example' => '66666', 'format' => 'int64', 'required' => false, 'title' => '', 'type' => 'integer'],
'serviceGroupId' => ['description' => 'Service group ID.', 'example' => '77777', 'format' => 'int64', 'required' => false, 'title' => '', 'type' => 'integer'],
'clientToken' => ['description' => 'Idempotency token.', 'example' => 'C4BE3837-1A13-413B-A225-2C88188E8A43', 'required' => false, 'title' => '', 'type' => 'string'],
'startTime' => ['description' => 'Schedule start time.', 'example' => '2020-09-01 00:00:00', 'required' => false, 'title' => '', 'type' => 'string'],
'endTime' => ['description' => 'Schedule end time.', 'example' => '2020-09-31 00:00:00', 'required' => false, 'title' => '', 'type' => 'string'],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Schema of Response',
'properties' => [
'requestId' => ['description' => 'Id of the request', 'example' => 'xxxxx', 'title' => 'Id of the request', 'type' => 'string'],
'data' => ['description' => 'Schedule calendar.', 'title' => '', 'type' => 'object', 'example' => ''],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"xxxxx\\",\\n \\"data\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n}","type":"json"}]',
'title' => 'Query the schedule of a service group for a specific user',
'changeSet' => [
['createdAt' => '2021-10-20T13:27:37.000Z', 'description' => 'OpenAPI offline'],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:GetServiceGroupPersonScheduling',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetServiceGroupPersonScheduling'],
],
],
],
'GetServiceGroupScheduling' => [
'summary' => 'Queries the scheduling details of a service group.',
'path' => '/services/group/scheduling/detail',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempCICFVA'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'Request body.',
'properties' => [
'serviceGroupId' => ['description' => 'Service group ID.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '9999', 'title' => ''],
'clientToken' => ['description' => 'Idempotency token.', 'type' => 'string', 'example' => 'C4BE3837-1A13-413B-A225-2C88188E8A43', 'title' => '', 'required' => false],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Response structure.',
'properties' => [
'requestId' => ['title' => 'Id of the request', 'description' => 'Request ID.', 'type' => 'string', 'example' => 'xxxxxxxxxxxx'],
'data' => [
'description' => 'Scheduling details.',
'properties' => [
'schedulingWay' => ['description' => 'Scheduling method:'."\n"
."\n"
.'- FAST: Fast scheduling.'."\n"
."\n"
.'- FINE: Fine-grained scheduling.', 'type' => 'string', 'example' => 'FINE', 'title' => ''],
'serviceGroupId' => ['description' => 'Service group ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '99999', 'title' => ''],
'fastScheduling' => [
'description' => 'Fast scheduling.',
'properties' => [
'singleDuration' => ['description' => 'Duration per person.', 'type' => 'integer', 'format' => 'int32', 'example' => '12', 'title' => ''],
'dutyPlan' => ['description' => 'Duty plan:'."\n"
."\n"
.'- FAST\\_CHOICE: Fast selection.'."\n"
."\n"
.'- CUSTOM: Custom.', 'type' => 'string', 'example' => 'FAST_CHOICE', 'title' => ''],
'singleDurationUnit' => ['description' => 'Unit for duration per person:'."\n"
."\n"
.'- HOUR: Hour.'."\n"
."\n"
.'- DAY: Day.', 'type' => 'string', 'example' => 'DAY', 'title' => ''],
'schedulingUsers' => [
'description' => 'Fast rotation users.',
'items' => [
'description' => 'Fast scheduling user.',
'properties' => [
'schedulingUserId' => ['description' => 'Rotation user ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '66666', 'title' => ''],
'schedulingOrder' => ['description' => 'Scheduling order.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
'schedulingUserName' => ['description' => 'Rotation user name.', 'type' => 'string', 'example' => '张先生', 'title' => ''],
'schedulingUserIdList' => [
'description' => 'User IDs for multi-person scheduling.',
'title' => 'User IDs for Multi-User Shift Scheduling ',
'type' => 'array',
'items' => ['description' => 'User ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '66666', 'title' => ''],
'example' => '',
],
'schedulingObjectType' => ['title' => 'Scheduling object type', 'description' => 'Scheduling object type.', 'type' => 'string', 'example' => 'single'],
],
'type' => 'object',
'title' => '',
'example' => '',
],
'title' => '',
'type' => 'array',
'example' => '',
],
'id' => ['description' => 'Fast scheduling ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '2222', 'title' => ''],
],
'title' => '',
'type' => 'object',
'example' => '',
],
'fineScheduling' => [
'description' => 'Fine-grained scheduling.',
'properties' => [
'period' => ['title' => '1', 'description' => 'Cycle period.', 'type' => 'integer', 'format' => 'int32', 'example' => '循环周期'],
'id' => ['title' => '1', 'description' => 'Fine-grained scheduling ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '精细排班ID'],
'periodUnit' => ['description' => 'Unit for cycle period:'."\n"
."\n"
.'- HOUR: Hour.'."\n"
."\n"
.'- DAY: Day.', 'type' => 'string', 'example' => 'DAY', 'title' => ''],
'shiftType' => ['description' => 'Shift type:'."\n"
."\n"
.'- MORNING\\_NIGHT: Morning and night shifts.'."\n"
."\n"
.'- MORNING\\_NOON\\_NIGHT: Morning, noon, and night shifts.'."\n"
."\n"
.'- CUSTOM: Custom.', 'type' => 'string', 'example' => 'MORNING_NIGHT', 'title' => ''],
'schedulingFineShifts' => [
'description' => 'Fine-grained scheduling shift personnel information.',
'items' => [
'description' => 'Fine-grained scheduling.',
'properties' => [
'schedulingStartTime' => ['description' => 'Scheduling start time.', 'type' => 'string', 'example' => '2020-08-13', 'title' => ''],
'schedulingEndTime' => ['description' => 'Scheduling end time.', 'type' => 'string', 'example' => '2020-10-13', 'title' => ''],
'schedulingOrder' => ['description' => 'Scheduling order.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
'shiftName' => ['description' => 'Shift name.', 'type' => 'string', 'example' => '早班', 'title' => ''],
'cycleOrder' => ['description' => 'Cycle order.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''],
'schedulingUserId' => ['description' => 'Scheduling user ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '1111', 'title' => ''],
'skipOneDay' => ['description' => 'Spans days.', 'type' => 'boolean', 'example' => 'false', 'title' => ''],
'schedulingUserName' => ['description' => 'Scheduling user name.', 'type' => 'string', 'example' => '刘德华', 'title' => ''],
'schedulingUserIdList' => [
'description' => 'User IDs for multi-person scheduling.',
'title' => 'User IDs for Multi-User Scheduling',
'type' => 'array',
'items' => ['description' => 'User ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '66666', 'title' => ''],
'example' => '',
],
'schedulingObjectType' => ['description' => 'Task scheduling type.', 'type' => 'string', 'example' => 'single', 'title' => ''],
],
'type' => 'object',
'title' => '',
'example' => '',
],
'title' => '',
'type' => 'array',
'example' => '',
],
'schedulingTemplateFineShifts' => [
'description' => 'Fine-grained scheduling template.',
'items' => [
'description' => 'Fine-grained scheduling template.',
'properties' => [
'schedulingStartTime' => ['description' => 'Scheduling start time.', 'type' => 'string', 'title' => '', 'example' => '2021-09-01 00:00:00'],
'schedulingEndTime' => ['description' => 'Scheduling end time.', 'type' => 'string', 'title' => '', 'example' => '2021-10-01 00:00:00'],
'schedulingOrder' => ['description' => 'Scheduling order.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1'],
'schedulingUserId' => ['description' => 'User ID.', 'type' => 'string', 'title' => '', 'example' => '1'],
'skipOneDay' => ['description' => 'Spans days.', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
'schedulingUserName' => ['description' => 'Scheduling user name.', 'type' => 'string', 'title' => '', 'example' => '刘德华'],
'shiftName' => ['description' => 'Shift name.', 'type' => 'string', 'title' => '', 'example' => '早班'],
'schedulingUserIdList' => [
'description' => 'User IDs for multi-person scheduling.',
'title' => 'User IDs for Multi-user Scheduling',
'type' => 'array',
'items' => ['description' => 'User ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '66666', 'title' => ''],
'example' => '',
],
'schedulingObjectType' => ['description' => 'Task scheduling type.', 'type' => 'string', 'example' => 'single', 'title' => ''],
],
'type' => 'object',
'title' => '',
'example' => '',
],
'title' => '',
'type' => 'array',
'example' => '',
],
],
'title' => '',
'type' => 'object',
'example' => '',
],
'users' => [
'description' => 'The users are scheduled.',
'items' => [
'description' => 'Scheduled user.',
'properties' => [
'userId' => ['description' => 'User ID.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '66666'],
'userName' => ['description' => 'User name.', 'type' => 'string', 'title' => '', 'example' => '用户名字'],
],
'type' => 'object',
'title' => '',
'example' => '',
],
'title' => '',
'type' => 'array',
'example' => '',
],
],
'title' => '',
'type' => 'object',
'example' => '',
],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'errorCodes' => [
404 => [
['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified Resource is not found.', 'description' => 'The specified Resource is not found.'],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"xxxxxxxxxxxx\\",\\n \\"data\\": {\\n \\"schedulingWay\\": \\"FINE\\",\\n \\"serviceGroupId\\": 99999,\\n \\"fastScheduling\\": {\\n \\"singleDuration\\": 12,\\n \\"dutyPlan\\": \\"FAST_CHOICE\\",\\n \\"singleDurationUnit\\": \\"DAY\\",\\n \\"schedulingUsers\\": [\\n {\\n \\"schedulingUserId\\": 66666,\\n \\"schedulingOrder\\": 1,\\n \\"schedulingUserName\\": \\"张先生\\",\\n \\"schedulingUserIdList\\": [\\n 66666\\n ],\\n \\"schedulingObjectType\\": \\"single\\"\\n }\\n ],\\n \\"id\\": 2222\\n },\\n \\"fineScheduling\\": {\\n \\"period\\": 0,\\n \\"id\\": 0,\\n \\"periodUnit\\": \\"DAY\\",\\n \\"shiftType\\": \\"MORNING_NIGHT\\",\\n \\"schedulingFineShifts\\": [\\n {\\n \\"schedulingStartTime\\": \\"2020-08-13\\",\\n \\"schedulingEndTime\\": \\"2020-10-13\\",\\n \\"schedulingOrder\\": 1,\\n \\"shiftName\\": \\"早班\\",\\n \\"cycleOrder\\": 1,\\n \\"schedulingUserId\\": 1111,\\n \\"skipOneDay\\": false,\\n \\"schedulingUserName\\": \\"刘德华\\",\\n \\"schedulingUserIdList\\": [\\n 66666\\n ],\\n \\"schedulingObjectType\\": \\"single\\"\\n }\\n ],\\n \\"schedulingTemplateFineShifts\\": [\\n {\\n \\"schedulingStartTime\\": \\"2021-09-01 00:00:00\\",\\n \\"schedulingEndTime\\": \\"2021-10-01 00:00:00\\",\\n \\"schedulingOrder\\": 1,\\n \\"schedulingUserId\\": \\"1\\",\\n \\"skipOneDay\\": true,\\n \\"schedulingUserName\\": \\"刘德华\\",\\n \\"shiftName\\": \\"早班\\",\\n \\"schedulingUserIdList\\": [\\n 66666\\n ],\\n \\"schedulingObjectType\\": \\"single\\"\\n }\\n ]\\n },\\n \\"users\\": [\\n {\\n \\"userId\\": 66666,\\n \\"userName\\": \\"用户名字\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
'title' => 'Query service group scheduling details',
'changeSet' => [
['createdAt' => '2022-12-26T13:01:21.000Z', 'description' => 'Response parameters changed'],
['createdAt' => '2021-09-10T01:53:17.000Z', 'description' => 'OpenAPI offline'],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:GetServiceGroupScheduling',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetServiceGroupScheduling'],
],
],
],
'GetServiceGroupSchedulingPreview' => [
'summary' => 'Preview service group scheduling.',
'path' => '/services/group/scheduling/preview',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempUBXKF7'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'Request body.',
'properties' => [
'serviceGroupId' => ['description' => 'Service group ID.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '55555', 'title' => ''],
'schedulingWay' => ['description' => 'Scheduling method:'."\n"
."\n"
.'- FAST: Fast scheduling.'."\n"
."\n"
.'- FINE: Fine-grained scheduling.', 'type' => 'string', 'required' => true, 'example' => 'FAST', 'title' => ''],
'fastScheduling' => [
'description' => 'Fast scheduling settings.',
'properties' => [
'singleDuration' => ['description' => 'Shift duration per person.', 'type' => 'integer', 'format' => 'int32', 'example' => '12', 'title' => '', 'required' => false],
'dutyPlan' => ['description' => 'Duty plan:'."\n"
."\n"
.'- FAST\\_CHOICE: Fast selection.'."\n"
."\n"
.'- CUSTOM: Custom.', 'type' => 'string', 'example' => 'FAST_CHOICE', 'title' => '', 'required' => false],
'singleDurationUnit' => ['description' => 'Shift duration unit:'."\n"
."\n"
.'- HOUR: Hour.'."\n"
."\n"
.'- DAY: Day.', 'type' => 'string', 'example' => 'DAY', 'title' => '', 'required' => false],
'schedulingUsers' => [
'description' => 'Users for fast rotation scheduling.',
'items' => [
'description' => 'User for fast rotation scheduling.',
'properties' => [
'schedulingUserId' => ['description' => 'User ID for rotation scheduling.', 'type' => 'integer', 'format' => 'int64', 'example' => '122222', 'title' => '', 'required' => false],
'schedulingOrder' => ['description' => 'Scheduling order.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => '', 'required' => false],
],
'required' => false,
'type' => 'object',
'title' => '',
'example' => '',
],
'required' => false,
'title' => '',
'type' => 'array',
'example' => '',
],
],
'required' => false,
'title' => '',
'type' => 'object',
'example' => '',
],
'fineScheduling' => [
'description' => 'Fine-grained scheduling settings.',
'properties' => [
'period' => ['description' => 'Cycle period.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'required' => false, 'example' => '2'],
'periodUnit' => ['description' => 'Cycle period unit:'."\n"
."\n"
.'- HOUR: Hour.'."\n"
."\n"
.'- DAY: Day.', 'type' => 'string', 'example' => 'DAY', 'title' => '', 'required' => false],
'shiftType' => ['description' => 'Shift type:'."\n"
."\n"
.'- MORNING\\_NIGHT: Morning and night shifts.'."\n"
."\n"
.'- MORNING\\_NOON\\_NIGHT: Morning, noon, and night shifts.'."\n"
."\n"
.'- CUSTOM: Custom.', 'type' => 'string', 'example' => 'MORNING_NIGHT', 'title' => '', 'required' => false],
'schedulingFineShifts' => [
'description' => 'Staff information for fine-grained shift scheduling.',
'items' => [
'description' => 'Staff information for fine-grained shift scheduling.',
'properties' => [
'schedulingStartTime' => ['description' => 'Scheduling start time.', 'type' => 'string', 'example' => '2020-08-13', 'title' => '', 'required' => false],
'schedulingEndTime' => ['description' => 'Scheduling end time.', 'type' => 'string', 'example' => '2020-10-13', 'title' => '', 'required' => false],
'schedulingOrder' => ['description' => 'Scheduling order.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => '', 'required' => false],
'shiftName' => ['description' => 'Shift name.', 'type' => 'string', 'example' => '早班', 'title' => '', 'required' => false],
],
'required' => false,
'type' => 'object',
'title' => '',
'example' => '',
],
'required' => false,
'title' => '',
'type' => 'array',
'example' => '',
],
],
'required' => false,
'title' => '',
'type' => 'object',
'example' => '',
],
'clientToken' => ['description' => 'Idempotency token.', 'type' => 'string', 'example' => 'C4BE3837-1A13-413B-A225-2C88188E8A43', 'title' => '', 'required' => false],
'endTime' => ['description' => 'Preview start time for on-call duty.', 'type' => 'string', 'example' => '2021-09-01 00:00:00', 'title' => '', 'required' => false],
'startTime' => ['description' => 'Preview end time for on-call duty.', 'type' => 'string', 'example' => '2021-11-01 00:00:00', 'title' => '', 'required' => false],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Response structure.',
'properties' => [
'requestId' => ['title' => 'Id of the request', 'description' => 'Request ID.', 'type' => 'string', 'example' => '85C203BF-D1A6-562C-AAEC-5EAB9D2756CF'],
'data' => ['description' => 'Service group dates.', 'type' => 'object', 'title' => '', 'example' => ''],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter is not valid. %s', 'description' => 'The specified parameter is not valid.'."\n"],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"85C203BF-D1A6-562C-AAEC-5EAB9D2756CF\\",\\n \\"data\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n}","type":"json"}]',
'title' => 'Preview service group scheduling',
'changeSet' => [
['createdAt' => '2021-09-10T01:53:17.000Z', 'description' => 'OpenAPI offline'],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:GetServiceGroupSchedulingPreview',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetServiceGroupSchedulingPreview'],
],
],
],
'GetServiceGroupSpecialPersonScheduling' => [
'summary' => 'Query the schedule for a specified person in a service group.',
'path' => '/services/group/scheduling/getUserScheduling',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempUBXKF7'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'Request body.',
'properties' => [
'userId' => ['description' => 'User ID.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '66666', 'title' => ''],
'serviceGroupId' => ['description' => 'Service group ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '77777', 'title' => '', 'required' => false],
'clientToken' => ['description' => 'Idempotency token.', 'type' => 'string', 'example' => 'C4BE3837-1A13-413B-A225-2C88188E8A43', 'title' => '', 'required' => false],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Response structure.',
'properties' => [
'requestId' => ['title' => 'Id of the request', 'description' => 'Request ID.', 'type' => 'string', 'example' => 'xxxxxx'],
'data' => [
'description' => 'Schedule information for the person.',
'items' => [
'description' => 'Schedule item.',
'properties' => [
'schedulingStartTime' => ['description' => 'Schedule start time.', 'type' => 'string', 'example' => '2021-08-17 00:00:00', 'title' => ''],
'schedulingEndTime' => ['description' => 'Schedule end time.', 'type' => 'string', 'example' => '2021-08-17 12:00:00', 'title' => ''],
'schedulingDate' => ['description' => 'Schedule date.', 'type' => 'string', 'example' => '2021-08-17', 'title' => ''],
'serviceGroupId' => ['description' => 'Service group ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '8888', 'title' => ''],
'serviceGroupName' => ['description' => 'Service group name.', 'type' => 'string', 'example' => '雪豹突击队', 'title' => ''],
'schedulingUserId' => ['description' => 'Scheduled user ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '111111', 'title' => ''],
],
'type' => 'object',
'title' => '',
'example' => '',
],
'title' => '',
'type' => 'array',
'example' => '',
],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"xxxxxx\\",\\n \\"data\\": [\\n {\\n \\"schedulingStartTime\\": \\"2021-08-17 00:00:00\\",\\n \\"schedulingEndTime\\": \\"2021-08-17 12:00:00\\",\\n \\"schedulingDate\\": \\"2021-08-17\\",\\n \\"serviceGroupId\\": 8888,\\n \\"serviceGroupName\\": \\"雪豹突击队\\",\\n \\"schedulingUserId\\": 111111\\n }\\n ]\\n}","type":"json"}]',
'title' => 'Query the service group scheduling for a specified user',
'requestParamsDescription' => '{'."\n"
.'"userId" : 66666,'."\n"
.'"serviceGroupId" : 77777,'."\n"
.'"clientToken" : "C4BE3837-1A13-413B-A225-2C88188E8A43",'."\n"
.'"startTime" : "2020-09-01 00:00:00",'."\n"
.'"endTime" : "2020-09-31 23:59:59"'."\n"
.'}',
'responseParamsDescription' => '{'."\n"
.'"requestId": "xxxxxx",'."\n"
.'"data": \\['."\n"
.'{'."\n"
.'"schedulingStartTime": "2021-08-17 00:00:00",'."\n"
.'"schedulingEndTime": "2021-08-17 12:00:00",'."\n"
.'"schedulingDate": "2021-08-17",'."\n"
.'"serviceGroupId": 8888,'."\n"
.'"serviceGroupName": "Snow Leopard Commando Unit",'."\n"
.'"schedulingUserId": 111111'."\n"
.'}'."\n"
.']'."\n"
.'}',
'changeSet' => [
['createdAt' => '2021-09-10T01:53:15.000Z', 'description' => 'OpenAPI offline'],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:GetServiceGroupSpecialPersonScheduling',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetServiceGroupSpecialPersonScheduling'],
],
],
],
'GetSimilarIncidentStatistics' => [
'summary' => 'Lists similar incidents.',
'path' => '/incident/similarIncident/statistics',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgemp3X5SLU'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'Request body.',
'properties' => [
'incidentId' => ['description' => 'Incident ID.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '32', 'title' => ''],
'incidentTitle' => ['description' => 'Incident title.', 'type' => 'string', 'required' => true, 'example' => '测试事件A', 'title' => ''],
'createTime' => ['description' => 'Trigger time.', 'type' => 'string', 'required' => true, 'example' => '2021-09-09 09:09:09', 'title' => ''],
'relatedServiceId' => ['description' => 'Related service ID.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '233116754', 'title' => ''],
'events' => [
'description' => 'Event alerting content.',
'items' => ['description' => 'Event content.', 'type' => 'string', 'required' => true, 'example' => 'xxx', 'title' => ''],
'required' => true,
'title' => '',
'type' => 'array',
'example' => '',
],
'clientToken' => ['description' => 'Idempotent identity.', 'type' => 'string', 'example' => '7C56D225-7C34-40BB-9624-C8BA449260E6', 'title' => '', 'required' => false],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Response structure.',
'properties' => [
'requestId' => ['title' => 'id of the request', 'description' => 'Request ID.', 'type' => 'string', 'example' => '7C56D225-7C34-40BB-9624-C8BA449260E6'],
'data' => [
'description' => 'Returned data.',
'properties' => [
'topFiveIncidents' => [
'description' => 'topFiveIncidents',
'items' => [
'description' => 'object',
'properties' => [
'incidentId' => ['description' => 'Incident ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '32', 'title' => ''],
'incidentNumber' => ['description' => 'Incident number.', 'type' => 'string', 'example' => 'I34324', 'title' => ''],
'incidentTitle' => ['description' => 'Incident title.', 'type' => 'string', 'example' => '测试事件标题', 'title' => ''],
'relatedRouteRuleId' => ['description' => 'Flow rule ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '4343', 'title' => ''],
'relatedRouteRuleName' => ['description' => 'Flow rule name.', 'type' => 'string', 'example' => 'xxx', 'title' => ''],
'finishReason' => ['description' => 'Trigger reason.', 'type' => 'integer', 'format' => 'int64', 'example' => '2', 'title' => ''],
'finishReasonDescription' => ['description' => 'Trigger reason description.', 'type' => 'string', 'example' => '处罚原因描述测试', 'title' => ''],
'incidentFinishSolution' => ['description' => 'Solution.', 'type' => 'integer', 'format' => 'int64', 'example' => '5', 'title' => ''],
'finishSolutionDescription' => ['description' => 'Solution description.', 'type' => 'string', 'example' => '测试方案', 'title' => ''],
'createTime' => ['description' => 'Trigger time.', 'type' => 'string', 'example' => '2021-09-09 09:09:09', 'title' => ''],
'assignUserId' => ['description' => 'Assignee ID.', 'type' => 'string', 'example' => '43', 'title' => ''],
'assignUserName' => ['description' => 'Assignee.', 'type' => 'string', 'example' => '马先生', 'title' => ''],
'durationTime' => ['description' => 'Duration.', 'type' => 'integer', 'format' => 'int64', 'example' => '6787678767', 'title' => ''],
'similarScore' => ['description' => 'Similarity.', 'type' => 'string', 'example' => '1992.21', 'title' => ''],
],
'type' => 'object',
'title' => '',
'example' => '',
],
'title' => 'topFiveIncidents',
'type' => 'array',
'example' => '',
],
'countInSixMonths' => ['description' => 'Number of similar incidents in six months.', 'type' => 'integer', 'format' => 'int64', 'example' => '43', 'title' => ''],
'countInSevenDays' => ['description' => 'Number of similar incidents in seven days.', 'type' => 'integer', 'format' => 'int64', 'example' => '8', 'title' => ''],
'dailySimilarIncidents' => [
'description' => 'Categorized by date.',
'example' => '{}',
'items' => [
'description' => 'object',
'properties' => [
'date' => ['description' => 'Date.', 'type' => 'string', 'example' => '2021-03-07', 'title' => ''],
'commitment' => ['description' => 'Quantity.', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''],
'month' => ['description' => 'Month.', 'type' => 'integer', 'format' => 'int64', 'example' => '2', 'title' => ''],
'week' => ['description' => 'Week.', 'type' => 'string', 'example' => '1', 'title' => ''],
'day' => ['description' => 'Day of the week.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''],
'similarIncidents' => [
'description' => 'List of similar incidents.',
'items' => [
'description' => 'object',
'properties' => [
'incidentId' => ['description' => 'Incident ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '5435', 'title' => ''],
'incidentNumber' => ['description' => 'Incident number.', 'type' => 'string', 'example' => 'I234432', 'title' => ''],
'incidentTitle' => ['description' => 'Incident name.', 'type' => 'string', 'example' => '事件A', 'title' => ''],
'relatedRouteRuleId' => ['description' => 'Flow rule ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '334', 'title' => ''],
'relatedRouteRuleName' => ['description' => 'Flow rule name.', 'type' => 'string', 'example' => '测试规则A', 'title' => ''],
'finishReason' => ['description' => 'Trigger reason.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''],
'finishReasonDescription' => ['description' => 'Trigger reason description.', 'type' => 'string', 'example' => '测试原因B', 'title' => ''],
'incidentFinishSolution' => ['description' => 'Solution.', 'type' => 'integer', 'format' => 'int64', 'example' => '5', 'title' => ''],
'finishSolutionDescription' => ['description' => 'Solution description.', 'type' => 'string', 'example' => '测试方案A', 'title' => ''],
'createTime' => ['description' => 'Trigger time.', 'type' => 'string', 'example' => '2021-09-09 09:09:09', 'title' => ''],
'assignUserName' => ['description' => 'Assignee.', 'type' => 'string', 'example' => '马先生', 'title' => ''],
'assignUserId' => ['description' => 'Assignee ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '433', 'title' => ''],
'durationTime' => ['description' => 'Duration.', 'type' => 'integer', 'format' => 'int64', 'example' => '6789765678', 'title' => ''],
'similarScore' => ['description' => 'Similarity.', 'type' => 'string', 'example' => '1003.567', 'title' => ''],
],
'type' => 'object',
'title' => '',
'example' => '',
],
'title' => '',
'type' => 'array',
'example' => '',
],
],
'type' => 'object',
'title' => '',
'example' => '',
],
'title' => '',
'type' => 'array',
],
'requestId' => ['title' => 'id of the request', 'description' => 'Request ID.', 'type' => 'string', 'example' => '7C56D225-7C34-40BB-9624-C8BA449260E6'],
],
'title' => 'data',
'type' => 'object',
'example' => '',
],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"7C56D225-7C34-40BB-9624-C8BA449260E6\\",\\n \\"data\\": {\\n \\"topFiveIncidents\\": [\\n {\\n \\"incidentId\\": 32,\\n \\"incidentNumber\\": \\"I34324\\",\\n \\"incidentTitle\\": \\"测试事件标题\\",\\n \\"relatedRouteRuleId\\": 4343,\\n \\"relatedRouteRuleName\\": \\"xxx\\",\\n \\"finishReason\\": 2,\\n \\"finishReasonDescription\\": \\"处罚原因描述测试\\",\\n \\"incidentFinishSolution\\": 5,\\n \\"finishSolutionDescription\\": \\"测试方案\\",\\n \\"createTime\\": \\"2021-09-09 09:09:09\\",\\n \\"assignUserId\\": \\"43\\",\\n \\"assignUserName\\": \\"马先生\\",\\n \\"durationTime\\": 6787678767,\\n \\"similarScore\\": \\"1992.21\\"\\n }\\n ],\\n \\"countInSixMonths\\": 43,\\n \\"countInSevenDays\\": 8,\\n \\"dailySimilarIncidents\\": [\\n {\\n \\"date\\": \\"2021-03-07\\",\\n \\"commitment\\": 0,\\n \\"month\\": 2,\\n \\"week\\": \\"1\\",\\n \\"day\\": 1,\\n \\"similarIncidents\\": [\\n {\\n \\"incidentId\\": 5435,\\n \\"incidentNumber\\": \\"I234432\\",\\n \\"incidentTitle\\": \\"事件A\\",\\n \\"relatedRouteRuleId\\": 334,\\n \\"relatedRouteRuleName\\": \\"测试规则A\\",\\n \\"finishReason\\": 1,\\n \\"finishReasonDescription\\": \\"测试原因B\\",\\n \\"incidentFinishSolution\\": 5,\\n \\"finishSolutionDescription\\": \\"测试方案A\\",\\n \\"createTime\\": \\"2021-09-09 09:09:09\\",\\n \\"assignUserName\\": \\"马先生\\",\\n \\"assignUserId\\": 433,\\n \\"durationTime\\": 6789765678,\\n \\"similarScore\\": \\"1003.567\\"\\n }\\n ]\\n }\\n ],\\n \\"requestId\\": \\"7C56D225-7C34-40BB-9624-C8BA449260E6\\"\\n }\\n}","type":"json"}]',
'title' => 'Similar Events List ',
'changeSet' => [
['createdAt' => '2021-09-23T09:39:58.000Z', 'description' => 'Response parameters changed'],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:GetSimilarIncidentStatistics',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetSimilarIncidentStatistics'],
],
],
],
'GetSubscription' => [
'summary' => 'Retrieve notification subscription details.',
'path' => '/notify/subscription/detail',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgemp2C8J2M'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'Request body.',
'properties' => [
'subscriptionId' => ['description' => 'Subscription ID.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10', 'title' => ''],
'notFilterScopeObjectDeleted' => ['title' => 'Do not filter deleted subscription scope objects (when true, deleted objects are also included in query results). '."\n", 'description' => 'Excludes deleted options from the results.', 'type' => 'boolean', 'required' => false, 'example' => ''],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Response structure.',
'properties' => [
'requestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '10REQUES-AC5C-4B59-BE11-378F117A6A88', 'title' => ''],
'data' => [
'description' => 'Response data.',
'properties' => [
'subscriptionId' => ['description' => 'Subscription ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '68', 'title' => ''],
'subscriptionTitle' => ['description' => 'Notification subscription name.', 'type' => 'string', 'title' => '', 'example' => 'newTitle'],
'scope' => ['description' => 'Subscription scope type:'."\n"
."\n"
.'- ALL: All resources.'."\n"
."\n"
.'- SERVICE: Service.'."\n"
."\n"
.'- ROUTERULE: Routing rule.', 'type' => 'string', 'title' => '', 'example' => 'SERVICE'],
'notifyObjectType' => ['description' => '- SERVICEGROUP: Service group.'."\n"
."\n"
.'- USER: Individual user.', 'type' => 'string', 'title' => '', 'example' => 'USER'],
'expiredType' => ['description' => 'Validity period type:'."\n"
."\n"
.'- LONG\\_TERM: Long term.'."\n"
."\n"
.'- SHORT\\_TERM: Short term.', 'type' => 'string', 'title' => '', 'example' => 'LONG_TERM'],
'period' => ['description' => 'A string that specifies the time period.', 'type' => 'string', 'example' => '1个月', 'title' => ''],
'startTime' => ['description' => 'Start time of validity period.', 'type' => 'string', 'title' => '', 'example' => '2020-05-09 10:10:10'],
'endTime' => ['description' => 'End time of validity period.', 'type' => 'string', 'title' => '', 'example' => '2021-08-09 10:10:10'],
'status' => ['description' => '- ENABLE: Enabled.'."\n"
."\n"
.'- DISABLE: Disabled.', 'type' => 'string', 'title' => '', 'example' => 'ENABLE'],
'scopeObjectList' => [
'description' => 'List of scope objects.',
'items' => [
'description' => 'Subscription scope list.',
'properties' => [
'id' => ['description' => 'ID primary key.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '10'],
'scope' => ['description' => 'Subscription scope type:'."\n"
."\n"
.'- ALL: All resources.'."\n"
."\n"
.'- SERVICE: Service.'."\n"
."\n"
.'- ROUTERULE: Routing rule.', 'type' => 'string', 'title' => '', 'example' => 'SERVICE'],
'scopeObjectId' => ['description' => 'Primary key ID of the scope object association table.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '10'],
'scopeObject' => ['description' => 'Scope object name.', 'type' => 'string', 'title' => '', 'example' => '阿里云'],
'isValid' => ['title' => 'Validity status: 0 for Invalid, 1 for Valid ', 'description' => 'Whether the scope object is valid:'."\n"
."\n"
.'- 0: Invalid.'."\n"
."\n"
.'- 1: Valid.', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
],
'type' => 'object',
'title' => '',
'example' => '',
],
'type' => 'array',
'title' => '',
'example' => '',
],
'notifyObjectList' => [
'description' => 'List of notification recipients.',
'items' => [
'description' => 'A list of notification recipients.',
'properties' => [
'id' => ['description' => 'ID primary key.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '23'],
'notifyObjectType' => ['description' => 'Notification recipient type:'."\n"
."\n"
.'- SERVICEGROUP: Service group.'."\n"
."\n"
.'- USER: Individual user.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => 'USER'],
'notifyObjectId' => ['description' => 'Associated primary key ID.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '19'],
'name' => ['description' => 'Notification recipient name.', 'type' => 'string', 'title' => '', 'example' => 'TestName'],
],
'type' => 'object',
'title' => '',
'example' => '',
],
'title' => '',
'type' => 'array',
'example' => '',
],
'notifyStrategyList' => [
'description' => 'List of notification strategies.',
'items' => [
'description' => 'The list of notification subscriptions.',
'properties' => [
'instanceType' => ['description' => 'Subscription instance type:'."\n"
."\n"
.'- INCIDENT: Incident.'."\n"
."\n"
.'- ALERT: Alert.'."\n"
."\n"
.'- PROBLEM: Problem.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => 'INCIDENT'],
'strategies' => [
'description' => 'Strategies.',
'items' => [
'description' => 'Strategy.',
'properties' => [
'id' => ['description' => 'Strategy primary key.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '12'],
'channels' => ['description' => 'Notification channel.', 'type' => 'string', 'title' => '', 'example' => 'SMS'],
'conditions' => [
'description' => 'Conditions.',
'items' => [
'description' => 'Subscription condition.',
'properties' => [
'effection' => ['description' => 'Impact scope.', 'type' => 'string', 'title' => '', 'example' => 'HIGH'],
'problemNotifyType' => ['description' => 'Problem notification type.', 'type' => 'string', 'title' => '', 'example' => 'PROBLEM_NOTIFY'],
'level' => ['description' => 'Level.', 'type' => 'string', 'title' => '', 'example' => 'P1'],
'action' => ['description' => 'A time-based action.', 'type' => 'string', 'example' => 'INCIDENT_TRIGGER', 'title' => ''],
],
'type' => 'object',
'title' => '',
'example' => '',
],
'title' => '',
'type' => 'array',
'example' => '',
],
'periodChannel' => [
'description' => 'Time-based notification channel.',
'properties' => [
'workday' => ['description' => 'The working hours for the workday.', 'type' => 'string', 'example' => 'DINGDING', 'title' => ''],
'nonWorkday' => ['description' => 'Non-working hours.', 'type' => 'string', 'example' => 'DINGDING', 'title' => ''],
],
'title' => '',
'type' => 'object',
'example' => '',
],
],
'type' => 'object',
'title' => '',
'example' => '',
],
'title' => '',
'type' => 'array',
'example' => '',
],
],
'type' => 'object',
'title' => '',
'example' => '',
],
'title' => '',
'type' => 'array',
'example' => '',
],
],
'type' => 'object',
'title' => '',
'example' => '',
],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'errorCodes' => [
404 => [
['errorCode' => 'NotifySubsNotExists', 'errorMessage' => 'The specified subscription does not exist.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"10REQUES-AC5C-4B59-BE11-378F117A6A88\\",\\n \\"data\\": {\\n \\"subscriptionId\\": 68,\\n \\"subscriptionTitle\\": \\"newTitle\\",\\n \\"scope\\": \\"SERVICE\\",\\n \\"notifyObjectType\\": \\"USER\\",\\n \\"expiredType\\": \\"LONG_TERM\\",\\n \\"period\\": \\"1个月\\",\\n \\"startTime\\": \\"2020-05-09 10:10:10\\",\\n \\"endTime\\": \\"2021-08-09 10:10:10\\",\\n \\"status\\": \\"ENABLE\\",\\n \\"scopeObjectList\\": [\\n {\\n \\"id\\": 10,\\n \\"scope\\": \\"SERVICE\\",\\n \\"scopeObjectId\\": 10,\\n \\"scopeObject\\": \\"阿里云\\",\\n \\"isValid\\": 1\\n }\\n ],\\n \\"notifyObjectList\\": [\\n {\\n \\"id\\": 23,\\n \\"notifyObjectType\\": 0,\\n \\"notifyObjectId\\": 19,\\n \\"name\\": \\"TestName\\"\\n }\\n ],\\n \\"notifyStrategyList\\": [\\n {\\n \\"instanceType\\": 0,\\n \\"strategies\\": [\\n {\\n \\"id\\": 12,\\n \\"channels\\": \\"SMS\\",\\n \\"conditions\\": [\\n {\\n \\"effection\\": \\"HIGH\\",\\n \\"problemNotifyType\\": \\"PROBLEM_NOTIFY\\",\\n \\"level\\": \\"P1\\",\\n \\"action\\": \\"INCIDENT_TRIGGER\\"\\n }\\n ],\\n \\"periodChannel\\": {\\n \\"workday\\": \\"DINGDING\\",\\n \\"nonWorkday\\": \\"DINGDING\\"\\n }\\n }\\n ]\\n }\\n ]\\n }\\n}","type":"json"}]',
'title' => 'Notification subscription details '."\n",
'changeSet' => [
['createdAt' => '2022-06-07T11:46:27.000Z', 'description' => 'Request parameters changed, Response parameters changed'],
['createdAt' => '2021-07-16T04:09:37.000Z', 'description' => 'Response parameters changed'],
['createdAt' => '2021-07-16T04:09:37.000Z', 'description' => 'Response parameters changed'],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:GetSubscription',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetSubscription'],
],
],
],
'GetTenantApplication' => [
'summary' => 'View mobile application details.',
'path' => '/mobileApp/detail',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempU4CBQS'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'Request body.',
'properties' => [
'clientToken' => ['description' => 'Idempotency token.', 'type' => 'string', 'required' => true, 'example' => '7C56D225-7C34-40BB-9624-C8BA449260E6', 'title' => ''],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Response structure.',
'properties' => [
'data' => [
'description' => 'Integration configuration.',
'properties' => [
'corporationId' => ['description' => 'Enterprise ID.', 'type' => 'string', 'example' => 'ding81913c*', 'title' => ''],
'bizId' => ['description' => 'Business ID.', 'type' => 'string', 'example' => '7356', 'title' => ''],
'progress' => ['description' => 'Progress status.', 'type' => 'string', 'example' => 'NOT_OPEN', 'title' => ''],
'channel' => ['description' => 'Cloud-DingTalk collaboration channel.', 'type' => 'string', 'example' => 'DINGDING', 'title' => ''],
'originalCorpId' => ['description' => 'Tenant ID.', 'type' => 'string', 'title' => '', 'example' => ''],
],
'title' => 'data',
'type' => 'object',
'example' => '',
],
'requestId' => ['title' => 'id of the request', 'description' => 'Request ID.', 'type' => 'string', 'example' => '10REQUES-AC5C-4B59-BE11-378F117A6A88'],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": {\\n \\"corporationId\\": \\"ding81913c*\\",\\n \\"bizId\\": \\"7356\\",\\n \\"progress\\": \\"NOT_OPEN\\",\\n \\"channel\\": \\"DINGDING\\",\\n \\"originalCorpId\\": \\"\\"\\n },\\n \\"requestId\\": \\"10REQUES-AC5C-4B59-BE11-378F117A6A88\\"\\n}","type":"json"}]',
'title' => 'Mobile application details',
'changeSet' => [
['createdAt' => '2022-10-12T16:56:17.000Z', 'description' => 'Response parameters changed'],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:GetTenantApplication',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetTenantApplication'],
],
],
],
'GetTenantStatus' => [
'summary' => 'Queries the enablement status of the O&M Event Center for a tenant.',
'path' => '/tenant/getTenantStatus',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempXF96RS'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'Request body.',
'type' => 'object',
'properties' => [
'tenantRamId' => ['description' => 'Tenant ID.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '132649864', 'title' => ''],
],
'required' => false,
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Response structure.',
'type' => 'object',
'properties' => [
'requestId' => ['title' => 'Id of the request', 'description' => 'Request ID.', 'type' => 'string', 'example' => ' 2E7566D1-9E4A-58FA-AEB1-179F86634256'],
'data' => [
'type' => 'object',
'properties' => [
'tenantStatus' => ['description' => 'Tenant status:'."\n"
."\n"
.'- 0: Enabled.'."\n"
."\n"
.'- 1: Disabled.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
],
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\" 2E7566D1-9E4A-58FA-AEB1-179F86634256\\",\\n \\"data\\": {\\n \\"tenantStatus\\": 1\\n }\\n}","type":"json"}]',
'title' => 'Query the status of whether a tenant has enabled O&M Event Center.',
'responseParamsDescription' => '```'."\n"
.'{'."\n"
.' "data": {'."\n"
.' "tenantStatus": 1'."\n"
.' },'."\n"
.' "requestId": "6F4514FD-6CE6-5133-B5D8-2B556FCED7A2"'."\n"
.'}'."\n"
.'```',
'changeSet' => [
['createdAt' => '2022-07-14T13:13:04.000Z', 'description' => 'OpenAPI offline'],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:GetTenantStatus',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetTenantStatus'],
],
],
],
'GetUser' => [
'summary' => 'View user details.',
'path' => '/user/getUser',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempT8ZOYV'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'Request body.',
'properties' => [
'userId' => ['description' => 'User ID.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '63', 'title' => ''],
'clientToken' => ['description' => 'Idempotent token.', 'type' => 'string', 'example' => 'c26f36de-1ec8-496a-a828-880676c5ef81', 'title' => '', 'required' => false],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Response structure.',
'properties' => [
'requestId' => ['title' => 'Id of the request', 'description' => 'Request ID.', 'type' => 'string', 'example' => 'c26f36de-1ec8-496a-a828-880676c5ef81'],
'data' => [
'description' => 'User.',
'properties' => [
'userId' => ['description' => 'User ID.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '63'],
'ramId' => ['title' => 'ramId', 'description' => 'RAM user ID.', 'type' => 'string', 'example' => '1344383'],
'isEditableUser' => ['description' => 'Indicates whether the user is the current user.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
'accountType' => ['description' => 'RAM account type:'."\n"
."\n"
.'- 0: Alibaba Cloud account.'."\n"
."\n"
.'- 1: RAM user.', 'type' => 'string', 'title' => '', 'example' => '1'],
'email' => ['title' => 'email', 'description' => 'The email address.', 'type' => 'string', 'example' => '5678***@qq.com'],
'username' => ['description' => 'User nickname.', 'type' => 'string', 'title' => '', 'example' => '马先生'],
'phone' => ['description' => 'Mobile phone number.', 'type' => 'string', 'title' => '', 'example' => '1390000****'],
'createTime' => ['description' => 'Creation time.', 'type' => 'string', 'example' => '2021-09-09 09:09:09', 'title' => ''],
'isRelated' => ['description' => 'Is associated.', 'type' => 'string', 'example' => 'RELATE', 'title' => ''],
'serviceGroups' => [
'description' => 'The service groups that the user belongs to.',
'items' => [
'properties' => [
'name' => ['description' => 'Service group name.', 'type' => 'string', 'example' => '研发组', 'title' => ''],
'serviceGroupId' => ['description' => 'Service group ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '10000', 'title' => ''],
],
'type' => 'object',
'description' => 'Service group.',
'title' => '',
'example' => '',
],
'title' => '',
'type' => 'array',
'example' => '',
],
'roleIdList' => [
'description' => 'Role ID list.',
'title' => 'List of role IDs ',
'type' => 'array',
'items' => ['description' => 'Role ID list.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => ''],
'example' => '',
],
'roleNameList' => [
'description' => 'Role name list.',
'title' => 'Role Name List',
'type' => 'array',
'items' => ['description' => 'Role name list.', 'type' => 'string', 'title' => '', 'example' => ''],
'example' => '',
],
'isActive' => ['title' => 'Account Activation Status (1: Activated, 0: Not Activated)', 'description' => 'Is account active:'."\n"
."\n"
.'- 1: Active.'."\n"
."\n"
.'- 0: Inactive.', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
],
'title' => '',
'type' => 'object',
'example' => '',
],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'errorCodes' => [
404 => [
['errorCode' => 'UserNotExists', 'errorMessage' => 'The specified user does not exist.', 'description' => ''],
],
],
'staticInfo' => ['returnType' => 'synchronous'],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"c26f36de-1ec8-496a-a828-880676c5ef81\\",\\n \\"data\\": {\\n \\"userId\\": 63,\\n \\"ramId\\": \\"1344383\\",\\n \\"isEditableUser\\": true,\\n \\"accountType\\": \\"1\\",\\n \\"email\\": \\"5678***@qq.com\\",\\n \\"username\\": \\"马先生\\",\\n \\"phone\\": \\"1390000****\\",\\n \\"createTime\\": \\"2021-09-09 09:09:09\\",\\n \\"isRelated\\": \\"RELATE\\",\\n \\"serviceGroups\\": [\\n {\\n \\"name\\": \\"研发组\\",\\n \\"serviceGroupId\\": 10000\\n }\\n ],\\n \\"roleIdList\\": [\\n 0\\n ],\\n \\"roleNameList\\": [\\n \\"\\"\\n ],\\n \\"isActive\\": 1\\n }\\n}","type":"json"}]',
'title' => 'View user details ',
'changeSet' => [
['createdAt' => '2024-08-15T11:46:18.000Z', 'description' => 'Response parameters changed'],
['createdAt' => '2023-04-13T12:01:54.000Z', 'description' => 'Response parameters changed'],
['createdAt' => '2021-07-16T04:12:34.000Z', 'description' => 'Response parameters changed'],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:GetUser',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetUser'],
],
],
],
'GetUserGuideStatus' => [
'summary' => 'Obtain the user onboarding status.',
'path' => '/user/guide/status',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempVWXIZC'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'A short description of struct',
'properties' => [
'clientToken' => ['description' => 'Idempotency validation.', 'example' => 'FD200FAE-E98F-496E-BFE6-4CE61E59A2E9', 'required' => false, 'title' => '', 'type' => 'string'],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Schema of Response',
'properties' => [
'requestId' => ['description' => 'Id of the request', 'example' => 'FD200FAE-E98F-496E-BFE6-4CE61E59A2E9', 'title' => 'Id of the request', 'type' => 'string'],
'data' => ['description' => 'map', 'example' => '{ "data": { "monitorGuide": false, "userRamId": 1344371, "serviceGuide": false, "noticeGuide": false, "userGuide": true, "serviceGroupGuide": false, "routeRuleGuide": false, "incidentGuide": true }', 'title' => 'map', 'type' => 'object'],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"FD200FAE-E98F-496E-BFE6-4CE61E59A2E9\\",\\n \\"data\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n}","type":"json"}]',
'title' => 'Obtain the user onboarding status',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:GetUserGuideStatus',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetUserGuideStatus'],
],
],
],
'ListAlerts' => [
'summary' => 'Queries a list of alerts.',
'path' => '/alerts/list',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempERNU0Z'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'The request body.',
'properties' => [
'alertLevel' => ['description' => 'The alert level.', 'type' => 'string', 'example' => 'P1', 'title' => '', 'required' => false],
'relatedServiceId' => ['description' => 'The ID of the associated service.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => '', 'required' => false],
'alertName' => ['description' => 'The alert name.', 'type' => 'string', 'example' => '报警', 'title' => '', 'required' => false],
'pageNumber' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => '', 'required' => false],
'pageSize' => ['description' => 'The page size.', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => '', 'required' => false],
'alertSourceName' => ['description' => 'The alert source.', 'type' => 'string', 'example' => '流转规则A', 'title' => '', 'required' => false],
'startTime' => ['description' => 'The start time.', 'type' => 'string', 'example' => '2020-09-10 13:00:00', 'title' => '', 'required' => false],
'endTime' => ['description' => 'The end time.', 'type' => 'string', 'example' => '2020-09-10 21:00:00', 'title' => '', 'required' => false],
'ruleName' => ['description' => 'The name of the alert rule.', 'type' => 'string', 'example' => '规则名称', 'title' => '', 'required' => false],
'monitorSourceId' => ['description' => 'The ID of the monitoring source.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'C4BE3837'],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'The response structure.',
'properties' => [
'requestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'C4BE3837-1A13-413B-A225-2C88188E8A43', 'title' => ''],
'data' => [
'description' => 'The list of alerts.',
'items' => [
'properties' => [
'alertId' => ['description' => 'The alert ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '20000', 'title' => ''],
'createTime' => ['description' => 'The time when the alert was created.', 'type' => 'string', 'example' => '2020-03-05 15:53:55', 'title' => ''],
'relatedServiceName' => ['description' => 'The name of the associated service.', 'type' => 'string', 'example' => '冲上云霄', 'title' => ''],
'alertLevel' => ['description' => 'The alert priority level. The levels are listed in descending order of priority:'."\n"
."\n"
.'- P1'."\n"
."\n"
.'- P2'."\n"
."\n"
.'- P3'."\n"
."\n"
.'- P4', 'type' => 'string', 'example' => 'P1', 'title' => ''],
'title' => ['description' => 'The alert title.', 'type' => 'string', 'example' => '报警', 'title' => ''],
'sourceEventCount' => ['description' => 'The number of converged events.', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''],
'alertSourceName' => ['description' => 'The alert source.', 'type' => 'string', 'example' => '流转规则A', 'title' => ''],
'firstEventTime' => ['description' => 'The time when the first alert was reported.', 'type' => 'string', 'example' => '2021-09-08 18:30:00', 'title' => ''],
'routeRuleId' => ['description' => 'The ID of the associated stream rule.', 'type' => 'integer', 'format' => 'int64', 'example' => '10000', 'title' => ''],
'alertNumber' => ['description' => 'The alert number.', 'type' => 'string', 'example' => 'A123123123', 'title' => ''],
'routeRuleName' => ['description' => 'The name of the stream rule.', 'type' => 'string', 'example' => '流转规则', 'title' => ''],
'relServiceDeleteType' => ['description' => 'Indicates whether the associated service is deleted. Valid values:'."\n"
."\n"
.'- 1: Normal.'."\n"
."\n"
.'- 0: Deleted.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'],
'routeRuleDeleteType' => ['description' => 'Indicates whether the rule is deleted. Valid values:'."\n"
."\n"
.'- 1: Normal.'."\n"
."\n"
.'- 0: Deleted.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'],
'monitorSourceName' => ['description' => 'The name of the source data.', 'type' => 'string', 'title' => '', 'example' => 'name'],
],
'type' => 'object',
'description' => 'The list of alerts.',
'title' => '',
'example' => '',
],
'title' => '',
'type' => 'array',
'example' => '',
],
'totalCount' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'title' => ''],
'pageNumber' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
'pageSize' => ['description' => 'The page size.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"C4BE3837-1A13-413B-A225-2C88188E8A43\\",\\n \\"data\\": [\\n {\\n \\"alertId\\": 20000,\\n \\"createTime\\": \\"2020-03-05 15:53:55\\",\\n \\"relatedServiceName\\": \\"冲上云霄\\",\\n \\"alertLevel\\": \\"P1\\",\\n \\"title\\": \\"报警\\",\\n \\"sourceEventCount\\": 10,\\n \\"alertSourceName\\": \\"流转规则A\\",\\n \\"firstEventTime\\": \\"2021-09-08 18:30:00\\",\\n \\"routeRuleId\\": 10000,\\n \\"alertNumber\\": \\"A123123123\\",\\n \\"routeRuleName\\": \\"流转规则\\",\\n \\"relServiceDeleteType\\": 1,\\n \\"routeRuleDeleteType\\": 1,\\n \\"monitorSourceName\\": \\"name\\"\\n }\\n ],\\n \\"totalCount\\": 100,\\n \\"pageNumber\\": 1,\\n \\"pageSize\\": 10\\n}","type":"json"}]',
'title' => 'Alert list query ',
'changeSet' => [
['createdAt' => '2022-06-14T12:26:25.000Z', 'description' => 'Request parameters changed, Response parameters changed'],
['createdAt' => '2022-06-07T11:52:18.000Z', 'description' => 'Response parameters changed'],
['createdAt' => '2021-07-16T04:09:41.000Z', 'description' => 'Response parameters changed'],
['createdAt' => '2021-07-16T04:09:41.000Z', 'description' => 'Request parameters changed'],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:ListAlerts',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListAlerts'],
],
],
],
'ListByMonitorSourceId' => [
'summary' => 'Monitoring association rules',
'path' => '/routeRule/listByMonitorSourceId',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempBHVB81'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'title' => 'A short description of struct',
'description' => 'Request body.',
'type' => 'object',
'properties' => [
'monitorSourceId' => ['description' => 'Monitoring source ID.', 'type' => 'string', 'required' => false, 'example' => '23469', 'title' => ''],
],
'required' => false,
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Response structure.',
'type' => 'object',
'properties' => [
'requestId' => ['title' => 'id of the request', 'description' => 'Request ID.', 'type' => 'string', 'example' => '10REQUES-AC5C-4B59-BE11-378F117A6A88'],
'data' => [
'title' => 'data',
'description' => 'Returned data.',
'type' => 'array',
'items' => [
'description' => 'The returned result.',
'type' => 'object',
'properties' => [
'id' => ['description' => 'Rule ID.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '164769572'],
'ruleName' => ['description' => 'Rule name.', 'type' => 'string', 'example' => 'internal-alert-center-log', 'title' => ''],
],
'title' => '',
'example' => '',
],
'example' => '',
],
],
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"10REQUES-AC5C-4B59-BE11-378F117A6A88\\",\\n \\"data\\": [\\n {\\n \\"id\\": 164769572,\\n \\"ruleName\\": \\"internal-alert-center-log\\"\\n }\\n ]\\n}","type":"json"}]',
'title' => 'List of monitoring association rules ',
'changeSet' => [
['createdAt' => '2022-06-07T11:35:47.000Z', 'description' => 'OpenAPI offline'],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:ListByMonitorSourceId',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListByMonitorSourceId'],
],
],
],
'ListChartDataForServiceGroup' => [
'summary' => 'Data Report chart Data API (service group).',
'path' => '/statistics/chartDataForServiceGroup/',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempTZ0FO2'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'A short description of struct',
'properties' => [
'clientToken' => ['description' => 'clientToken', 'example' => '23es23s32xas23', 'required' => false, 'type' => 'string', 'title' => ''],
'startTime' => ['description' => 'Start Time', 'example' => '2021-09-09', 'required' => false, 'title' => '', 'type' => 'string'],
'endTime' => ['description' => 'End Time', 'example' => '2021-10-09', 'required' => false, 'title' => '', 'type' => 'string'],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Schema of Response',
'properties' => [
'requestId' => ['description' => 'Id of the request', 'example' => '1231212', 'title' => 'Id of the request', 'type' => 'string'],
'data' => [
'description' => 'data',
'items' => [
'description' => 'object',
'properties' => [
'time' => ['description' => 'Time ', 'example' => '2021-09-09', 'title' => '', 'type' => 'string'],
'incidentCount' => ['description' => 'Total number of management events', 'example' => '32', 'format' => 'int64', 'title' => '', 'type' => 'integer'],
'effectionLevel' => ['description' => 'Quantity grouped by impact level and time level ', 'example' => '{"P1HIGH":32}', 'title' => '', 'type' => 'object'],
'meanTimeToAcknowledge' => ['description' => 'Daily mean response time in seconds ', 'example' => '323', 'format' => 'int64', 'title' => '', 'type' => 'integer'],
'meanTimeToRepair' => ['description' => 'Daily mean time to repair in seconds ', 'example' => '4343', 'format' => 'int64', 'title' => '', 'type' => 'integer'],
'totalMeanTimeToAcknowledge' => ['description' => 'Total mean response time', 'example' => '3334', 'format' => 'int64', 'title' => '', 'type' => 'integer'],
'totalMeanTimeToRepair' => ['description' => 'Total mean time to repair ', 'example' => '4343', 'format' => 'int64', 'title' => '', 'type' => 'integer'],
'escalationIncidentCount' => ['description' => 'Number of escalation management events', 'example' => '43', 'format' => 'int64', 'title' => '', 'type' => 'integer'],
'unAcknowledgedEscalationIncidentCount' => ['description' => 'Number of unacknowledged escalation management events ', 'example' => '23', 'format' => 'int64', 'title' => '', 'type' => 'integer'],
'unFinishEscalationIncidentCount' => ['description' => 'Number of unresolved escalation management events', 'example' => '23', 'format' => 'int64', 'title' => '', 'type' => 'integer'],
],
'type' => 'object',
'title' => '',
'example' => '',
],
'title' => 'data',
'type' => 'array',
'example' => '',
],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"1231212\\",\\n \\"data\\": [\\n {\\n \\"time\\": \\"2021-09-09\\",\\n \\"incidentCount\\": 32,\\n \\"effectionLevel\\": {\\n \\"P1HIGH\\": 32\\n },\\n \\"meanTimeToAcknowledge\\": 323,\\n \\"meanTimeToRepair\\": 4343,\\n \\"totalMeanTimeToAcknowledge\\": 3334,\\n \\"totalMeanTimeToRepair\\": 4343,\\n \\"escalationIncidentCount\\": 43,\\n \\"unAcknowledgedEscalationIncidentCount\\": 23,\\n \\"unFinishEscalationIncidentCount\\": 23\\n }\\n ]\\n}","type":"json"}]',
'title' => 'Data Report chart Data API (service group) ',
'responseParamsDescription' => '{'."\n"
.' "requestId": "1231212",'."\n"
.' "data": ['."\n"
.' {'."\n"
.' "time": "2021-09-09",'."\n"
.' "incidentCount": 32,'."\n"
.' "meanTimeToAcknowledge": 323,'."\n"
.' "meanTimeToRepair": 4343,'."\n"
.' "totalMeanTimeToAcknowledge": 3334,'."\n"
.' "totalMeanTimeToRepair": 4343,'."\n"
.' "escalationIncidentCount": 43,'."\n"
.' "unAcknowledgedEscalationIncidentCount": 23,'."\n"
.' "unFinishEscalationIncidentCount": 23'."\n"
.' }'."\n"
.' ]'."\n"
.'}',
'changeSet' => [
['createdAt' => '2021-11-16T01:59:34.000Z', 'description' => 'OpenAPI offline'],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:ListChartDataForServiceGroup',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [],
],
],
'ListChartDataForUser' => [
'summary' => 'Data Report chart Data API (Personnel).',
'path' => '/statistics/chartDataForUser/',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempTZ0FO2'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'A short description of struct',
'properties' => [
'clientToken' => ['description' => 'clientToken', 'example' => '3232dsd32sd32gr', 'required' => false, 'type' => 'string', 'title' => ''],
'startTime' => ['description' => 'Start Time.', 'example' => '2021-09-09', 'required' => false, 'title' => '', 'type' => 'string'],
'endTime' => ['description' => 'End Time.', 'example' => '2021-10-09', 'required' => false, 'title' => '', 'type' => 'string'],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Schema of Response',
'properties' => [
'requestId' => ['description' => 'Id of the request', 'example' => '0F4AFF8E-DF59-5CA6-B184-9E5A2A14C8D6', 'title' => 'Id of the request', 'type' => 'string'],
'data' => [
'description' => 'data',
'items' => [
'description' => 'object',
'properties' => [
'time' => ['description' => 'Time.', 'example' => '2021-09-09', 'title' => '', 'type' => 'string'],
'incidentCount' => ['description' => 'Total number of management events.', 'example' => '32', 'format' => 'int64', 'title' => '', 'type' => 'integer'],
'effectionLevel' => ['description' => 'Statistics grouped by impact level and time level.', 'example' => '{"P1HIGH":32}', 'title' => '', 'type' => 'object'],
'meanTimeToAcknowledge' => ['description' => 'Daily mean response time in seconds.', 'example' => '323', 'format' => 'int64', 'title' => '', 'type' => 'integer'],
'meanTimeToRepair' => ['description' => 'Daily mean time to repair in seconds.', 'example' => '4343', 'format' => 'int64', 'title' => '', 'type' => 'integer'],
'totalMeanTimeToAcknowledge' => ['description' => 'Total mean response time.', 'example' => '3334', 'format' => 'int64', 'title' => '', 'type' => 'integer'],
'totalMeanTimeToRepair' => ['description' => 'Total mean time to repair.', 'example' => '4343', 'format' => 'int64', 'title' => '', 'type' => 'integer'],
'escalationIncidentCount' => ['description' => 'Number of escalation management events.', 'example' => '43', 'format' => 'int64', 'title' => '', 'type' => 'integer'],
'unAcknowledgedEscalationIncidentCount' => ['description' => 'Number of unacknowledged escalation management events.', 'example' => '23', 'format' => 'int64', 'title' => '', 'type' => 'integer'],
'unFinishEscalationIncidentCount' => ['description' => 'Number of unresolved escalation management events.', 'example' => '23', 'format' => 'int64', 'title' => '', 'type' => 'integer'],
],
'type' => 'object',
'title' => '',
'example' => '',
],
'title' => 'data',
'type' => 'array',
'example' => '',
],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"0F4AFF8E-DF59-5CA6-B184-9E5A2A14C8D6\\",\\n \\"data\\": [\\n {\\n \\"time\\": \\"2021-09-09\\",\\n \\"incidentCount\\": 32,\\n \\"effectionLevel\\": {\\n \\"P1HIGH\\": 32\\n },\\n \\"meanTimeToAcknowledge\\": 323,\\n \\"meanTimeToRepair\\": 4343,\\n \\"totalMeanTimeToAcknowledge\\": 3334,\\n \\"totalMeanTimeToRepair\\": 4343,\\n \\"escalationIncidentCount\\": 43,\\n \\"unAcknowledgedEscalationIncidentCount\\": 23,\\n \\"unFinishEscalationIncidentCount\\": 23\\n }\\n ]\\n}","type":"json"}]',
'title' => 'Data Report Chart Data API (Personnel)',
'requestParamsDescription' => '{'."\n"
.' "clientToken" : "3232dsd32sd32gr",'."\n"
.' "startTime" : "2021-09-09",'."\n"
.' "endTime" : "2021-10-09"'."\n"
.'}',
'responseParamsDescription' => '{'."\n"
.' "requestId": "1231212",'."\n"
.' "data": ['."\n"
.' {'."\n"
.' "time": "2021-09-09",'."\n"
.' "incidentCount": 32,'."\n"
.' "meanTimeToAcknowledge": 323,'."\n"
.' "meanTimeToRepair": 4343,'."\n"
.' "totalMeanTimeToAcknowledge": 3334,'."\n"
.' "totalMeanTimeToRepair": 4343,'."\n"
.' "escalationIncidentCount": 43,'."\n"
.' "unAcknowledgedEscalationIncidentCount": 23,'."\n"
.' "unFinishEscalationIncidentCount": 23'."\n"
.' }'."\n"
.' ]'."\n"
.'}',
'changeSet' => [
['createdAt' => '2021-11-16T01:59:34.000Z', 'description' => 'OpenAPI offline'],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:ListChartDataForUser',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [],
],
],
'ListConfigs' => [
'summary' => 'Retrieve all dynamic lookup table configuration items. ',
'path' => '/config/all',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgemp1A354K'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'A short description of struct',
'properties' => [
'clientToken' => ['description' => 'Idempotency validation ID.', 'example' => 'FD200FAE-E98F-496E-BFE6-CDE61E59A2E9', 'required' => false, 'title' => '', 'type' => 'string'],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Schema of Response',
'properties' => [
'data' => [
'additionalProperties' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'configDescription' => ['title' => '', 'type' => 'string', 'description' => 'Configuration type. ', 'example' => '产品设计'],
'configCode' => ['title' => '', 'type' => 'string', 'example' => 'PROBLEM_REASON_DISASTER', 'description' => 'Configuration code. '],
'parentCode' => ['title' => '', 'type' => 'string', 'description' => 'Parent configuration code. ', 'example' => 'PROBLEM_REASON'],
'configKey' => ['title' => '', 'type' => 'string', 'example' => '2', 'description' => 'Configuration key item. '],
'configValue' => ['title' => '', 'type' => 'string', 'example' => '产品设计', 'description' => 'The value corresponding to the configuration key.'],
'requirement' => ['title' => '', 'type' => 'boolean', 'description' => 'Whether the item is required. '."\n"
.'- true: Yes. '."\n"
.'- false: No. ', 'example' => 'true'],
],
'description' => 'object',
'title' => '',
'example' => '',
],
'description' => 'array',
'title' => '',
'example' => '',
],
'description' => 'data',
'type' => 'object',
'title' => '',
'example' => '',
],
'requestId' => ['description' => 'requestId', 'example' => 'uuid', 'title' => 'requestId', 'type' => 'string'],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": {\\n \\"key\\": [\\n {\\n \\"configDescription\\": \\"产品设计\\",\\n \\"configCode\\": \\"PROBLEM_REASON_DISASTER\\",\\n \\"parentCode\\": \\"PROBLEM_REASON\\",\\n \\"configKey\\": \\"2\\",\\n \\"configValue\\": \\"产品设计\\",\\n \\"requirement\\": true\\n }\\n ]\\n },\\n \\"requestId\\": \\"uuid\\"\\n}","type":"json"}]',
'title' => 'Lookup table configuration',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:ListConfigs',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListConfigs'],
],
],
],
'ListDataReportForServiceGroup' => [
'summary' => 'Retrieves paginated statistics for service groups.',
'path' => '/statistics/listDataReportForServiceGroup',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgemp20VVML'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'The request body.',
'properties' => [
'startTime' => ['description' => 'The start time.', 'type' => 'string', 'example' => '2021-09-09', 'title' => '', 'required' => false],
'endTime' => ['description' => 'The end time.', 'type' => 'string', 'example' => '2024-10-22', 'title' => '', 'required' => false],
'pageNumber' => ['title' => 'Page Number', 'description' => 'The page number.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'],
'pageSize' => ['title' => 'Page Size', 'description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10'],
'serviceGroupName' => ['description' => 'The name of the service group.', 'type' => 'string', 'required' => false, 'example' => 'A服务组', 'title' => ''],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'The response structure.',
'properties' => [
'requestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '8D0F6435-162E-5088-84A1-4178C0F209CD'],
'data' => [
'description' => 'The statistics.',
'items' => [
'description' => 'The statistics.',
'properties' => [
'serviceGroupName' => ['description' => 'The name of the service group.', 'type' => 'string', 'example' => '标准集成服务组', 'title' => ''],
'incidentCount' => ['description' => 'The number of events.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''],
'escalationIncidentCount' => ['description' => 'The number of escalated events.', 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'title' => ''],
'unAcknowledgedEscalationIncidentCount' => ['description' => 'The number of unacknowledged escalated events.', 'type' => 'integer', 'format' => 'int64', 'example' => '200', 'title' => ''],
'unFinishEscalationIncidentCount' => ['description' => 'The number of unfinished escalated events.', 'type' => 'integer', 'format' => 'int64', 'example' => '200', 'title' => ''],
'serviceGroupId' => ['description' => 'The ID of the service group.', 'type' => 'integer', 'format' => 'int64', 'example' => '103419260', 'title' => ''],
'meanTimeToAcknowledge' => ['title' => 'MRRA', 'description' => 'The average response time of the day.', 'type' => 'integer', 'format' => 'int64', 'example' => '3分19秒'],
'meanTimeToRepair' => ['title' => 'MTTR', 'description' => 'The average time to resolution of the day.', 'type' => 'integer', 'format' => 'int64', 'example' => '3分19秒'],
'finishProportion' => ['description' => 'The resolution rate.', 'type' => 'string', 'example' => '0%', 'title' => ''],
'finishIncidentCount' => ['description' => 'The number of resolved events.', 'type' => 'integer', 'format' => 'int64', 'example' => '111', 'title' => ''],
],
'type' => 'object',
'title' => '',
'example' => '',
],
'title' => '',
'type' => 'array',
'example' => '',
],
'pageSIze' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''],
'pageNumber' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''],
'totalCount' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'title' => ''],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"8D0F6435-162E-5088-84A1-4178C0F209CD\\",\\n \\"data\\": [\\n {\\n \\"serviceGroupName\\": \\"标准集成服务组\\",\\n \\"incidentCount\\": 1,\\n \\"escalationIncidentCount\\": 100,\\n \\"unAcknowledgedEscalationIncidentCount\\": 200,\\n \\"unFinishEscalationIncidentCount\\": 200,\\n \\"serviceGroupId\\": 103419260,\\n \\"meanTimeToAcknowledge\\": 0,\\n \\"meanTimeToRepair\\": 0,\\n \\"finishProportion\\": \\"0%\\",\\n \\"finishIncidentCount\\": 111\\n }\\n ],\\n \\"pageSIze\\": 10,\\n \\"pageNumber\\": 1,\\n \\"totalCount\\": 100\\n}","type":"json"}]',
'title' => 'Query service group management event statistical report ',
'requestParamsDescription' => '{'."\n"
.'"pageNumber": 1,'."\n"
.'"pageSize": 10,'."\n"
.'"startTime": "2021-11-02",'."\n"
.'"endTime": "2021-11-09",'."\n"
.'"clientToken": "ec1eba2b-cbd9-4daa-aa6e-d127a27989bc"'."\n"
.'}',
'responseParamsDescription' => '{'."\n"
.'"requestId": "gdgsdgsggsdg",'."\n"
.'"data": \\['."\n"
.'{'."\n"
.'"meanTimeToAcknowledge": "66 days 37 minutes 50 seconds",'."\n"
.'"meanTimeToRepair": "20 hours 20 minutes 48 seconds",'."\n"
.'"finishProportion": "17.65%",'."\n"
.'"serviceGroupName": "Meal Group (DingTalk group)",'."\n"
.'"incidentCount": 34,'."\n"
.'"finishIncidentCount": 6,'."\n"
.'"escalationIncidentCount": 21,'."\n"
.'"unAcknowledgedEscalationIncidentCount": 20,'."\n"
.'"unFinishEscalationIncidentCount": 21,'."\n"
.'"serviceGroupId": 32'."\n"
.'},'."\n"
.'{'."\n"
.'"meanTimeToAcknowledge": "66 days 37 minutes 50 seconds",'."\n"
.'"meanTimeToRepair": "20 hours 20 minutes 48 seconds",'."\n"
.'"finishProportion": "25.00%",'."\n"
.'"serviceGroupName": "National Day Enterprise",'."\n"
.'"incidentCount": 24,'."\n"
.'"finishIncidentCount": 6,'."\n"
.'"escalationIncidentCount": 11,'."\n"
.'"unAcknowledgedEscalationIncidentCount": 10,'."\n"
.'"unFinishEscalationIncidentCount": 11,'."\n"
.'"serviceGroupId": 180020080'."\n"
.'},'."\n"
.'{'."\n"
.'"meanTimeToAcknowledge": "66 days 37 minutes 50 seconds",'."\n"
.'"meanTimeToRepair": "20 hours 20 minutes 48 seconds",'."\n"
.'"finishProportion": "25.00%",'."\n"
.'"serviceGroupName": "\\[Daily] Hujiangping\'s Test Service Group",'."\n"
.'"incidentCount": 24,'."\n"
.'"finishIncidentCount": 6,'."\n"
.'"escalationIncidentCount": 11,'."\n"
.'"unAcknowledgedEscalationIncidentCount": 10,'."\n"
.'"unFinishEscalationIncidentCount": 11,'."\n"
.'"serviceGroupId": 170020030'."\n"
.'},'."\n"
.'{'."\n"
.'"meanTimeToAcknowledge": "66 days 37 minutes 50 seconds",'."\n"
.'"meanTimeToRepair": "20 hours 20 minutes 48 seconds",'."\n"
.'"finishProportion": "25.00%",'."\n"
.'"serviceGroupName": "Slack",'."\n"
.'"incidentCount": 24,'."\n"
.'"finishIncidentCount": 6,'."\n"
.'"escalationIncidentCount": 11,'."\n"
.'"unAcknowledgedEscalationIncidentCount": 10,'."\n"
.'"unFinishEscalationIncidentCount": 11,'."\n"
.'"serviceGroupId": 110030020'."\n"
.'},'."\n"
.'{'."\n"
.'"meanTimeToAcknowledge": "66 days 37 minutes 50 seconds",'."\n"
.'"meanTimeToRepair": "11 days 33 minutes 35 seconds",'."\n"
.'"finishProportion": "9.09%",'."\n"
.'"serviceGroupName": "Lark Group",'."\n"
.'"incidentCount": 11,'."\n"
.'"finishIncidentCount": 1,'."\n"
.'"escalationIncidentCount": 10,'."\n"
.'"unAcknowledgedEscalationIncidentCount": 10,'."\n"
.'"unFinishEscalationIncidentCount": 10,'."\n"
.'"serviceGroupId": 130000010'."\n"
.'},'."\n"
.'{'."\n"
.'"meanTimeToAcknowledge": "66 days 37 minutes 50 seconds",'."\n"
.'"meanTimeToRepair": "11 days 33 minutes 35 seconds",'."\n"
.'"finishProportion": "9.09%",'."\n"
.'"serviceGroupName": "Detailed Scheduling",'."\n"
.'"incidentCount": 11,'."\n"
.'"finishIncidentCount": 1,'."\n"
.'"escalationIncidentCount": 10,'."\n"
.'"unAcknowledgedEscalationIncidentCount": 10,'."\n"
.'"unFinishEscalationIncidentCount": 10,'."\n"
.'"serviceGroupId": 110020010'."\n"
.'},'."\n"
.'{'."\n"
.'"meanTimeToAcknowledge": "0",'."\n"
.'"meanTimeToRepair": "0",'."\n"
.'"finishProportion": "0.00%",'."\n"
.'"serviceGroupName": "New Service Group 0927",'."\n"
.'"incidentCount": 8,'."\n"
.'"finishIncidentCount": 0,'."\n"
.'"escalationIncidentCount": 8,'."\n"
.'"unAcknowledgedEscalationIncidentCount": 8,'."\n"
.'"unFinishEscalationIncidentCount": 8,'."\n"
.'"serviceGroupId": 160020050'."\n"
.'},'."\n"
.'{'."\n"
.'"meanTimeToAcknowledge": "0",'."\n"
.'"meanTimeToRepair": "0",'."\n"
.'"finishProportion": "0.00%",'."\n"
.'"serviceGroupName": "ces",'."\n"
.'"incidentCount": 7,'."\n"
.'"finishIncidentCount": 0,'."\n"
.'"escalationIncidentCount": 7,'."\n"
.'"unAcknowledgedEscalationIncidentCount": 7,'."\n"
.'"unFinishEscalationIncidentCount": 7,'."\n"
.'"serviceGroupId": 170020040'."\n"
.'},'."\n"
.'{'."\n"
.'"meanTimeToAcknowledge": "0",'."\n"
.'"meanTimeToRepair": "0",'."\n"
.'"finishProportion": "0.00%",'."\n"
.'"serviceGroupName": "Card Service Group Test \\[Do Not Modify]",'."\n"
.'"incidentCount": 7,'."\n"
.'"finishIncidentCount": 0,'."\n"
.'"escalationIncidentCount": 7,'."\n"
.'"unAcknowledgedEscalationIncidentCount": 7,'."\n"
.'"unFinishEscalationIncidentCount": 7,'."\n"
.'"serviceGroupId": 160020030'."\n"
.'},'."\n"
.'{'."\n"
.'"meanTimeToAcknowledge": "0",'."\n"
.'"meanTimeToRepair": "0",'."\n"
.'"finishProportion": "0.00%",'."\n"
.'"serviceGroupName": "This is a service group 1018",'."\n"
.'"incidentCount": 7,'."\n"
.'"finishIncidentCount": 0,'."\n"
.'"escalationIncidentCount": 7,'."\n"
.'"unAcknowledgedEscalationIncidentCount": 7,'."\n"
.'"unFinishEscalationIncidentCount": 7,'."\n"
.'"serviceGroupId": 150020080'."\n"
.'}'."\n"
.'],'."\n"
.'"total": 313,'."\n"
.'"pageNum": 1,'."\n"
.'"pageSize": 10'."\n"
.'}',
'changeSet' => [
['createdAt' => '2024-08-27T10:57:22.000Z', 'description' => 'Request parameters changed'],
['createdAt' => '2021-11-16T01:59:34.000Z', 'description' => 'OpenAPI offline'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:ListDataReportForServiceGroup',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'ListDataReportForUser' => [
'summary' => 'Query personal event statistics.',
'path' => '/statistics/listDataReportForUser',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgemp20VVML'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'Request body.',
'properties' => [
'startTime' => ['description' => 'Start time.', 'type' => 'string', 'example' => '2021-09-01', 'title' => '', 'required' => false],
'endTime' => ['description' => 'End time.', 'type' => 'string', 'example' => '2021-09-30', 'title' => '', 'required' => false],
'pageNumber' => ['description' => 'Page number for paging.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => '', 'required' => false],
'pageSize' => ['description' => 'Page size for paging.', 'type' => 'integer', 'format' => 'int64', 'example' => '20', 'title' => '', 'required' => false],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Response structure.',
'properties' => [
'requestId' => ['title' => 'Id of the request', 'description' => 'Request ID.', 'type' => 'string', 'example' => 'CAB6E15D-ECE8-54A4-87C3-D701862DD4A2'],
'data' => [
'description' => 'Personal statistics.',
'items' => [
'properties' => [
'userName' => ['description' => 'Username.', 'type' => 'string', 'example' => 'wy', 'title' => ''],
'escalationIncidentCount' => ['description' => 'Number of escalated incidents.', 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'title' => ''],
'distributionIncidentCount' => ['description' => 'Number of assigned incidents.', 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'title' => ''],
'finishIncidentNumber' => ['description' => 'Number of resolved incidents.', 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'title' => ''],
'unAcknowledgedEscalationIncidentCount' => ['description' => 'Number of unacknowledged escalations.', 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'title' => ''],
'unFinishEscalationIncidentCount' => ['description' => 'Number of unresolved escalations.', 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'title' => ''],
'meanTimeToAcknowledge' => ['title' => 'MRRA', 'description' => 'Average time to acknowledge an incident.', 'type' => 'string', 'example' => '3分50秒'],
'meanTimeToRepair' => ['title' => 'MTTA', 'description' => 'Average time to resolve an incident.', 'type' => 'string', 'example' => '3分50秒'],
'unDistributionIncidentCount' => ['description' => 'Number of resolved incidents not assigned to a user.', 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'title' => ''],
'finishProportion' => ['description' => 'Completion rate.', 'type' => 'string', 'example' => '20%', 'title' => ''],
'userId' => ['description' => 'User ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '1111', 'title' => ''],
],
'type' => 'object',
'description' => '',
'title' => '',
'example' => '',
],
'title' => '',
'type' => 'array',
'example' => '',
],
'totalCount' => ['description' => 'Total number of items.', 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'title' => ''],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"CAB6E15D-ECE8-54A4-87C3-D701862DD4A2\\",\\n \\"data\\": [\\n {\\n \\"userName\\": \\"wy\\",\\n \\"escalationIncidentCount\\": 100,\\n \\"distributionIncidentCount\\": 100,\\n \\"finishIncidentNumber\\": 100,\\n \\"unAcknowledgedEscalationIncidentCount\\": 100,\\n \\"unFinishEscalationIncidentCount\\": 100,\\n \\"meanTimeToAcknowledge\\": \\"3分50秒\\",\\n \\"meanTimeToRepair\\": \\"3分50秒\\",\\n \\"unDistributionIncidentCount\\": 100,\\n \\"finishProportion\\": \\"20%\\",\\n \\"userId\\": 1111\\n }\\n ],\\n \\"totalCount\\": 100\\n}","type":"json"}]',
'title' => 'Query personal management event statistics',
'requestParamsDescription' => '{'."\n"
.'"pageNumber": 1,'."\n"
.'"pageSize": 10,'."\n"
.'"startTime": "2021-11-01",'."\n"
.'"endTime": "2021-11-08",'."\n"
.'"clientToken": "4b31b55b-32af-415a-b2fb-a88b4e066845"'."\n"
.'}',
'responseParamsDescription' => '```'."\n"
.'{'."\n"
.' "data": ['."\n"
.' {'."\n"
.' "finishProportion": "0.00%",'."\n"
.' "unFinishEscalationIncidentCount": 0,'."\n"
.' "escalationIncidentCount": 0,'."\n"
.' "distributionIncidentCount": 0,'."\n"
.' "unAcknowledgedEscalationIncidentCount": 0,'."\n"
.' "userName": "root account",'."\n"
.' "userId": 171628425,'."\n"
.' "finishIncidentNumber": 0,'."\n"
.' "unDistributionIncidentCount": 0'."\n"
.' }'."\n"
.' ],'."\n"
.' "requestId": "63667D16-6C2A-51DB-8A6A-280F1D6F251A",'."\n"
.' "totalCount": 1'."\n"
.'}'."\n"
.'```',
'changeSet' => [
['createdAt' => '2021-11-16T01:59:34.000Z', 'description' => 'OpenAPI offline'],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:ListDataReportForUser',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [],
],
],
'ListDictionaries' => [
'summary' => 'Enumeration dictionary API.',
'path' => '/dict/list',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempLJVP1W'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'A short description of struct',
'properties' => [
'clientToken' => ['description' => 'Idempotency validation ID.', 'example' => '601FA6A2-AC5C-4B59-BE11-378F887A6A11', 'required' => false, 'type' => 'string', 'title' => ''],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Schema of Response',
'properties' => [
'data' => [
'additionalProperties' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'code' => ['type' => 'string', 'example' => 'SMS', 'description' => 'Code value.', 'title' => ''],
'description' => ['type' => 'string', 'description' => 'Comment.', 'example' => '短信', 'title' => ''],
],
'description' => 'object',
'title' => '',
'example' => '',
],
'description' => 'array',
'title' => '',
'example' => '',
],
'description' => 'data',
'type' => 'object',
'title' => '',
'example' => '',
],
'requestId' => ['description' => 'id of the request'."\n", 'example' => '10REQUES-AC5C-4B59-BE11-378F117A6A88', 'type' => 'string', 'title' => ''],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": {\\n \\"key\\": [\\n {\\n \\"code\\": \\"SMS\\",\\n \\"description\\": \\"短信\\"\\n }\\n ]\\n },\\n \\"requestId\\": \\"10REQUES-AC5C-4B59-BE11-378F117A6A88\\"\\n}","type":"json"}]',
'title' => 'Enumeration dictionary API',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:ListDictionaries',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListDictionaries'],
],
],
],
'ListEscalationPlanServices' => [
'summary' => 'List of selected scope objects (services) for the upgrade plan.',
'path' => '/escalationPlan/services',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'A short description of struct',
'properties' => [
'clientToken' => ['description' => 'clientToken', 'example' => 'A5A1FEAE-9C47-011C-9C73-A376BC2REQUEST', 'required' => false, 'title' => 'clientToken', 'type' => 'string'],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Schema of Response',
'properties' => [
'requestId' => ['description' => 'Id of the request', 'example' => 'A5A1FEAE-9C47-011C-9C73-A376BC2REQUEST', 'title' => 'Id of the request', 'type' => 'string'],
'data' => [
'description' => 'data',
'items' => [
'description' => 'object',
'properties' => [
'scope' => ['description' => 'Range Type', 'example' => 'SERVICE', 'title' => '', 'type' => 'string'],
'scopeObjectId' => ['description' => 'Scope object ID', 'example' => '23', 'format' => 'int64', 'title' => '', 'type' => 'integer'],
],
'type' => 'object',
'title' => '',
'example' => '',
],
'title' => 'data',
'type' => 'array',
'example' => '',
],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"A5A1FEAE-9C47-011C-9C73-A376BC2REQUEST\\",\\n \\"data\\": [\\n {\\n \\"scope\\": \\"SERVICE\\",\\n \\"scopeObjectId\\": 23\\n }\\n ]\\n}","type":"json"}]',
'title' => 'List of selected scope objects for the upgrade plan',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListEscalationPlanServices'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:ListEscalationPlanServices',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'ListEscalationPlans' => [
'summary' => 'Upgrade plans',
'path' => '/escalationPlan/list',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempW7HVUW'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'Request body.',
'properties' => [
'escalationPlanName' => ['description' => 'Escalation plan name.', 'type' => 'string', 'example' => 'xxx', 'title' => '', 'required' => false],
'serviceName' => ['description' => 'Service name.', 'type' => 'string', 'example' => 'ssxx', 'title' => '', 'required' => false],
'clientToken' => ['title' => 'clientToken', 'description' => 'Idempotency token.', 'type' => 'string', 'example' => 'A5A1FEAE-9C47-011C-9C73-A376BC2REQUEST', 'required' => false],
'pageNumber' => ['title' => 'pageNumber', 'description' => 'Page number for pagination.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'required' => false],
'pageSize' => ['title' => 'pageSize', 'description' => 'Number of items per page.', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'required' => false],
'isGlobal' => ['description' => 'Indicates whether the escalation plan is global.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => ''],
'status' => ['description' => 'Impact status. Valid values:'."\n"
."\n"
.'- 0: Not recovered'."\n"
."\n"
.'- 1: Recovered', 'type' => 'string', 'required' => false, 'example' => '0', 'title' => ''],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Response schema.',
'properties' => [
'requestId' => ['title' => 'Id of the request', 'description' => 'Request ID.', 'type' => 'string', 'example' => 'A5A1FEAE-9C47-011C-9C73-A376BC2REQUEST'],
'data' => [
'description' => 'Data.',
'items' => [
'description' => 'object',
'properties' => [
'escalationPlanId' => ['description' => 'Escalation plan ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '43', 'title' => ''],
'escalationPlanName' => ['description' => 'Escalation plan name.', 'type' => 'string', 'example' => '升级计划2345', 'title' => ''],
'escalationPlanScopeObjects' => [
'description' => 'Escalation plan scope objects.',
'items' => [
'description' => 'object',
'properties' => [
'scopeObjectId' => ['description' => 'Scope object ID (service ID).', 'type' => 'integer', 'format' => 'int64', 'example' => '23', 'title' => ''],
'scopeObjectName' => ['description' => 'Scope object name.', 'type' => 'string', 'example' => '服务1', 'title' => ''],
'scope' => ['description' => 'Scope object type.', 'type' => 'string', 'example' => 'SERVICE', 'title' => ''],
'scopeObjectDeletedType' => ['title' => 'Service deletion status: 1 for Normal, 0 for Deleted ', 'description' => 'Indicates whether the service is deleted. Valid values:'."\n"
."\n"
.'- 1: Normal'."\n"
."\n"
.'- 0: Deleted', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
],
'type' => 'object',
'title' => '',
'example' => '',
],
'title' => '',
'type' => 'array',
'example' => '',
],
'status' => ['description' => 'Impact status. Valid values:'."\n"
."\n"
.'- ENABLE: Enabled'."\n"
."\n"
.'- DISABLE: Disabled', 'type' => 'string', 'example' => 'ENABLE', 'title' => ''],
'modifyTime' => ['description' => 'Modification time.', 'type' => 'string', 'example' => '2021-09-09 09:09:09', 'title' => ''],
'isGlobal' => ['title' => 'Is global policy ', 'description' => 'Indicates whether the escalation plan is global.', 'type' => 'boolean', 'default' => 'false', 'example' => ''],
],
'type' => 'object',
'title' => '',
'example' => '',
],
'title' => 'data',
'type' => 'array',
'example' => '',
],
'totalCount' => ['description' => 'Total number of items.', 'type' => 'integer', 'format' => 'int64', 'example' => '878', 'title' => ''],
'pageNumber' => ['description' => 'Current page number.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''],
'pageSize' => ['description' => 'Number of items per page.', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"A5A1FEAE-9C47-011C-9C73-A376BC2REQUEST\\",\\n \\"data\\": [\\n {\\n \\"escalationPlanId\\": 43,\\n \\"escalationPlanName\\": \\"升级计划2345\\",\\n \\"escalationPlanScopeObjects\\": [\\n {\\n \\"scopeObjectId\\": 23,\\n \\"scopeObjectName\\": \\"服务1\\",\\n \\"scope\\": \\"SERVICE\\",\\n \\"scopeObjectDeletedType\\": 1\\n }\\n ],\\n \\"status\\": \\"ENABLE\\",\\n \\"modifyTime\\": \\"2021-09-09 09:09:09\\",\\n \\"isGlobal\\": false\\n }\\n ],\\n \\"totalCount\\": 878,\\n \\"pageNumber\\": 1,\\n \\"pageSize\\": 10\\n}","type":"json"}]',
'title' => 'Escalation Plan List',
'changeSet' => [
['createdAt' => '2023-04-13T12:01:54.000Z', 'description' => 'Request parameters changed, Response parameters changed'],
['createdAt' => '2022-06-07T11:52:19.000Z', 'description' => 'Response parameters changed'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListEscalationPlans'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:ListEscalationPlans',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'ListEscalationPlansByNoticeObject' => [
'summary' => 'Retrieves escalation plans associated with a specified notification object.',
'path' => '/escalationPlan/listByNoticeObject',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempGUN0ZL'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'type' => 'object',
'properties' => [
'noticeObjectId' => ['type' => 'integer', 'format' => 'int64', 'description' => '', 'title' => '', 'example' => ''],
'noticeObjectType' => ['type' => 'integer', 'format' => 'int64', 'description' => '', 'title' => '', 'example' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response ',
'type' => 'object',
'properties' => [
'requestId' => ['title' => 'Id of the request ', 'type' => 'string', 'description' => '', 'example' => ''],
'data' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'escalationPlanId' => ['type' => 'integer', 'format' => 'int64', 'description' => '', 'title' => '', 'example' => ''],
'escalationPlanName' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'escalationPlanScopeObjects' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'scopeObjectId' => ['type' => 'integer', 'format' => 'int64', 'description' => '', 'title' => '', 'example' => ''],
'scopeObjectName' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'scope' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'scopeObjectDeletedType' => ['type' => 'integer', 'format' => 'int32', 'description' => '', 'title' => '', 'example' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
'description' => '',
'title' => '',
'example' => '',
],
'status' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'modifyTime' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
'description' => '',
'title' => '',
'example' => '',
],
],
'description' => '',
'example' => '',
],
],
],
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:ListEscalationPlansByNoticeObject',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"\\",\\n \\"data\\": [\\n {\\n \\"escalationPlanId\\": 0,\\n \\"escalationPlanName\\": \\"\\",\\n \\"escalationPlanScopeObjects\\": [\\n {\\n \\"scopeObjectId\\": 0,\\n \\"scopeObjectName\\": \\"\\",\\n \\"scope\\": \\"\\",\\n \\"scopeObjectDeletedType\\": 0\\n }\\n ],\\n \\"status\\": \\"\\",\\n \\"modifyTime\\": \\"\\"\\n }\\n ]\\n}","type":"json"}]',
'title' => 'ListEscalationPlansByNoticeObject',
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListEscalationPlansByNoticeObject'],
],
],
],
'ListIncidentDetailEscalationPlans' => [
'summary' => 'This section lists the escalation plans associated with the incident.',
'path' => '/incident/detail/escalation',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'Request body.',
'properties' => [
'incidentId' => ['description' => 'Incident ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '2311', 'title' => '', 'required' => false],
'clientToken' => ['description' => 'Idempotency token.', 'type' => 'string', 'example' => 'FD200FAE-E98F-496E-BFE6-4CE61E59A2E9', 'title' => '', 'required' => false],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Response structure.',
'properties' => [
'requestId' => ['title' => 'Id of the request', 'description' => 'Request ID.', 'type' => 'string', 'example' => 'FD200FAE-E98F-496E-BFE6-4CE61E59A2E9'],
'data' => [
'description' => 'Response data.',
'properties' => [
'escalationPlanId' => ['description' => 'Escalation plan ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '312123', 'title' => ''],
'escalationPlanName' => ['description' => 'Escalation plan name.', 'type' => 'string', 'example' => '升级策略A', 'title' => ''],
'unFinishEscalationPlan' => [
'description' => 'List of uncompleted escalation plan rules.',
'items' => [
'properties' => [
'escalationPlanType' => ['description' => 'Escalation plan type:'."\n"
."\n"
.'- UN\\_ACKNOWLEDGE: Not acknowledged.'."\n"
."\n"
.'- UN\\_FINISH: Not completed.', 'type' => 'string', 'example' => 'UN_FINISH', 'title' => ''],
'noticeTime' => ['description' => 'Delay time, in minutes.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''],
'status' => ['description' => 'Rule trigger status.', 'type' => 'string', 'example' => 'UPGRADE', 'title' => ''],
'startTime' => ['description' => 'Start time.', 'type' => 'integer', 'format' => 'int64', 'example' => '1629872386027', 'title' => ''],
'noticeChannels' => [
'description' => 'Notification channels.',
'items' => ['description' => '- SMS: Text message.'."\n"
."\n"
.'- PHONE: Phone call.', 'type' => 'string', 'example' => 'SMS', 'title' => ''],
'title' => '',
'type' => 'array',
'example' => '',
],
'noticeObjectList' => [
'description' => 'User information.',
'items' => [
'properties' => [
'noticeObjectId' => ['description' => 'Notification recipient ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '2311', 'title' => ''],
'noticeObjectName' => ['description' => 'Notification recipient name.', 'type' => 'string', 'example' => '马先生', 'title' => ''],
'noticeObjectPhone' => ['description' => 'Mobile phone number.', 'type' => 'string', 'example' => '130xxxxxxxx', 'title' => ''],
'roleNameList' => [
'description' => 'Role list.',
'title' => 'Role List ',
'type' => 'array',
'items' => ['description' => 'Role name.', 'type' => 'string', 'title' => '', 'example' => ''],
'example' => '',
],
],
'type' => 'object',
'description' => '',
'title' => '',
'example' => '',
],
'title' => '',
'type' => 'array',
'example' => '',
],
'serviceGroupList' => [
'description' => 'Service group list.',
'items' => [
'properties' => [
'id' => ['description' => 'Service group ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '123132', 'title' => ''],
'name' => ['description' => 'Service group name.', 'type' => 'string', 'example' => '服务组A', 'title' => ''],
],
'type' => 'object',
'description' => '',
'title' => '',
'example' => '',
],
'title' => '',
'type' => 'array',
'example' => '',
],
'noticeRoleList' => [
'description' => 'Role ID list.',
'title' => 'Role ID List ',
'type' => 'array',
'items' => ['description' => 'A list of roles to notify.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => ''],
'example' => '',
],
'noticeRoleObjectList' => [
'description' => 'Role object list.',
'title' => 'Role Object List ',
'type' => 'array',
'items' => [
'description' => '',
'type' => 'object',
'properties' => [
'id' => ['description' => 'Notification recipient ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '117', 'title' => ''],
'name' => ['description' => 'Notification recipient name.', 'type' => 'string', 'title' => '', 'example' => ''],
],
'title' => '',
'example' => '',
],
'example' => '',
],
],
'type' => 'object',
'description' => '',
'title' => '',
'example' => '',
],
'title' => '',
'type' => 'array',
'example' => '',
],
'nuAcknowledgeEscalationPlan' => [
'description' => 'Not-acknowledged escalation plan.',
'items' => [
'properties' => [
'escalationPlanType' => ['description' => 'Escalation plan type:'."\n"
."\n"
.'- UN\\_ACKNOWLEDGE: Not acknowledged.'."\n"
."\n"
.'- UN\\_FINISH: Not completed.', 'type' => 'string', 'example' => 'UN_ACKNOWLEDGE', 'title' => ''],
'noticeTime' => ['description' => 'Delay time, in minutes.', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''],
'status' => ['description' => 'Rule trigger status.', 'type' => 'string', 'example' => 'UPGRADE', 'title' => ''],
'startTime' => ['description' => 'Start time.', 'type' => 'integer', 'format' => 'int64', 'example' => '2021-09-09', 'title' => ''],
'noticeChannels' => [
'description' => 'Notification channels.',
'items' => ['description' => 'Notification channel.', 'type' => 'string', 'example' => 'SMS', 'title' => ''],
'title' => '',
'type' => 'array',
'example' => '',
],
'noticeObjectList' => [
'description' => 'User information.',
'items' => [
'properties' => [
'noticeObjectId' => ['description' => 'Notification recipient ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '31231', 'title' => ''],
'noticeObjectName' => ['description' => 'Notification recipient name.', 'type' => 'string', 'example' => '马先生', 'title' => ''],
'noticeObjectPhone' => ['description' => 'Notification recipient mobile phone number.', 'type' => 'string', 'example' => '130xxxxxxxxx', 'title' => ''],
'roleNameList' => [
'description' => 'Role list.',
'title' => 'Role List ',
'type' => 'array',
'items' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'example' => '',
],
],
'type' => 'object',
'description' => 'Notification recipient list.',
'title' => '',
'example' => '',
],
'title' => '',
'type' => 'array',
'example' => '',
],
'serviceGroupList' => [
'description' => 'Service group list.',
'items' => [
'properties' => [
'id' => ['description' => 'Service group ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '1231', 'title' => ''],
'name' => ['description' => 'Service group name.', 'type' => 'string', 'example' => '服务组A', 'title' => ''],
],
'type' => 'object',
'description' => 'Service group list.',
'title' => '',
'example' => '',
],
'title' => '',
'type' => 'array',
'example' => '',
],
'noticeRoleList' => [
'description' => 'Role ID list.',
'title' => 'List of role IDs',
'type' => 'array',
'items' => ['description' => 'A list of role IDs.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => ''],
'example' => '',
],
'noticeRoleObjectList' => [
'description' => 'Role object list.',
'type' => 'array',
'items' => [
'description' => 'Role object list.',
'type' => 'object',
'properties' => [
'id' => ['description' => 'Role object ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '100936', 'title' => ''],
'name' => ['description' => 'Notification recipient name.', 'type' => 'string', 'example' => '通知对象名称A', 'title' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
],
'type' => 'object',
'description' => '',
'title' => '',
'example' => '',
],
'title' => '',
'type' => 'array',
'example' => '',
],
'convergenceEscalationPlan' => [
'description' => 'The escalation policy for incidents with no response.',
'items' => [
'properties' => [
'escalationPlanType' => ['description' => 'Escalation plan type:'."\n"
."\n"
.'- UN\\_ACKNOWLEDGE: Not acknowledged.'."\n"
."\n"
.'- UN\\_FINISH: Not completed.', 'type' => 'string', 'example' => 'UN_ACKNOWLEDGE', 'title' => ''],
'noticeTime' => ['description' => 'Convergence target value.', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''],
'status' => ['description' => 'Rule trigger status.', 'type' => 'string', 'example' => 'UPGRADE', 'title' => ''],
'startTime' => ['description' => 'Start time.', 'type' => 'integer', 'format' => 'int64', 'example' => '2021-09-09', 'title' => ''],
'noticeChannels' => [
'description' => 'Notification channels.',
'items' => ['description' => 'Notification channel.', 'type' => 'string', 'example' => 'SMS', 'title' => ''],
'title' => '',
'type' => 'array',
'example' => '',
],
'noticeObjectList' => [
'description' => 'User information.',
'items' => [
'properties' => [
'noticeObjectId' => ['description' => 'Notification recipient ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '31231', 'title' => ''],
'noticeObjectName' => ['description' => 'Notification recipient name.', 'type' => 'string', 'example' => '马先生', 'title' => ''],
'noticeObjectPhone' => ['description' => 'Notification recipient mobile phone number.', 'type' => 'string', 'example' => '130xxxxxxxxx', 'title' => ''],
'roleNameList' => [
'description' => 'Role list.',
'title' => 'Role List ',
'type' => 'array',
'items' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'example' => '',
],
],
'type' => 'object',
'description' => 'Notification recipient list.',
'title' => '',
'example' => '',
],
'title' => '',
'type' => 'array',
'example' => '',
],
'serviceGroupList' => [
'description' => 'Service group list.',
'items' => [
'properties' => [
'id' => ['description' => 'Service group ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '1231', 'title' => ''],
'name' => ['description' => 'Service group name.', 'type' => 'string', 'example' => '服务组A', 'title' => ''],
],
'type' => 'object',
'description' => 'Service group list.',
'title' => '',
'example' => '',
],
'title' => '',
'type' => 'array',
'example' => '',
],
],
'type' => 'object',
'description' => 'Escalation plan.',
'title' => '',
'example' => '',
],
'title' => '',
'type' => 'array',
'example' => '',
],
],
'title' => 'data',
'type' => 'object',
'example' => '',
],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"FD200FAE-E98F-496E-BFE6-4CE61E59A2E9\\",\\n \\"data\\": {\\n \\"escalationPlanId\\": 312123,\\n \\"escalationPlanName\\": \\"升级策略A\\",\\n \\"unFinishEscalationPlan\\": [\\n {\\n \\"escalationPlanType\\": \\"UN_FINISH\\",\\n \\"noticeTime\\": 10,\\n \\"status\\": \\"UPGRADE\\",\\n \\"startTime\\": 1629872386027,\\n \\"noticeChannels\\": [\\n \\"SMS\\"\\n ],\\n \\"noticeObjectList\\": [\\n {\\n \\"noticeObjectId\\": 2311,\\n \\"noticeObjectName\\": \\"马先生\\",\\n \\"noticeObjectPhone\\": \\"130xxxxxxxx\\",\\n \\"roleNameList\\": [\\n \\"\\"\\n ]\\n }\\n ],\\n \\"serviceGroupList\\": [\\n {\\n \\"id\\": 123132,\\n \\"name\\": \\"服务组A\\"\\n }\\n ],\\n \\"noticeRoleList\\": [\\n 0\\n ],\\n \\"noticeRoleObjectList\\": [\\n {\\n \\"id\\": 117,\\n \\"name\\": \\"\\"\\n }\\n ]\\n }\\n ],\\n \\"nuAcknowledgeEscalationPlan\\": [\\n {\\n \\"escalationPlanType\\": \\"UN_ACKNOWLEDGE\\",\\n \\"noticeTime\\": 10,\\n \\"status\\": \\"UPGRADE\\",\\n \\"startTime\\": 0,\\n \\"noticeChannels\\": [\\n \\"SMS\\"\\n ],\\n \\"noticeObjectList\\": [\\n {\\n \\"noticeObjectId\\": 31231,\\n \\"noticeObjectName\\": \\"马先生\\",\\n \\"noticeObjectPhone\\": \\"130xxxxxxxxx\\",\\n \\"roleNameList\\": [\\n \\"\\"\\n ]\\n }\\n ],\\n \\"serviceGroupList\\": [\\n {\\n \\"id\\": 1231,\\n \\"name\\": \\"服务组A\\"\\n }\\n ],\\n \\"noticeRoleList\\": [\\n 0\\n ],\\n \\"noticeRoleObjectList\\": [\\n {\\n \\"id\\": 100936,\\n \\"name\\": \\"通知对象名称A\\"\\n }\\n ]\\n }\\n ],\\n \\"convergenceEscalationPlan\\": [\\n {\\n \\"escalationPlanType\\": \\"UN_ACKNOWLEDGE\\",\\n \\"noticeTime\\": 10,\\n \\"status\\": \\"UPGRADE\\",\\n \\"startTime\\": 0,\\n \\"noticeChannels\\": [\\n \\"SMS\\"\\n ],\\n \\"noticeObjectList\\": [\\n {\\n \\"noticeObjectId\\": 31231,\\n \\"noticeObjectName\\": \\"马先生\\",\\n \\"noticeObjectPhone\\": \\"130xxxxxxxxx\\",\\n \\"roleNameList\\": [\\n \\"\\"\\n ]\\n }\\n ],\\n \\"serviceGroupList\\": [\\n {\\n \\"id\\": 1231,\\n \\"name\\": \\"服务组A\\"\\n }\\n ]\\n }\\n ]\\n }\\n}","type":"json"}]',
'title' => 'List of escalation plans associated with the management event',
'requestParamsDescription' => '{'."\n"
.'"incidentId" : 2311,'."\n"
.'"clientToken" : "FD200FAE-E98F-496E-BFE6-4CE61E59A2E9"'."\n"
.'}',
'responseParamsDescription' => '{'."\n"
.'"requestId": "FD200FAE-E98F-496E-BFE6-4CE61E59A2E9",'."\n"
.'"data": {'."\n"
.'"escalationPlanId": 312123,'."\n"
.'"escalationPlanName": "Escalation Plan A",'."\n"
.'"unFinishEscalationPlan": \\['."\n"
.'{'."\n"
.'"escalationPlanType": "UN\\_FINISH",'."\n"
.'"noticeTime": 10,'."\n"
.'"status": "UPGRADE",'."\n"
.'"startTime": 1629872386027,'."\n"
.'"noticeChannels": \\['."\n"
.'"SMS"'."\n"
.'],'."\n"
.'"noticeObjectList": \\['."\n"
.'{'."\n"
.'"noticeObjectId": 2311,'."\n"
.'"noticeObjectName": "Xiao Ming",'."\n"
.'"noticeObjectPhone": "130xxxxxxxx"'."\n"
.'}'."\n"
.'],'."\n"
.'"serviceGroupList": \\['."\n"
.'{'."\n"
.'"id": 123132,'."\n"
.'"name": "Service Group A"'."\n"
.'}'."\n"
.']'."\n"
.'}'."\n"
.'],'."\n"
.'"nuAcknowledgeEscalationPlan": \\['."\n"
.'{'."\n"
.'"escalationPlanType": "UN\\_ACKNOWLEDGE",'."\n"
.'"noticeTime": 10,'."\n"
.'"status": "UPGRADE",'."\n"
.'"startTime": 1629872386027,'."\n"
.'"noticeChannels": \\['."\n"
.'"SMS"'."\n"
.'],'."\n"
.'"noticeObjectList": \\['."\n"
.'{'."\n"
.'"noticeObjectId": 31231,'."\n"
.'"noticeObjectName": "Xiao Hua",'."\n"
.'"noticeObjectPhone": "130xxxxxxxxx"'."\n"
.'}'."\n"
.'],'."\n"
.'"serviceGroupList": \\['."\n"
.'{'."\n"
.'"id": 1231,'."\n"
.'"name": "Service Group A"'."\n"
.'}'."\n"
.']'."\n"
.'}'."\n"
.']'."\n"
.'}'."\n"
.'}',
'changeSet' => [
['createdAt' => '2023-04-13T12:01:53.000Z', 'description' => 'Response parameters changed'],
['createdAt' => '2022-10-27T12:01:25.000Z', 'description' => 'Response parameters changed'],
['createdAt' => '2021-09-10T01:53:15.000Z', 'description' => 'OpenAPI offline'],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:ListIncidentDetailEscalationPlans',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListIncidentDetailEscalationPlans'],
],
],
],
'ListIncidentDetailTimelines' => [
'summary' => 'This topic describes dynamic event details.',
'path' => '/incident/detail/timeline',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempJ0ENN8'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'Request body.',
'properties' => [
'incidentId' => ['description' => 'Incident ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '123', 'title' => '', 'required' => false],
'clientToken' => ['description' => 'Idempotency token.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'FD200FAE-E98F-496E-BFE6-4CE61E59A2E9'],
'pageNumber' => ['description' => 'Page number.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => '', 'required' => false],
'pageSize' => ['description' => 'Page size.', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => '', 'required' => false],
'idSort' => ['title' => 'ID sorting method (desc for descending, asc for ascending) ', 'description' => 'Sort order.', 'type' => 'string', 'required' => false, 'example' => ''],
],
'required' => false,
'type' => 'object',
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Response structure.',
'properties' => [
'requestId' => ['title' => 'Id of the request', 'description' => 'Request ID.', 'type' => 'string', 'example' => 'FD200FAE-E98F-496E-BFE6-4CE61E59A2E9'],
'data' => [
'description' => 'Returned data.',
'items' => [
'description' => 'Returned data.',
'properties' => [
'title' => ['description' => 'Subject.', 'type' => 'string', 'title' => '', 'example' => '标题'],
'description' => ['description' => 'Description.', 'type' => 'string', 'title' => '', 'example' => '描述'],
'remark' => ['description' => 'Remarks.', 'type' => 'string', 'title' => '', 'example' => '备注A'],
'relatedServiceName' => ['description' => 'Service name.', 'type' => 'string', 'title' => '', 'example' => '服务A'],
'createTime' => ['description' => 'Creation time.', 'type' => 'string', 'title' => '', 'example' => '创建时间'],
'incidentId' => ['description' => 'Incident ID.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '事件Id'],
'action' => ['description' => '- INCIDENT\\_ADD: Triggered creation.'."\n"
."\n"
.'- INCIDENT\\_RESPONSE: Responded.'."\n"
."\n"
.'- INCIDENT\\_DELIVER: Reassigned.'."\n"
."\n"
.'- INCIDENT\\_UPDATE: Updated.'."\n"
."\n"
.'- INCIDENT\\_ADD\\_SUBTOTAL: Added subtotal.'."\n"
."\n"
.'- INCIDENT\\_FINISH: Closed.'."\n"
."\n"
.'- INCIDENT\\_ASSIGN: Assigned.'."\n"
."\n"
.'- INCIDENT\\_UPGRADE: Upgraded.', 'type' => 'string', 'title' => '', 'example' => 'INCIDENT_ADD'],
'snapshotData' => ['description' => 'Snapshot data.', 'type' => 'string', 'title' => '', 'example' => '{"userName":"小明"}'],
'relRouteRuleDeleteType' => ['title' => 'Rule deletion field: 1 for normal, 0 for deleted or no rule', 'description' => 'Rule deletion status:'."\n"
."\n"
.'- 1: Normal.'."\n"
."\n"
.'- 0: Deleted or no rule.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
],
'type' => 'object',
'title' => '',
'example' => '',
],
'type' => 'array',
'title' => '',
'example' => '',
],
'totalCount' => ['description' => 'Total count.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '100'],
'pageNumber' => ['description' => 'Page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
'pageSize' => ['description' => 'Page size.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'errorCodes' => [
404 => [
['errorCode' => 'IncidentNotExtisted', 'errorMessage' => 'The incident does not exist.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"FD200FAE-E98F-496E-BFE6-4CE61E59A2E9\\",\\n \\"data\\": [\\n {\\n \\"title\\": \\"标题\\",\\n \\"description\\": \\"描述\\",\\n \\"remark\\": \\"备注A\\",\\n \\"relatedServiceName\\": \\"服务A\\",\\n \\"createTime\\": \\"创建时间\\",\\n \\"incidentId\\": 0,\\n \\"action\\": \\"INCIDENT_ADD\\",\\n \\"snapshotData\\": \\"{\\\\\\"userName\\\\\\":\\\\\\"小明\\\\\\"}\\",\\n \\"relRouteRuleDeleteType\\": 1\\n }\\n ],\\n \\"totalCount\\": 100,\\n \\"pageNumber\\": 1,\\n \\"pageSize\\": 10\\n}","type":"json"}]',
'title' => 'Dynamic Details of Management Event ',
'changeSet' => [
['createdAt' => '2022-09-06T12:16:29.000Z', 'description' => 'Request parameters changed'],
['createdAt' => '2022-06-07T11:52:18.000Z', 'description' => 'Response parameters changed'],
['createdAt' => '2021-07-16T04:09:38.000Z', 'description' => 'Response parameters changed'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListIncidentDetailTimelines'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:ListIncidentDetailTimelines',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'ListIncidentSubtotals' => [
'summary' => 'Query incident subtotals.',
'path' => '/incident/list/subtotal',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempZF76LB'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'Request body.',
'properties' => [
'incidentId' => ['description' => 'Incident ID.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'required' => false, 'example' => '3123'],
'clientToken' => ['description' => 'Idempotency token.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'FD200FAE-E98F-496E-BFE6-4CE62E59A2E9'],
],
'required' => false,
'type' => 'object',
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Response structure.',
'properties' => [
'requestId' => ['title' => 'Id of the request', 'description' => 'Request ID.', 'type' => 'string', 'example' => 'FD200FAE-E98F-496E-BFE6-4CE61E59A2E9'],
'data' => [
'description' => 'data',
'items' => [
'description' => 'object',
'properties' => [
'description' => ['description' => 'Description.', 'type' => 'string', 'title' => '', 'example' => '小计描述'],
'createTime' => ['description' => 'Creation time.', 'type' => 'string', 'title' => '', 'example' => '2021-06-23 00:00:00'],
'createUserName' => ['description' => 'Operator name.', 'type' => 'string', 'title' => '', 'example' => '小明'],
'createUserPhone' => ['description' => 'Operator phone number.', 'type' => 'string', 'example' => '130****1111', 'title' => ''],
'createUserId' => ['description' => 'Operator ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '12312', 'title' => ''],
],
'type' => 'object',
'title' => '',
'example' => '',
],
'type' => 'array',
'title' => '',
'example' => '',
],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'errorCodes' => [
404 => [
['errorCode' => 'IncidentNotExtisted', 'errorMessage' => 'The incident does not exist.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"FD200FAE-E98F-496E-BFE6-4CE61E59A2E9\\",\\n \\"data\\": [\\n {\\n \\"description\\": \\"小计描述\\",\\n \\"createTime\\": \\"2021-06-23 00:00:00\\",\\n \\"createUserName\\": \\"小明\\",\\n \\"createUserPhone\\": \\"130****1111\\",\\n \\"createUserId\\": 12312\\n }\\n ]\\n}","type":"json"}]',
'title' => 'Query the subtotal of management events',
'changeSet' => [
['createdAt' => '2021-07-16T04:09:38.000Z', 'description' => 'Response parameters changed'],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:ListIncidentSubtotals',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListIncidentSubtotals'],
],
],
],
'ListIncidentTimelines' => [
'summary' => 'Event dynamics.',
'path' => '/incident/timeline',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempZF76LB'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'Request body.',
'properties' => [
'clientToken' => ['description' => 'Idempotency token.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'FD200FAE-E98F-496E-BFE6-4CE61E59A2E9'],
'pageNumber' => ['description' => 'Page number.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => '', 'required' => false],
'pageSize' => ['description' => 'Page size.', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => '', 'required' => false],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Response structure.',
'properties' => [
'requestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'FD200FAE-E98F-496E-BFE6-4CE61E59A2E9', 'title' => ''],
'data' => [
'description' => 'Returned data.',
'items' => [
'description' => 'The data returned.',
'properties' => [
'title' => ['description' => 'A dynamic update.', 'type' => 'string', 'title' => '', 'example' => '标题'],
'description' => ['description' => 'Description.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '描述'],
'remark' => ['description' => 'Remarks.', 'type' => 'string', 'title' => '', 'example' => '备注A'],
'relatedServiceName' => ['description' => 'Service name.', 'type' => 'string', 'title' => '', 'example' => '服务A'],
'createTime' => ['description' => 'Creation time.', 'type' => 'string', 'title' => '', 'example' => '2021-06-23 00:00:00'],
'incidentTitle' => ['description' => 'Incident title.', 'type' => 'string', 'title' => '', 'example' => '事件标题'],
'action' => ['description' => 'Action type:'."\n"
."\n"
.'- Triggered creation: INCIDENT\\_ADD.'."\n"
."\n"
.'- Response: INCIDENT\\_RESPONSE.'."\n"
."\n"
.'- Reassignment: INCIDENT\\_DELIVER.'."\n"
."\n"
.'- Update: INCIDENT\\_UPDATE.'."\n"
."\n"
.'- Add subtotal: INCIDENT\\_ADD\\_SUBTOTAL.'."\n"
."\n"
.'- Close: INCIDENT\\_FINISH.'."\n"
."\n"
.'- Assign: INCIDENT\\_ASSIGN.'."\n"
."\n"
.'- Upgrade: INCIDENT\\_UPGRAD.', 'type' => 'string', 'title' => '', 'example' => 'INCIDENT_ADD'],
'incidentId' => ['description' => 'Incident ID.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '3321'],
'incidentNumber' => ['description' => 'Incident number.', 'type' => 'string', 'title' => '', 'example' => 'I13002001'],
'snapshotData' => ['description' => 'The data of the dynamic snapshot.', 'type' => 'string', 'title' => '', 'example' => '{"userName":"小明"}'],
'relRouteRuleDeleteType' => ['title' => 'Rule Deletion Field', 'description' => 'Routing rule deletion field.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
],
'type' => 'object',
'title' => '',
'example' => '',
],
'type' => 'array',
'title' => '',
'example' => '',
],
'totalCount' => ['description' => 'Total count.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '132'],
'pageNumber' => ['description' => 'Page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
'pageSize' => ['description' => 'Page size.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'errorCodes' => [
404 => [
['errorCode' => 'IncidentNotExtisted', 'errorMessage' => 'The incident does not exist.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"FD200FAE-E98F-496E-BFE6-4CE61E59A2E9\\",\\n \\"data\\": [\\n {\\n \\"title\\": \\"标题\\",\\n \\"description\\": 0,\\n \\"remark\\": \\"备注A\\",\\n \\"relatedServiceName\\": \\"服务A\\",\\n \\"createTime\\": \\"2021-06-23 00:00:00\\",\\n \\"incidentTitle\\": \\"事件标题\\",\\n \\"action\\": \\"INCIDENT_ADD\\",\\n \\"incidentId\\": 3321,\\n \\"incidentNumber\\": \\"I13002001\\",\\n \\"snapshotData\\": \\"{\\\\\\"userName\\\\\\":\\\\\\"小明\\\\\\"}\\",\\n \\"relRouteRuleDeleteType\\": 1\\n }\\n ],\\n \\"totalCount\\": 132,\\n \\"pageNumber\\": 1,\\n \\"pageSize\\": 10\\n}","type":"json"}]',
'title' => 'Management Event Dynamics ',
'changeSet' => [
['createdAt' => '2022-06-07T11:52:18.000Z', 'description' => 'Response parameters changed'],
['createdAt' => '2021-07-16T04:09:38.000Z', 'description' => 'Response parameters changed'],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:ListIncidentTimelines',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListIncidentTimelines'],
],
],
],
'ListIncidents' => [
'summary' => 'Lists incidents.',
'path' => '/incident/list',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempZF76LB'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'Request body.',
'properties' => [
'incidentLevel' => ['description' => 'Incident levels in descending order:'."\n"
."\n"
.'- P1'."\n"
."\n"
.'- P2'."\n"
."\n"
.'- P3'."\n"
."\n"
.'- P4', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'P1'],
'pageNumber' => ['description' => 'Page number.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'required' => false, 'example' => '1'],
'pageSize' => ['description' => 'Page size.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'required' => false, 'example' => '10'],
'effect' => ['description' => 'Impact level:'."\n"
."\n"
.'- HIGH: High.'."\n"
."\n"
.'- LOW: Low.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'LOW'],
'relationServiceId' => ['description' => 'Associated service ID.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'required' => false, 'example' => '12312'],
'incidentStatus' => ['description' => 'Incident status:'."\n"
."\n"
.'- ASSIGNED: Assigned.'."\n"
."\n"
.'- RESPONDED: Responded.'."\n"
."\n"
.'- FINISHED: Finished.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'ASSIGNED'],
'me' => ['description' => 'Whether it is yourself: 1 (yes), 0 (no).', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'required' => false, 'example' => '1'],
'clientToken' => ['description' => 'Idempotency check.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'FD200FAE-E98F-496E-BFE6-4CE61E59A2E1'],
'createStartTime' => ['description' => 'Start time of creation.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '2021-11-01 00:00:00'],
'createEndTime' => ['description' => 'End time of creation.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '2021-11-10 00:00:00'],
'ruleName' => ['description' => 'Routing rule name.', 'type' => 'string', 'example' => 'sa', 'title' => '', 'required' => false],
],
'required' => false,
'type' => 'object',
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Response structure.',
'properties' => [
'requestId' => ['title' => 'requestId', 'description' => 'Request ID.', 'type' => 'string', 'example' => 'FD200FAE-E98F-496E-BFE6-4CE61E59A2E9'],
'data' => [
'description' => 'data',
'items' => [
'description' => 'Incident type.',
'properties' => [
'incidentId' => ['description' => 'Incident ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '12321', 'title' => ''],
'routeRuleId' => ['description' => 'Routing rule ID.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '123'],
'routeRuleName' => ['description' => 'Routing rule name.', 'type' => 'string', 'title' => '', 'example' => '规则A'],
'incidentStatus' => ['description' => 'Incident status: 0 (assigned), 1 (responded), 2 (finished).', 'type' => 'string', 'title' => '', 'example' => '0'],
'incidentLevel' => ['description' => 'Incident level: P1, P2, P3, P4 in descending order.', 'type' => 'string', 'title' => '', 'example' => 'P4'],
'relatedServiceId' => ['description' => 'Associated service ID.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '213123'],
'relatedServiceName' => ['description' => 'Associated service name.', 'type' => 'string', 'title' => '', 'example' => '服务A'],
'effect' => ['description' => 'Impact level: HIGH, LOW.', 'type' => 'string', 'title' => '', 'example' => 'HIGH'],
'assignUserId' => ['description' => 'Assigned user ID.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '21312'],
'assignUserName' => ['description' => 'Assigned user name.', 'type' => 'string', 'readOnly' => true, 'title' => '', 'example' => '小明'],
'assignUserPhone' => ['description' => 'Assignee\'s phone number.', 'type' => 'string', 'title' => '', 'example' => '1390000****'],
'incidentTitle' => ['description' => 'Incident title.', 'type' => 'string', 'title' => '', 'example' => '事件A'],
'createTime' => ['description' => 'Creation time.', 'type' => 'string', 'title' => '', 'example' => '2020-10-1 00:00:00'],
'isManual' => ['description' => 'Incident source: true (manual), false (automatic).', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
'incidentNumber' => ['description' => 'Incident number.', 'type' => 'string', 'title' => '', 'example' => 'I3000021'],
'relServiceDeleteType' => ['description' => 'Service deletion field: 1 (normal), 0 (deleted).', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'],
'relRouteRuleDeleteType' => ['description' => 'Rule deletion field: 1 (normal), 0 (deleted).', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'],
'assignToWhoIsValid' => ['description' => 'Whether the assigned user is valid: 1 (valid), 0 (invalid).', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '008'],
],
'title' => 'IncidentItemType',
'type' => 'object',
'example' => '',
],
'type' => 'array',
'title' => '',
'example' => '',
],
'totalCount' => ['description' => 'Total count.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '60'],
'pageNumber' => ['description' => 'Page.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'],
'pageSize' => ['description' => 'Page size.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '10'],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'errorCodes' => [
403 => [
['errorCode' => 'UserNotAdded', 'errorMessage' => 'The user is not added to the system.', 'description' => 'The user did not added to system'],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"FD200FAE-E98F-496E-BFE6-4CE61E59A2E9\\",\\n \\"data\\": [\\n {\\n \\"incidentId\\": 12321,\\n \\"routeRuleId\\": 123,\\n \\"routeRuleName\\": \\"规则A\\",\\n \\"incidentStatus\\": \\"0\\",\\n \\"incidentLevel\\": \\"P4\\",\\n \\"relatedServiceId\\": 213123,\\n \\"relatedServiceName\\": \\"服务A\\",\\n \\"effect\\": \\"HIGH\\",\\n \\"assignUserId\\": 21312,\\n \\"assignUserName\\": \\"小明\\",\\n \\"assignUserPhone\\": \\"1390000****\\",\\n \\"incidentTitle\\": \\"事件A\\",\\n \\"createTime\\": \\"2020-10-1 00:00:00\\",\\n \\"isManual\\": true,\\n \\"incidentNumber\\": \\"I3000021\\",\\n \\"relServiceDeleteType\\": 1,\\n \\"relRouteRuleDeleteType\\": 1,\\n \\"assignToWhoIsValid\\": 8\\n }\\n ],\\n \\"totalCount\\": 60,\\n \\"pageNumber\\": 1,\\n \\"pageSize\\": 10\\n}","type":"json"}]',
'title' => 'Event List',
'changeSet' => [
['createdAt' => '2022-08-04T12:48:45.000Z', 'description' => 'Response parameters changed'],
['createdAt' => '2022-06-07T11:52:18.000Z', 'description' => 'Response parameters changed'],
['createdAt' => '2021-07-16T04:09:47.000Z', 'description' => 'Response parameters changed'],
['createdAt' => '2021-07-16T04:09:47.000Z', 'description' => 'Request parameters changed'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListIncidents'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:ListIncidents',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'ListIntegrationConfigTimelines' => [
'summary' => 'Integration configuration operation log.',
'path' => '/integrationConfig/timeline',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempBHVB81'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'A short description of struct',
'properties' => [
'integrationConfigId' => ['description' => 'Integration configuration ID.', 'example' => '101', 'format' => 'int64', 'required' => false, 'title' => '', 'type' => 'integer'],
'pageNumber' => ['description' => 'Pagination Parameters.', 'example' => '1', 'format' => 'int64', 'required' => false, 'title' => '', 'type' => 'integer'],
'pageSize' => ['description' => 'Pagination parameters.', 'example' => '10', 'format' => 'int64', 'required' => false, 'title' => '', 'type' => 'integer'],
'clientToken' => ['description' => 'Idempotency identity.', 'example' => '601FA6A2-AC5C-4B59-BE11-378F887A6A11', 'required' => false, 'title' => '', 'type' => 'string'],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Schema of Response',
'properties' => [
'data' => [
'description' => 'data',
'items' => [
'description' => 'Timeline edge zone.',
'properties' => [
'title' => ['description' => 'Subject.', 'example' => '时间线标题', 'title' => '', 'type' => 'string'],
'description' => ['description' => 'Description.', 'example' => '描述xxxxx', 'title' => '', 'type' => 'string'],
'createTime' => ['description' => 'Creation Time.', 'example' => '2021-04-05 10:10:10', 'title' => '', 'type' => 'string'],
],
'type' => 'object',
'title' => '',
'example' => '',
],
'type' => 'array',
'title' => '',
'example' => '',
],
'requestId' => ['description' => 'requestId', 'example' => '601FA6A2-AC5C-4B59-BE11-378F887A6A11', 'title' => 'requestId', 'type' => 'string'],
'totalCount' => ['description' => 'totalCount', 'example' => '103', 'format' => 'int64', 'title' => 'totalCount', 'type' => 'integer'],
'pageNumber' => ['description' => 'pageNumber', 'example' => '1', 'format' => 'int64', 'title' => 'pageNumber', 'type' => 'integer'],
'pageSize' => ['description' => 'pageSize', 'example' => '10', 'format' => 'int64', 'title' => 'pageSize', 'type' => 'integer'],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'errorCodes' => [
404 => [
['errorCode' => 'IntegationConfigNotExists', 'errorMessage' => 'The specified integration config does not exist.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": [\\n {\\n \\"title\\": \\"时间线标题\\",\\n \\"description\\": \\"描述xxxxx\\",\\n \\"createTime\\": \\"2021-04-05 10:10:10\\"\\n }\\n ],\\n \\"requestId\\": \\"601FA6A2-AC5C-4B59-BE11-378F887A6A11\\",\\n \\"totalCount\\": 103,\\n \\"pageNumber\\": 1,\\n \\"pageSize\\": 10\\n}","type":"json"}]',
'title' => 'Integration Configuration Operation Log',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:ListIntegrationConfigTimelines',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListIntegrationConfigTimelines'],
],
],
],
'ListIntegrationConfigs' => [
'summary' => 'Lists integration configurations.',
'path' => '/integrationConfig/list',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempBHVB81'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'A short description of struct',
'properties' => [
'monitorSourceName' => ['description' => 'The name of the monitoring source.', 'type' => 'string', 'required' => false, 'example' => 'Zabbix', 'title' => ''],
'clientToken' => ['description' => 'The idempotence token.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '601FA6A2-AC5C-4B59-BE11-378F887A6A11'],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Schema of Response',
'properties' => [
'requestId' => ['description' => 'id of the request', 'type' => 'string', 'example' => '601FA6A2-AC5C-4B59-BE11-378F887A6A11', 'title' => ''],
'data' => [
'description' => 'data',
'items' => [
'description' => 'The integration configuration.',
'properties' => [
'integrationConfigId' => ['description' => 'The ID of the integration configuration.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1023'],
'monitorSourceId' => ['description' => 'The ID of the monitoring source.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '87'],
'monitorSourceName' => ['description' => 'The name of the monitoring source.', 'type' => 'string', 'title' => '', 'example' => 'Zabbix'],
'monitorSourceShortName' => ['description' => 'The short name of the monitoring source.', 'type' => 'string', 'title' => '', 'example' => 'Zabbix'],
'isReceivedEvent' => ['description' => 'Indicates whether an alert has been received.', 'type' => 'boolean', 'example' => 'false', 'title' => ''],
'status' => ['description' => 'The status of the integration configuration.', 'type' => 'string', 'example' => 'NOT_INTEGRATED', 'title' => ''],
'monitorSourceType' => ['title' => '0: Non-custom monitoring source 1: Custom monitoring source ', 'description' => 'The type of the monitoring source. 0 indicates a standard monitoring source. 1 indicates a custom monitoring source.', 'type' => 'integer', 'format' => 'int32', 'example' => ''],
],
'type' => 'object',
'title' => '',
'example' => '',
],
'type' => 'array',
'title' => '',
'example' => '',
],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"601FA6A2-AC5C-4B59-BE11-378F887A6A11\\",\\n \\"data\\": [\\n {\\n \\"integrationConfigId\\": 1023,\\n \\"monitorSourceId\\": 87,\\n \\"monitorSourceName\\": \\"Zabbix\\",\\n \\"monitorSourceShortName\\": \\"Zabbix\\",\\n \\"isReceivedEvent\\": false,\\n \\"status\\": \\"NOT_INTEGRATED\\",\\n \\"monitorSourceType\\": 0\\n }\\n ]\\n}","type":"json"}]',
'title' => 'Integration Configuration List ',
'requestParamsDescription' => '{'."\n"
.'"monitorSourceName" : "Zabbix",'."\n"
.'"clientToken" : "601FA6A2-AC5C-4B59-BE11-378F887A6A11"'."\n"
.'}',
'responseParamsDescription' => '{'."\n"
.'"requestId": "601FA6A2-AC5C-4B59-BE11-378F887A6A11",'."\n"
.'"data": \\['."\n"
.'{'."\n"
.'"integrationConfigId": 1023,'."\n"
.'"monitorSourceId": 87,'."\n"
.'"monitorSourceName": "Zabbix",'."\n"
.'"monitorSourceShortName": "Zabbix",'."\n"
.'"isReceivedEvent": false,'."\n"
.'"status": "NOT\\_INTEGRATED"'."\n"
.'}'."\n"
.']'."\n"
.'}',
'changeSet' => [
['createdAt' => '2023-04-13T12:01:53.000Z', 'description' => 'Response parameters changed'],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:ListIntegrationConfigs',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListIntegrationConfigs'],
],
],
],
'ListMonitorSources' => [
'summary' => 'ListMonitorSources',
'path' => '/monitorSource/list',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempBHVB81'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'A short description of struct',
'properties' => [
'clientToken' => ['description' => 'Idempotency identity. ', 'example' => '601FA6A2-AC5C-4B59-BE11-378FTOKENA11', 'required' => false, 'type' => 'string', 'title' => ''],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'properties' => [
'data' => [
'description' => 'data',
'items' => [
'properties' => [
'monitorSourceId' => ['description' => 'Monitoring source ID. ', 'example' => '12', 'format' => 'int64', 'type' => 'integer', 'title' => ''],
'monitorSourceName' => ['description' => 'Monitoring source name. ', 'example' => 'Zabbix', 'type' => 'string', 'title' => ''],
'fieldKeys' => [
'description' => 'List of monitoring source fields. ',
'items' => ['description' => 'Monitoring source field. ', 'example' => 'payload.content', 'type' => 'string', 'title' => ''],
'type' => 'array',
'title' => '',
'example' => '',
],
],
'type' => 'object',
'description' => 'Returned data. ',
'title' => '',
'example' => '',
],
'type' => 'array',
'title' => '',
'example' => '',
],
'requestId' => ['description' => 'id of the request', 'example' => '10REQUES-AC5C-4B59-BE11-378F117A6A88', 'type' => 'string', 'title' => ''],
],
'type' => 'object',
'description' => 'Response structure. ',
'title' => '',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": [\\n {\\n \\"monitorSourceId\\": 12,\\n \\"monitorSourceName\\": \\"Zabbix\\",\\n \\"fieldKeys\\": [\\n \\"payload.content\\"\\n ]\\n }\\n ],\\n \\"requestId\\": \\"10REQUES-AC5C-4B59-BE11-378F117A6A88\\"\\n}","type":"json"}]',
'title' => 'List of monitoring sources ',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:ListMonitorSources',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListMonitorSources'],
],
],
],
'ListProblemDetailOperations' => [
'summary' => 'Dynamic Fault Details.',
'path' => '/problem/detail/operations',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgemp1XQ9JR'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'A short description of struct',
'properties' => [
'clientToken' => ['description' => 'Idempotency token', 'type' => 'string', 'example' => 'FD200FAE-E98F-496E-BFE6-4CE61E59A2E9', 'title' => '', 'required' => false],
'pageNumber' => ['description' => 'Page number', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => '', 'required' => false],
'pageSize' => ['description' => 'Page size', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => '', 'required' => false],
'createTimeSort' => ['description' => 'Creation time sort order', 'type' => 'string', 'example' => 'desc', 'title' => '', 'required' => false],
'problemId' => ['description' => 'Problem ID', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1', 'title' => ''],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Schema of Response',
'properties' => [
'requestId' => ['title' => 'requestId', 'description' => 'requestId', 'type' => 'string', 'example' => 'FD200FAE-E98F-496E-BFE6-4CE61E59A2E9'],
'totalCount' => ['description' => 'Total count', 'type' => 'integer', 'format' => 'int32', 'example' => '210', 'title' => ''],
'pageNumber' => ['description' => 'Page number', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
'pageSize' => ['description' => 'Number of rows', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''],
'data' => [
'description' => 'data',
'items' => [
'properties' => [
'title' => ['description' => 'Dynamic title', 'type' => 'string', 'example' => '动态标题', 'title' => ''],
'description' => ['description' => 'Description', 'type' => 'string', 'example' => '描述', 'title' => ''],
'relatedServiceName' => ['description' => 'Service', 'type' => 'string', 'example' => '服务A', 'title' => ''],
'createTime' => ['description' => 'Creation time', 'type' => 'string', 'example' => '2021-01-23 00:00:00', 'title' => ''],
'remark' => ['description' => 'Remarks', 'type' => 'string', 'example' => '备注', 'title' => ''],
'action' => ['description' => 'Upgrade (PROBLEM\\_UPGRADE), Revoke (PROBLEM\\_REVOKE), Restore (PROBLEM\\_RESTORE), Review (PROBLEM\\_IN\\_REVIEW), Complete (PROBLEM\\_REOPENED), Cancel (PROBLEM\\_CANCEL), Update problem notification (PROBLEM\\_UPDATE\\_NOTIFY), Add problem subtotal (PROBLEM\\_ADD\\_SUBTOTAL), Update problem (PROBLEM\\_UPDATE)', 'type' => 'string', 'example' => 'PROBLEM_CANCEL', 'title' => ''],
'snapshotData' => ['description' => 'Snapshot data', 'type' => 'string', 'example' => '{“userName”:"小明"}', 'title' => ''],
],
'type' => 'object',
'description' => '',
'title' => '',
'example' => '',
],
'title' => 'data',
'type' => 'array',
'example' => '',
],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"FD200FAE-E98F-496E-BFE6-4CE61E59A2E9\\",\\n \\"totalCount\\": 210,\\n \\"pageNumber\\": 1,\\n \\"pageSize\\": 10,\\n \\"data\\": [\\n {\\n \\"title\\": \\"动态标题\\",\\n \\"description\\": \\"描述\\",\\n \\"relatedServiceName\\": \\"服务A\\",\\n \\"createTime\\": \\"2021-01-23 00:00:00\\",\\n \\"remark\\": \\"备注\\",\\n \\"action\\": \\"PROBLEM_CANCEL\\",\\n \\"snapshotData\\": \\"{“userName”:\\\\\\"小明\\\\\\"}\\"\\n }\\n ]\\n}","type":"json"}]',
'title' => 'Incident Details Timeline ',
'requestParamsDescription' => '{'."\n"
.'"clientToken": "FD200FAE-E98F-496E-BFE6-4CE61E59A2E9",'."\n"
.'"pageNumber": 1,'."\n"
.'"pageSize": 10,'."\n"
.'"createTimeSort": "desc,asc",'."\n"
.'"problemId": 1'."\n"
.'}',
'responseParamsDescription' => '{'."\n"
.'"requestId": "FD200FAE-E98F-496E-BFE6-4CE61E59A2E9",'."\n"
.'"totalCount": 210,'."\n"
.'"pageNumber": 1,'."\n"
.'"pageSize": 10,'."\n"
.'"data": \\['."\n"
.'{'."\n"
.'"title": "Dynamic title",'."\n"
.'"description": "Description",'."\n"
.'"relatedServiceName": "Service A",'."\n"
.'"createTime": "2021-01-23 00:00:00",'."\n"
.'"remark": "Remarks",'."\n"
.'"action": "PROBLEM\\_CANCEL",'."\n"
.'"snapshotData": "{\\\\"userName\\\\":\\\\"Xiao Ming\\\\"}"'."\n"
.'}'."\n"
.']'."\n"
.'}',
'changeSet' => [
['createdAt' => '2021-09-10T01:53:15.000Z', 'description' => 'OpenAPI offline'],
['createdAt' => '2021-09-10T01:53:15.000Z', 'description' => 'Response parameters changed'],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:ListProblemDetailOperations',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListProblemDetailOperations'],
],
],
],
'ListProblemOperations' => [
'summary' => 'Provides a dynamic list of faults.',
'path' => '/problem/operations',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgemp1XQ9JR'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'Request body.',
'properties' => [
'clientToken' => ['description' => 'Idempotency token.', 'type' => 'string', 'example' => 'FD200FAE-E98F-496E-BFE6-4CE61E59A2E9', 'title' => '', 'required' => false],
'pageNumber' => ['description' => 'Page number for pagination.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => '', 'required' => false],
'pageSize' => ['description' => 'Page size for pagination.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => '', 'required' => false],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Response structure.',
'properties' => [
'requestId' => ['title' => 'Id of the request', 'description' => 'Request ID.', 'type' => 'string', 'example' => 'FD200FAE-E98F-496E-BFE6-4CE61E59A2E9'],
'totalCount' => ['description' => 'Total number of items.', 'type' => 'integer', 'format' => 'int32', 'example' => '132', 'title' => ''],
'pageNumber' => ['description' => 'Page number for pagination.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
'pageSize' => ['description' => 'Page size for pagination.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''],
'data' => [
'description' => 'Returned data.',
'items' => [
'properties' => [
'title' => ['description' => 'Dynamic title.', 'type' => 'string', 'example' => '动态标题', 'title' => ''],
'description' => ['description' => 'Description.', 'type' => 'string', 'example' => '描述', 'title' => ''],
'relatedServiceName' => ['description' => 'Service name.', 'type' => 'string', 'example' => '服务名称', 'title' => ''],
'createTime' => ['description' => 'Creation time.', 'type' => 'string', 'example' => '2021-01-23 00:00:00', 'title' => ''],
'action' => ['description' => '- PROBLEM\\_UPGRADE: Upgrade.'."\n"
."\n"
.'- PROBLEM\\_REVOKE: Revoke.'."\n"
."\n"
.'- PROBLEM\\_RESTORE: Resume.'."\n"
."\n"
.'- PROBLEM\\_IN\\_REVIEW: Review.'."\n"
."\n"
.'- PROBLEM\\_REOPENED: Resolve.'."\n"
."\n"
.'- PROBLEM\\_CANCEL: Cancel.'."\n"
."\n"
.'- PROBLEM\\_UPDATE\\_NOTIFY: Update incident notification.'."\n"
."\n"
.'- PROBLEM\\_ADD\\_SUBTOTAL: Add incident subtotal.'."\n"
."\n"
.'- PROBLEM\\_UPDATE: Update incident.', 'type' => 'string', 'example' => 'PROBLEM_CANCEL', 'title' => ''],
'problemId' => ['description' => 'Incident ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '12312', 'title' => ''],
'problemName' => ['description' => 'Incident name.', 'type' => 'string', 'example' => '这是一个故障', 'title' => ''],
'problemNumber' => ['description' => 'Incident number.', 'type' => 'string', 'example' => 'P1231231', 'title' => ''],
'snapshotData' => ['description' => 'Snapshot data.', 'type' => 'string', 'example' => '{“userName”:"小明"}', 'title' => ''],
],
'type' => 'object',
'description' => 'List of problems.',
'title' => '',
'example' => '',
],
'title' => 'data',
'type' => 'array',
'example' => '',
],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"FD200FAE-E98F-496E-BFE6-4CE61E59A2E9\\",\\n \\"totalCount\\": 132,\\n \\"pageNumber\\": 1,\\n \\"pageSize\\": 10,\\n \\"data\\": [\\n {\\n \\"title\\": \\"动态标题\\",\\n \\"description\\": \\"描述\\",\\n \\"relatedServiceName\\": \\"服务名称\\",\\n \\"createTime\\": \\"2021-01-23 00:00:00\\",\\n \\"action\\": \\"PROBLEM_CANCEL\\",\\n \\"problemId\\": 12312,\\n \\"problemName\\": \\"这是一个故障\\",\\n \\"problemNumber\\": \\"P1231231\\",\\n \\"snapshotData\\": \\"{“userName”:\\\\\\"小明\\\\\\"}\\"\\n }\\n ]\\n}","type":"json"}]',
'title' => 'Problem Dynamics ',
'changeSet' => [
['createdAt' => '2021-08-24T09:22:03.000Z', 'description' => 'Response parameters changed'],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:ListProblemOperations',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListProblemOperations'],
],
],
],
'ListProblemSubtotals' => [
'summary' => 'Lists problem subtotals.',
'path' => '/problem/list/subtotal',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgemp1XQ9JR'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'Request body.',
'properties' => [
'problemId' => ['description' => 'Problem ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '1231', 'title' => '', 'required' => false],
'clientToken' => ['description' => 'Idempotency token.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '4361a0e1-6747-4834-96ce-0c4840fdB812'],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Response structure.',
'properties' => [
'requestId' => ['title' => 'Id of the request', 'description' => 'Request ID.', 'type' => 'string', 'example' => '4361a0e1-6747-4834-96ce-0S4840fd3812'],
'data' => [
'description' => 'Response data.',
'items' => [
'description' => 'Result.',
'properties' => [
'description' => ['description' => 'Description.', 'type' => 'string', 'title' => '', 'example' => '小计内容'],
'createTime' => ['description' => 'Creation time.', 'type' => 'string', 'title' => '', 'example' => '2020-10-02 00:00:00'],
'createRamName' => ['description' => 'Operator.', 'type' => 'string', 'title' => '', 'example' => '小明'],
'createUserPhone' => ['description' => 'Operator\'s phone number.', 'type' => 'string', 'title' => '', 'example' => '130****1111'],
'createUserId' => ['description' => 'User ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '123123', 'title' => ''],
],
'type' => 'object',
'title' => '',
'example' => '',
],
'type' => 'array',
'title' => '',
'example' => '',
],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'errorCodes' => [
404 => [
['errorCode' => 'ProblemNotExisted', 'errorMessage' => 'The problem does not exist.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"4361a0e1-6747-4834-96ce-0S4840fd3812\\",\\n \\"data\\": [\\n {\\n \\"description\\": \\"小计内容\\",\\n \\"createTime\\": \\"2020-10-02 00:00:00\\",\\n \\"createRamName\\": \\"小明\\",\\n \\"createUserPhone\\": \\"130****1111\\",\\n \\"createUserId\\": 123123\\n }\\n ]\\n}","type":"json"}]',
'title' => 'List of fault summaries',
'changeSet' => [
['createdAt' => '2021-07-16T04:09:35.000Z', 'description' => 'Response parameters changed'],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:ListProblemSubtotals',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListProblemSubtotals'],
],
],
],
'ListProblemTimeLines' => [
'summary' => 'Queries the list of problem timelines.',
'path' => '/problem/detail/timeLines',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempZ5UD4L'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'A short description of struct',
'properties' => [
'problemId' => ['description' => 'Problem ID', 'type' => 'integer', 'format' => 'int64', 'example' => '10002010', 'title' => '', 'required' => false],
'clientToken' => ['title' => 'clientToken', 'description' => 'Idempotency token', 'type' => 'string', 'required' => false, 'example' => 'C4BE3837-1A13-413B-A225-2C88188E8A43'],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Schema of Response',
'properties' => [
'requestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'C4BE3837-1A13-413B-A225-2C88188E8A43'],
'data' => [
'description' => 'List of problem timelines',
'items' => [
'description' => 'object',
'properties' => [
'createTime' => ['description' => 'Creation time', 'type' => 'string', 'example' => '2020-08-08 15:38:38', 'title' => ''],
'keyNode' => ['description' => 'Key node. Lookup table: PROBLEM\\_KEY\\_NODE (comma-separated)', 'type' => 'string', 'title' => '', 'example' => 'PROBLEM_INJECTION,PROBLEM_HAPPEN'],
'content' => ['description' => 'Content', 'type' => 'string', 'example' => '内容', 'title' => ''],
'isKey' => ['description' => 'Indicates whether this is a keyword. true means yes. false means no. Default is false.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
'updateTime' => ['description' => 'Update time', 'type' => 'string', 'example' => '2020-08-08 15:38:38', 'title' => ''],
'time' => ['description' => 'Display time', 'type' => 'string', 'example' => '2020-08-08 15:38:38', 'title' => ''],
'problemTimelineId' => ['description' => 'Timeline ID', 'type' => 'integer', 'format' => 'int64', 'example' => '10000', 'title' => ''],
'usersInContent' => [
'description' => 'User information in the content',
'items' => [
'description' => 'object',
'properties' => [
'userId' => ['description' => 'User ID', 'type' => 'integer', 'format' => 'int64', 'example' => '232', 'title' => ''],
'username' => ['description' => 'Username', 'type' => 'string', 'example' => '张老萨', 'title' => ''],
'isValid' => ['type' => 'integer', 'format' => 'int64', 'description' => '', 'title' => '', 'example' => ''],
],
'type' => 'object',
'title' => '',
'example' => '',
],
'title' => '',
'type' => 'array',
'example' => '',
],
],
'type' => 'object',
'title' => '',
'example' => '',
],
'type' => 'array',
'title' => '',
'example' => '',
],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'errorCodes' => [
404 => [
['errorCode' => 'ProblemNotExisted', 'errorMessage' => 'The problem does not exist.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"C4BE3837-1A13-413B-A225-2C88188E8A43\\",\\n \\"data\\": [\\n {\\n \\"createTime\\": \\"2020-08-08 15:38:38\\",\\n \\"keyNode\\": \\"PROBLEM_INJECTION,PROBLEM_HAPPEN\\",\\n \\"content\\": \\"内容\\",\\n \\"isKey\\": true,\\n \\"updateTime\\": \\"2020-08-08 15:38:38\\",\\n \\"time\\": \\"2020-08-08 15:38:38\\",\\n \\"problemTimelineId\\": 10000,\\n \\"usersInContent\\": [\\n {\\n \\"userId\\": 232,\\n \\"username\\": \\"张老萨\\",\\n \\"isValid\\": 0\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]',
'title' => 'Query fault timeline list',
'changeSet' => [
['createdAt' => '2021-07-16T04:09:33.000Z', 'description' => 'Response parameters changed'],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:ListProblemTimeLines',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListProblemTimeLines'],
],
],
],
'ListProblems' => [
'summary' => 'Retrieve a list of problems.',
'path' => '/problem/listProblems',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgemp1XQ9JR'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'Request body.',
'properties' => [
'queryType' => ['description' => '- RESPONSIBLE: Problems I am responsible for.'."\n"
."\n"
.'- PARTICIPATED: Problems I participated in.'."\n"
."\n"
.'- ALL: All problems.', 'type' => 'string', 'example' => 'RESPONSIBLE', 'title' => '', 'required' => false],
'problemStatus' => ['description' => 'Problem status:'."\n"
."\n"
.'- HANDLING: In progress.'."\n"
."\n"
.'- RECOVERED: Recovered.'."\n"
."\n"
.'- REPLAYING: Reviewing.'."\n"
."\n"
.'- REPLAYED: Reviewed.'."\n"
."\n"
.'- CANCEL: Canceled.', 'type' => 'string', 'example' => 'HANDLING', 'title' => '', 'required' => false],
'problemLevel' => ['description' => 'Problem levels in descending order:'."\n"
."\n"
.'- P1'."\n"
."\n"
.'- P2'."\n"
."\n"
.'- P3'."\n"
."\n"
.'- P4', 'type' => 'string', 'example' => 'P2', 'title' => '', 'required' => false],
'affectServiceId' => ['description' => 'Affected service ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => '', 'required' => false],
'serviceGroupId' => ['description' => 'Emergency collaboration group.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => '', 'required' => false],
'mainHandlerId' => ['description' => 'Primary handler.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => '', 'required' => false],
'repeaterId' => ['description' => 'Review owner.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => '', 'required' => false],
'discoveryStartTime' => ['description' => 'Discovery start time.', 'type' => 'string', 'example' => '2020-03-05 15:50:59', 'title' => '', 'required' => false],
'discoveryEndTime' => ['description' => 'Discovery end time.', 'type' => 'string', 'example' => '2020-03-05 15:50:59', 'title' => '', 'required' => false],
'restoreEndTime' => ['description' => 'Recovery end time.', 'type' => 'string', 'example' => '2020-03-05 15:50:59', 'title' => '', 'required' => false],
'restoreStartTime' => ['description' => 'Recovery start time.', 'type' => 'string', 'example' => '2020-03-05 15:50:59', 'title' => '', 'required' => false],
'pageNumber' => ['description' => 'Page number.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => '', 'required' => false],
'pageSize' => ['description' => 'Page size.', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => '', 'required' => false],
'clientToken' => ['description' => 'Idempotency token.', 'type' => 'string', 'example' => 'C4BE3837-1A13-413B-A225-2C88188E8A43', 'title' => '', 'required' => false],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Response structure.',
'properties' => [
'requestId' => ['title' => 'Id of the request', 'description' => 'Request ID.', 'type' => 'string', 'example' => 'C4BE3837-1A13-413B-A225-2C88188E8A43'],
'data' => [
'description' => 'Problem list.',
'items' => [
'properties' => [
'problemId' => ['description' => 'Problem ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''],
'isManual' => ['description' => 'Is manual.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
'isUpgrade' => ['description' => 'Is upgrade.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
'incidentId' => ['description' => 'Event ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '10000', 'title' => ''],
'createTime' => ['description' => 'Creation time.', 'type' => 'string', 'example' => '2020-09-08 15:59:59', 'title' => ''],
'updateTime' => ['description' => 'Modification time.', 'type' => 'string', 'example' => '2020-09-08 15:59:59', 'title' => ''],
'problemNumber' => ['description' => 'Problem number.', 'type' => 'string', 'example' => 'P34438300000001116258132229577472', 'title' => ''],
'problemName' => ['description' => 'Problem name.', 'type' => 'string', 'example' => '故障', 'title' => ''],
'problemStatus' => ['description' => 'Problem status:'."\n"
."\n"
.'- HANDLING: In progress.'."\n"
."\n"
.'- RECOVERED: Recovered.'."\n"
."\n"
.'- REPLAYING: Reviewing.'."\n"
."\n"
.'- REPLAYED: Reviewed.'."\n"
."\n"
.'- CANCEL: Canceled.', 'type' => 'string', 'example' => 'HANDLING', 'title' => ''],
'problemLevel' => ['description' => 'Problem levels in descending order:'."\n"
."\n"
.'- P1'."\n"
."\n"
.'- P2'."\n"
."\n"
.'- P3'."\n"
."\n"
.'- P4', 'type' => 'string', 'example' => 'P1', 'title' => ''],
'discoverTime' => ['description' => 'Discovery time.', 'type' => 'string', 'example' => '2020-09-08 15:59:59', 'title' => ''],
'recoveryTime' => ['description' => 'Recovery time.', 'type' => 'string', 'example' => '2020-09-08 15:59:59', 'title' => ''],
'relatedServiceId' => ['description' => 'Associated service ID.', 'type' => 'string', 'example' => '1', 'title' => ''],
'serviceName' => ['description' => 'Associated service name.', 'type' => 'string', 'example' => '服务1', 'title' => ''],
'affectServices' => [
'description' => 'Affected services.',
'items' => [
'properties' => [
'serviceId' => ['description' => 'Affected service ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'title' => ''],
'serviceDescription' => ['description' => 'Service description.', 'type' => 'string', 'example' => '服务描述', 'title' => ''],
'serviceName' => ['description' => 'Service name.', 'type' => 'string', 'example' => '冲上云霄', 'title' => ''],
'updateTime' => ['description' => 'Modification time.', 'type' => 'string', 'example' => '2020-09-08 15:59:59', 'title' => ''],
],
'type' => 'object',
'description' => 'Affected service.',
'title' => '',
'example' => '',
],
'type' => 'array',
'title' => '',
'example' => '',
],
'mainHandlerId' => ['description' => 'Primary handler ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'title' => ''],
'mainHandlerName' => ['description' => 'Primary handler name.', 'type' => 'string', 'example' => '王宇', 'title' => ''],
'cancelTime' => ['description' => 'Cancellation time.', 'type' => 'string', 'example' => '2020-09-08 15:59:59', 'title' => ''],
'finishTime' => ['description' => 'Completion time.', 'type' => 'string', 'example' => '2020-09-08 15:59:59', 'title' => ''],
'replayTime' => ['description' => 'Review time.', 'type' => 'string', 'example' => '2020-09-08 15:59:59', 'title' => ''],
'serviceDeletedType' => ['title' => 'Service Deleted Field', 'description' => 'Service deletion field.', 'type' => 'integer', 'format' => 'int32', 'example' => ''],
'mainHandlerIsValid' => ['description' => 'Primary handler ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''],
],
'type' => 'object',
'description' => 'Problem list.',
'title' => '',
'example' => '',
],
'type' => 'array',
'title' => '',
'example' => '',
],
'pageNumber' => ['description' => 'Page number.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''],
'pageSize' => ['description' => 'Page size.', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''],
'totalCount' => ['description' => 'Total count.', 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'title' => ''],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"C4BE3837-1A13-413B-A225-2C88188E8A43\\",\\n \\"data\\": [\\n {\\n \\"problemId\\": 1,\\n \\"isManual\\": true,\\n \\"isUpgrade\\": true,\\n \\"incidentId\\": 10000,\\n \\"createTime\\": \\"2020-09-08 15:59:59\\",\\n \\"updateTime\\": \\"2020-09-08 15:59:59\\",\\n \\"problemNumber\\": \\"P34438300000001116258132229577472\\",\\n \\"problemName\\": \\"故障\\",\\n \\"problemStatus\\": \\"HANDLING\\",\\n \\"problemLevel\\": \\"P1\\",\\n \\"discoverTime\\": \\"2020-09-08 15:59:59\\",\\n \\"recoveryTime\\": \\"2020-09-08 15:59:59\\",\\n \\"relatedServiceId\\": \\"1\\",\\n \\"serviceName\\": \\"服务1\\",\\n \\"affectServices\\": [\\n {\\n \\"serviceId\\": 100,\\n \\"serviceDescription\\": \\"服务描述\\",\\n \\"serviceName\\": \\"冲上云霄\\",\\n \\"updateTime\\": \\"2020-09-08 15:59:59\\"\\n }\\n ],\\n \\"mainHandlerId\\": 100,\\n \\"mainHandlerName\\": \\"王宇\\",\\n \\"cancelTime\\": \\"2020-09-08 15:59:59\\",\\n \\"finishTime\\": \\"2020-09-08 15:59:59\\",\\n \\"replayTime\\": \\"2020-09-08 15:59:59\\",\\n \\"serviceDeletedType\\": 0,\\n \\"mainHandlerIsValid\\": 1\\n }\\n ],\\n \\"pageNumber\\": 1,\\n \\"pageSize\\": 10,\\n \\"totalCount\\": 100\\n}","type":"json"}]',
'title' => 'Query fault List',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:ListProblems',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListProblems'],
],
],
],
'ListRouteRules' => [
'summary' => 'Query the list of rules.',
'path' => '/routeRule/list',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempJRUU6V'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'Request body.',
'properties' => [
'ruleName' => ['description' => 'Rule name.', 'type' => 'string', 'format' => 'byte', 'example' => '规则', 'title' => '', 'required' => false],
'serviceName' => ['description' => 'Service name.', 'type' => 'string', 'format' => 'byte', 'example' => '服务', 'title' => '', 'required' => false],
'pageNumber' => ['description' => 'Paging page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => '', 'required' => false],
'pageSize' => ['description' => 'Paging size.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => '', 'required' => false],
'clientToken' => ['description' => 'An idempotency token.', 'type' => 'string', 'example' => 'C4BE3837-1A13-413B-A225-2C88188E8A43', 'title' => '', 'required' => false],
'routeType' => ['description' => 'Routing type:'."\n"
."\n"
.'- 0: Triggering event.'."\n"
."\n"
.'- 1: Trigger alerts only.', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => '', 'required' => false],
'notFilterRouteRuleDeleted' => ['description' => 'Do not filter deleted routing rules.', 'type' => 'boolean', 'title' => '', 'required' => false, 'example' => 'false'],
],
'required' => false,
'title' => '',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Response structure.',
'properties' => [
'requestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'C4BE3837-1A13B-A225-2C88188E8A43', 'title' => ''],
'data' => [
'description' => 'List of rules.',
'items' => [
'properties' => [
'routeRuleId' => ['description' => 'Rule ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '10000', 'title' => ''],
'tenantRamId' => ['description' => 'Tenant ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '1344383', 'title' => ''],
'ruleName' => ['description' => 'Rule name.', 'type' => 'string', 'example' => '规则名字', 'title' => ''],
'relatedServiceName' => ['description' => 'Service name.', 'type' => 'string', 'example' => '关联服务名字', 'title' => ''],
'timeWindow' => ['description' => 'Time window.', 'type' => 'integer', 'format' => 'int64', 'example' => '时间窗口', 'title' => ''],
'matchCount' => ['description' => 'Hit count.', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''],
'timeWindowUnit' => ['description' => 'Time unit:'."\n"
."\n"
.'- MINUTE: Minutes.'."\n"
."\n"
.'- SECOND: Seconds.', 'type' => 'integer', 'format' => 'int64', 'example' => 'MINUTE', 'title' => ''],
'relatedServiceId' => ['description' => 'Associated service ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''],
'routeType' => ['description' => 'Routing type:'."\n"
."\n"
.'- INCIDENT: Triggering event.'."\n"
."\n"
.'- ALERT: Trigger alerts only.', 'type' => 'string', 'example' => 'INCIDENT', 'title' => ''],
'incidentLevel' => ['description' => 'Incident level (descending):'."\n"
."\n"
.'- P1'."\n"
."\n"
.'- P2'."\n"
."\n"
.'- P3'."\n"
."\n"
.'- P4', 'type' => 'string', 'example' => 'P1', 'title' => ''],
'assignObjectId' => ['description' => 'Incident assignment object ID: Service group ID or user ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''],
'assignObjectType' => ['description' => 'Incident assignment object type:'."\n"
."\n"
.'- SERVICEGROUP: Service group.'."\n"
."\n"
.'- USER: Single user.', 'type' => 'string', 'example' => 'SERVICEGROUP', 'title' => ''],
'effection' => ['description' => 'Impact level:'."\n"
."\n"
.'- LOW: Low impact.'."\n"
."\n"
.'- HIGH: Critical.', 'type' => 'string', 'example' => 'LOW', 'title' => ''],
'createTime' => ['description' => 'Creation time.', 'type' => 'string', 'example' => '2020-03-05 15:53:55', 'title' => ''],
'updateTime' => ['description' => 'Modification time.', 'type' => 'string', 'example' => '2020-03-05 15:53:55', 'title' => ''],
'enableStatus' => ['description' => 'Is enabled:'."\n"
."\n"
.'- DISABLE: Disabled.'."\n"
."\n"
.'- ENABLE: Enabled.', 'type' => 'string', 'example' => 'DISABLE', 'title' => ''],
'monitorSourceNames' => ['description' => 'Monitoring source name.', 'type' => 'string', 'example' => 'zabbix', 'title' => ''],
'relServiceDeleteType' => ['description' => 'Service deletion field.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'],
'isValid' => ['description' => 'Is valid:'."\n"
."\n"
.'- 0: Invalid.'."\n"
."\n"
.'- 1: Valid.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'],
],
'type' => 'object',
'description' => '',
'title' => '',
'example' => '',
],
'title' => '',
'type' => 'array',
'example' => '',
],
'totalCount' => ['description' => 'Total count.', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''],
'pageNumber' => ['description' => 'Paging page number.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''],
'pageSize' => ['description' => 'Paging size.', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"C4BE3837-1A13B-A225-2C88188E8A43\\",\\n \\"data\\": [\\n {\\n \\"routeRuleId\\": 10000,\\n \\"tenantRamId\\": 1344383,\\n \\"ruleName\\": \\"规则名字\\",\\n \\"relatedServiceName\\": \\"关联服务名字\\",\\n \\"timeWindow\\": 0,\\n \\"matchCount\\": 10,\\n \\"timeWindowUnit\\": 0,\\n \\"relatedServiceId\\": 1,\\n \\"routeType\\": \\"INCIDENT\\",\\n \\"incidentLevel\\": \\"P1\\",\\n \\"assignObjectId\\": 10,\\n \\"assignObjectType\\": \\"SERVICEGROUP\\",\\n \\"effection\\": \\"LOW\\",\\n \\"createTime\\": \\"2020-03-05 15:53:55\\",\\n \\"updateTime\\": \\"2020-03-05 15:53:55\\",\\n \\"enableStatus\\": \\"DISABLE\\",\\n \\"monitorSourceNames\\": \\"zabbix\\",\\n \\"relServiceDeleteType\\": 1,\\n \\"isValid\\": 1\\n }\\n ],\\n \\"totalCount\\": 10,\\n \\"pageNumber\\": 1,\\n \\"pageSize\\": 10\\n}","type":"json"}]',
'title' => '查询规则列表',
'changeSet' => [
['createdAt' => '2022-06-07T11:52:18.000Z', 'description' => 'Request parameters changed, Response parameters changed'],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:ListRouteRules',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListRouteRules'],
],
],
],
'ListRouteRulesByAssignWhoId' => [
'summary' => 'Retrieves the routing rules for a specified assignment object.',
'path' => '/routeRule/listByAssignWhoId',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempJRUU6V'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'type' => 'object',
'properties' => [
'assignWhoId' => ['type' => 'integer', 'format' => 'int64', 'description' => '', 'title' => '', 'example' => ''],
'assignWhoType' => ['type' => 'integer', 'format' => 'int64', 'description' => '', 'title' => '', 'example' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response ',
'type' => 'object',
'properties' => [
'requestId' => ['title' => 'Id of the request ', 'type' => 'string', 'description' => '', 'example' => ''],
'data' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'ruleName' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'id' => ['type' => 'integer', 'format' => 'int64', 'description' => '', 'title' => '', 'example' => ''],
'tenantRamId' => ['type' => 'integer', 'format' => 'int64', 'description' => '', 'title' => '', 'example' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
'description' => '',
'title' => '',
'example' => '',
],
],
'description' => '',
'example' => '',
],
],
],
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:ListRouteRulesByAssignWhoId',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"\\",\\n \\"data\\": [\\n {\\n \\"ruleName\\": \\"\\",\\n \\"id\\": 0,\\n \\"tenantRamId\\": 0\\n }\\n ]\\n}","type":"json"}]',
'title' => 'ListRouteRulesByAssignWhoId',
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListRouteRulesByAssignWhoId'],
],
],
],
'ListRouteRulesByService' => [
'summary' => 'Queries the routing rules for a service.',
'path' => '/routeRule/listByService',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempJRUU6V'],
],
'parameters' => [],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'Request body.',
'type' => 'object',
'properties' => [
'requestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '4361a0e1-6747-4834-96ce-0c4840fd381A'],
'data' => [
'description' => 'The returned data.',
'type' => 'array',
'items' => [
'description' => 'A list of rules.',
'type' => 'object',
'properties' => [
'id' => ['description' => 'The rule ID.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '60852564'],
'ruleName' => ['description' => 'The name of the rule.', 'type' => 'string', 'title' => '', 'example' => '规则1'],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
'totalCount' => ['description' => 'The total number of routing rules.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '103'],
],
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"4361a0e1-6747-4834-96ce-0c4840fd381A\\",\\n \\"data\\": [\\n {\\n \\"id\\": 60852564,\\n \\"ruleName\\": \\"规则1\\"\\n }\\n ],\\n \\"totalCount\\": 103\\n}","type":"json"}]',
'title' => 'Query Stream Rules by Service ID',
'changeSet' => [
['createdAt' => '2022-06-07T11:53:05.000Z', 'description' => 'OpenAPI offline'],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:ListRouteRulesByService',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListRouteRulesByService'],
],
],
],
'ListServiceGroupMonitorSourceTemplates' => [
'summary' => 'Lists message templates for a service group.',
'path' => '/services/group/listServiceGroupMonitorSourceTemplates',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempE3KJ0U'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'Request body.',
'properties' => [
'clientToken' => ['description' => 'Idempotency token.', 'type' => 'string', 'example' => 'xxxx', 'title' => '', 'required' => false],
'requestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'xxxxx', 'title' => '', 'required' => false],
'serviceGroupId' => ['description' => 'Service group ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => '', 'required' => false],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Response structure.',
'properties' => [
'requestId' => ['title' => 'Id of the request', 'description' => 'Request ID.', 'type' => 'string', 'example' => 'xxxx'],
'data' => [
'description' => 'Template list.',
'items' => [
'description' => 'Template list.',
'properties' => [
'monitorSourceId' => ['description' => 'Monitoring source ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''],
'templateId' => ['description' => 'Message template ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''],
'monitorSourceName' => ['description' => 'Monitoring alert source name.', 'type' => 'string', 'example' => 'zabbix', 'title' => ''],
'templateContent' => ['description' => 'Template content.', 'type' => 'string', 'title' => '', 'example' => '""'],
'fields' => [
'description' => 'Fields.',
'items' => ['description' => 'Field.', 'type' => 'string', 'example' => '字段', 'title' => ''],
'title' => '',
'type' => 'array',
'example' => '',
],
],
'type' => 'object',
'title' => '',
'example' => '',
],
'title' => 'data',
'type' => 'array',
'example' => '',
],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"xxxx\\",\\n \\"data\\": [\\n {\\n \\"monitorSourceId\\": 1000,\\n \\"templateId\\": 1000,\\n \\"monitorSourceName\\": \\"zabbix\\",\\n \\"templateContent\\": \\"\\\\\\"\\\\\\"\\",\\n \\"fields\\": [\\n \\"字段\\"\\n ]\\n }\\n ]\\n}","type":"json"}]',
'title' => 'Query the message template list of a service group',
'requestParamsDescription' => '{"serviceGroupId":"180030020"}',
'responseParamsDescription' => '{'."\n"
."\n"
.'```'."\n"
.'"requestId": "gdgsdgsggsdg",'."\n"
.'"data": ['."\n"
.' {'."\n"
.' "templateId": 3645786,'."\n"
.' "monitorSourceId": 23463,'."\n"
.' "monitorSourceName": "Standard Integration",'."\n"
.' "templateContent": "None",'."\n"
.' "fields": ['."\n"
.' "summary",'."\n"
.' "priority",'."\n"
.' "name",'."\n"
.' "timestamp",'."\n"
.' "region",'."\n"
.' "source",'."\n"
.' "application",'."\n"
.' "group",'."\n"
.' "class",'."\n"
.' "tags",'."\n"
.' "details"'."\n"
.' ]'."\n"
.' },'."\n"
.' {'."\n"
.' "templateId": 3645778,'."\n"
.' "monitorSourceId": 23465,'."\n"
.' "monitorSourceName": "Zabbix",'."\n"
.' "templateContent": "SSSSSSS",'."\n"
.' "fields": ['."\n"
.' "alarmContent",'."\n"
.' "eventId",'."\n"
.' "ip",'."\n"
.' "itemValue",'."\n"
.' "alarmName",'."\n"
.' "entityId",'."\n"
.' "eventType",'."\n"
.' "priority",'."\n"
.' "itemName",'."\n"
.' "entityName",'."\n"
.' "service",'."\n"
.' "host",'."\n"
.' "agentVersion"'."\n"
.' ]'."\n"
.' },'."\n"
.' {'."\n"
.' "templateId": 3645790,'."\n"
.' "monitorSourceId": 23466,'."\n"
.' "monitorSourceName": "Prometheus",'."\n"
.' "templateContent": "Alert time: ${startsAt}\\\\n Alert target: ${labels.instance}\\\\n Alert name: ${labels.alertname}\\\\n Alert content: ${description}",'."\n"
.' "fields": ['."\n"
.' "alerts[].generatorURL",'."\n"
.' "alerts[].fingerprint",'."\n"
.' "alerts[].annotations.summary",'."\n"
.' "alerts[].annotations.description",'."\n"
.' "alerts[].startsAt",'."\n"
.' "alerts[].endsAt",'."\n"
.' "alerts[].status",'."\n"
.' "alerts[].labels.severity",'."\n"
.' "alerts[].labels.instance",'."\n"
.' "alerts[].labels.alertname",'."\n"
.' "alerts[].labels.job",'."\n"
.' "commonLabels.severity",'."\n"
.' "commonLabels.instance",'."\n"
.' "commonLabels.alertname",'."\n"
.' "externalURL",'."\n"
.' "groupLabels.alertname",'."\n"
.' "receiver",'."\n"
.' "truncatedAlerts",'."\n"
.' "version",'."\n"
.' "commonAnnotations.summary",'."\n"
.' "commonAnnotations.description",'."\n"
.' "groupKey",'."\n"
.' "status",'."\n"
.' "commonLabels.job"'."\n"
.' ]'."\n"
.' },'."\n"
.' {'."\n"
.' "templateId": 3645795,'."\n"
.' "monitorSourceId": 23467,'."\n"
.' "monitorSourceName": "Nagios",'."\n"
.' "templateContent": "Alert content: ${content}",'."\n"
.' "fields": ['."\n"
.' "notifyActionType",'."\n"
.' "hostName",'."\n"
.' "hostState",'."\n"
.' "content"'."\n"
.' ]'."\n"
.' },'."\n"
.' {'."\n"
.' "templateId": 3645785,'."\n"
.' "monitorSourceId": 23468,'."\n"
.' "monitorSourceName": "Cloud Monitor",'."\n"
.' "templateContent": "Alert end time: ${timestamp}\\\\n Alert target: ${dimensions}\\\\n Alert name: ${alertName}\\\\n Alert level: ${triggerLevel}\\\\n Alert content: Current value ${curValue}. Region: ${regionId}. Application group name: ${productGroupName}",'."\n"
.' "fields": ['."\n"
.' "alertName",'."\n"
.' "alertState",'."\n"
.' "curValue",'."\n"
.' "dimensions",'."\n"
.' "expression",'."\n"
.' "instanceName",'."\n"
.' "lastTime",'."\n"
.' "metricName",'."\n"
.' "metricProject",'."\n"
.' "namespace",'."\n"
.' "preTriggerLevel",'."\n"
.' "productGroupName",'."\n"
.' "rawMetricName",'."\n"
.' "regionId",'."\n"
.' "regionName",'."\n"
.' "ruleId",'."\n"
.' "signature",'."\n"
.' "timestamp",'."\n"
.' "triggerLevel",'."\n"
.' "userId"'."\n"
.' ]'."\n"
.' },'."\n"
.' {'."\n"
.' "templateId": 3645787,'."\n"
.' "monitorSourceId": 23469,'."\n"
.' "monitorSourceName": "SLS",'."\n"
.' "templateContent": "Alert time: ${alert_time}\\\\n Alert target: ${project}\\\\n Alert name: ${alert_name}\\\\n Alert level: ${severity}\\\\n Alert content: Logstore: ${logstore}. Triggered data: ${fire_results_as_kv}. Region: ${region}",'."\n"
.' "fields": ['."\n"
.' "aliuid",'."\n"
.' "alert_instance_id",'."\n"
.' "alert_id",'."\n"
.' "alert_name",'."\n"
.' "region",'."\n"
.' "project",'."\n"
.' "alert_time",'."\n"
.' "alert_url",'."\n"
.' "query_url",'."\n"
.' "fire_time",'."\n"
.' "resolve_time",'."\n"
.' "status",'."\n"
.' "fire_results_count",'."\n"
.' "fire_results_as_kv",'."\n"
.' "labels",'."\n"
.' "annotations_title",'."\n"
.' "annotations_desc",'."\n"
.' "severity",'."\n"
.' "logstore",'."\n"
.' "fire_results"'."\n"
.' ]'."\n"
.' },'."\n"
.' {'."\n"
.' "templateId": 3645791,'."\n"
.' "monitorSourceId": 23470,'."\n"
.' "monitorSourceName": "ARMS",'."\n"
.' "templateContent": "Alert content: ${content}",'."\n"
.' "fields": ['."\n"
.' "content"'."\n"
.' ]'."\n"
.' },'."\n"
.' {'."\n"
.' "templateId": null,'."\n"
.' "monitorSourceId": 23472,'."\n"
.' "monitorSourceName": "Tencent Cloud Cloud Monitor",'."\n"
.' "templateContent": null,'."\n"
.' "fields": ['."\n"
.' "recoverTime",'."\n"
.' "alarmStatus",'."\n"
.' "alarmType",'."\n"
.' "firstOccurTime",'."\n"
.' "durationTime",'."\n"
.' "sessionId",'."\n"
.' "alarmObjInfo.namespace",'."\n"
.' "alarmObjInfo.region",'."\n"
.' "alarmObjInfo.dimensions.unInstanceId",'."\n"
.' "alarmObjInfo.dimensions.objId",'."\n"
.' "alarmObjInfo.dimensions.objName",'."\n"
.' "alarmObjInfo.dimensions.deviceName",'."\n"
.' "alarmPolicyInfo.policyId",'."\n"
.' "alarmPolicyInfo.policyName",'."\n"
.' "alarmPolicyInfo.policyType",'."\n"
.' "alarmPolicyInfo.conditions.periodNum",'."\n"
.' "alarmPolicyInfo.conditions.unit",'."\n"
.' "alarmPolicyInfo.conditions.period",'."\n"
.' "alarmPolicyInfo.conditions.metricName",'."\n"
.' "alarmPolicyInfo.conditions.alarmNotifyPeriod",'."\n"
.' "alarmPolicyInfo.conditions.calcType",'."\n"
.' "alarmPolicyInfo.conditions.metricShowName",'."\n"
.' "alarmPolicyInfo.conditions.alarmNotifyType",'."\n"
.' "alarmPolicyInfo.conditions.currentValue",'."\n"
.' "alarmPolicyInfo.conditions.calcValue",'."\n"
.' "alarmPolicyInfo.policyTypeCName",'."\n"
.' "alarmPolicyInfo.policyTypeEname",'."\n"
.' "alarmObjInfo.dimensions.appid",'."\n"
.' "alarmObjInfo.dimensions.instanceid",'."\n"
.' "alarmObjInfo.dimensions.rnodeid",'."\n"
.' "alarmObjInfo.dimensions.AppId",'."\n"
.' "alarmObjInfo.dimensions.InstanceId",'."\n"
.' "alarmObjInfo.dimensions.pnodeid",'."\n"
.' "alarmObjInfo.dimensions.protocol",'."\n"
.' "alarmObjInfo.dimensions.vip",'."\n"
.' "alarmObjInfo.dimensions.port",'."\n"
.' "alarmObjInfo.dimensions.vport",'."\n"
.' "alarmObjInfo.dimensions.protocol",'."\n"
.' "alarmObjInfo.dimensions.vpcId",'."\n"
.' "alarmObjInfo.dimensions.lanIp",'."\n"
.' "alarmObjInfo.dimensions.loadBalancerPort",'."\n"
.' "alarmObjInfo.dimensions.uid",'."\n"
.' "alarmObjInfo.dimensions.clusterid",'."\n"
.' "alarmObjInfo.dimensions.target",'."\n"
.' "alarmObjInfo.dimensions.insttype",'."\n"
.' "alarmObjInfo.dimensions.ClusterId",'."\n"
.' "alarmObjInfo.dimensions.TableInstanceId",'."\n"
.' "alarmObjInfo.dimensions.cluster_name",'."\n"
.' "alarmObjInfo.dimensions.is_master",'."\n"
.' "alarmObjInfo.dimensions.set_name",'."\n"
.' "alarmObjInfo.dimensions.type",'."\n"
.' "alarmObjInfo.dimensions.zk_name",'."\n"
.' "alarmObjInfo.dimensions.function_name",'."\n"
.' "alarmObjInfo.dimensions.namespace",'."\n"
.' "alarmObjInfo.dimensions.version",'."\n"
.' "alarmObjInfo.dimensions.bucket",'."\n"
.' "alarmObjInfo.dimensions.uniq_nat_id",'."\n"
.' "alarmObjInfo.dimensions.vpnconnid",'."\n"
.' "alarmObjInfo.dimensions.directconnectgatewayid",'."\n"
.' "alarmObjInfo.dimensions.peeringconnectionid",'."\n"
.' "alarmObjInfo.dimensions.netdetectid",'."\n"
.' "alarmObjInfo.dimensions.__region__",'."\n"
.' "alarmObjInfo.dimensions.netgroup",'."\n"
.' "alarmObjInfo.dimensions.projectid",'."\n"
.' "alarmObjInfo.dimensions.domain",'."\n"
.' "alarmObjInfo.dimensions.topicid",'."\n"
.' "alarmObjInfo.dimensions.instance_id",'."\n"
.' "alarmObjInfo.dimensions.consumer_group",'."\n"
.' "alarmObjInfo.dimensions.topicname",'."\n"
.' "alarmObjInfo.dimensions.partition",'."\n"
.' "alarmObjInfo.dimensions.FileSystemId",'."\n"
.' "alarmObjInfo.dimensions.directconnectid",'."\n"
.' "alarmObjInfo.dimensions.directconnectconnid",'."\n"
.' "alarmObjInfo.dimensions.objDetail.deviceLanIp",'."\n"
.' "alarmObjInfo.dimensions.objDetail.deviceWanIp",'."\n"
.' "alarmObjInfo.dimensions.objDetail.uniqVpcId",'."\n"
.' "alarmObjInfo.dimensions.objDetail.IP",'."\n"
.' "alarmObjInfo.dimensions.objDetail.PeeringConnectionName",'."\n"
.' "alarmObjInfo.dimensions.objDetail.QosBandwidth",'."\n"
.' "alarmObjInfo.dimensions.objDetail.VpcName",'."\n"
.' "alarmObjInfo.dimensions.objDetail.VpcId",'."\n"
.' "alarmObjInfo.dimensions.objDetail.VpnGatewayName",'."\n"
.' "alarmObjInfo.dimensions.objDetail.InternetMaxBandwidthOut",'."\n"
.' "alarmObjInfo.dimensions.objDetail.ar",'."\n"
.' "alarmObjInfo.dimensions.objDetail.bandwidth",'."\n"
.' "alarmObjInfo.dimensions.objDetail.circuitNumber",'."\n"
.' "alarmObjInfo.dimensions.objDetail.dcType",'."\n"
.' "alarmObjInfo.dimensions.objDetail.connLocalIp",'."\n"
.' "alarmObjInfo.dimensions.objDetail.connPeerIp"'."\n"
.' ]'."\n"
.' },'."\n"
.' {'."\n"
.' "templateId": null,'."\n"
.' "monitorSourceId": 23473,'."\n"
.' "monitorSourceName": "Huawei Cloud Cloud Monitor",'."\n"
.' "templateContent": null,'."\n"
.' "fields": ['."\n"
.' "message_type",'."\n"
.' "alarm_id",'."\n"
.' "alarm_name",'."\n"
.' "alarm_status",'."\n"
.' "time",'."\n"
.' "namespace",'."\n"
.' "metric_name",'."\n"
.' "dimension",'."\n"
.' "period",'."\n"
.' "filter",'."\n"
.' "comparison_operator",'."\n"
.' "value",'."\n"
.' "unit",'."\n"
.' "count",'."\n"
.' "alarmValue[].time",'."\n"
.' "alarmValue[].value",'."\n"
.' "sms_content",'."\n"
.' "template_variable.AccountName",'."\n"
.' "template_variable.Namespace",'."\n"
.' "template_variable.DimensionName",'."\n"
.' "template_variable.ResourceName",'."\n"
.' "template_variable.MetricName",'."\n"
.' "template_variable.IsAlarm",'."\n"
.' "template_variable.IsCycleTrigger",'."\n"
.' "template_variable.AlarmLevel",'."\n"
.' "template_variable.Region",'."\n"
.' "template_variable.ResourceId",'."\n"
.' "template_variable.PrivateIp",'."\n"
.' "template_variable.AlarmRule",'."\n"
.' "template_variable.CurrentData",'."\n"
.' "template_variable.AlarmTime",'."\n"
.' "template_variable.DataPointTime[]",'."\n"
.' "template_variable.AlarmRuleName",'."\n"
.' "template_variable.AlarmId",'."\n"
.' "template_variable.AlarmDesc",'."\n"
.' "template_variable.MonitoringRange",'."\n"
.' "template_variable.IsOriginalValue",'."\n"
.' "template_variable.Period",'."\n"
.' "template_variable.Filter",'."\n"
.' "template_variable.ComparisonOperator",'."\n"
.' "template_variable.Value",'."\n"
.' "template_variable.Unit",'."\n"
.' "template_variable.Count",'."\n"
.' "template_variable.EventContent",'."\n"
.' "template_variable.Link",'."\n"
.' "template_variable.IsIEC",'."\n"
.' "template_variable.DataPoint"'."\n"
.' ]'."\n"
.' },'."\n"
.' {'."\n"
.' "templateId": 3645788,'."\n"
.' "monitorSourceId": 23474,'."\n"
.' "monitorSourceName": "Cacti",'."\n"
.' "templateContent": "Alert content: ${subject}",'."\n"
.' "fields": ['."\n"
.' "subject"'."\n"
.' ]'."\n"
.' },'."\n"
.' {'."\n"
.' "templateId": 3645796,'."\n"
.' "monitorSourceId": 23475,'."\n"
.' "monitorSourceName": "SkyWalking",'."\n"
.' "templateContent": "Alert content: ${content}",'."\n"
.' "fields": ['."\n"
.' "content[].scopeId",'."\n"
.' "content[].scope",'."\n"
.' "content[].name",'."\n"
.' "content[].id0",'."\n"
.' "content[].id1",'."\n"
.' "content[].ruleName",'."\n"
.' "content[].alarmMessage",'."\n"
.' "content[].startTime"'."\n"
.' ]'."\n"
.' },'."\n"
.' {'."\n"
.' "templateId": null,'."\n"
.' "monitorSourceId": 23476,'."\n"
.' "monitorSourceName": "Open-Falcon",'."\n"
.' "templateContent": null,'."\n"
.' "fields": ['."\n"
.' "step",'."\n"
.' "priority",'."\n"
.' "status",'."\n"
.' "stra_id",'."\n"
.' "metric",'."\n"
.' "time",'."\n"
.' "tpl_id",'."\n"
.' "exp_id",'."\n"
.' "left_value",'."\n"
.' "tags",'."\n"
.' "endpoint"'."\n"
.' ]'."\n"
.' },'."\n"
.' {'."\n"
.' "templateId": null,'."\n"
.' "monitorSourceId": 23477,'."\n"
.' "monitorSourceName": "EventBridge",'."\n"
.' "templateContent": null,'."\n"
.' "fields": ['."\n"
.' "datacontenttype",'."\n"
.' "aliyunaccountid",'."\n"
.' "subject",'."\n"
.' "aliyunoriginalaccountid",'."\n"
.' "source",'."\n"
.' "type",'."\n"
.' "aliyunpublishtime",'."\n"
.' "specversion",'."\n"
.' "aliyuneventbusname",'."\n"
.' "id",'."\n"
.' "time",'."\n"
.' "aliyunregionid",'."\n"
.' "aliyunpublishaddr",'."\n"
.' "data",'."\n"
.' "data.resourceId",'."\n"
.' "data.publicIpAddress",'."\n"
.' "data.instanceName",'."\n"
.' "data.state",'."\n"
.' "data.privateIpAddress",'."\n"
.' "data.resourceType",'."\n"
.' "data.snapshotId",'."\n"
.' "data.snapshotType",'."\n"
.' "data.snapshotName",'."\n"
.' "data.diskId"'."\n"
.' ]'."\n"
.' },'."\n"
.' {'."\n"
.' "templateId": 3645793,'."\n"
.' "monitorSourceId": 23478,'."\n"
.' "monitorSourceName": "Grafana",'."\n"
.' "templateContent": "Alert name: ${ruleName}\\\\n Alert content: Panel ID: ${panelId}. Dashboard ID: ${dashboardId}. Metric: ${evalMatches.metric}. Current value: ${evalMatches.value}",'."\n"
.' "fields": ['."\n"
.' "panelId",'."\n"
.' "dashboardId",'."\n"
.' "ruleName",'."\n"
.' "state",'."\n"
.' "ruleId",'."\n"
.' "title",'."\n"
.' "ruleUrl",'."\n"
.' "orgId",'."\n"
.' "evalMatches[].metric",'."\n"
.' "evalMatches[].value",'."\n"
.' "evalMatches[].tags.instance",'."\n"
.' "evalMatches[].tags",'."\n"
.' "tags",'."\n"
.' "message",'."\n"
.' "imageUrl"'."\n"
.' ]'."\n"
.' },'."\n"
.' {'."\n"
.' "templateId": 3645784,'."\n"
.' "monitorSourceId": 23479,'."\n"
.' "monitorSourceName": "Managed Service for Prometheus",'."\n"
.' "templateContent": "Alert content: ${content}",'."\n"
.' "fields": ['."\n"
.' "content"'."\n"
.' ]'."\n"
.' },'."\n"
.' {'."\n"
.' "templateId": 3645789,'."\n"
.' "monitorSourceId": 23480,'."\n"
.' "monitorSourceName": "Legacy SLS",'."\n"
.' "templateContent": "Alert time: ${FireTime}\\\\n Alert target: ${Project}\\\\n Alert name: ${AlertDisplayName}\\\\n Alert content: Dashboard: ${Dashboard}. Triggered expression: ${RawCondition}",'."\n"
.' "fields": ['."\n"
.' "Aliuid",'."\n"
.' "Project",'."\n"
.' "AlertID",'."\n"
.' "AlertName",'."\n"
.' "AlertDisplayName",'."\n"
.' "Condition",'."\n"
.' "Aliuid",'."\n"
.' "RawCondition",'."\n"
.' "Dashboard",'."\n"
.' "DashboardUrl",'."\n"
.' "FireTime",'."\n"
.' "FullResultUrl"'."\n"
.' ]'."\n"
.' },'."\n"
.' {'."\n"
.' "templateId": 3645794,'."\n"
.' "monitorSourceId": 23481,'."\n"
.' "monitorSourceName": "Listen Cloud",'."\n"
.' "templateContent": "Alert time: ${beginTime}\\\\n Alert target: ${targetName}\\\\n Alert level: ${eventPriority}\\\\n Alert content: ${message}",'."\n"
.' "fields": ['."\n"
.' "eventTraceId",'."\n"
.' "targetName",'."\n"
.' "extra",'."\n"
.' "eventPriority",'."\n"
.' "threshold",'."\n"
.' "value",'."\n"
.' "beginTime",'."\n"
.' "endTime",'."\n"
.' "message",'."\n"
.' "sendTime"'."\n"
.' ]'."\n"
.' },'."\n"
.' {'."\n"
.' "templateId": 3645792,'."\n"
.' "monitorSourceId": 23482,'."\n"
.' "monitorSourceName": "MonitorBao",'."\n"
.' "templateContent": "Alert time: ${fault_time}\\\\n Alert target: ${task_summary}\\\\n Alert name: ${task_name}\\\\n Alert level: ${message_type}\\\\n Alert content: ${content}",'."\n"
.' "fields": ['."\n"
.' "task_name",'."\n"
.' "message_status",'."\n"
.' "fault_time",'."\n"
.' "task_summary",'."\n"
.' "message_type",'."\n"
.' "task_id",'."\n"
.' "msg_id",'."\n"
.' "task_user_id",'."\n"
.' "task_type",'."\n"
.' "content",'."\n"
.' "message_detail",'."\n"
.' "message_detail.compare",'."\n"
.' "message_detail.unit",'."\n"
.' "message_detail.location_list_down",'."\n"
.' "message_detail.metric",'."\n"
.' "message_detail.location_num",'."\n"
.' "message_detail.value",'."\n"
.' "message_detail.location_type"'."\n"
.' ]'."\n"
.' },'."\n"
.' {'."\n"
.' "templateId": null,'."\n"
.' "monitorSourceId": 23483,'."\n"
.' "monitorSourceName": "JD Cloud Cloud Monitor",'."\n"
.' "templateContent": null,'."\n"
.' "fields": ['."\n"
.' "resourceName",'."\n"
.' "threshold",'."\n"
.' "serviceCode",'."\n"
.' "currentValue",'."\n"
.' "requestId",'."\n"
.' "tags",'."\n"
.' "resourceId",'."\n"
.' "metric",'."\n"
.' "times",'."\n"
.' "alertTime",'."\n"
.' "region",'."\n"
.' "ipAddress"'."\n"
.' ]'."\n"
.' },'."\n"
.' {'."\n"
.' "templateId": null,'."\n"
.' "monitorSourceId": 23484,'."\n"
.' "monitorSourceName": "Dynatrace",'."\n"
.' "templateContent": null,'."\n"
.' "fields": ['."\n"
.' "ProblemID",'."\n"
.' "ProblemSeverity",'."\n"
.' "PID",'."\n"
.' "ImpactedEntities",'."\n"
.' "ImpactedEntities[].type",'."\n"
.' "ImpactedEntities[].name",'."\n"
.' "ImpactedEntities[].entity",'."\n"
.' "ImpactedEntityNames",'."\n"
.' "ProblemURL",'."\n"
.' "ImpactedEntity",'."\n"
.' "ProblemDetailsText",'."\n"
.' "ProblemImpact",'."\n"
.' "ProblemTitle",'."\n"
.' "ProblemDetailsHTML",'."\n"
.' "State",'."\n"
.' "ProblemDetailsMarkdown",'."\n"
.' "Tags"'."\n"
.' ]'."\n"
.' },'."\n"
.' {'."\n"
.' "templateId": null,'."\n"
.' "monitorSourceId": 23485,'."\n"
.' "monitorSourceName": "Grafana 8",'."\n"
.' "templateContent": null,'."\n"
.' "fields": ['."\n"
.' "commonLabels",'."\n"
.' "commonLabels.alertname",'."\n"
.' "commonLabels.tag",'."\n"
.' "externalURL",'."\n"
.' "groupLabels",'."\n"
.' "receiver",'."\n"
.' "title",'."\n"
.' "message",'."\n"
.' "version",'."\n"
.' "groupKey",'."\n"
.' "alerts",'."\n"
.' "alerts[].status",'."\n"
.' "alerts[].labels",'."\n"
.' "alerts[].labels.alertname",'."\n"
.' "alerts[].labels.tag",'."\n"
.' "alerts[].annotations",'."\n"
.' "alerts[].startsAt",'."\n"
.' "alerts[].endsAt",'."\n"
.' "alerts[].generatorURL",'."\n"
.' "alerts[].fingerprint",'."\n"
.' "alerts[].silenceURL",'."\n"
.' "alerts[].dashboardURL",'."\n"
.' "alerts[].panelURL",'."\n"
.' "alerts[].valueString",'."\n"
.' "truncatedAlerts",'."\n"
.' "state",'."\n"
.' "commonAnnotations",'."\n"
.' "status"'."\n"
.' ]'."\n"
.' },'."\n"
.' {'."\n"
.' "templateId": null,'."\n"
.' "monitorSourceId": 23486,'."\n"
.' "monitorSourceName": "Email Integration",'."\n"
.' "templateContent": null,'."\n"
.' "fields": ['."\n"
.' "FromAddress",'."\n"
.' "SendTo",'."\n"
.' "Subject",'."\n"
.' "MessageBody"'."\n"
.' ]'."\n"
.' }'."\n"
.']'."\n"
.'```'."\n"
."\n"
.'}',
'extraInfo' => '"data":{'."\n"
.' "requestId":"550DB2BE-98DE-0368-A52C-8F6BC78CD113"'."\n"
.' }',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:ListServiceGroupMonitorSourceTemplates',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListServiceGroupMonitorSourceTemplates'],
],
],
],
'ListServiceGroups' => [
'summary' => 'Retrieves the list of service groups.',
'path' => '/services/group/list',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgemp1A354K'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'The request body.',
'properties' => [
'queryName' => ['description' => 'The search name.', 'type' => 'string', 'example' => '王先生', 'title' => '', 'required' => false],
'queryType' => ['description' => 'The search type.'."\n"
."\n"
.'- USER: user.'."\n"
."\n"
.'- SERVICEGROUP: service group.', 'type' => 'string', 'example' => 'USER', 'title' => '', 'required' => false],
'pageNumber' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => '', 'required' => false],
'pageSize' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => '', 'required' => false],
'clientToken' => ['description' => 'The idempotence token.', 'type' => 'string', 'example' => 'C4BE3837-1A13-413B-A225-2C88188E8A43', 'title' => '', 'required' => false],
'isScheduled' => ['description' => 'Indicates whether a schedule has been created.', 'type' => 'boolean', 'example' => 'false', 'title' => '', 'required' => false],
'orderByScheduleStatus' => ['description' => 'Sorts the results by schedule status.', 'type' => 'boolean', 'example' => 'false', 'title' => '', 'required' => false],
'userId' => ['description' => 'The user ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '100000', 'title' => '', 'required' => false],
'serviceId' => ['title' => 'Service query', 'description' => 'The service ID.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '33'],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'The response structure.',
'properties' => [
'requestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'sssss'],
'data' => [
'description' => 'The list of service groups.',
'items' => [
'description' => 'The list of service groups.',
'properties' => [
'serviceGroupId' => ['description' => 'The service group ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''],
'isScheduled' => ['description' => 'Indicates whether a schedule has been created.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
'serviceGroupName' => ['description' => 'The service group name.', 'type' => 'string', 'example' => '我的服务组', 'title' => ''],
'serviceGroupDescription' => ['description' => 'The service group description.', 'type' => 'string', 'example' => '服务组描述', 'title' => ''],
'updateTime' => ['description' => 'The time when the service group was last updated.', 'type' => 'string', 'example' => '2020-08-09 15:50:30', 'title' => ''],
'enableWebhook' => ['description' => '- ENABLE: The webhook is enabled.'."\n"
."\n"
.'- DISABLE: The webhook is disabled.', 'type' => 'string', 'example' => 'ENABLE', 'title' => ''],
'webhookType' => ['description' => '- WEIXIN\\_GROUP: WeChat group.'."\n"
."\n"
.'- DING\\_GROUP: DingTalk group.', 'type' => 'string', 'example' => 'WEIXIN_GROUP', 'title' => ''],
'webhookLink' => ['description' => 'The webhook URL.', 'type' => 'string', 'example' => 'wwwwwwwwww', 'title' => ''],
'users' => [
'description' => 'The list of users in the service group.',
'items' => [
'description' => 'The user.',
'properties' => [
'userId' => ['description' => 'The user ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''],
'userName' => ['description' => 'The username.', 'type' => 'string', 'example' => 'jack', 'title' => ''],
'serviceGroupId' => ['description' => 'The service group ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''],
'phone' => ['description' => 'The phone number.', 'type' => 'string', 'example' => '1390000****', 'title' => ''],
'email' => ['description' => 'The email address.', 'type' => 'string', 'example' => 'wy930***@163.com', 'title' => ''],
'isRelated' => ['description' => 'Indicates whether the user is associated with the mobile app.'."\n"
."\n"
.'- 1: Yes.'."\n"
."\n"
.'- 0: No.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
],
'type' => 'object',
'title' => '',
'example' => '',
],
'title' => '',
'type' => 'array',
'example' => '',
],
],
'type' => 'object',
'title' => '',
'example' => '',
],
'title' => '',
'type' => 'array',
'example' => '',
],
'pageNumber' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''],
'pageSize' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''],
'totalCount' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'title' => ''],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"sssss\\",\\n \\"data\\": [\\n {\\n \\"serviceGroupId\\": 1,\\n \\"isScheduled\\": true,\\n \\"serviceGroupName\\": \\"我的服务组\\",\\n \\"serviceGroupDescription\\": \\"服务组描述\\",\\n \\"updateTime\\": \\"2020-08-09 15:50:30\\",\\n \\"enableWebhook\\": \\"ENABLE\\",\\n \\"webhookType\\": \\"WEIXIN_GROUP\\",\\n \\"webhookLink\\": \\"wwwwwwwwww\\",\\n \\"users\\": [\\n {\\n \\"userId\\": 10,\\n \\"userName\\": \\"jack\\",\\n \\"serviceGroupId\\": 1,\\n \\"phone\\": \\"1390000****\\",\\n \\"email\\": \\"wy930***@163.com\\",\\n \\"isRelated\\": 1\\n }\\n ]\\n }\\n ],\\n \\"pageNumber\\": 1,\\n \\"pageSize\\": 10,\\n \\"totalCount\\": 100\\n}","type":"json"}]',
'title' => 'Query service group list',
'changeSet' => [
['createdAt' => '2023-04-13T12:01:53.000Z', 'description' => 'Request parameters changed'],
['createdAt' => '2022-09-19T12:15:27.000Z', 'description' => 'Response parameters changed'],
['createdAt' => '2021-07-16T04:09:37.000Z', 'description' => 'Request parameters changed, Response parameters changed'],
['createdAt' => '2021-07-16T04:09:37.000Z', 'description' => 'Request parameters changed'],
['createdAt' => '2021-07-16T04:09:37.000Z', 'description' => 'Response parameters changed'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListServiceGroups'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:ListServiceGroups',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'ListServiceGroupsByUserId' => [
'summary' => 'Queries the service groups associated with a member ID.',
'path' => '/services/group/listByUserId',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgemp1A354K'],
],
'parameters' => [],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'requestId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'data' => [
'type' => 'object',
'properties' => [
'serviceGroupId' => ['type' => 'integer', 'format' => 'int64', 'description' => '', 'title' => '', 'example' => ''],
'isScheduled' => ['type' => 'boolean', 'description' => '', 'title' => '', 'example' => ''],
'serviceGroupName' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:ListServiceGroupsByUserId',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"\\",\\n \\"data\\": {\\n \\"serviceGroupId\\": 0,\\n \\"isScheduled\\": false,\\n \\"serviceGroupName\\": \\"\\"\\n }\\n}","type":"json"}]',
'title' => 'ListServiceGroupsByUserId',
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListServiceGroupsByUserId'],
],
],
],
'ListServices' => [
'summary' => 'View the list of services.',
'path' => '/services/list',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgemp1A354K'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'A short description of struct',
'properties' => [
'serviceName' => ['description' => 'Service name', 'type' => 'string', 'example' => '购物车', 'title' => '', 'required' => false],
'pageNumber' => ['description' => 'Current page', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1', 'title' => ''],
'pageSize' => ['description' => 'Page size', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '10', 'title' => ''],
'clientToken' => ['description' => 'Idempotency token', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'C4BE3837-1A13-413B-A225-2C88188E8A43'],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Schema of Response',
'properties' => [
'requestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'C4BE3837-1A13-413B-A225-2C88188E8A43'],
'data' => [
'description' => 'List of services',
'items' => [
'properties' => [
'serviceId' => ['description' => 'Service ID', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''],
'serviceName' => ['description' => 'Service name', 'type' => 'string', 'example' => '购物车', 'title' => ''],
'serviceDescription' => ['description' => 'Service description', 'type' => 'string', 'example' => '服务描述', 'title' => ''],
'updateTime' => ['description' => 'Update time', 'type' => 'string', 'example' => '2020-09-08 14:30:30', 'title' => ''],
'isValid' => ['description' => 'Is valid', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
'escalationPlanName' => ['title' => 'Policy Name', 'description' => 'Upgrade policy name', 'type' => 'string', 'example' => ''],
'escalationPlanId' => ['title' => 'Upgrade policy ID', 'description' => 'Upgrade policy ID', 'type' => 'integer', 'format' => 'int64', 'example' => ''],
'serviceGroupIdList' => [
'description' => 'List of service group IDs',
'title' => 'Service group ID list',
'type' => 'array',
'items' => ['title' => 'Service group ID', 'description' => 'Service group ID', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'default' => '1'],
'example' => '',
],
],
'type' => 'object',
'description' => '',
'title' => '',
'example' => '',
],
'type' => 'array',
'title' => '',
'example' => '',
],
'pageNumber' => ['description' => 'Current page', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''],
'pageSize' => ['description' => 'Page size', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''],
'totalCount' => ['description' => 'Total count', 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'title' => ''],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"C4BE3837-1A13-413B-A225-2C88188E8A43\\",\\n \\"data\\": [\\n {\\n \\"serviceId\\": 1,\\n \\"serviceName\\": \\"购物车\\",\\n \\"serviceDescription\\": \\"服务描述\\",\\n \\"updateTime\\": \\"2020-09-08 14:30:30\\",\\n \\"isValid\\": 1,\\n \\"escalationPlanName\\": \\"\\",\\n \\"escalationPlanId\\": 0,\\n \\"serviceGroupIdList\\": [\\n 1\\n ]\\n }\\n ],\\n \\"pageNumber\\": 1,\\n \\"pageSize\\": 10,\\n \\"totalCount\\": 100\\n}","type":"json"}]',
'title' => 'View Service List',
'changeSet' => [
['createdAt' => '2023-04-13T12:01:54.000Z', 'description' => 'Response parameters changed'],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:ListServices',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListServices'],
],
],
],
'ListSourceEvents' => [
'summary' => 'Retrieve the list of original alerts.',
'path' => '/events/listOriginalEvent',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempW81V8D'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'Request body.',
'properties' => [
'instanceId' => ['description' => 'Alert or event ID.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1', 'title' => ''],
'instanceType' => ['description' => 'Type:'."\n"
."\n"
.'- INCIDENT: Event.'."\n"
."\n"
.'- ALERT: Alert.'."\n"
."\n"
.'- PROBLEM: Problem.', 'type' => 'string', 'required' => true, 'example' => 'INCIDENT', 'title' => ''],
'startRowKey' => ['description' => 'Start rowkey.', 'type' => 'string', 'example' => '9223370410626682599-1344383-78954515-1-0a6e01a1701447fd9ef18b079edd2c6d', 'title' => '', 'required' => false],
'stopRowKey' => ['description' => 'Stop rowkey.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '9223370410626682599-1344383-78954515-1-0a6e01a1701447fd9ef18b079edd2c6d'],
'pageSize' => ['description' => 'Page size.', 'type' => 'integer', 'format' => 'int64', 'example' => '20', 'title' => '', 'required' => false],
'clientToken' => ['description' => 'An idempotency token.', 'type' => 'string', 'example' => 'C4BE3837-1A13-413B-A225-2C88188E8A43', 'title' => '', 'required' => false],
'pageNumber' => ['description' => 'Page number.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => '', 'required' => false],
'startTime' => ['description' => 'Start time.', 'type' => 'string', 'example' => '2020-09-10 13:00:00', 'title' => '', 'required' => false],
'endTime' => ['description' => 'End time.', 'type' => 'string', 'example' => '2020-09-18 13:00:00', 'title' => '', 'required' => false],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Response structure.',
'properties' => [
'requestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'C4BE3837-1A13-413B-A225-2C88188E8A43', 'title' => ''],
'totalCount' => ['description' => 'Total count.', 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'title' => ''],
'pageNumber' => ['description' => 'Page number.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''],
'pageSize' => ['description' => 'Page size.', 'type' => 'integer', 'format' => 'int64', 'example' => '20', 'title' => ''],
'data' => [
'description' => 'Current page.',
'items' => [
'properties' => [
'routeRuleId' => ['description' => 'Rule ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''],
'instanceType' => ['description' => 'Type:'."\n"
."\n"
.'- INCIDENT: Event.'."\n"
."\n"
.'- ALERT: Alert.'."\n"
."\n"
.'- PROBLEM: Problem.', 'type' => 'string', 'example' => 'INCIDENT', 'title' => ''],
'instanceId' => ['description' => 'Associated object ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''],
'monitorSourceId' => ['description' => 'Monitoring and alerting source ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''],
'monitorSourceName' => ['description' => 'Monitoring and alerting source name.', 'type' => 'string', 'example' => 'zabbix', 'title' => ''],
'eventTime' => ['description' => 'Alert reporting time.', 'type' => 'string', 'example' => '2020-09-08 15:53:34', 'title' => ''],
'tenantRamId' => ['description' => 'Tenant ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''],
'eventJson' => ['description' => 'Alert content format.', 'type' => 'string', 'title' => '', 'example' => '""'],
],
'type' => 'object',
'description' => 'Returned data.',
'title' => '',
'example' => '',
],
'type' => 'array',
'title' => '',
'example' => '',
],
'lastRowKey' => ['title' => 'lastRowKey', 'description' => 'Last rowkey.', 'type' => 'string', 'example' => '9223370412331485036-1344383-9967-1-8d729a1b176f493ca3be643b391d5ced'],
'firstRowKey' => ['title' => 'firstRowKey', 'description' => 'First rowkey.', 'type' => 'string', 'example' => '9223370412331485032-1344383-9967-1-08be8b08ef30441390072f3bfba71c94'],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"C4BE3837-1A13-413B-A225-2C88188E8A43\\",\\n \\"totalCount\\": 100,\\n \\"pageNumber\\": 1,\\n \\"pageSize\\": 20,\\n \\"data\\": [\\n {\\n \\"routeRuleId\\": 1,\\n \\"instanceType\\": \\"INCIDENT\\",\\n \\"instanceId\\": 1,\\n \\"monitorSourceId\\": 1,\\n \\"monitorSourceName\\": \\"zabbix\\",\\n \\"eventTime\\": \\"2020-09-08 15:53:34\\",\\n \\"tenantRamId\\": 1,\\n \\"eventJson\\": \\"\\\\\\"\\\\\\"\\"\\n }\\n ],\\n \\"lastRowKey\\": \\"9223370412331485036-1344383-9967-1-8d729a1b176f493ca3be643b391d5ced\\",\\n \\"firstRowKey\\": \\"9223370412331485032-1344383-9967-1-08be8b08ef30441390072f3bfba71c94\\"\\n}","type":"json"}]',
'title' => 'Query raw alert list ',
'changeSet' => [
['createdAt' => '2021-07-16T04:09:41.000Z', 'description' => 'Request parameters changed'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListSourceEvents'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:ListSourceEvents',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'ListSourceEventsForMonitorSource' => [
'summary' => 'Retrieves a list of recent alerts.',
'path' => '/events/queryLastestEvents',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempW81V8D'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'The request body.',
'properties' => [
'monitorSourceId' => ['description' => 'The monitoring source ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => '', 'required' => false],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'The response structure.',
'properties' => [
'requestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'xxxxxx'],
'data' => [
'description' => 'The list of alerts.',
'items' => [
'properties' => [
'monitorSourceId' => ['description' => 'The monitoring source ID.', 'type' => 'boolean', 'example' => '1000', 'title' => ''],
'monitorSourceName' => ['description' => 'The monitoring source name.', 'type' => 'string', 'example' => 'zabbix', 'title' => ''],
'eventTime' => ['description' => 'The time when the alert was reported.', 'type' => 'string', 'example' => '2020-01-01 18:30:00', 'title' => ''],
'eventJson' => ['description' => 'The alert content.', 'type' => 'string', 'title' => '', 'example' => '{}'],
],
'type' => 'object',
'description' => 'List of alerts.',
'title' => '',
'example' => '',
],
'title' => '',
'type' => 'array',
'example' => '',
],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"xxxxxx\\",\\n \\"data\\": [\\n {\\n \\"monitorSourceId\\": true,\\n \\"monitorSourceName\\": \\"zabbix\\",\\n \\"eventTime\\": \\"2020-01-01 18:30:00\\",\\n \\"eventJson\\": \\"{}\\"\\n }\\n ]\\n}","type":"json"}]',
'title' => 'Query the Recent Alert List ',
'requestParamsDescription' => '{'."\n"
.'"monitorSourceId" : 1000'."\n"
.'}',
'responseParamsDescription' => '{'."\n"
.'"requestId": "xxxxxx",'."\n"
.'"data": \\['."\n"
.'{'."\n"
.'"monitorSourceId": false,'."\n"
.'"monitorSourceName": "zabbix",'."\n"
.'"eventTime": "2020-01-01 18:30:00",'."\n"
.'"eventJson": "{}"'."\n"
.'}'."\n"
.']'."\n"
.'}',
'changeSet' => [
['createdAt' => '2021-11-16T01:59:34.000Z', 'description' => 'OpenAPI offline'],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:ListSourceEventsForMonitorSource',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [],
],
],
'ListSubscriptionServiceGroups' => [
'summary' => 'This operation lists incident collaboration groups.',
'path' => '/problem/serviceGroup/list',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgemp2C8J2M'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'Request Body.',
'properties' => [
'serviceIds' => [
'description' => 'Service list.',
'items' => ['description' => 'Service ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '12313', 'required' => false, 'title' => ''],
'required' => false,
'title' => '',
'type' => 'array',
'example' => '',
],
'clientToken' => ['description' => 'Idempotency token.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '89f51d2e-5527-4f6c-a6c6-4411b5496e9f'],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Response structure.',
'properties' => [
'requestId' => ['title' => 'Id of the request', 'description' => 'Request ID.', 'type' => 'string', 'example' => '89f51d2e-5527-4f6c-a6c6-4411b5496e9f'],
'data' => [
'description' => 'Returned data.',
'items' => [
'description' => 'Service group list.',
'properties' => [
'serviceId' => ['description' => 'Primary key.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '123113'],
'serviceName' => ['description' => 'Service group name.', 'type' => 'string', 'title' => '', 'example' => '服务A'],
'serviceGroupDescription' => ['description' => 'Service group description.', 'type' => 'string', 'title' => '', 'example' => '服务描述'],
],
'type' => 'object',
'title' => '',
'example' => '',
],
'type' => 'array',
'title' => '',
'example' => '',
],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'ServiceGroupNotExisted', 'errorMessage' => 'The service group does not exist.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"89f51d2e-5527-4f6c-a6c6-4411b5496e9f\\",\\n \\"data\\": [\\n {\\n \\"serviceId\\": 123113,\\n \\"serviceName\\": \\"服务A\\",\\n \\"serviceGroupDescription\\": \\"服务描述\\"\\n }\\n ]\\n}","type":"json"}]',
'title' => 'List of fault collaboration groups',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListSubscriptionServiceGroups'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:ListSubscriptionServiceGroups',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'ListSubscriptions' => [
'summary' => 'Lists notification subscriptions.',
'path' => '/notify/subscription/list',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgemp2C8J2M'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'Request body.',
'properties' => [
'pageNumber' => ['description' => 'Page number for pagination.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => '', 'required' => false],
'pageSize' => ['description' => 'Number of items per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => '', 'required' => false],
'subscriptionTitle' => ['description' => 'Notification subscription name.', 'type' => 'string', 'example' => 'newTitle', 'title' => '', 'required' => false],
'scope' => ['description' => 'Subscription scope type:'."\n"
."\n"
.'- ALL: All resources.'."\n"
."\n"
.'- SERVICE: Service.'."\n"
."\n"
.'- ROUTERULE: Routing rule.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'SERVICE'],
'scopeObject' => ['description' => 'Name of the subscription scope object.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'TestName'],
'notifyObjectType' => ['description' => 'Notification recipient type:'."\n"
."\n"
.'- SERVICEGROUP: Service group.'."\n"
."\n"
.'- USER: Individual user.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'SERVICE'],
'notifyObject' => ['description' => 'Notification recipient name.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'test'],
'clientToken' => ['description' => 'Idempotency token.', 'type' => 'string', 'example' => '601FA6A2-AC5C-4B59-BE11-378FTOKENA11', 'title' => '', 'required' => false],
'notFilterScopeObjectDeleted' => ['title' => 'Do not filter deleted subscription scope objects (when true, deleted objects are also included in the results)', 'description' => 'Whether to filter out deleted scope objects.', 'type' => 'boolean', 'required' => false, 'example' => ''],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Response structure.',
'properties' => [
'requestId' => ['title' => 'id of the request', 'description' => 'Request ID.', 'type' => 'string', 'example' => '10REQUES-AC5C-4B59-BE11-378F117A6A88'],
'data' => [
'description' => 'Subscription details.',
'items' => [
'description' => 'Subscription details.',
'properties' => [
'subscriptionId' => ['description' => 'Subscription ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''],
'subscriptionTitle' => ['description' => 'Notification subscription name.', 'type' => 'string', 'example' => 'test', 'title' => ''],
'scope' => ['description' => '- 0: All resources.'."\n"
."\n"
.'- 1: Service.'."\n"
."\n"
.'- 2: Routing rule.', 'type' => 'integer', 'format' => 'int64', 'example' => 'SERVICE', 'title' => ''],
'notifyObjectType' => ['description' => '- 0: Service group.'."\n"
."\n"
.'- 1: Individual user.', 'type' => 'integer', 'format' => 'int64', 'example' => 'USER', 'title' => ''],
'expiredType' => ['description' => 'Validity period type:'."\n"
."\n"
.'- LONG\\_TERM: Long term.'."\n"
."\n"
.'- SHORT\\_TERM: Short term.', 'type' => 'string', 'example' => 'LONG_TERM', 'title' => ''],
'startTime' => ['description' => 'Start time of validity period.', 'type' => 'string', 'title' => '', 'example' => '2020-05-09 10:10:10'],
'endTime' => ['description' => 'End time of validity period.', 'type' => 'string', 'title' => '', 'example' => '2022-05-09 10:10:10'],
'status' => ['description' => '- 1: Enabled.'."\n"
."\n"
.'- 0: Disabled.', 'type' => 'string', 'example' => 'ENABLE', 'title' => ''],
'scopeObjectList' => [
'description' => 'List of subscription scope objects.',
'items' => [
'properties' => [
'id' => ['description' => 'ID primary key.', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''],
'scope' => ['description' => 'Subscription scope type:'."\n"
."\n"
.'- ALL: All resources.'."\n"
."\n"
.'- SERVICE: Service.'."\n"
."\n"
.'- ROUTERULE: Routing rule.', 'type' => 'integer', 'format' => 'int64', 'example' => 'SERVICE', 'title' => ''],
'scopeObjectId' => ['description' => 'Primary key ID of the associated scope object table.', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''],
'scopeObject' => ['description' => 'Name of the subscription scope object.', 'type' => 'string', 'example' => '阿里云服务', 'title' => ''],
'isValid' => ['description' => 'Whether the scope object is valid.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => ''],
],
'type' => 'object',
'description' => 'List of subscription scope objects.',
'title' => '',
'example' => '',
],
'title' => '',
'type' => 'array',
'example' => '',
],
'notifyObjectList' => [
'description' => 'List of notification recipients.',
'items' => [
'description' => 'List of notification recipients.',
'properties' => [
'id' => ['description' => 'ID primary key.', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''],
'notifyObjectType' => ['description' => 'Notification recipient type:'."\n"
."\n"
.'- SERVICEGROUP: Service group.'."\n"
."\n"
.'- USER: Individual user.', 'type' => 'integer', 'format' => 'int64', 'example' => 'USER', 'title' => ''],
'notifyObjectId' => ['description' => 'Associated primary key ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''],
'name' => ['description' => 'Notification recipient name.', 'type' => 'string', 'example' => '张珊', 'title' => ''],
'isValid' => ['description' => 'Indicates whether the object is valid.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => ''],
],
'type' => 'object',
'title' => '',
'example' => '',
],
'title' => '',
'type' => 'array',
'example' => '',
],
],
'type' => 'object',
'title' => '',
'example' => '',
],
'type' => 'array',
'title' => '',
'example' => '',
],
'totalCount' => ['description' => 'A parameter for paging.', 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'title' => ''],
'pageNumber' => ['description' => 'Page number for pagination.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''],
'pageSize' => ['description' => 'Number of items per page.', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"10REQUES-AC5C-4B59-BE11-378F117A6A88\\",\\n \\"data\\": [\\n {\\n \\"subscriptionId\\": 10,\\n \\"subscriptionTitle\\": \\"test\\",\\n \\"scope\\": 0,\\n \\"notifyObjectType\\": 0,\\n \\"expiredType\\": \\"LONG_TERM\\",\\n \\"startTime\\": \\"2020-05-09 10:10:10\\",\\n \\"endTime\\": \\"2022-05-09 10:10:10\\",\\n \\"status\\": \\"ENABLE\\",\\n \\"scopeObjectList\\": [\\n {\\n \\"id\\": 10,\\n \\"scope\\": 0,\\n \\"scopeObjectId\\": 10,\\n \\"scopeObject\\": \\"阿里云服务\\",\\n \\"isValid\\": 0\\n }\\n ],\\n \\"notifyObjectList\\": [\\n {\\n \\"id\\": 10,\\n \\"notifyObjectType\\": 0,\\n \\"notifyObjectId\\": 10,\\n \\"name\\": \\"张珊\\",\\n \\"isValid\\": 0\\n }\\n ]\\n }\\n ],\\n \\"totalCount\\": 100,\\n \\"pageNumber\\": 1,\\n \\"pageSize\\": 10\\n}","type":"json"}]',
'title' => 'Notifications Subscription List',
'changeSet' => [
['createdAt' => '2022-06-07T11:46:27.000Z', 'description' => 'Request parameters changed, Response parameters changed'],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:ListSubscriptions',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListSubscriptions'],
],
],
],
'ListTrendForSourceEvent' => [
'summary' => 'Query trend statistics for alert sources.',
'path' => '/events/querySourceEventTrend',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempIFJI1O'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'A short description of struct',
'properties' => [
'requestId' => ['description' => 'Request ID', 'type' => 'string', 'example' => 'xxxx', 'title' => '', 'required' => false],
'instanceId' => ['description' => 'Alert or event ID', 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => '', 'required' => false],
'instanceType' => ['description' => 'Type', 'type' => 'string', 'example' => 'INCIDENT', 'title' => '', 'required' => false],
'startTime' => ['description' => 'Start time', 'type' => 'string', 'example' => '2020-10-10 00:00:00', 'title' => '', 'required' => false],
'endTime' => ['description' => 'End time', 'type' => 'string', 'example' => '2020-10-10 23:59:59', 'title' => '', 'required' => false],
'timeUnit' => ['description' => 'Time unit in milliseconds', 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => '', 'required' => false],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Schema of Response',
'properties' => [
'requestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'xxxxx'],
'data' => [
'description' => 'Statistics list',
'items' => [
'description' => 'Statistics data',
'properties' => [
'maxSustainTime' => ['description' => 'Maximum sustain duration', 'type' => 'integer', 'format' => 'int64', 'example' => '10920312312312', 'title' => ''],
'convergenceRate' => ['description' => 'Convergence rate', 'type' => 'string', 'example' => '90.90%', 'title' => ''],
'sourceEventsStatMap' => ['description' => 'Statistics grouped by monitoring source', 'type' => 'object', 'title' => '', 'example' => '{ "Grafana": [ { "evenTime": "2021-11-15 14:29:59", "eventCount": 4, "monitorSourceName": "Grafana", "monitorSourceCounts": null, "sustainTime": 15646 }, { "evenTime": "2021-11-15 14:30:36", "eventCount": 7, "monitorSourceName": "Grafana", "monitorSourceCounts": null, "sustainTime": 52638 } ] }'],
'skipDay' => ['description' => 'Indicates whether the period spans multiple days', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
'unit' => ['description' => 'Time unit', 'type' => 'string', 'title' => '', 'example' => '1000'],
],
'type' => 'object',
'title' => '',
'example' => '',
],
'title' => '',
'type' => 'array',
'example' => '',
],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"xxxxx\\",\\n \\"data\\": [\\n {\\n \\"maxSustainTime\\": 10920312312312,\\n \\"convergenceRate\\": \\"90.90%\\",\\n \\"sourceEventsStatMap\\": {\\n \\"Grafana\\": [\\n {\\n \\"evenTime\\": \\"2021-11-15 14:29:59\\",\\n \\"eventCount\\": 4,\\n \\"monitorSourceName\\": \\"Grafana\\",\\n \\"monitorSourceCounts\\": null,\\n \\"sustainTime\\": 15646\\n },\\n {\\n \\"evenTime\\": \\"2021-11-15 14:30:36\\",\\n \\"eventCount\\": 7,\\n \\"monitorSourceName\\": \\"Grafana\\",\\n \\"monitorSourceCounts\\": null,\\n \\"sustainTime\\": 52638\\n }\\n ]\\n },\\n \\"skipDay\\": true,\\n \\"unit\\": \\"1000\\"\\n }\\n ]\\n}","type":"json"}]',
'title' => 'Query alerting source trend statistics ',
'requestParamsDescription' => '{"instanceId":78958441,"instanceType":"ALERT","clientToken":"82af9e74-6592-435d-aa06-345562cdd37c"}',
'responseParamsDescription' => '{'."\n"
.'"requestId": "gdgsdgsggsdg",'."\n"
.'"data": {'."\n"
.'"maxSustainTime": 3619249886,'."\n"
.'"convergenceRate": "98.57%",'."\n"
.'"unit": "hour",'."\n"
.'"startTime": "2021-11-29 20:03:15",'."\n"
.'"endTime": "2022-01-10 17:24:05",'."\n"
.'"skipDay": true,'."\n"
.'"sourceEventsStatMap": {'."\n"
.'"Grafana": \\['."\n"
.'{'."\n"
.'"evenTime": "2022-01-07 17:00:00",'."\n"
.'"eventCount": 0,'."\n"
.'"monitorSourceName": "Grafana"'."\n"
.'},'."\n"
.'{'."\n"
.'"evenTime": "2022-01-07 18:00:00",'."\n"
.'"eventCount": 0,'."\n"
.'"monitorSourceName": "Grafana"'."\n"
.'},'."\n"
.'{'."\n"
.'"evenTime": "2022-01-07 19:00:00",'."\n"
.'"eventCount": 0,'."\n"
.'"monitorSourceName": "Grafana"'."\n"
.'},'."\n"
.'{'."\n"
.'"evenTime": "2022-01-07 20:00:00",'."\n"
.'"eventCount": 0,'."\n"
.'"monitorSourceName": "Grafana"'."\n"
.'},'."\n"
.'{'."\n"
.'"evenTime": "2022-01-07 21:00:00",'."\n"
.'"eventCount": 0,'."\n"
.'"monitorSourceName": "Grafana"'."\n"
.'},'."\n"
.'{'."\n"
.'"evenTime": "2022-01-07 22:00:00",'."\n"
.'"eventCount": 0,'."\n"
.'"monitorSourceName": "Grafana"'."\n"
.'},'."\n"
.'{'."\n"
.'"evenTime": "2022-01-07 23:00:00",'."\n"
.'"eventCount": 0,'."\n"
.'"monitorSourceName": "Grafana"'."\n"
.'},'."\n"
.'{'."\n"
.'"evenTime": "2022-01-08 00:00:00",'."\n"
.'"eventCount": 0,'."\n"
.'"monitorSourceName": "Grafana"'."\n"
.'},'."\n"
.'{'."\n"
.'"evenTime": "2022-01-08 01:00:00",'."\n"
.'"eventCount": 0,'."\n"
.'"monitorSourceName": "Grafana"'."\n"
.'},'."\n"
.'{'."\n"
.'"evenTime": "2022-01-08 02:00:00",'."\n"
.'"eventCount": 0,'."\n"
.'"monitorSourceName": "Grafana"'."\n"
.'},'."\n"
.'{'."\n"
.'"evenTime": "2022-01-08 03:00:00",'."\n"
.'"eventCount": 0,'."\n"
.'"monitorSourceName": "Grafana"'."\n"
.'},'."\n"
.'{'."\n"
.'"evenTime": "2022-01-08 04:00:00",'."\n"
.'"eventCount": 0,'."\n"
.'"monitorSourceName": "Grafana"'."\n"
.'},'."\n"
.'{'."\n"
.'"evenTime": "2022-01-08 05:00:00",'."\n"
.'"eventCount": 0,'."\n"
.'"monitorSourceName": "Grafana"'."\n"
.'},'."\n"
.'{'."\n"
.'"evenTime": "2022-01-08 06:00:00",'."\n"
.'"eventCount": 0,'."\n"
.'"monitorSourceName": "Grafana"'."\n"
.'},'."\n"
.'{'."\n"
.'"evenTime": "2022-01-08 07:00:00",'."\n"
.'"eventCount": 0,'."\n"
.'"monitorSourceName": "Grafana"'."\n"
.'},'."\n"
.'{'."\n"
.'"evenTime": "2022-01-08 08:00:00",'."\n"
.'"eventCount": 0,'."\n"
.'"monitorSourceName": "Grafana"'."\n"
.'},'."\n"
.'{'."\n"
.'"evenTime": "2022-01-08 09:00:00",'."\n"
.'"eventCount": 0,'."\n"
.'"monitorSourceName": "Grafana"'."\n"
.'},'."\n"
.'{'."\n"
.'"evenTime": "2022-01-08 10:00:00",'."\n"
.'"eventCount": 0,'."\n"
.'"monitorSourceName": "Grafana"'."\n"
.'},'."\n"
.'{'."\n"
.'"evenTime": "2022-01-08 11:00:00",'."\n"
.'"eventCount": 0,'."\n"
.'"monitorSourceName": "Grafana"'."\n"
.'},'."\n"
.'{'."\n"
.'"evenTime": "2022-01-08 12:00:00",'."\n"
.'"eventCount": 0,'."\n"
.'"monitorSourceName": "Grafana"'."\n"
.'},'."\n"
.'{'."\n"
.'"evenTime": "2022-01-08 13:00:00",'."\n"
.'"eventCount": 0,'."\n"
.'"monitorSourceName": "Grafana"'."\n"
.'},'."\n"
.'{'."\n"
.'"evenTime": "2022-01-08 14:00:00",'."\n"
.'"eventCount": 0,'."\n"
.'"monitorSourceName": "Grafana"'."\n"
.'},'."\n"
.'{'."\n"
.'"evenTime": "2022-01-08 15:00:00",'."\n"
.'"eventCount": 0,'."\n"
.'"monitorSourceName": "Grafana"'."\n"
.'},'."\n"
.'{'."\n"
.'"evenTime": "2022-01-08 16:00:00",'."\n"
.'"eventCount": 0,'."\n"
.'"monitorSourceName": "Grafana"'."\n"
.'},'."\n"
.'{'."\n"
.'"evenTime": "2022-01-08 17:00:00",'."\n"
.'"eventCount": 0,'."\n"
.'"monitorSourceName": "Grafana"'."\n"
.'},'."\n"
.'{'."\n"
.'"evenTime": "2022-01-08 18:00:00",'."\n"
.'"eventCount": 0,'."\n"
.'"monitorSourceName": "Grafana"'."\n"
.'},'."\n"
.'{'."\n"
.'"evenTime": "2022-01-08 19:00:00",'."\n"
.'"eventCount": 0,'."\n"
.'"monitorSourceName": "Grafana"'."\n"
.'},'."\n"
.'{'."\n"
.'"evenTime": "2022-01-08 20:00:00",'."\n"
.'"eventCount": 0,'."\n"
.'"monitorSourceName": "Grafana"'."\n"
.'},'."\n"
.'{'."\n"
.'"evenTime": "2022-01-08 21:00:00",'."\n"
.'"eventCount": 0,'."\n"
.'"monitorSourceName": "Grafana"'."\n"
.'},'."\n"
.'{'."\n"
.'"evenTime": "2022-01-08 22:00:00",'."\n"
.'"eventCount": 0,'."\n"
.'"monitorSourceName": "Grafana"'."\n"
.'},'."\n"
.'{'."\n"
.'"evenTime": "2022-01-08 23:00:00",'."\n"
.'"eventCount": 0,'."\n"
.'"monitorSourceName": "Grafana"'."\n"
.'},'."\n"
.'{'."\n"
.'"evenTime": "2022-01-09 00:00:00",'."\n"
.'"eventCount": 0,'."\n"
.'"monitorSourceName": "Grafana"'."\n"
.'},'."\n"
.'{'."\n"
.'"evenTime": "2022-01-09 01:00:00",'."\n"
.'"eventCount": 0,'."\n"
.'"monitorSourceName": "Grafana"'."\n"
.'},'."\n"
.'{'."\n"
.'"evenTime": "2022-01-09 02:00:00",'."\n"
.'"eventCount": 0,'."\n"
.'"monitorSourceName": "Grafana"'."\n"
.'},'."\n"
.'{'."\n"
.'"evenTime": "2022-01-09 03:00:00",'."\n"
.'"eventCount": 0,'."\n"
.'"monitorSourceName": "Grafana"'."\n"
.'},'."\n"
.'{'."\n"
.'"evenTime": "2022-01-09 04:00:00",'."\n"
.'"eventCount": 0,'."\n"
.'"monitorSourceName": "Grafana"'."\n"
.'},'."\n"
.'{'."\n"
.'"evenTime": "2022-01-09 05:00:00",'."\n"
.'"eventCount": 0,'."\n"
.'"monitorSourceName": "Grafana"'."\n"
.'},'."\n"
.'{'."\n"
.'"evenTime": "2022-01-09 06:00:00",'."\n"
.'"eventCount": 0,'."\n"
.'"monitorSourceName": "Grafana"'."\n"
.'},'."\n"
.'{'."\n"
.'"evenTime": "2022-01-09 07:00:00",'."\n"
.'"eventCount": 0,'."\n"
.'"monitorSourceName": "Grafana"'."\n"
.'},'."\n"
.'{'."\n"
.'"evenTime": "2022-01-09 08:00:00",'."\n"
.'"eventCount": 0,'."\n"
.'"monitorSourceName": "Grafana"'."\n"
.'},'."\n"
.'{'."\n"
.'"evenTime": "2022-01-09 09:00:00",'."\n"
.'"eventCount": 0,'."\n"
.'"monitorSourceName": "Grafana"'."\n"
.'},'."\n"
.'{'."\n"
.'"evenTime": "2022-01-09 10:00:00",'."\n"
.'"eventCount": 0,'."\n"
.'"monitorSourceName": "Grafana"'."\n"
.'},'."\n"
.'{'."\n"
.'"evenTime": "2022-01-09 11:00:00",'."\n"
.'"eventCount": 0,'."\n"
.'"monitorSourceName": "Grafana"'."\n"
.'},'."\n"
.'{'."\n"
.'"evenTime": "2022-01-09 12:00:00",'."\n"
.'"eventCount": 0,'."\n"
.'"monitorSourceName": "Grafana"'."\n"
.'},'."\n"
.'{'."\n"
.'"evenTime": "2022-01-09 13:00:00",'."\n"
.'"eventCount": 0,'."\n"
.'"monitorSourceName": "Grafana"'."\n"
.'},'."\n"
.'{'."\n"
.'"evenTime": "2022-01-09 14:00:00",'."\n"
.'"eventCount": 0,'."\n"
.'"monitorSourceName": "Grafana"'."\n"
.'},'."\n"
.'{'."\n"
.'"evenTime": "2022-01-09 15:00:00",'."\n"
.'"eventCount": 0,'."\n"
.'"monitorSourceName": "Grafana"'."\n"
.'},'."\n"
.'{'."\n"
.'"evenTime": "2022-01-09 16:00:00",'."\n"
.'"eventCount": 0,'."\n"
.'"monitorSourceName": "Grafana"'."\n"
.'},'."\n"
.'{'."\n"
.'"evenTime": "2022-01-09 17:00:00",'."\n"
.'"eventCount": 0,'."\n"
.'"monitorSourceName": "Grafana"'."\n"
.'},'."\n"
.'{'."\n"
.'"evenTime": "2022-01-09 18:00:00",'."\n"
.'"eventCount": 0,'."\n"
.'"monitorSourceName": "Grafana"'."\n"
.'},'."\n"
.'{'."\n"
.'"evenTime": "2022-01-09 19:00:00",'."\n"
.'"eventCount": 0,'."\n"
.'"monitorSourceName": "Grafana"'."\n"
.'},'."\n"
.'{'."\n"
.'"evenTime": "2022-01-09 20:00:00",'."\n"
.'"eventCount": 0,'."\n"
.'"monitorSourceName": "Grafana"'."\n"
.'},'."\n"
.'{'."\n"
.'"evenTime": "2022-01-09 21:00:00",'."\n"
.'"eventCount": 0,'."\n"
.'"monitorSourceName": "Grafana"'."\n"
.'},'."\n"
.'{'."\n"
.'"evenTime": "2022-01-09 22:00:00",'."\n"
.'"eventCount": 0,'."\n"
.'"monitorSourceName": "Grafana"'."\n"
.'},'."\n"
.'{'."\n"
.'"evenTime": "2022-01-09 23:00:00",'."\n"
.'"eventCount": 0,'."\n"
.'"monitorSourceName": "Grafana"'."\n"
.'},'."\n"
.'{'."\n"
.'"evenTime": "2022-01-10 00:00:00",'."\n"
.'"eventCount": 0,'."\n"
.'"monitorSourceName": "Grafana"'."\n"
.'},'."\n"
.'{'."\n"
.'"evenTime": "2022-01-10 01:00:00",'."\n"
.'"eventCount": 0,'."\n"
.'"monitorSourceName": "Grafana"'."\n"
.'},'."\n"
.'{'."\n"
.'"evenTime": "2022-01-10 02:00:00",'."\n"
.'"eventCount": 0,'."\n"
.'"monitorSourceName": "Grafana"'."\n"
.'},'."\n"
.'{'."\n"
.'"evenTime": "2022-01-10 03:00:00",'."\n"
.'"eventCount": 0,'."\n"
.'"monitorSourceName": "Grafana"'."\n"
.'},'."\n"
.'{'."\n"
.'"evenTime": "2022-01-10 04:00:00",'."\n"
.'"eventCount": 0,'."\n"
.'"monitorSourceName": "Grafana"'."\n"
.'},'."\n"
.'{'."\n"
.'"evenTime": "2022-01-10 05:00:00",'."\n"
.'"eventCount": 0,'."\n"
.'"monitorSourceName": "Grafana"'."\n"
.'},'."\n"
.'{'."\n"
.'"evenTime": "2022-01-10 06:00:00",'."\n"
.'"eventCount": 0,'."\n"
.'"monitorSourceName": "Grafana"'."\n"
.'},'."\n"
.'{'."\n"
.'"evenTime": "2022-01-10 07:00:00",'."\n"
.'"eventCount": 0,'."\n"
.'"monitorSourceName": "Grafana"'."\n"
.'},'."\n"
.'{'."\n"
.'"evenTime": "2022-01-10 08:00:00",'."\n"
.'"eventCount": 0,'."\n"
.'"monitorSourceName": "Grafana"'."\n"
.'},'."\n"
.'{'."\n"
.'"evenTime": "2022-01-10 09:00:00",'."\n"
.'"eventCount": 0,'."\n"
.'"monitorSourceName": "Grafana"'."\n"
.'},'."\n"
.'{'."\n"
.'"evenTime": "2022-01-10 10:00:00",'."\n"
.'"eventCount": 0,'."\n"
.'"monitorSourceName": "Grafana"'."\n"
.'},'."\n"
.'{'."\n"
.'"evenTime": "2022-01-10 11:00:00",'."\n"
.'"eventCount": 0,'."\n"
.'"monitorSourceName": "Grafana"'."\n"
.'},'."\n"
.'{'."\n"
.'"evenTime": "2022-01-10 12:00:00",'."\n"
.'"eventCount": 0,'."\n"
.'"monitorSourceName": "Grafana"'."\n"
.'},'."\n"
.'{'."\n"
.'"evenTime": "2022-01-10 13:00:00",'."\n"
.'"eventCount": 0,'."\n"
.'"monitorSourceName": "Grafana"'."\n"
.'},'."\n"
.'{'."\n"
.'"evenTime": "2022-01-10 14:00:00",'."\n"
.'"eventCount": 0,'."\n"
.'"monitorSourceName": "Grafana"'."\n"
.'},'."\n"
.'{'."\n"
.'"evenTime": "2022-01-10 15:00:00",'."\n"
.'"eventCount": 0,'."\n"
.'"monitorSourceName": "Grafana"'."\n"
.'},'."\n"
.'{'."\n"
.'"evenTime": "2022-01-10 16:00:00",'."\n"
.'"eventCount": 0,'."\n"
.'"monitorSourceName": "Grafana"'."\n"
.'},'."\n"
.'{'."\n"
.'"evenTime": "2022-01-10 17:00:00",'."\n"
.'"eventCount": 0,'."\n"
.'"monitorSourceName": "Grafana"'."\n"
.'}'."\n"
.']'."\n"
.'}'."\n"
.'}'."\n"
.'}',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:ListTrendForSourceEvent',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [],
],
],
'ListUserSerivceGroups' => [
'summary' => 'User preview',
'path' => '/user/preview/detail',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempCICFVA'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'Request body.',
'properties' => [
'userId' => ['description' => 'User ID.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '123', 'title' => ''],
'clientToken' => ['title' => 'clientToken', 'description' => 'Idempotency token.', 'type' => 'string', 'required' => false, 'example' => '2b63cdef-7ac3-4892-a76d-0f3389ef729f'],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Response structure.',
'properties' => [
'requestId' => ['title' => 'Id of the request', 'description' => 'Request ID.', 'type' => 'string', 'example' => '2b63cdef-7ac3-4892-a76d-0f3389ef7291'],
'data' => [
'description' => 'Response data.',
'properties' => [
'ramId' => ['description' => 'RAM user ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '321', 'title' => ''],
'userId' => ['description' => 'User ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '321', 'title' => ''],
'username' => ['description' => 'Nickname.', 'type' => 'string', 'example' => '马先生', 'title' => ''],
'phone' => ['description' => 'Phone number.', 'type' => 'string', 'example' => '1390000****', 'title' => ''],
'email' => ['description' => 'Email address.', 'type' => 'string', 'example' => '12121****@163.com', 'title' => ''],
'serviceGroups' => [
'description' => 'Service groups that the user belongs to.',
'items' => [
'description' => 'Service group.',
'properties' => [
'serviceGroupId' => ['description' => 'Service group ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '123', 'title' => ''],
'serviceGroupName' => ['description' => 'Service group name.', 'type' => 'string', 'example' => '测试组', 'title' => ''],
'serviceGroupDescription' => ['description' => 'Service group description.', 'type' => 'string', 'example' => '这是一个服务组描述', 'title' => ''],
],
'type' => 'object',
'title' => '',
'example' => '',
],
'title' => '',
'type' => 'array',
'example' => '',
],
],
'type' => 'object',
'title' => '',
'example' => '',
],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'errorCodes' => [
404 => [
['errorCode' => 'UserTypeNotExisted', 'errorMessage' => 'The user type does not exist.', 'description' => 'User type is not existed'],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"2b63cdef-7ac3-4892-a76d-0f3389ef7291\\",\\n \\"data\\": {\\n \\"ramId\\": 321,\\n \\"userId\\": 321,\\n \\"username\\": \\"马先生\\",\\n \\"phone\\": \\"1390000****\\",\\n \\"email\\": \\"12121****@163.com\\",\\n \\"serviceGroups\\": [\\n {\\n \\"serviceGroupId\\": 123,\\n \\"serviceGroupName\\": \\"测试组\\",\\n \\"serviceGroupDescription\\": \\"这是一个服务组描述\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
'title' => 'User Preview',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:ListUserSerivceGroups',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListUserSerivceGroups'],
],
],
],
'ListUsers' => [
'summary' => 'User List.',
'path' => '/user/list',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempT8ZOYV'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'Request body.',
'properties' => [
'username' => ['description' => 'User name.', 'type' => 'string', 'example' => '张先生', 'title' => '', 'required' => false],
'phone' => ['description' => 'Mobile phone number.', 'type' => 'string', 'example' => '1887879****', 'title' => '', 'required' => false],
'ramId' => ['title' => 'ramID', 'description' => 'RAM user ID.', 'type' => 'string', 'example' => '1344383', 'required' => false],
'scene' => ['description' => '- ALL\\_USERS: All users.'."\n"
."\n"
.'- USER\\_LIST: User list.', 'type' => 'integer', 'format' => 'int64', 'example' => 'USER_LIST', 'title' => '', 'required' => false],
'clientToken' => ['title' => 'clientToken', 'description' => 'Idempotency token.', 'type' => 'string', 'example' => 'c26f36de-1ec8-496a-a828-880676c5ef81', 'required' => false],
'pageNumber' => ['description' => 'Page number.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => '', 'required' => false],
'pageSize' => ['description' => 'Page size.', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => '', 'required' => false],
'synergyChannel' => ['description' => 'Mobile app channel.', 'type' => 'string', 'example' => 'DINGDING', 'title' => '', 'required' => false],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Response structure.',
'properties' => [
'requestId' => ['title' => 'id of the request', 'description' => 'Request ID.', 'type' => 'string', 'example' => 'c26f36de-1ec8-496a-a828-880676c5ef81'],
'data' => [
'description' => 'Returned results.',
'items' => [
'description' => 'User.',
'properties' => [
'userId' => ['description' => 'User ID.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1234'],
'ramId' => ['description' => 'RAM user ID.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '53624523'],
'username' => ['description' => 'Username.', 'type' => 'string', 'title' => '', 'example' => '张先生'],
'phone' => ['description' => 'Mobile phone number.', 'type' => 'string', 'title' => '', 'example' => '1887879****'],
'email' => ['description' => 'Mailbox.', 'type' => 'string', 'title' => '', 'example' => '2345****@qq.com'],
'isEditableUser' => ['description' => 'Whether the user is editable.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => 'true'],
'accountType' => ['description' => 'RAM account type:'."\n"
."\n"
.'- 0: Alibaba Cloud account.'."\n"
."\n"
.'- 1: RAM user.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '1'],
'appAccount' => ['description' => 'Application account.', 'type' => 'string', 'example' => '23456tre', 'title' => ''],
'synergyChannel' => ['description' => 'Mobile app collaboration channel.', 'type' => 'string', 'example' => 'DINGDING', 'title' => ''],
'isRelated' => ['description' => 'Whether associated:'."\n"
."\n"
.'- RELATED: Associated.'."\n"
."\n"
.'- NOT\\_RELATED: Not associated.', 'type' => 'string', 'example' => 'RELATED', 'title' => ''],
'isOperation' => ['title' => 'Operable (delete, disassociate): 1 for yes, 0 for no', 'description' => 'Whether the user can be operated on (for example, deleted or disassociated):'."\n"
."\n"
.'- 1: Yes.'."\n"
."\n"
.'- 0: No.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'isRam' => ['title' => 'Primary account: 1 for yes, 0 for no', 'description' => 'Whether the user is an Alibaba Cloud account:'."\n"
."\n"
.'- 1: Yes.'."\n"
."\n"
.'- 0: No.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'roleIdList' => [
'description' => 'Role ID list.',
'title' => 'Role ID List',
'type' => 'array',
'items' => ['description' => 'List of role IDs.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => ''],
'example' => '',
],
'roleNameList' => [
'description' => 'Role name list.',
'title' => 'Role Name List',
'type' => 'array',
'items' => ['description' => 'List of role names.', 'type' => 'string', 'title' => '', 'example' => ''],
'example' => '',
],
'isActive' => ['title' => 'Account Activation Status (1: Activated, 0: Not Activated)', 'description' => 'Whether the account is activated:'."\n"
."\n"
.'- 1: Activated.'."\n"
."\n"
.'- 0: Not activated.', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
'gmtCreate' => ['description' => 'Creation time.', 'type' => 'string', 'title' => '', 'example' => ''],
'gmtActive' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
],
'type' => 'object',
'title' => '',
'example' => '',
],
'title' => 'data',
'type' => 'array',
'example' => '',
],
'totalCount' => ['description' => 'Total count.', 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'title' => ''],
'pageNumber' => ['description' => 'Page number.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''],
'pageSize' => ['description' => 'Page size.', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"c26f36de-1ec8-496a-a828-880676c5ef81\\",\\n \\"data\\": [\\n {\\n \\"userId\\": 1234,\\n \\"ramId\\": 53624523,\\n \\"username\\": \\"张先生\\",\\n \\"phone\\": \\"1887879****\\",\\n \\"email\\": \\"2345****@qq.com\\",\\n \\"isEditableUser\\": 0,\\n \\"accountType\\": 1,\\n \\"appAccount\\": \\"23456tre\\",\\n \\"synergyChannel\\": \\"DINGDING\\",\\n \\"isRelated\\": \\"RELATED\\",\\n \\"isOperation\\": 1,\\n \\"isRam\\": 1,\\n \\"roleIdList\\": [\\n 0\\n ],\\n \\"roleNameList\\": [\\n \\"\\"\\n ],\\n \\"isActive\\": 1,\\n \\"gmtCreate\\": \\"\\",\\n \\"gmtActive\\": \\"\\"\\n }\\n ],\\n \\"totalCount\\": 100,\\n \\"pageNumber\\": 1,\\n \\"pageSize\\": 10\\n}","type":"json"}]',
'title' => 'User List ',
'changeSet' => [
['createdAt' => '2024-08-15T11:46:18.000Z', 'description' => 'Response parameters changed'],
['createdAt' => '2023-04-13T12:01:54.000Z', 'description' => 'Response parameters changed'],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:ListUsers',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListUsers'],
],
],
],
'PushMonitor' => [
'summary' => 'Pushes and stores business monitoring data.',
'path' => '/api/monitor/push/{apiKey}',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'Anonymous' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempW81V8D'],
],
'parameters' => [
[
'name' => 'apiKey',
'in' => 'path',
'schema' => ['description' => 'API key for integration.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'dfb2e51a58e64152a0eef7a232308006'],
],
[
'name' => 'body',
'in' => 'body',
'schema' => ['description' => 'Data to push.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '2022-12-16 09:52:34.164 ConsumeMessageThread_13 INFO LOGGER_SPM 订单创建|Y|10'],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Response object.',
'properties' => [
'data' => ['description' => 'Response data. Returns null on success.', 'type' => 'any', 'example' => 'null', 'title' => ''],
'requestId' => ['description' => 'Unique ID for the request.', 'type' => 'string', 'example' => '5A30D240-1821-0246-B580-AB1468657AC2', 'title' => ''],
],
'title' => '{@link Result}',
'type' => 'object',
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'InvalidTag.Mismatch', 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.', 'description' => ''],
['errorCode' => 'InvalidTagCount', 'errorMessage' => 'The specified tags are beyond the permitted range.', 'description' => ''],
],
404 => [
['errorCode' => 'InvalidInstanceChargeType.NotFound', 'errorMessage' => 'The InstanceChargeType does not exist in our records', 'description' => ''],
['errorCode' => 'InvalidInternetChargeType.ValueNotSupported', 'errorMessage' => 'The specified InternetChargeType is not valid', 'description' => ''],
],
],
'staticInfo' => [],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": \\"null\\",\\n \\"requestId\\": \\"5A30D240-1821-0246-B580-AB1468657AC2\\"\\n}","type":"json"}]',
'title' => 'API Integration ',
'extraInfo' => 'Publish only on the China site',
'changeSet' => [],
'ramActions' => [],
'flowControl' => [
'flowControlList' => [],
],
],
'RecoverProblem' => [
'summary' => 'Fault recovery.',
'path' => '/problem/recovery',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempZB7ZAW'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'A short description of struct',
'properties' => [
'problemId' => ['description' => 'Problem ID.', 'example' => '123', 'format' => 'int64', 'required' => false, 'title' => '', 'type' => 'integer'],
'recoveryTime' => ['description' => 'Recovery time.', 'example' => '2020-02-01 00:00:00', 'required' => false, 'title' => '', 'type' => 'string'],
'problemNotifyType' => ['description' => 'Notification type'."\n"
."\n"
.'- PROBLEM_NOTIFY: Problem notification.'."\n"
.'- PROBLEM_UPDATE: Problem update.'."\n"
.'- PROBLEM_UPGRADE: Problem upgrade.'."\n"
.'- PROBLEM_DEGRADE: Problem downgrade.'."\n"
.'- PROBLEM_RECOVER: Problem recovery.'."\n"
.'- PROBLEM_REISSUE: Problem reissue.'."\n"
.'- PROBLEM_CANCEL: Problem cancellation.', 'example' => 'PROBLEM_UPDATE', 'required' => false, 'title' => '', 'type' => 'string'],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Schema of Response',
'properties' => [
'requestId' => ['description' => 'Id of the request', 'example' => 'EBC39DEF-C95B-46F8-9AE3-204F0B0A706D', 'title' => 'Id of the request', 'type' => 'string'],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'ProblemStatusError', 'errorMessage' => 'The problem status is abnormal.', 'description' => ''],
],
404 => [
['errorCode' => 'ProblemNotExisted', 'errorMessage' => 'The problem does not exist.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"EBC39DEF-C95B-46F8-9AE3-204F0B0A706D\\"\\n}","type":"json"}]',
'title' => 'Fault recovery',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'gemp:RecoverProblem',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RecoverProblem'],
],
],
],
'RefreshIntegrationConfigKey' => [
'summary' => 'Purge the Integration key. ',
'path' => '/integrationConfig/refreshKey',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempBHVB81'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'A short description of struct',
'properties' => [
'integrationConfigId' => ['description' => 'Integration configuration ID. ', 'example' => '102', 'format' => 'int64', 'required' => false, 'type' => 'integer', 'title' => ''],
'clientToken' => ['description' => 'Idempotency identity. ', 'example' => '601FA6A2-AC5C-4B59-BE11-378F887A6A11', 'required' => false, 'title' => '', 'type' => 'string'],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Schema of Response',
'properties' => [
'requestId' => ['description' => 'Id of the request', 'example' => '601FA6A2-AC5C-4B59-BE11-378F887A6A11', 'title' => 'Id of the request', 'type' => 'string'],
'data' => [
'description' => 'data',
'properties' => [
'key' => ['description' => 'Integration key. ', 'example' => '859FA6A2-AC5C-4B09-BE23-986F887H6A232', 'title' => '', 'type' => 'string'],
],
'type' => 'object',
'title' => '',
'example' => '',
],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'errorCodes' => [
403 => [
['errorCode' => 'IntegationConfigNotDisable', 'errorMessage' => 'The specified integration config is not disabled.', 'description' => ''],
],
[
['errorCode' => 'IntegationConfigNotExists', 'errorMessage' => 'The specified integration config does not exist.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"601FA6A2-AC5C-4B59-BE11-378F887A6A11\\",\\n \\"data\\": {\\n \\"key\\": \\"859FA6A2-AC5C-4B09-BE23-986F887H6A232\\"\\n }\\n}","type":"json"}]',
'title' => 'Purge Integration key ',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'none',
'ramAction' => [
'action' => 'gemp:RefreshIntegrationConfigKey',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RefreshIntegrationConfigKey'],
],
],
],
'RemoveIntegrationConfig' => [
'summary' => 'Removes an integration configuration.',
'path' => '/integrationConfig/remove',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempSLACC7'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'title' => 'A short description of struct',
'description' => 'The request body.',
'type' => 'object',
'properties' => [
'integrationConfigId' => ['description' => 'The ID of the integration configuration.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '103', 'title' => ''],
'clientToken' => ['description' => 'The idempotency token.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'FD200FAE-E98F-496E-BFE6-4CE61E59A2E9'],
],
'required' => false,
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => 'The response structure.',
'type' => 'object',
'properties' => [
'requestId' => ['title' => 'requestId', 'description' => 'The request ID.', 'type' => 'string', 'example' => '10REQUES-AC5C-4B59-BE11-378F117A6A88'],
],
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'IntegrationConfigExistsRouteRule', 'errorMessage' => 'integration config exists routeRule.', 'description' => ''],
],
403 => [
['errorCode' => 'IntegationConfigNotIntegrated', 'errorMessage' => 'The specified integration config is not integrated.', 'description' => ''],
['errorCode' => 'IntegationConfigAlreadyDisable', 'errorMessage' => 'The specified integration config is already disabled.', 'description' => ''],
],
[
['errorCode' => 'IntegationConfigNotExists', 'errorMessage' => 'The specified integration config does not exist.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"10REQUES-AC5C-4B59-BE11-378F117A6A88\\"\\n}","type":"json"}]',
'title' => 'Disassociate integration configuration ',
'changeSet' => [
['createdAt' => '2022-06-07T11:35:47.000Z', 'description' => 'OpenAPI offline'],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'gemp:RemoveIntegrationConfig',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RemoveIntegrationConfig'],
],
],
],
'RemoveProblemServiceGroup' => [
'summary' => 'You can remove the Incident Response Collaboration Group.',
'path' => '/problem/removeServiceGroup',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgemp1XQ9JR'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'Request body.',
'properties' => [
'problemId' => ['description' => 'Problem ID.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'required' => false, 'example' => '13123'],
'serviceGroupIds' => [
'description' => 'Response groups.',
'items' => ['description' => 'Emergency coordination group ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '应急协同组ID', 'required' => false, 'title' => ''],
'required' => false,
'title' => '',
'type' => 'array',
'example' => '',
],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Response structure.',
'properties' => [
'requestId' => ['title' => 'Id of the request', 'description' => 'Request ID.', 'type' => 'string', 'example' => '5AD6E6BC-2582-4E0E-832D-52CB1B922253'],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"5AD6E6BC-2582-4E0E-832D-52CB1B922253\\"\\n}","type":"json"}]',
'title' => 'Remove the fault emergency collaboration group',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'gemp:RemoveProblemServiceGroup',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RemoveProblemServiceGroup'],
],
],
],
'ReplayProblem' => [
'summary' => 'Incident postmortem.',
'path' => '/problem/replay',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempZB7ZAW'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'A short description of struct',
'properties' => [
'problemId' => ['description' => 'Incident ID', 'example' => '123', 'format' => 'int64', 'required' => false, 'title' => '', 'type' => 'integer'],
'replayDutyUserId' => ['description' => 'Owner ID of the postmortem', 'example' => '3123', 'format' => 'int64', 'required' => false, 'title' => '', 'type' => 'integer'],
'clientToken' => ['description' => 'Idempotency token', 'example' => '4361a0e1-6747-4834-96ce-0c4840fd3212', 'required' => false, 'title' => '', 'type' => 'string'],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Schema of Response',
'properties' => [
'requestId' => ['description' => 'Id of the request', 'example' => 'B81E84B5-8FD1-45F3-969A-B5067AADCFFF', 'title' => 'Id of the request', 'type' => 'string'],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'ProblemStatusError', 'errorMessage' => 'The problem status is abnormal.', 'description' => ''],
],
404 => [
['errorCode' => 'ProblemNotExisted', 'errorMessage' => 'The problem does not exist.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"B81E84B5-8FD1-45F3-969A-B5067AADCFFF\\"\\n}","type":"json"}]',
'title' => 'Incident postmortem',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'gemp:ReplayProblem',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ReplayProblem'],
],
],
],
'RespondIncident' => [
'summary' => 'Responds to an incident.',
'path' => '/incident/response',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempHBPHMV'],
],
'parameters' => [
[
'name' => 'Body',
'in' => 'body',
'style' => 'flat',
'schema' => [
'description' => 'Request body.',
'properties' => [
'incidentIds' => [
'description' => 'Array of incident IDs.',
'items' => ['description' => 'Incident ID.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '12312', 'title' => ''],
'required' => false,
'title' => '',
'type' => 'array',
'example' => '',
],
'clientToken' => ['description' => 'Idempotency check.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'FD200FAE-E98F-496E-BFE6-4CE61E59A221'],
],
'required' => true,
'title' => '',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Response structure.',
'properties' => [
'requestId' => ['title' => 'requestId', 'description' => 'Request ID.', 'type' => 'string', 'example' => '062E6568-E505-49D6-8DD0-8F11283EB0AB'],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'IncidentStatusInvalid', 'errorMessage' => 'The incident status is invalid.', 'description' => ''],
['errorCode' => 'IncidentUpdateInvalid', 'errorMessage' => 'The incident update is invalid.', 'description' => ''],
],
404 => [
['errorCode' => 'IncidentNotExtisted', 'errorMessage' => 'The incident does not exist.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"062E6568-E505-49D6-8DD0-8F11283EB0AB\\"\\n}","type":"json"}]',
'title' => 'Management event response',
'changeSet' => [
['createdAt' => '2022-08-10T09:29:54.000Z', 'description' => 'Request parameters changed'],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'gemp:RespondIncident',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RespondIncident'],
],
],
],
'RevokeProblemRecovery' => [
'summary' => 'Fault revocation and recovery.',
'path' => '/problem/revoke',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempLC8226'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'A short description of struct',
'properties' => [
'problemId' => ['description' => 'Fault ID.', 'example' => '1231', 'format' => 'int64', 'required' => false, 'title' => '', 'type' => 'integer'],
'problemNotifyType' => ['description' => 'Notification type:'."\n"
."\n"
.'- PROBLEM_NOTIFY: Fault notification.'."\n"
.'- PROBLEM_UPDATE: Fault update.'."\n"
.'- PROBLEM_UPGRADE: Fault upgrade.'."\n"
.'- PROBLEM_DEGRADE: Fault downgrade.'."\n"
.'- PROBLEM_RECOVER: Fault recovery.'."\n"
.'- PROBLEM_REISSUE: Fault reissue.'."\n"
.'- PROBLEM_CANCEL: Fault cancellation.', 'example' => 'PROBLEM_UPGRADE', 'required' => false, 'title' => '', 'type' => 'string'],
'clientToken' => ['description' => 'Idempotency validation.', 'example' => 'FD200FAE-E98F-496E-BFE6-4CE61E59A2EF', 'required' => false, 'title' => '', 'type' => 'string'],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Schema of Response',
'properties' => [
'requestId' => ['description' => 'Id of the request', 'example' => 'FD200FAE-E98F-496E-BFE6-4CE61E59A2E9', 'title' => 'Id of the request', 'type' => 'string'],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'ProblemStatusError', 'errorMessage' => 'The problem status is abnormal.', 'description' => ''],
],
404 => [
['errorCode' => 'ProblemNotExisted', 'errorMessage' => 'The problem does not exist.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"FD200FAE-E98F-496E-BFE6-4CE61E59A2E9\\"\\n}","type":"json"}]',
'title' => 'Fault revocation and recovery',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'gemp:RevokeProblemRecovery',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RevokeProblemRecovery'],
],
],
],
'UnbindUser' => [
'summary' => 'Unbinds a user.',
'path' => '/user/unbind',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgemp1Z9RF2'],
],
'parameters' => [],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response ',
'type' => 'object',
'properties' => [
'requestId' => ['title' => 'Id of the request ', 'type' => 'string', 'description' => '', 'example' => ''],
],
'description' => '',
'example' => '',
],
],
],
'errorCodes' => [
401 => [
['errorCode' => 'UnbindUserFail', 'errorMessage' => 'The specified user does not exist.', 'description' => ''],
],
[
['errorCode' => 'UnbindUserFail', 'errorMessage' => 'Not find userId.', 'description' => ''],
],
[
['errorCode' => 'UnbindUserFail', 'errorMessage' => 'Mobile app not opened.', 'description' => ''],
],
],
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'gemp:UnbindUser',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"\\"\\n}","type":"json"}]',
'title' => 'UnbindUser',
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UnbindUser'],
],
],
],
'UpdateEscalationPlan' => [
'summary' => 'Update the escalation plan.',
'path' => '/escalationPlan/update',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempGUN0ZL'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'A short description of struct',
'properties' => [
'escalationPlanId' => ['description' => 'The ID of the escalation plan.', 'example' => '433', 'format' => 'int64', 'required' => true, 'title' => '', 'type' => 'integer'],
'escalationPlanName' => ['description' => 'The name of the escalation plan.', 'example' => '服务1升级', 'required' => false, 'title' => '', 'type' => 'string'],
'escalationPlanDescription' => ['description' => 'Escalation plan description.', 'example' => '升级版本', 'required' => false, 'title' => '', 'type' => 'string'],
'escalationPlanScopeObjects' => [
'description' => 'List of associated scopes (services).',
'items' => [
'description' => 'object',
'properties' => [
'id' => ['description' => 'Primary key.', 'example' => '87', 'format' => 'int64', 'required' => true, 'title' => '', 'type' => 'integer'],
'scopeObjectId' => ['description' => 'Scope object ID.', 'example' => '234', 'format' => 'int64', 'required' => true, 'title' => '', 'type' => 'integer'],
'scope' => ['description' => 'Scope object type.', 'example' => 'SERVICE', 'required' => false, 'title' => '', 'type' => 'string'],
],
'required' => false,
'type' => 'object',
'title' => '',
'example' => '',
],
'required' => false,
'title' => '',
'type' => 'array',
'example' => '',
],
'escalationPlanRules' => [
'description' => 'The rules of the escalation plan.',
'items' => [
'description' => 'object',
'properties' => [
'id' => ['description' => 'Primary key. ', 'example' => '872', 'format' => 'int64', 'required' => false, 'title' => '', 'type' => 'integer'],
'escalationPlanType' => ['description' => '- UN_ACKNOWLEDGE: No response. '."\n"
.'- UN_FINISH: Not completed (deprecated).', 'example' => 'UN_ACKNOWLEDGE', 'required' => false, 'title' => '', 'type' => 'string'],
'escalationPlanConditions' => [
'description' => 'The list of escalation plan conditions.',
'items' => [
'description' => 'object',
'properties' => [
'level' => ['description' => 'P1 P2 P3 P4', 'example' => 'P1', 'required' => false, 'title' => 'P1 P2 P3 P4', 'type' => 'string'],
'effection' => ['description' => 'LOW HIGH', 'example' => 'LOW', 'required' => false, 'title' => 'LOW HIGH', 'type' => 'string'],
],
'required' => false,
'type' => 'object',
'title' => '',
'example' => '',
],
'required' => false,
'title' => '',
'type' => 'array',
'example' => '',
],
'escalationPlanStrategies' => [
'description' => 'List of escalation policies. ',
'items' => [
'description' => 'object',
'properties' => [
'noticeTime' => ['description' => 'Notification time.', 'example' => '30', 'format' => 'int64', 'required' => false, 'title' => '', 'type' => 'integer'],
'noticeObjects' => [
'description' => 'Notification object ID. ',
'items' => ['description' => 'Notification object ID.', 'example' => '678', 'format' => 'int64', 'required' => false, 'type' => 'integer', 'title' => ''],
'required' => false,
'title' => '',
'type' => 'array',
'example' => '',
],
'noticeChannels' => [
'description' => 'Notification Channels.',
'items' => ['description' => 'List of notification channels.', 'example' => 'SMS', 'required' => false, 'type' => 'string', 'title' => ''],
'required' => false,
'title' => '',
'type' => 'array',
'example' => '',
],
'serviceGroupIds' => [
'description' => 'Service group IDs.',
'items' => ['description' => 'Service group IDs.', 'example' => '232', 'format' => 'int64', 'required' => false, 'type' => 'integer', 'title' => ''],
'required' => false,
'title' => '',
'type' => 'array',
'example' => '',
],
'enableWebhook' => ['description' => 'Indicates whether webhook is enabled.', 'example' => 'true', 'required' => false, 'title' => '', 'type' => 'boolean'],
'escalationPlanType' => ['description' => '- UN_ACKNOWLEDGE: No response. '."\n"
.'- UN_FINISH: Not completed.', 'title' => 'UN_ACKNOWLEDGE No Response UN_FINISH Not Completed', 'type' => 'string', 'example' => 'UN_ACKNOWLEDGE', 'required' => false],
'noticeRoleList' => [
'description' => 'List of role IDs.',
'title' => 'Notification Role List',
'type' => 'array',
'items' => ['description' => 'List of role IDs.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '124wqqqqddf', 'title' => ''],
'required' => false,
'example' => '',
],
],
'required' => false,
'type' => 'object',
'title' => '',
'example' => '',
],
'required' => false,
'title' => '',
'type' => 'array',
'example' => '',
],
],
'required' => false,
'type' => 'object',
'title' => '',
'example' => '',
],
'required' => false,
'title' => '',
'type' => 'array',
'example' => '',
],
'clientToken' => ['description' => 'clientToken', 'example' => '6b404f14-77d1-4b53-a1a1-30a58bbcfc57', 'required' => false, 'title' => 'clientToken', 'type' => 'string'],
'isGlobal' => ['description' => 'Indicates whether the policy is global.', 'title' => 'Is Global Policy', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Schema of Response',
'properties' => [
'requestId' => ['description' => 'Id of the request', 'example' => 'A5A1FEAE-9C47-011C-9C73-A376BC2REQUEST', 'title' => 'Id of the request', 'type' => 'string'],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'EscalationPlanRuleNull', 'errorMessage' => 'Escalation plan rule can not be null.', 'description' => ''],
['errorCode' => 'EscalationPlanServiceNull', 'errorMessage' => 'Escalation plan service can not be nulll', 'description' => ''],
['errorCode' => 'EscalationPlanAlreadyExisted', 'errorMessage' => 'The escalation plan already exists.', 'description' => ''],
['errorCode' => 'EscalationPlanServiceAleardyRelated', 'errorMessage' => 'The specified service is already related.', 'description' => ''],
],
404 => [
['errorCode' => 'EscalationPlanNotExists', 'errorMessage' => 'The specified escalation plan does not exist.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"A5A1FEAE-9C47-011C-9C73-A376BC2REQUEST\\"\\n}","type":"json"}]',
'title' => 'Update Escalation Plan',
'changeSet' => [
['createdAt' => '2023-04-13T12:01:53.000Z', 'description' => 'Request parameters changed'],
['createdAt' => '2023-03-03T03:18:03.000Z', 'description' => 'Request parameters changed'],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'gemp:UpdateEscalationPlan',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateEscalationPlan'],
],
],
],
'UpdateIncident' => [
'summary' => 'Updates an incident.',
'path' => '/incident/update',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempKAIUZH'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'Request body.',
'properties' => [
'incidentId' => ['description' => 'Incident ID.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '12312', 'title' => ''],
'incidentLevel' => ['description' => 'Incident level, from highest to lowest:'."\n"
."\n"
.'- P1'."\n"
."\n"
.'- P2'."\n"
."\n"
.'- P3'."\n"
."\n"
.'- P4', 'type' => 'string', 'example' => 'P1', 'title' => '', 'required' => false],
'effect' => ['description' => 'Impact level:'."\n"
."\n"
.'- HIGH: High impact.'."\n"
."\n"
.'- LOW: Low impact.', 'type' => 'string', 'example' => 'LOW', 'title' => '', 'required' => false],
'incidentTitle' => ['description' => 'Incident title.', 'type' => 'string', 'example' => '事件标题', 'title' => '', 'required' => false],
'clientToken' => ['description' => 'Idempotency token.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'FD200FAE-E98F-496E-BFE6-4CE61E59A123'],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Response structure.',
'properties' => [
'requestId' => ['title' => 'Id of the request', 'description' => 'Request ID.', 'type' => 'string', 'example' => 'FD200FAE-E98F-496E-BFE6-4CE61E59A2E9'],
'data' => [
'description' => 'Returned data.',
'properties' => [
'incidentId' => ['description' => 'Incident ID.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '2312'],
],
'type' => 'object',
'title' => '',
'example' => '',
],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'IncidentUpdateInvalid', 'errorMessage' => 'The incident update is invalid.', 'description' => ''],
['errorCode' => 'IncidentStatusInvalid', 'errorMessage' => 'The incident status is invalid.', 'description' => ''],
],
404 => [
['errorCode' => 'IncidentNotExtisted', 'errorMessage' => 'The incident does not exist.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"FD200FAE-E98F-496E-BFE6-4CE61E59A2E9\\",\\n \\"data\\": {\\n \\"incidentId\\": 2312\\n }\\n}","type":"json"}]',
'title' => 'Update management event',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'gemp:UpdateIncident',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateIncident'],
],
],
],
'UpdateIntegrationConfig' => [
'summary' => 'Integration configuration update.',
'path' => '/integrationConfig/update',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempBHVB81'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'A short description of struct',
'properties' => [
'integrationConfigId' => ['description' => 'Integration configuration ID.', 'example' => '103', 'format' => 'int64', 'required' => false, 'type' => 'integer', 'title' => ''],
'accessKey' => ['description' => 'accessKey', 'example' => '601FA6A2-AC5C-4B59-BE11-378F887A6A11', 'required' => false, 'title' => '', 'type' => 'string'],
'clientToken' => ['description' => 'Idempotent ID.', 'example' => '601FA6A2-AC5C-4B59-BE11-378F987A6A98', 'required' => false, 'title' => '', 'type' => 'string'],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Schema of Response',
'properties' => [
'requestId' => ['description' => 'Id of the request', 'example' => '10REQUES-AC5C-4B59-BE11-378F117A6A88', 'title' => 'Id of the request', 'type' => 'string'],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'errorCodes' => [
403 => [
['errorCode' => 'IntegationConfigNotDisable', 'errorMessage' => 'The specified integration config is not disabled.', 'description' => ''],
],
[
['errorCode' => 'IntegationConfigNotExists', 'errorMessage' => 'The specified integration config does not exist.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"10REQUES-AC5C-4B59-BE11-378F117A6A88\\"\\n}","type":"json"}]',
'title' => 'Integration Configuration Update',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'gemp:UpdateIntegrationConfig',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateIntegrationConfig'],
],
],
],
'UpdateProblem' => [
'summary' => 'Updates problem details.',
'path' => '/problem/update',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempZVI8H5'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'Request body.',
'properties' => [
'problemId' => ['description' => 'Problem ID.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'required' => false, 'example' => '213432'],
'problemName' => ['description' => 'Problem name.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '故障2'],
'level' => ['description' => 'Problem level.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'P1'],
'relatedServiceId' => ['description' => 'Associated service.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'required' => false, 'example' => '123'],
'progressSummary' => ['description' => 'Progress summary.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '进展摘要xxxx'],
'preliminaryReason' => ['description' => 'Preliminary cause.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '原因是服务宕机'],
'mainHandlerId' => ['description' => 'Main handler.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'required' => false, 'example' => '678'],
'feedback' => ['description' => 'Public feedback.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '影响恶劣'],
'serviceGroupIds' => [
'description' => 'Emergency response group.',
'items' => ['description' => 'Emergency response group ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '102', 'required' => false, 'title' => ''],
'required' => false,
'title' => '',
'type' => 'array',
'example' => '',
],
'progressSummaryRichTextId' => ['description' => 'Rich text field ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '23232', 'title' => '', 'required' => false],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Response structure.',
'properties' => [
'requestId' => ['title' => 'Id of the request', 'description' => 'Request ID.', 'type' => 'string', 'example' => 'c26f36de-1ec8-496a-a828-880676c5ef81'],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'errorCodes' => [
404 => [
['errorCode' => 'ProblemNotExisted', 'errorMessage' => 'The problem does not exist.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"c26f36de-1ec8-496a-a828-880676c5ef81\\"\\n}","type":"json"}]',
'title' => 'Update incident details',
'requestParamsDescription' => '{'."\n"
.'"problemId": 213432,'."\n"
.'"problemName": "Problem 2",'."\n"
.'"level": "P1",'."\n"
.'"relatedServiceId": 123,'."\n"
.'"progressSummary": "Progress summary xxxx",'."\n"
.'"preliminaryReason": "Service down",'."\n"
.'"mainHandlerId": 678,'."\n"
.'"feedback": "Severe impact",'."\n"
.'"serviceGroupIds": \\[102]'."\n"
.'}',
'responseParamsDescription' => '{'."\n"
.'"requestId": "c26f36de-1ec8-496a-a828-880676c5ef81"'."\n"
.'}',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'gemp:UpdateProblem',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateProblem'],
],
],
],
'UpdateProblemEffectionService' => [
'summary' => 'Update a service-impacting fault.',
'path' => '/problem/process/effectionService/update',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempZB7ZAW'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'Request body parameters.',
'properties' => [
'serviceId' => ['description' => 'The ID of the associated service.', 'type' => 'integer', 'format' => 'int64', 'example' => '33', 'title' => '', 'required' => false],
'level' => ['description' => 'The impact level, in descending order:'."\n"
."\n"
.'- P1'."\n"
."\n"
.'- P2'."\n"
."\n"
.'- P3'."\n"
."\n"
.'- P4', 'type' => 'string', 'example' => 'P1', 'title' => '', 'required' => false],
'status' => ['description' => 'The impact status:'."\n"
."\n"
.'- 0: Not recovered.'."\n"
."\n"
.'- 1: Recovered.', 'type' => 'string', 'example' => '·', 'title' => '', 'required' => false],
'description' => ['description' => 'The impact description.', 'type' => 'string', 'example' => 'xxxx大厦', 'title' => '', 'required' => false],
'picUrl' => [
'description' => 'The image URLs.',
'items' => ['description' => 'The image key.', 'type' => 'string', 'required' => false, 'example' => 'problem/xxxxxxxx-a2c8-40b9-9162-08a6c2e338e2', 'title' => ''],
'required' => false,
'title' => '',
'type' => 'array',
'example' => '',
],
'problemId' => ['description' => 'The problem ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '190000000', 'title' => '', 'required' => false],
'effectionServiceId' => ['description' => 'The impact service ID.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'required' => false, 'example' => '103'],
'clientToken' => ['title' => 'clientToken', 'description' => 'The idempotency token.', 'type' => 'string', 'required' => false, 'example' => 'c26f36de-1ec8-496a-a828-880676c5ef81'],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'The response structure.',
'properties' => [
'requestId' => ['title' => 'requestId', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'ffbf594-e093-46ad-bdcd-df4d7097125a'],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'errorCodes' => [
404 => [
['errorCode' => 'ProblemNotExisted', 'errorMessage' => 'The problem does not exist.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"ffbf594-e093-46ad-bdcd-df4d7097125a\\"\\n}","type":"json"}]',
'title' => 'Update the service impacted by an incident ',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'gemp:UpdateProblemEffectionService',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateProblemEffectionService'],
],
],
],
'UpdateProblemImprovement' => [
'summary' => 'Updates the review and improvement details for a problem.',
'path' => '/problem/improvement/update',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempZVI8H5'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'Request body.',
'properties' => [
'problemId' => ['description' => 'Problem ID.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'required' => false, 'example' => '12312'],
'problemReason' => ['description' => 'Problem reason.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '故障原因A'],
'recentActivity' => ['description' => 'Recent activity lookup table (PROBLEM\\_RECENT\\_ACTIVITY).', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '2'],
'injectionMode' => ['description' => 'Injection mode lookup table (PROBLEM\\_INJECTION\\_MODE).', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '1'],
'recoveryMode' => ['description' => 'Recovery mode lookup table (PROBLEM\\_RECOVERY\\_MODE).', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '2'],
'discoverSource' => ['description' => 'Discovery source lookup table (PROBLEM\\_DISCOVER\\_SOURCE).', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'required' => false, 'example' => '1'],
'userReport' => ['description' => 'User report lookup table (PROBLEM\\_USER\\_REPORT).', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'required' => false, 'example' => '10'],
'monitorSourceName' => ['description' => 'Monitoring source.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'Zabbix'],
'relationChanges' => ['description' => 'Associated changes.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '关联变更'],
'dutyUserId' => ['description' => 'Problem owner ID.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'required' => false, 'example' => '1231'],
'replayDutyUserId' => ['description' => 'Review owner ID.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'required' => false, 'example' => '1213'],
'dutyDepartmentName' => ['description' => 'Department name.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '服务组A'],
'dutyDepartmentId' => ['description' => 'Department ID (service group ID).', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'required' => false, 'example' => '123123'],
'remark' => ['description' => 'Remarks.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '备注'],
'clientToken' => ['description' => 'Idempotency check.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '4361a0e1-6747-4834-96ce-0c4840fd3813'],
'customProblemReason' => ['title' => 'Custom Failure Reason', 'description' => 'Problem reason.', 'type' => 'string', 'required' => false, 'example' => ''],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Response structure.',
'properties' => [
'requestId' => ['title' => 'Id of the request', 'description' => 'Request ID.', 'type' => 'string', 'example' => '4361a0e1-6747-4834-96ce-0c4840fd3812'],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'errorCodes' => [
404 => [
['errorCode' => 'ProblemNotExisted', 'errorMessage' => 'The problem does not exist.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"4361a0e1-6747-4834-96ce-0c4840fd3812\\"\\n}","type":"json"}]',
'title' => 'Update the details of post-incident review improvements ',
'changeSet' => [
['createdAt' => '2022-06-14T12:26:25.000Z', 'description' => 'Request parameters changed'],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'gemp:UpdateProblemImprovement',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateProblemImprovement'],
],
],
],
'UpdateProblemMeasure' => [
'summary' => 'Updates an improvement measure for a problem.',
'path' => '/problem/improvement/measure/update',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempZVI8H5'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'The request body.',
'properties' => [
'type' => ['description' => 'The lookup table for the measure type. Example: PROBLEM\\_REPLAY\\_IMPROVEMENT.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'required' => false, 'example' => '3'],
'content' => ['description' => 'The content of the measure.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '措施内容'],
'checkStandard' => ['description' => 'The acceptance criteria.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '2'],
'checkUserId' => ['description' => 'The ID of the user who performs the acceptance check.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'required' => false, 'example' => '123'],
'directorId' => ['description' => 'The ID of the owner.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'required' => false, 'example' => '123'],
'stalkerId' => ['description' => 'The ID of the tracker.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'required' => false, 'example' => '123'],
'planFinishTime' => ['description' => 'The planned completion time.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '2021-01-21 00:00:00'],
'measureId' => ['description' => 'The measure ID.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'required' => false, 'example' => '1231'],
'status' => ['description' => 'The status. Valid values:'."\n"
."\n"
.'- IMPROVED: The condition has improved.'."\n"
."\n"
.'- UNIMPROVED: The condition has not improved.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'UNIMPROVED'],
'clientToken' => ['description' => 'The idempotence token.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '4361a0e1-6747-4834-96ce-0c4840fd3812'],
'problemId' => ['description' => 'The problem ID.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'required' => false, 'example' => '1233'],
],
'required' => false,
'type' => 'object',
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'The response structure.',
'properties' => [
'requestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '4361a0e1-6747-4834-96ce-0c4840fd3812'],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'errorCodes' => [
404 => [
['errorCode' => 'ProblemNotExisted', 'errorMessage' => 'The problem does not exist.', 'description' => ''],
['errorCode' => 'ProblemMeasureNotExisted', 'errorMessage' => 'The problem measure does not exist.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"4361a0e1-6747-4834-96ce-0c4840fd3812\\"\\n}","type":"json"}]',
'title' => 'Update fault improvement measures ',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'gemp:UpdateProblemMeasure',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateProblemMeasure'],
],
],
],
'UpdateProblemNotice' => [
'summary' => 'Update fault notification.',
'path' => '/problem/notify',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempLC8226'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'body',
'properties' => [
'problemNotifyType' => ['description' => 'Notification type:'."\n"
."\n"
.'- PROBLEM_NOTIFY: Fault notification.'."\n"
.'- PROBLEM_UPDATE: Fault update.'."\n"
.'- PROBLEM_UPGRADE: Fault upgrade.'."\n"
.'- PROBLEM_DEGRADE: Fault downgrade.'."\n"
.'- PROBLEM_RECOVER: Fault recovery.'."\n"
.'- PROBLEM_REISSUE: Fault reissue.'."\n"
.'- PROBLEM_CANCEL: Fault cancellation.', 'example' => 'PROBLEM_NOTIFY', 'required' => false, 'title' => '', 'type' => 'string'],
'problemId' => ['description' => 'Fault ID.', 'example' => '1312', 'format' => 'int64', 'required' => false, 'title' => '', 'type' => 'integer'],
'clientToken' => ['description' => 'Idempotency validation ID.', 'example' => '4361a0e1-6747-4834-96ce-0c4840fd3812', 'required' => false, 'title' => '', 'type' => 'string'],
],
'required' => false,
'type' => 'object',
'title' => '',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Schema of Response',
'properties' => [
'requestId' => ['description' => 'Id of the request', 'example' => '4361a0e1-6747-4834-96ce-0c4840fd3812', 'title' => 'Id of the request', 'type' => 'string'],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'errorCodes' => [
404 => [
['errorCode' => 'ProblemNotExisted', 'errorMessage' => 'The problem does not exist.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"4361a0e1-6747-4834-96ce-0c4840fd3812\\"\\n}","type":"json"}]',
'title' => 'Update fault notification',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'gemp:UpdateProblemNotice',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateProblemNotice'],
],
],
],
'UpdateProblemTimeline' => [
'summary' => 'Updates a problem timeline.',
'path' => '/problem/process/timeline/update',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempZB7ZAW'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'Request body.',
'properties' => [
'problemTimelineId' => ['description' => 'Timeline ID.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'required' => false, 'example' => '3940'],
'keyNode' => ['description' => 'Key node lookup table (PROBLEM\\_KEY\\_NODE).', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'NodeTest'],
'content' => ['description' => 'Node content.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '故障分析'],
'time' => ['description' => 'Occurrence time.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '2021-01-08 10:10:10'],
'problemId' => ['description' => 'Problem ID.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'required' => false, 'example' => '234'],
'clientToken' => ['title' => 'clientToken', 'description' => 'Idempotency token.', 'type' => 'string', 'required' => false, 'example' => 'c26f36de-1ec8-496a-a828-880676c5ef81'],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Response structure.',
'properties' => [
'requestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'c26f36de-1ec8-496a-a828-880676c5ef81', 'title' => ''],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'errorCodes' => [
404 => [
['errorCode' => 'ProblemTimelineNotExisted', 'errorMessage' => 'The problem timeline does not exist.', 'description' => ''],
['errorCode' => 'ProblemNotExisted', 'errorMessage' => 'The problem does not exist.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"c26f36de-1ec8-496a-a828-880676c5ef81\\"\\n}","type":"json"}]',
'title' => 'Update Fault Timeline ',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'gemp:UpdateProblemTimeline',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateProblemTimeline'],
],
],
],
'UpdateRichText' => [
'summary' => 'Updates a rich text.',
'path' => '/rich/update',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempW15CG1'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'Request body.',
'properties' => [
'richTextId' => ['description' => 'Rich text ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '140080050', 'title' => '', 'required' => false],
'instanceId' => ['description' => 'Resource ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '140080050', 'title' => '', 'required' => false],
'instanceType' => ['description' => 'Resource type:'."\n"
."\n"
.'- INCIDENT: event.'."\n"
."\n"
.'- ALERT: alert.'."\n"
."\n"
.'- PROBLEM: problem.', 'type' => 'string', 'example' => 'INCIDENT', 'title' => '', 'required' => false],
'richText' => ['description' => 'Rich text content.', 'type' => 'string', 'example' => '这是一个富文本', 'title' => '', 'required' => false],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Response structure.',
'properties' => [
'requestId' => ['title' => 'Id of the request', 'description' => 'Request ID.', 'type' => 'string', 'example' => '1021A12E-4BDF-5EC6-8251-6E998A3C360B'],
'data' => [
'description' => 'Returned data.',
'properties' => [
'id' => ['description' => 'Rich text ID.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '132971028'],
],
'title' => 'data',
'type' => 'object',
'example' => '',
],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"1021A12E-4BDF-5EC6-8251-6E998A3C360B\\",\\n \\"data\\": {\\n \\"id\\": 132971028\\n }\\n}","type":"json"}]',
'title' => 'Update rich text',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'gemp:UpdateRichText',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateRichText'],
],
],
],
'UpdateRouteRule' => [
'summary' => 'Update a routing rule.',
'path' => '/routeRule/edit',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempLJVP1W'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'Request body.',
'properties' => [
'ruleName' => ['description' => 'Rule name.', 'type' => 'string', 'required' => true, 'example' => '规则名称', 'title' => ''],
'relatedServiceId' => ['description' => 'Associated service ID.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '关联服务ID', 'title' => ''],
'routeRuleId' => ['description' => 'Rule ID.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '规则ID', 'title' => ''],
'routeType' => ['description' => 'Routing type:'."\n"
."\n"
.'- INCIDENT: Trigger an incident.'."\n"
."\n"
.'- ALERT: Trigger only an alert.', 'type' => 'string', 'required' => true, 'example' => 'ALERT', 'title' => ''],
'incidentLevel' => ['description' => 'Incident level (from highest to lowest):'."\n"
."\n"
.'- P1'."\n"
."\n"
.'- P2'."\n"
."\n"
.'- P3'."\n"
."\n"
.'- P4', 'type' => 'string', 'required' => true, 'example' => 'P1', 'title' => ''],
'assignObjectId' => ['description' => 'Assignment object ID. This can be a service group ID or a user ID.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1', 'title' => ''],
'assignObjectType' => ['description' => 'Assignment object type:'."\n"
."\n"
.'- SERVICEGROUP: A service group.'."\n"
."\n"
.'- USER: A single user.', 'type' => 'string', 'required' => true, 'example' => 'SERVICEGROUP', 'title' => ''],
'effection' => ['description' => 'Impact level:'."\n"
."\n"
.'- LOW: Low impact.'."\n"
."\n"
.'- HIGH: High impact.', 'type' => 'string', 'required' => true, 'example' => 'LOW', 'title' => ''],
'timeWindow' => ['description' => 'Time window.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10', 'title' => ''],
'timeWindowUnit' => ['description' => 'Time window unit:'."\n"
."\n"
.'- MINUTE: Minutes.'."\n"
."\n"
.'- SECOND: Seconds.', 'type' => 'string', 'required' => true, 'example' => 'MINUTE', 'title' => ''],
'matchCount' => ['description' => 'Number of matches.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '10', 'title' => ''],
'routeChildRules' => [
'description' => 'Child rules.',
'items' => [
'description' => 'Child rule.',
'properties' => [
'childRouteRuleId' => ['description' => 'Child rule ID.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1', 'title' => ''],
'conditions' => [
'description' => 'Conditions.',
'items' => [
'description' => 'Condition.',
'properties' => [
'key' => ['description' => 'Condition key.', 'type' => 'string', 'required' => true, 'example' => 'payload.summary', 'title' => ''],
'value' => ['description' => 'Matching value.', 'type' => 'string', 'required' => true, 'example' => '123', 'title' => ''],
'operationSymbol' => ['description' => 'Operator.', 'type' => 'string', 'required' => true, 'example' => 'equals', 'title' => ''],
],
'required' => true,
'type' => 'object',
'title' => '',
'example' => '',
],
'required' => true,
'title' => '',
'type' => 'array',
'example' => '',
],
'monitorSourceId' => ['description' => 'Monitoring source ID.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1', 'title' => ''],
'isValidChildRule' => ['description' => 'Specifies whether to delete the child rule.', 'type' => 'boolean', 'required' => true, 'example' => 'false', 'title' => ''],
'childConditionRelation' => ['description' => 'Child condition evaluation logic:'."\n"
."\n"
.'- 0: AND.'."\n"
."\n"
.'- 1: OR.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => '', 'required' => false],
'problemLevel' => ['description' => 'Problem level (from highest to lowest):'."\n"
."\n"
.'- P1'."\n"
."\n"
.'- P2'."\n"
."\n"
.'- P3'."\n"
."\n"
.'- P4', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''],
],
'required' => true,
'type' => 'object',
'title' => '',
'example' => '',
],
'required' => true,
'title' => '',
'type' => 'array',
'example' => '',
],
'notifyChannels' => [
'description' => 'Notification channels.',
'items' => ['description' => 'Notification channel.', 'type' => 'string', 'required' => true, 'example' => '[SMS,PHONE]', 'title' => ''],
'required' => true,
'title' => '',
'type' => 'array',
'example' => '',
],
'clientToken' => ['description' => 'Idempotency token.', 'type' => 'string', 'example' => 'C4BE3837-1A13-413B-A225-2C88188E8A43', 'title' => '', 'required' => false],
'childRuleRelation' => ['title' => 'AND', 'description' => 'Child rule evaluation logic:'."\n"
."\n"
.'- AND: All child rules must match.'."\n"
."\n"
.'- OR: At least one child rule must match.', 'type' => 'string', 'example' => 'AND', 'required' => false],
'problemLevelGroup' => [
'description' => 'The severity level of the incident.',
'additionalProperties' => [
'description' => 'The severity level of the incident.',
'type' => 'object',
'properties' => [
'childRuleRelation' => ['title' => 'Child Rule Relation, 0 for AND, 1 for OR ', 'description' => 'Child rule evaluation logic:'."\n"
."\n"
.'- 0: AND.'."\n"
."\n"
.'- 1: OR.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => ''],
'matchCount' => ['title' => '抑制:命中次数', 'description' => 'Suppression: Number of matches.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => ''],
'timeWindow' => ['title' => 'Suppression: Time Window ', 'description' => 'Suppression: Time window.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => ''],
'timeWindowUnit' => ['title' => 'Suppression: Time Window Unit ', 'description' => 'Suppression: Time window unit.', 'type' => 'string', 'required' => false, 'example' => ''],
'enableUpgrade' => ['title' => '升级:是否升级', 'description' => 'Upgrade: Enable upgrade.', 'type' => 'boolean', 'required' => false, 'example' => ''],
'upgradeTimeWindow' => ['title' => '升级:时间窗口', 'description' => 'Upgrade: Time window.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => ''],
'upgradeTimeWindowUnit' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''],
],
'title' => '',
'example' => '',
],
'type' => 'object',
'required' => false,
'title' => '',
'example' => '',
],
'coverageProblemLevels' => [
'description' => 'Coverage type.',
'title' => 'Fault level coverage ',
'type' => 'array',
'items' => ['description' => 'Coverage type.', 'type' => 'string', 'required' => false, 'example' => 'P1', 'title' => ''],
'required' => false,
'example' => '',
],
'problemEffectionServices' => [
'description' => 'List of affected services.',
'title' => '[parameters_body_schema_properties_routeChildRules_items_properties_childRouteRuleId_description]Child rule ID.',
'type' => 'array',
'items' => ['description' => 'Affected service ID.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', 'title' => ''],
'required' => false,
'example' => '',
],
'convergenceFields' => [
'description' => 'Convergence field collection.',
'title' => '[parameters_body_schema_properties_routeChildRules_items_properties_conditions_type]array',
'type' => 'array',
'items' => ['description' => 'Collection of convergence fields.', 'type' => 'string', 'required' => false, 'example' => 'app', 'title' => ''],
'required' => false,
'example' => '',
],
'convergenceType' => ['title' => 'Convergence Type (0: Stream Rule Convergence, 1: Field Convergence) ', 'description' => 'Convergence type:'."\n"
."\n"
.'- 0: Rule-based convergence.'."\n"
."\n"
.'- 1: Field-based convergence.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '0'],
],
'required' => false,
'title' => '',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Response structure.',
'properties' => [
'requestId' => ['description' => 'Request ID.', 'type' => 'string', 'title' => '', 'example' => 'C4BE3837-1A13-413B-A225-2C88188E8A43'],
'data' => ['description' => 'Result.', 'type' => 'integer', 'format' => 'int64', 'example' => 'null', 'title' => ''],
],
'title' => '',
'type' => 'object',
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'RouteRuleNameAlreadyExisted', 'errorMessage' => 'The rule name already exists.', 'description' => ''],
],
404 => [
['errorCode' => 'RouteRuleNotExisted', 'errorMessage' => 'The rule does not exist.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"C4BE3837-1A13-413B-A225-2C88188E8A43\\",\\n \\"data\\": 0\\n}","type":"json"}]',
'title' => 'Edit stream routing rules ',
'changeSet' => [
['createdAt' => '2022-12-07T12:30:08.000Z', 'description' => 'Request parameters changed'],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'gemp:UpdateRouteRule',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateRouteRule'],
],
],
],
'UpdateService' => [
'summary' => 'Updates a service.',
'path' => '/services/update',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgemp1A354K'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'The request body.',
'properties' => [
'serviceDescription' => ['description' => 'The description of the service.', 'type' => 'string', 'example' => '服务描述', 'title' => '', 'required' => false],
'serviceName' => ['description' => 'The name of the service.', 'type' => 'string', 'example' => '服务A', 'title' => '', 'required' => false],
'serviceId' => ['description' => 'The service ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '10002000', 'title' => '', 'required' => false],
'clientToken' => ['description' => 'The idempotence token.', 'type' => 'string', 'example' => 'C4BE3837-1A13-413B-A225-2C88188E8A43', 'title' => '', 'required' => false],
'escalationPlanId' => ['title' => 'Upgrade Policy ID', 'description' => 'The ID of the escalation policy.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '234534'],
'serviceGroupIdList' => [
'description' => 'The ID of the service group.',
'title' => 'List of service group IDs',
'type' => 'array',
'items' => ['description' => 'The ID of the service group.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'title' => '', 'example' => ''],
'required' => false,
'example' => '',
],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'The response structure.',
'properties' => [
'requestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'C4BE3837-1A13-413B-A225-2C88188E8A43'],
'data' => ['description' => 'The returned data.', 'type' => 'integer', 'format' => 'int64', 'example' => 'null', 'title' => ''],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'EditServiceFail', 'errorMessage' => 'Failed to edit the service.', 'description' => ''],
],
404 => [
['errorCode' => 'ServiceNotExisted', 'errorMessage' => 'The service does not exist.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"C4BE3837-1A13-413B-A225-2C88188E8A43\\",\\n \\"data\\": 0\\n}","type":"json"}]',
'title' => 'Update Service',
'changeSet' => [
['createdAt' => '2023-04-13T12:01:54.000Z', 'description' => 'Request parameters changed'],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'gemp:UpdateService',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateService'],
],
],
],
'UpdateServiceGroup' => [
'summary' => 'Updates a service group.',
'path' => '/services/group/modify',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgemp1A354K'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'Request body.',
'properties' => [
'serviceGroupId' => ['description' => 'Service group ID.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1', 'title' => ''],
'enableWebhook' => ['description' => 'Enable or disable the webhook:'."\n"
."\n"
.'- DISABLE: Disable the webhook.'."\n"
."\n"
.'- ENABLE: Enable the webhook.', 'type' => 'string', 'required' => true, 'example' => 'ENABLE', 'title' => ''],
'webhookType' => ['description' => '- WEIXIN\\_GROUP: WeChat group.'."\n"
."\n"
.'- DING\\_GROUP: DingTalk group.', 'type' => 'string', 'required' => true, 'example' => 'WEIXIN_GROUP', 'title' => ''],
'webhookLink' => ['description' => 'Webhook URL.', 'type' => 'string', 'required' => true, 'example' => 'wwwwwww', 'title' => ''],
'serviceGroupName' => ['description' => 'Service group name.', 'type' => 'string', 'required' => true, 'example' => '我的服务组', 'title' => ''],
'serviceGroupDescription' => ['description' => 'Service group description.', 'type' => 'string', 'example' => '服务组描述', 'title' => '', 'required' => false],
'userIds' => [
'description' => 'Array of user IDs.',
'items' => ['description' => 'User ID.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '55', 'title' => ''],
'required' => true,
'title' => '',
'type' => 'array',
'example' => '',
],
'monitorSourceTemplates' => [
'description' => 'List of message templates.',
'items' => [
'description' => 'List of message templates.',
'properties' => [
'templateId' => ['description' => 'Message template ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '1111', 'title' => '', 'required' => false],
'monitorSourceId' => ['description' => 'Monitoring source ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '11111', 'title' => '', 'required' => false],
'monitorSourceName' => ['description' => 'Monitoring source name.', 'type' => 'string', 'example' => 'zabbix', 'title' => '', 'required' => false],
'templateContent' => ['description' => 'Template content.', 'type' => 'string', 'example' => '内容', 'title' => '', 'required' => false],
],
'required' => false,
'type' => 'object',
'title' => '',
'example' => '',
],
'required' => false,
'title' => '',
'type' => 'array',
'example' => '',
],
'clientToken' => ['description' => 'Idempotency token.', 'type' => 'string', 'example' => 'C4BE3837-1A13-413B-A225-2C88188E8A43', 'title' => '', 'required' => false],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Response structure.',
'properties' => [
'requestId' => ['title' => 'Id of the request', 'description' => 'Request ID.', 'type' => 'string', 'example' => 'C4BE3837-1A13-413B-A225-2C88188E8A43'],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'ServiceGroupNotExisted', 'errorMessage' => 'The service group does not exist.', 'description' => ''],
['errorCode' => 'EditServiceGroupFail', 'errorMessage' => 'Failed to edit the service group.', 'description' => ''],
['errorCode' => 'ServiceGroupWebHookLinkAlreadyExisted', 'errorMessage' => 'The webhook link is already in use.', 'description' => ''],
['errorCode' => 'ServiceGroupNameAlreadyExisted', 'errorMessage' => 'The service group name is already in use.', 'description' => ''],
],
405 => [
['errorCode' => 'openFailed', 'errorMessage' => 'open Failed', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"C4BE3837-1A13-413B-A225-2C88188E8A43\\"\\n}","type":"json"}]',
'title' => 'Edit a service group ',
'changeSet' => [
['createdAt' => '2022-10-27T12:01:25.000Z', 'description' => 'Error codes changed'],
['createdAt' => '2021-07-16T04:09:45.000Z', 'description' => 'Request parameters changed'],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'gemp:UpdateServiceGroup',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateServiceGroup'],
],
],
],
'UpdateServiceGroupScheduling' => [
'summary' => 'Update the scheduling configuration for a service group.',
'path' => '/services/group/scheduling/update',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempCICFVA'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'Request body.',
'properties' => [
'serviceGroupId' => ['description' => 'Service group ID.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1000', 'title' => ''],
'schedulingWay' => ['description' => 'Scheduling method:'."\n"
."\n"
.'- FAST: Fast scheduling.'."\n"
."\n"
.'- FINE: Fine-grained scheduling.', 'type' => 'string', 'required' => true, 'example' => 'FAST', 'title' => ''],
'fastScheduling' => [
'description' => 'Enables fast scheduling.',
'example' => 'HOUR',
'properties' => [
'singleDuration' => ['description' => 'Shift duration per person.', 'type' => 'integer', 'format' => 'int32', 'example' => '12', 'title' => '', 'required' => false],
'dutyPlan' => ['description' => 'Duty plan:'."\n"
."\n"
.'- FAST\\_CHOICE: Fast selection.'."\n"
."\n"
.'- CUSTOM: Custom.', 'type' => 'string', 'example' => 'FAST_CHOICE', 'title' => '', 'required' => false],
'singleDurationUnit' => ['description' => 'Unit for shift duration per person:'."\n"
."\n"
.'- HOUR: Hour.'."\n"
."\n"
.'- DAY: Day.', 'type' => 'string', 'example' => 'DAY', 'title' => '', 'required' => false],
'schedulingUsers' => [
'description' => 'Users for fast rotation scheduling.',
'items' => [
'description' => 'User for fast rotation scheduling.',
'properties' => [
'schedulingUserId' => ['description' => 'User ID for rotation scheduling.', 'type' => 'integer', 'format' => 'int64', 'example' => '6666', 'title' => '', 'required' => false],
'schedulingOrder' => ['description' => 'Scheduling order.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => '', 'required' => false],
'schedulingObjectType' => ['title' => 'Schedule Object Type ', 'description' => 'Scheduling task type.', 'type' => 'string', 'required' => false, 'example' => '1'],
'schedulingUserIdList' => [
'description' => 'List of users for scheduling.',
'type' => 'array',
'items' => ['description' => 'User ID.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', 'title' => ''],
'required' => false,
'title' => '',
'example' => '',
],
],
'required' => false,
'type' => 'object',
'title' => '',
'example' => '',
],
'required' => false,
'title' => '',
'type' => 'array',
'example' => '',
],
'id' => ['description' => 'Fast scheduling ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => '', 'required' => false],
],
'required' => false,
'title' => '',
'type' => 'object',
],
'fineScheduling' => [
'description' => 'Fine-grained scheduling configuration.',
'properties' => [
'period' => ['description' => 'Cycle period.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => '', 'required' => false],
'periodUnit' => ['description' => 'Unit for cycle period:'."\n"
."\n"
.'- HOUR: Hour.'."\n"
."\n"
.'- DAY: Day.', 'type' => 'string', 'example' => 'DAY', 'title' => '', 'required' => false],
'shiftType' => ['description' => 'Shift type:'."\n"
."\n"
.'- MORNING\\_NIGHT: Morning and night shifts.'."\n"
."\n"
.'- MORNING\\_NOON\\_NIGHT: Morning, noon, and night shifts.'."\n"
."\n"
.'- CUSTOM: Custom.', 'type' => 'string', 'example' => 'MORNING_NIGHT', 'title' => '', 'required' => false],
'schedulingFineShifts' => [
'description' => 'Staff information for fine-grained scheduling shifts.',
'items' => [
'description' => 'Fine-grained scheduling.',
'properties' => [
'schedulingStartTime' => ['description' => 'Scheduling start time.', 'type' => 'string', 'example' => '2020-08-13', 'title' => '', 'required' => false],
'schedulingEndTime' => ['description' => 'Scheduling end time.', 'type' => 'string', 'example' => '2020-10-13', 'title' => '', 'required' => false],
'schedulingOrder' => ['description' => 'Scheduling order.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => '', 'required' => false],
'shiftName' => ['description' => 'Shift name.', 'type' => 'string', 'example' => '早班', 'title' => '', 'required' => false],
'skipOneDay' => ['description' => 'Whether the shift spans two days.', 'type' => 'boolean', 'title' => '', 'required' => false, 'example' => 'true'],
'schedulingUserId' => ['description' => 'User ID for scheduling.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'required' => false, 'example' => '32'],
'cycleOrder' => ['description' => 'Cycle order.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'required' => false, 'example' => '123'],
'schedulingObjectType' => ['title' => 'Scheduling Object Type', 'description' => 'Scheduling task type.', 'type' => 'string', 'required' => false, 'example' => '1'],
'schedulingUserIdList' => [
'description' => 'List of users for scheduling.',
'title' => 'User IDs for multi-user scheduling ',
'type' => 'array',
'items' => ['description' => 'User ID.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', 'title' => ''],
'required' => false,
'example' => '',
],
],
'required' => false,
'type' => 'object',
'title' => '',
'example' => '',
],
'required' => false,
'title' => '',
'type' => 'array',
'example' => '',
],
'schedulingTemplateFineShifts' => [
'description' => 'Fine-grained scheduling template.',
'items' => [
'description' => 'Fine-grained scheduling.',
'properties' => [
'schedulingStartTime' => ['description' => 'Scheduling start time.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '2021-10-01 00:00:00'],
'schedulingEndTime' => ['description' => 'Scheduling end time.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '2021-11-01 00:00:00'],
'schedulingOrder' => ['description' => 'Scheduling order.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'required' => false, 'example' => '1'],
'schedulingUserId' => ['description' => 'User ID for scheduling.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'required' => false, 'example' => '1'],
'shiftName' => ['description' => 'Shift name.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '早班'],
'skipOneDay' => ['description' => 'Whether the shift spans two days.', 'type' => 'boolean', 'title' => '', 'required' => false, 'example' => 'false'],
'schedulingObjectType' => ['title' => 'Scheduling object type ', 'description' => 'Scheduling type.', 'type' => 'string', 'required' => false, 'example' => '1'],
'schedulingUserIdList' => [
'description' => 'List of users for scheduling.',
'title' => 'User IDs for multi-person scheduling',
'type' => 'array',
'items' => ['description' => 'User ID.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', 'title' => ''],
'required' => false,
'example' => '',
],
],
'required' => false,
'type' => 'object',
'title' => '',
'example' => '',
],
'required' => false,
'title' => '',
'type' => 'array',
'example' => '',
],
'id' => ['description' => 'Fine-grained scheduling ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => '', 'required' => false],
],
'required' => false,
'title' => '',
'type' => 'object',
'example' => '',
],
'clientToken' => ['description' => 'Idempotency token.', 'type' => 'string', 'example' => 'C4BE3837-1A13-413B-A225-2C88188E8A43', 'title' => '', 'required' => false],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Response structure.',
'properties' => [
'requestId' => ['title' => 'Id of the request', 'description' => 'Request ID.', 'type' => 'string', 'example' => 'xxxxxxxxxx'],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter is not valid. %s', 'description' => 'The specified parameter is not valid.'."\n"],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"xxxxxxxxxx\\"\\n}","type":"json"}]',
'title' => 'Modify the service group scheduling',
'changeSet' => [
['createdAt' => '2022-12-26T13:01:21.000Z', 'description' => 'Request parameters changed'],
['createdAt' => '2021-09-10T01:53:17.000Z', 'description' => 'OpenAPI offline'],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'gemp:UpdateServiceGroupScheduling',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateServiceGroupScheduling'],
],
],
],
'UpdateServiceGroupSpecialDayScheduling' => [
'summary' => 'Updates service group scheduling for a specific date.',
'path' => '/services/group/scheduling/updateSpecialDayScheduling',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempU4CBQS'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'Request body.',
'properties' => [
'serviceGroupId' => ['description' => 'Service group ID.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '6666', 'title' => ''],
'schedulingDate' => ['description' => 'Scheduling date.', 'type' => 'string', 'required' => true, 'example' => '2021-08-19', 'title' => ''],
'schedulingSpecialDays' => [
'description' => 'Scheduling information.',
'items' => [
'description' => 'Scheduling.',
'properties' => [
'schedulingStartTime' => ['description' => 'Scheduling start time.', 'type' => 'string', 'required' => true, 'example' => '2021-08-19 08:00:00', 'title' => ''],
'schedulingEndTime' => ['description' => 'Scheduling end time.', 'type' => 'string', 'required' => true, 'example' => '2021-08-19 12:00:00', 'title' => ''],
'schedulingUserId' => ['description' => 'Scheduling user.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '64', 'title' => ''],
'schedulingOrder' => ['description' => 'The shift order.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => '', 'required' => false],
'schedulingObjectType' => ['title' => 'Scheduled Object Type', 'description' => 'Scheduling object type.', 'type' => 'string', 'required' => false, 'example' => ''],
'schedulingUserIdList' => [
'description' => 'List of scheduling members.',
'title' => 'User IDs for multi-person scheduling ',
'type' => 'array',
'items' => ['description' => 'Scheduling member list.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'title' => '', 'example' => ''],
'required' => false,
'example' => '',
],
],
'required' => true,
'type' => 'object',
'title' => '',
'example' => '',
],
'required' => true,
'title' => '',
'type' => 'array',
'example' => '',
],
'clientToken' => ['description' => 'The client token that is used to ensure the idempotence of the request.', 'type' => 'string', 'example' => 'C4BE3837-1A13-413B-A225-2C88188E8A43', 'title' => '', 'required' => false],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Response structure.',
'properties' => [
'requestId' => ['title' => 'Id of the request', 'description' => 'Request ID.', 'type' => 'string', 'example' => 'xxxxxxxx'],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'errorCodes' => [
404 => [
['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified Resource is not found.', 'description' => 'The specified Resource is not found.'],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"xxxxxxxx\\"\\n}","type":"json"}]',
'title' => 'Modify the service group scheduling for a specified date ',
'changeSet' => [
['createdAt' => '2022-12-26T13:01:21.000Z', 'description' => 'Request parameters changed'],
['createdAt' => '2021-09-10T01:53:17.000Z', 'description' => 'OpenAPI offline'],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'gemp:UpdateServiceGroupSpecialDayScheduling',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateServiceGroupSpecialDayScheduling'],
],
],
],
'UpdateSubscription' => [
'summary' => 'Updates a notification subscription.',
'path' => '/notify/subscription/update',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempJPZI30'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'The request body.',
'properties' => [
'subscriptionId' => ['description' => 'The primary key.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '80002020', 'title' => ''],
'subscriptionTitle' => ['description' => 'The name of the notification subscription.', 'type' => 'string', 'required' => true, 'example' => 'newSubs244', 'title' => ''],
'scope' => ['description' => 'The type of the subscription scope.', 'type' => 'string', 'required' => true, 'example' => 'SERVICE', 'title' => ''],
'notifyObjectType' => ['description' => 'The type of the notification recipient.', 'type' => 'string', 'required' => true, 'example' => 'USER', 'title' => ''],
'expiredType' => ['description' => 'The validity period of the subscription.', 'type' => 'string', 'required' => true, 'example' => 'LONG_TERM', 'title' => ''],
'period' => ['description' => 'The validity period of the subscription.', 'type' => 'string', 'example' => '20天', 'title' => '', 'required' => false],
'scopeObjectList' => [
'description' => 'The list of subscription scopes.',
'items' => [
'description' => 'The subscription scope object.',
'properties' => [
'id' => ['description' => 'The primary key ID.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', 'title' => ''],
'scopeObjectId' => ['description' => 'The ID of the subscription scope object.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1', 'title' => ''],
],
'required' => true,
'type' => 'object',
'title' => '',
'example' => '',
],
'required' => true,
'title' => '',
'type' => 'array',
'example' => '',
],
'notifyObjectList' => [
'description' => 'The list of notification recipients.',
'items' => [
'description' => 'The notification recipient.',
'properties' => [
'id' => ['description' => 'The primary key ID.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10', 'title' => ''],
'notifyObjectId' => ['description' => 'The ID of the notification recipient.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '19', 'title' => ''],
],
'required' => true,
'type' => 'object',
'title' => '',
'example' => '',
],
'required' => true,
'title' => '',
'type' => 'array',
'example' => '',
],
'notifyStrategyList' => [
'description' => 'The list of notification policies.',
'items' => [
'description' => 'The subscription behavior.',
'properties' => [
'instanceType' => ['description' => 'The type of the subscription instance. Valid values:'."\n"
."\n"
.'- INCIDENT: event'."\n"
."\n"
.'- ALERT: alert'."\n"
."\n"
.'- PROBLEM: problem', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => 'INCIDENT', 'title' => ''],
'strategies' => [
'description' => 'The notification policy.',
'items' => [
'description' => 'The subscription scope.',
'properties' => [
'id' => ['title' => 'id', 'description' => 'The alert level.', 'type' => 'string', 'example' => '10', 'required' => false],
'channels' => ['description' => 'Fault level.', 'type' => 'string', 'example' => 'SMS,WEIXIN_GROUP', 'title' => '', 'required' => false],
'conditions' => [
'description' => 'The impact degree.',
'items' => [
'description' => 'The privacy dataset.',
'properties' => [
'level' => ['description' => 'The level.', 'type' => 'string', 'example' => 'P1', 'title' => '', 'required' => false],
'effection' => ['description' => 'The impact degree.', 'type' => 'string', 'example' => 'HIGH', 'title' => '', 'required' => false],
'problemNotifyType' => ['description' => 'The problem notification type.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'PROBLEM_NOTIFY'],
'action' => ['description' => 'The event action.', 'type' => 'string', 'example' => 'INCIDENT_TRIGGER', 'title' => '', 'required' => false],
],
'required' => false,
'type' => 'object',
'title' => '',
'example' => '',
],
'required' => false,
'title' => '',
'type' => 'array',
'example' => '',
],
'periodChannel' => [
'description' => 'The notification subscription channels for different time periods.',
'properties' => [
'workday' => ['description' => 'The notification subscription channels for workdays.', 'type' => 'string', 'example' => 'SMS,WEIXIN_GROUP', 'title' => '', 'required' => false],
'nonWorkday' => ['description' => 'The notification subscription channels for non-workdays.', 'type' => 'string', 'example' => 'SMS,WEIXIN_GROUP', 'title' => '', 'required' => false],
],
'required' => false,
'title' => '',
'type' => 'object',
'example' => '',
],
],
'required' => false,
'type' => 'object',
'title' => '',
'example' => '',
],
'required' => true,
'title' => '',
'type' => 'array',
'example' => '',
],
],
'required' => true,
'type' => 'object',
'title' => '',
'example' => '',
],
'required' => true,
'title' => '',
'type' => 'array',
'example' => '',
],
'startTime' => ['description' => 'The effective start time.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '2021-04-04 10:10:11'],
'endTime' => ['description' => 'The expiration time.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '2022-05-09 10:10:23'],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'The response structure.',
'properties' => [
'requestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'c26f36de-1ec8-496a-a828-880676c5ef81', 'title' => ''],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'errorCodes' => [
403 => [
['errorCode' => 'NotifySubsAlreadyExists', 'errorMessage' => 'The specified subscription already exists.', 'description' => ''],
],
[
['errorCode' => 'NotifySubsNotExists', 'errorMessage' => 'The specified subscription does not exist.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"c26f36de-1ec8-496a-a828-880676c5ef81\\"\\n}","type":"json"}]',
'title' => 'Subscribe to Update Notifications',
'changeSet' => [
['createdAt' => '2021-07-16T04:09:37.000Z', 'description' => 'Request parameters changed'],
['createdAt' => '2021-07-16T04:09:37.000Z', 'description' => 'Request parameters changed'],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'gemp:UpdateSubscription',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateSubscription'],
],
],
],
'UpdateUser' => [
'summary' => 'Updates user information.',
'path' => '/user/update',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempT8ZOYV'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'Request body.',
'properties' => [
'ramId' => ['description' => 'RAM user ID.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'required' => false, 'example' => '2243564'],
'phone' => ['description' => 'Phone number.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '18887878****'],
'username' => ['description' => 'Username.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '张珊'],
'email' => ['description' => 'Mailbox.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '78799****@qq.com'],
'userId' => ['description' => 'User ID.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '111', 'title' => ''],
'clientToken' => ['description' => 'Idempotency token.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'c26f36de-1ec8-496a-a828-880676c5ef81'],
'roleIdList' => [
'description' => 'User roles.',
'title' => 'User roles',
'type' => 'array',
'items' => ['type' => 'integer', 'format' => 'int64', 'description' => '', 'required' => false, 'title' => '', 'example' => ''],
'required' => false,
'example' => '',
],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Response structure.',
'properties' => [
'requestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'c26f36de-1ec8-496a-a828-880676c5ef81', 'title' => ''],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'PhoneAlreadyExists', 'errorMessage' => 'The specified phone number already exists.', 'description' => ''],
],
404 => [
['errorCode' => 'UserNotExists', 'errorMessage' => 'The specified user does not exist.', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"c26f36de-1ec8-496a-a828-880676c5ef81\\"\\n}","type":"json"}]',
'title' => 'Update personnel information',
'changeSet' => [
['createdAt' => '2023-04-13T12:01:54.000Z', 'description' => 'Request parameters changed'],
],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'gemp:UpdateUser',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateUser'],
],
],
],
'UpdateUserGuideStatus' => [
'summary' => 'Update the user guide status.',
'path' => '/user/update/guide/status',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempVWXIZC'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'A short description of struct',
'example' => 'FD200FAE-E98F-496E-BFE6-4CE61E59A2E9',
'properties' => [
'clientToken' => ['description' => 'Idempotency validation.', 'example' => 'FD200FAE-E98F-496E-BFE6-4CE61E59A2E9', 'required' => false, 'title' => '', 'type' => 'string'],
'guideAction' => ['description' => '- INCIDENT_GUIDE: management event stream. '."\n"
.'- USER_GUIDE: User configuration. '."\n"
.'- SERVICE_GROUP_GUIDE: service group. '."\n"
.'- SERVICE_GUIDE: service. '."\n"
.'- MONITOR_GUIDE: Integration configuration. '."\n"
.'- ROUTE_RULE_GUIDE: stream routing rule. '."\n"
.'- NOTICE_GUIDE: Notifications subscription.', 'example' => 'SERVICE_GROUP_GUIDE', 'required' => false, 'title' => '', 'type' => 'string'],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'Schema of Response',
'properties' => [
'requestId' => ['description' => 'Id of the request', 'example' => 'FD200FAE-E98F-496E-BFE6-4CE61E59A2E9', 'title' => 'Id of the request', 'type' => 'string'],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"FD200FAE-E98F-496E-BFE6-4CE61E59A2E9\\"\\n}","type":"json"}]',
'title' => 'Update the user guide status',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'update',
'ramAction' => [
'action' => 'gemp:UpdateUserGuideStatus',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateUserGuideStatus'],
],
],
],
'VerifyRouteRule' => [
'summary' => 'Verifies a routing rule.',
'path' => '/routeRule/verify',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'consumes' => ['application/json'],
'produces' => ['application/json'],
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREgempLJVP1W'],
],
'parameters' => [
[
'name' => 'body',
'in' => 'body',
'style' => 'json',
'schema' => [
'description' => 'The request body.',
'properties' => [
'routeRuleId' => ['description' => 'The rule ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '1111', 'title' => '', 'required' => false],
'testSourceEvents' => [
'description' => 'The content for the alert test.',
'items' => [
'description' => 'The content for the alert test.',
'example' => '{}',
'properties' => [
'monitorSourceId' => ['description' => 'The ID of the monitoring source.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => '', 'required' => false],
'monitorSourceName' => ['description' => 'The name of the monitoring source.', 'type' => 'string', 'example' => 'zabbix', 'title' => '', 'required' => false],
'eventTime' => ['description' => 'The time when the alert occurred.', 'type' => 'string', 'example' => '2021-09-08 13:00:00', 'title' => '', 'required' => false],
'eventJson' => ['description' => 'The format of the alert test content.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '{}'],
],
'required' => false,
'type' => 'object',
'title' => '',
],
'required' => false,
'title' => '',
'type' => 'array',
'example' => '',
],
],
'required' => false,
'title' => 'A short description of struct',
'type' => 'object',
'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'The response structure.',
'properties' => [
'requestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'xxxxxx'],
'data' => [
'description' => 'The validation result.',
'properties' => [
'isValidRule' => ['description' => 'Indicates whether the validation was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
'routeType' => ['description' => 'The event or alert.', 'type' => 'string', 'example' => 'INCIDENT、ALERT', 'title' => ''],
'notifySubscriptionNames' => [
'description' => 'The name of the subscription.',
'items' => [
'description' => 'The notification subscription.',
'example' => '我的订阅',
'properties' => [
'subscriptionId' => ['description' => 'The subscription ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '111111', 'title' => ''],
'title' => ['description' => 'The subscription name.', 'type' => 'string', 'example' => '订阅名称', 'title' => ''],
],
'type' => 'object',
'title' => '',
],
'title' => '',
'type' => 'array',
'example' => '',
],
'escalationPlans' => [
'description' => 'Upgrade policy name.',
'items' => [
'description' => 'The escalation plan.',
'properties' => [
'escalationPlanName' => ['description' => 'The name of the escalation plan.', 'type' => 'string', 'example' => '升级计划1', 'title' => ''],
'escalationPlanId' => ['description' => 'The ID of the escalation plan.', 'type' => 'integer', 'format' => 'int64', 'example' => '111111', 'title' => ''],
],
'type' => 'object',
'title' => '',
'example' => '',
],
'title' => '',
'type' => 'array',
'example' => '',
],
'routeRuleFailReason' => [
'description' => 'The reason why the routing rule validation failed.',
'items' => ['description' => 'The reason why the routing rule validation failed.', 'type' => 'string', 'example' => 'alertName不匹配', 'title' => ''],
'title' => '',
'type' => 'array',
'example' => '',
],
'monitorSourceIds' => [
'description' => 'The IDs of the monitoring sources for which the validation failed.',
'items' => ['description' => '1000', 'type' => 'integer', 'format' => 'int64', 'example' => '验证失败监控源ID', 'title' => ''],
'title' => '',
'type' => 'array',
'example' => '',
],
],
'title' => '',
'type' => 'object',
'example' => '',
],
],
'title' => 'Schema of Response',
'type' => 'object',
'example' => '',
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"xxxxxx\\",\\n \\"data\\": {\\n \\"isValidRule\\": true,\\n \\"routeType\\": \\"INCIDENT、ALERT\\",\\n \\"notifySubscriptionNames\\": [\\n {\\n \\"subscriptionId\\": 111111,\\n \\"title\\": \\"订阅名称\\"\\n }\\n ],\\n \\"escalationPlans\\": [\\n {\\n \\"escalationPlanName\\": \\"升级计划1\\",\\n \\"escalationPlanId\\": 111111\\n }\\n ],\\n \\"routeRuleFailReason\\": [\\n \\"alertName不匹配\\"\\n ],\\n \\"monitorSourceIds\\": [\\n 0\\n ]\\n }\\n}","type":"json"}]',
'title' => 'Authenticate stream routing rule ',
'requestParamsDescription' => '{'."\n"
.'"testSourceEvents": \\['."\n"
.'{'."\n"
.'"eventJson": "{\\n\\t\\\\"summary\\\\": \\\\"Cpu\\_util at 85.16% on machine 112.11.123.11\\\\",\\n\\t\\\\"priority\\\\": \\\\"P1\\\\",\\n\\t\\\\"name\\\\": \\\\"CPU Usage Exceeds Threshold Alert\\\\",\\n\\t\\\\"timestamp\\\\": \\\\"2021-07-17 T08:42:58.315+0000\\\\",\\n\\t\\\\"region\\\\": \\\\"shanghai\\\\",\\n\\t\\\\"source\\\\": \\\\"112.11.123.11\\\\",\\n\\t\\\\"application\\\\": \\\\"zheda/mozi\\\\",\\n\\t\\\\"group\\\\": \\\\"Online\\\\",\\n\\t\\\\"class\\\\": \\\\"Load\\\\",\\n\\t\\\\"details\\\\": {\\n\\t\\t\\\\"freeSpace\\\\": \\\\"1%\\\\",\\n\\t\\t\\\\"pingTime\\\\": \\\\"1500ms\\\\",\\n\\t\\t\\\\"loadAvg\\\\": \\\\"0.75\\\\"\\n\\t},\\n\\t\\\\"tags\\\\": \\\\"{}\\\\"\\n}",'."\n"
.'"eventTime": "2021-12-17 05:13:17",'."\n"
.'"monitorSourceId": 23463,'."\n"
.'"monitorSourceName": "Standard Integration"'."\n"
.'}'."\n"
.'],'."\n"
.'"routeRuleId": "160034020",'."\n"
.'"clientToken": "7e070585-ee11-450e-8827-db353faa3419"'."\n"
.'}',
'responseParamsDescription' => '{'."\n"
.'"requestId": "gdgsdgsggsdg",'."\n"
.'"success": true,'."\n"
.'"errCode": 200,'."\n"
.'"errMessage": null,'."\n"
.'"data": {'."\n"
.'"routeRuleId": null,'."\n"
.'"isValidRule": false,'."\n"
.'"routeType": "INCIDENT",'."\n"
.'"routeRuleName": null,'."\n"
.'"assignToWhoName": null,'."\n"
.'"notifySubscriptions": \\['."\n"
.'{'."\n"
.'"subscriptionId": 80002030,'."\n"
.'"title": "\\[Test, Do Not Modify] All Services"'."\n"
.'},'."\n"
.'{'."\n"
.'"subscriptionId": 100000010,'."\n"
.'"title": "safasefen"'."\n"
.'},'."\n"
.'{'."\n"
.'"subscriptionId": 100000030,'."\n"
.'"title": "test2190830"'."\n"
.'},'."\n"
.'{'."\n"
.'"subscriptionId": 100000040,'."\n"
.'"title": "test121"'."\n"
.'},'."\n"
.'{'."\n"
.'"subscriptionId": 100000070,'."\n"
.'"title": "Yes"'."\n"
.'},'."\n"
.'{'."\n"
.'"subscriptionId": 110000000,'."\n"
.'"title": "All Services - Personal - High Priority"'."\n"
.'},'."\n"
.'{'."\n"
.'"subscriptionId": 110000010,'."\n"
.'"title": "111"'."\n"
.'},'."\n"
.'{'."\n"
.'"subscriptionId": 110000030,'."\n"
.'"title": "Legacy Data Compatibility Test"'."\n"
.'},'."\n"
.'{'."\n"
.'"subscriptionId": 110000090,'."\n"
.'"title": "Test Optimization Feature"'."\n"
.'},'."\n"
.'{'."\n"
.'"subscriptionId": 120000000,'."\n"
.'"title": "Manager 1"'."\n"
.'},'."\n"
.'{'."\n"
.'"subscriptionId": 120000030,'."\n"
.'"title": "Three-level Cascade -- All Services"'."\n"
.'},'."\n"
.'{'."\n"
.'"subscriptionId": 120000070,'."\n"
.'"title": "341"'."\n"
.'},'."\n"
.'{'."\n"
.'"subscriptionId": 130000000,'."\n"
.'"title": "All Services - Service Group"'."\n"
.'},'."\n"
.'{'."\n"
.'"subscriptionId": 130000010,'."\n"
.'"title": "222"'."\n"
.'},'."\n"
.'{'."\n"
.'"subscriptionId": 130000030,'."\n"
.'"title": "test0903"'."\n"
.'},'."\n"
.'{'."\n"
.'"subscriptionId": 130000060,'."\n"
.'"title": "niidfads"'."\n"
.'},'."\n"
.'{'."\n"
.'"subscriptionId": 130000070,'."\n"
.'"title": "e232"'."\n"
.'},'."\n"
.'{'."\n"
.'"subscriptionId": 130000080,'."\n"
.'"title": "test0001"'."\n"
.'},'."\n"
.'{'."\n"
.'"subscriptionId": 140000000,'."\n"
.'"title": "Boundary Value Test"'."\n"
.'},'."\n"
.'{'."\n"
.'"subscriptionId": 140000010,'."\n"
.'"title": "Notification Subscription"'."\n"
.'},'."\n"
.'{'."\n"
.'"subscriptionId": 140000020,'."\n"
.'"title": "\\[Do Not Modify Configuration!!!] \\[New] Notification Subscription - All"'."\n"
.'},'."\n"
.'{'."\n"
.'"subscriptionId": 140000070,'."\n"
.'"title": "testyixia"'."\n"
.'},'."\n"
.'{'."\n"
.'"subscriptionId": 150000000,'."\n"
.'"title": "24321"'."\n"
.'},'."\n"
.'{'."\n"
.'"subscriptionId": 150000030,'."\n"
.'"title": "dscs"'."\n"
.'},'."\n"
.'{'."\n"
.'"subscriptionId": 150000070,'."\n"
.'"title": "Steve v"'."\n"
.'},'."\n"
.'{'."\n"
.'"subscriptionId": 150000090,'."\n"
.'"title": "121212"'."\n"
.'},'."\n"
.'{'."\n"
.'"subscriptionId": 160000010,'."\n"
.'"title": "3333"'."\n"
.'},'."\n"
.'{'."\n"
.'"subscriptionId": 160000030,'."\n"
.'"title": "wj Test Subscription"'."\n"
.'},'."\n"
.'{'."\n"
.'"subscriptionId": 160000060,'."\n"
.'"title": "cdscds"'."\n"
.'},'."\n"
.'{'."\n"
.'"subscriptionId": 160000070,'."\n"
.'"title": "testsd"'."\n"
.'},'."\n"
.'{'."\n"
.'"subscriptionId": 170000000,'."\n"
.'"title": "Service -- Personal"'."\n"
.'},'."\n"
.'{'."\n"
.'"subscriptionId": 170000010,'."\n"
.'"title": "4444444"'."\n"
.'},'."\n"
.'{'."\n"
.'"subscriptionId": 170000020,'."\n"
.'"title": "Test 11"'."\n"
.'},'."\n"
.'{'."\n"
.'"subscriptionId": 170000030,'."\n"
.'"title": "This is a test 0927"'."\n"
.'},'."\n"
.'{'."\n"
.'"subscriptionId": 170000060,'."\n"
.'"title": "Jing Hua, the manipulator behind the notorious stock Rendong Holdings, recently received a 5 million fine from the CSRC. The penalty decision shows that this former prominent retail investor lost nearly 2.7 billion on Rendong Holdings and also reported to the CSRC"'."\n"
.'},'."\n"
.'{'."\n"
.'"subscriptionId": 170000070,'."\n"
.'"title": "Eat"'."\n"
.'},'."\n"
.'{'."\n"
.'"subscriptionId": 170000090,'."\n"
.'"title": "fafafa"'."\n"
.'},'."\n"
.'{'."\n"
.'"subscriptionId": 180000000,'."\n"
.'"title": "aa1"'."\n"
.'},'."\n"
.'{'."\n"
.'"subscriptionId": 180000010,'."\n"
.'"title": "3"'."\n"
.'},'."\n"
.'{'."\n"
.'"subscriptionId": 180000030,'."\n"
.'"title": "sdds"'."\n"
.'},'."\n"
.'{'."\n"
.'"subscriptionId": 180000040,'."\n"
.'"title": "4fy"'."\n"
.'},'."\n"
.'{'."\n"
.'"subscriptionId": 180000050,'."\n"
.'"title": "cadscds"'."\n"
.'},'."\n"
.'{'."\n"
.'"subscriptionId": 180000060,'."\n"
.'"title": "sdc"'."\n"
.'},'."\n"
.'{'."\n"
.'"subscriptionId": 180000090,'."\n"
.'"title": "Speed"'."\n"
.'},'."\n"
.'{'."\n"
.'"subscriptionId": 190000040,'."\n"
.'"title": "Custom Time Configuration Test"'."\n"
.'},'."\n"
.'{'."\n"
.'"subscriptionId": 190000080,'."\n"
.'"title": "Legacy Data Compatibility"'."\n"
.'},'."\n"
.'{'."\n"
.'"subscriptionId": 190000090,'."\n"
.'"title": "DingTalk Test"'."\n"
.'}'."\n"
.'],'."\n"
.'"escalationPlans": \\[],'."\n"
.'"routeRuleFailReason": \\['."\n"
.'"No alert content matches this Zabbix rule"'."\n"
.'],'."\n"
.'"monitorSourceIds": \\['."\n"
.'23465'."\n"
.']'."\n"
.'}'."\n"
.'}',
'changeSet' => [],
'ramActions' => [
[
'operationType' => 'none',
'ramAction' => [
'action' => 'gemp:VerifyRouteRule',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'VerifyRouteRule'],
],
],
],
],
'endpoints' => [
['regionId' => 'cn-shanghai', 'regionName' => 'China (Shanghai)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'gemp.cn-shanghai.aliyuncs.com', 'endpoint' => 'gemp.cn-shanghai.aliyuncs.com', 'vpc' => 'gemp-vpc.cn-shanghai.aliyuncs.com'],
],
'errorCodes' => [
['code' => 'AddRouteRuleFail', 'message' => 'Failed to add the rule.', 'http_code' => 400, 'description' => ''],
['code' => 'AddServiceFail', 'message' => 'Failed to add the service.', 'http_code' => 400, 'description' => ''],
['code' => 'AddServiceGroupFail', 'message' => 'Failed to add the service group.', 'http_code' => 400, 'description' => ''],
['code' => 'ApprovedByOthers', 'message' => 'Approved by others', 'http_code' => 500, 'description' => ''],
['code' => 'CreateIntegrationConfigFail', 'message' => 'Failed to create integration config.', 'http_code' => 403, 'description' => ''],
['code' => 'DateRangeOverflow', 'message' => 'DateRangeOverflow:30days', 'http_code' => 500, 'description' => ''],
['code' => 'DeleteEnabledRuleFail', 'message' => 'Failed to delete the rule with the enabled status.', 'http_code' => 400, 'description' => ''],
['code' => 'DeleteRuleFail', 'message' => 'Failed to delete the rules.', 'http_code' => 400, 'description' => ''],
['code' => 'DeleteServiceFail', 'message' => 'Failed to delete the service.', 'http_code' => 400, 'description' => ''],
['code' => 'DeleteServiceGroupFail', 'message' => 'Failed to delete the service group.', 'http_code' => 400, 'description' => 'Failed to delete the service group.'],
['code' => 'DeleteServiceGroupFail', 'message' => 'The service group has been associated with route rule.', 'http_code' => 400, 'description' => ''],
['code' => 'DeleteServiceGroupFail', 'message' => 'The service group has been associated with escalationPlan.', 'http_code' => 402, 'description' => ''],
['code' => 'DeleteServiceGroupSchedulingFail', 'message' => 'The service group has been associated with route rule.', 'http_code' => 401, 'description' => ''],
['code' => 'DeleteUserFail', 'message' => 'The user has been associated with escalationPlan.', 'http_code' => 401, 'description' => ''],
['code' => 'DeleteUserFail', 'message' => 'The user has been associated with route rule.', 'http_code' => 400, 'description' => ''],
['code' => 'DeleteUserFail', 'message' => 'Users are scheduled.', 'http_code' => 402, 'description' => ''],
['code' => 'DisableServiceGroupWebhookFail', 'message' => 'Failed to disable the service group webhook.', 'http_code' => 400, 'description' => ''],
['code' => 'DisableWebhookFailed', 'message' => 'Disabling webhook failed.', 'http_code' => 400, 'description' => ''],
['code' => 'DisableWebhookFailed', 'message' => 'Failed to disable webhook', 'http_code' => 400, 'description' => ''],
['code' => 'EditServiceFail', 'message' => 'Failed to edit the service.', 'http_code' => 400, 'description' => ''],
['code' => 'EditServiceGroupFail', 'message' => 'Failed to edit the service group.', 'http_code' => 400, 'description' => ''],
['code' => 'EffectionServiceAlreadyExisted', 'message' => 'EffectionService already exists.', 'http_code' => 400, 'description' => ''],
['code' => 'EffectionServiceNotExisted', 'message' => 'EffectionService does not exist.', 'http_code' => 404, 'description' => ''],
['code' => 'EnableRouteRuleFail', 'message' => 'Failed to enable the rules.', 'http_code' => 400, 'description' => ''],
['code' => 'EnableServiceGroupWebhookFail', 'message' => 'Failed to enable the service group webhook.', 'http_code' => 400, 'description' => ''],
['code' => 'EscalationPlanAlreadyDisable', 'message' => 'The escalation plan is already disabled.', 'http_code' => 400, 'description' => ''],
['code' => 'EscalationPlanAlreadyEnable', 'message' => 'The escalation plan is already enabled.', 'http_code' => 400, 'description' => ''],
['code' => 'EscalationPlanAlreadyExisted', 'message' => 'The escalation plan already exists.', 'http_code' => 400, 'description' => ''],
['code' => 'EscalationPlanNotExists', 'message' => 'The specified escalation plan does not exist.', 'http_code' => 404, 'description' => ''],
['code' => 'EscalationPlanRuleNull', 'message' => 'Escalation plan rule can not be null.', 'http_code' => 400, 'description' => ''],
['code' => 'EscalationPlanServiceAleardyRelated', 'message' => 'The specified service is already related.', 'http_code' => 400, 'description' => ''],
['code' => 'EscalationPlanServiceNull', 'message' => 'Escalation plan service can not be nulll', 'http_code' => 400, 'description' => ''],
['code' => 'ExcelFileHeaderError', 'message' => 'Excel File Header Error', 'http_code' => 406, 'description' => ''],
['code' => 'ExcelFileUrlError', 'message' => 'Excel File Url Error', 'http_code' => 405, 'description' => ''],
['code' => 'IdentitySelectionError', 'message' => 'Identity selection error', 'http_code' => 402, 'description' => ''],
['code' => 'IncidentNotExtisted', 'message' => 'The incident does not exist.', 'http_code' => 404, 'description' => ''],
['code' => 'IncidentStatusInvalid', 'message' => 'The incident status is invalid.', 'http_code' => 400, 'description' => ''],
['code' => 'IncidentUpdateInvalid', 'message' => 'The incident update is invalid.', 'http_code' => 400, 'description' => ''],
['code' => 'IncorrectInstanceStatus', 'message' => 'The current status of the resource does not support this operation.', 'http_code' => 403, 'description' => 'The current status of the resource does not support this operation.'],
['code' => 'IntegationConfigAlreadyDisable', 'message' => 'The specified integration config is already disabled.', 'http_code' => 403, 'description' => ''],
['code' => 'IntegationConfigAlreadyEnable', 'message' => 'The specified integration config is already enabled.', 'http_code' => 403, 'description' => ''],
['code' => 'IntegationConfigAlreadyExists', 'message' => 'The specified integration config already exists.', 'http_code' => 403, 'description' => ''],
['code' => 'IntegationConfigAlreadyIntegrated', 'message' => 'The specified integration config is already integrated.', 'http_code' => 403, 'description' => ''],
['code' => 'IntegationConfigNotDisable', 'message' => 'The specified integration config is not disabled.', 'http_code' => 403, 'description' => ''],
['code' => 'IntegationConfigNotExists', 'message' => 'The specified integration config does not exist.', 'http_code' => 404, 'description' => ''],
['code' => 'IntegationConfigNotIntegrated', 'message' => 'The specified integration config is not integrated.', 'http_code' => 403, 'description' => ''],
['code' => 'IntegrationConfigExistsRouteRule', 'message' => 'integration config exists routeRule.', 'http_code' => 400, 'description' => ''],
['code' => 'InternalError', 'message' => 'An internal server error occurred.', 'http_code' => 500, 'description' => 'Internal Server Error'],
['code' => 'InvalidParameter', 'message' => 'The specified parameter is not valid. %s', 'http_code' => 400, 'description' => 'The specified parameter is not valid.'."\n"],
['code' => 'MonitorSourceNotExists', 'message' => 'The specified monitor source does not exist.', 'http_code' => 404, 'description' => ''],
['code' => 'NoPermission', 'message' => 'The RAM user does not have permission.', 'http_code' => 403, 'description' => 'account have no permission'],
['code' => 'NotifySubsAlreadyDisable', 'message' => 'The specified subscription is already disabled.', 'http_code' => 403, 'description' => ''],
['code' => 'NotifySubsAlreadyEnable', 'message' => 'The specified subscription is already enabled.', 'http_code' => 403, 'description' => ''],
['code' => 'NotifySubsAlreadyExists', 'message' => 'The specified subscription already exists.', 'http_code' => 403, 'description' => ''],
['code' => 'NotifySubsNotExists', 'message' => 'The specified subscription does not exist.', 'http_code' => 404, 'description' => ''],
['code' => 'openFailed', 'message' => 'open Failed', 'http_code' => 405, 'description' => ''],
['code' => 'PhoneAlreadyExists', 'message' => 'The specified phone number already exists.', 'http_code' => 400, 'description' => ''],
['code' => 'PhoneAlreadyExists', 'message' => 'The specified user phone number already exists.', 'http_code' => 400, 'description' => ''],
['code' => 'ProblemMeasureNotExisted', 'message' => 'The problem measure does not exist.', 'http_code' => 404, 'description' => ''],
['code' => 'ProblemNotExisted', 'message' => 'The problem does not exist.', 'http_code' => 404, 'description' => ''],
['code' => 'ProblemStatusError', 'message' => 'The problem status is abnormal.', 'http_code' => 400, 'description' => ''],
['code' => 'ProblemTimelineNotExisted', 'message' => 'The problem timeline does not exist.', 'http_code' => 404, 'description' => ''],
['code' => 'RamUserNotActivated', 'message' => 'User not activated.', 'http_code' => 400, 'description' => 'User not activated'],
['code' => 'ResourceEmpty', 'message' => 'The resource ID is empty.', 'http_code' => 403, 'description' => 'The resource ID is empty'],
['code' => 'ResourceNotBelongToTenant', 'message' => 'The resource does not belong to the tenant.', 'http_code' => 403, 'description' => 'The resource does not belong to your tenant'],
['code' => 'ResourceNotFound', 'message' => 'The specified Resource is not found.', 'http_code' => 404, 'description' => 'The specified Resource is not found.'],
['code' => 'RouteRuleNameAlreadyExisted', 'message' => 'The rule name already exists.', 'http_code' => 400, 'description' => ''],
['code' => 'RouteRuleNotExisted', 'message' => 'The rule does not exist.', 'http_code' => 404, 'description' => ''],
['code' => 'RuleNameAlreadyExist', 'message' => 'The rule name already exists.', 'http_code' => 400, 'description' => ''],
['code' => 'ServiceGroupNameAlreadyExisted', 'message' => 'The service group name is already in use.', 'http_code' => 400, 'description' => ''],
['code' => 'ServiceGroupNotExisted', 'message' => 'The service group does not exist.', 'http_code' => 400, 'description' => ''],
['code' => 'ServiceGroupWebHookLinkAlreadyExisted', 'message' => 'The webhook link is already in use.', 'http_code' => 400, 'description' => ''],
['code' => 'ServiceNameAlreadyExisted', 'message' => 'The service name is already in use.', 'http_code' => 400, 'description' => ''],
['code' => 'ServiceNotExisted', 'message' => 'The service does not exist.', 'http_code' => 404, 'description' => ''],
['code' => 'ServiceNotOpen', 'message' => 'The service is not activated.', 'http_code' => 403, 'description' => 'Service is not opened'],
['code' => 'ServiceStoped', 'message' => 'The service is suspended. Please check whether the account has overdue payments.', 'http_code' => 400, 'description' => 'service is suspended, please check whether the account is in arrears'."\n"
."\n"],
['code' => 'ServiceStopped', 'message' => 'The service is suspended. Please check whether the account has overdue payments.', 'http_code' => 400, 'description' => ''],
['code' => 'StsTokenNoPermission', 'message' => 'STS token authentication failed.', 'http_code' => 403, 'description' => 'Sts token have not permission'],
['code' => 'StsTokenNoWritePermission', 'message' => 'The STS token temporary account does not have write permission.', 'http_code' => 403, 'description' => 'Sts token have not write permission'],
['code' => 'TenantIsNotExisted', 'message' => 'The specified tenant does not exist.', 'http_code' => 404, 'description' => 'The specified tenant does not exist.'],
['code' => 'TimeFormatException', 'message' => 'The time format is invalid.', 'http_code' => 403, 'description' => ''],
['code' => 'TimelineFormatException', 'message' => 'The timeline format is invalid.', 'http_code' => 403, 'description' => ''],
['code' => 'UnbindUserFail', 'message' => 'The specified user does not exist.', 'http_code' => 401, 'description' => ''],
['code' => 'UnbindUserFail', 'message' => 'Not find userId.', 'http_code' => 402, 'description' => ''],
['code' => 'UnbindUserFail', 'message' => 'Mobile app not opened.', 'http_code' => 403, 'description' => ''],
['code' => 'UserAlreadyExists', 'message' => 'The specified user already exists.', 'http_code' => 403, 'description' => ''],
['code' => 'UserCountExcess', 'message' => 'Available users have run out, please upgrade to a higher version.', 'http_code' => 400, 'description' => 'Available users have run out, please upgrade to a higher version'],
['code' => 'UserDoesNotExist', 'message' => 'user does not exist', 'http_code' => 401, 'description' => ''],
['code' => 'UserNotAdded', 'message' => 'The user is not added to the system.', 'http_code' => 403, 'description' => 'The user did not added to system'],
['code' => 'UserNotExists', 'message' => 'The specified user does not exist.', 'http_code' => 404, 'description' => ''],
['code' => 'UserTypeNotExisted', 'message' => 'The user type does not exist.', 'http_code' => 404, 'description' => 'User type is not existed'],
['code' => 'WebhookAccessRestricts', 'message' => 'Traffic is restricted for webhook access.', 'http_code' => 403, 'description' => ''],
['code' => 'WebhookAddressFormatError', 'message' => 'The webhook address format is invalid.', 'http_code' => 403, 'description' => ''],
['code' => 'WebhookVerificationError', 'message' => 'A webhook verification error occurred.', 'http_code' => 403, 'description' => ''],
],
'changeSet' => [
[
'apis' => [
['description' => 'Request parameters changed', 'api' => 'ListDataReportForServiceGroup'],
],
'createdAt' => '2024-08-27T10:57:52.000Z',
'description' => '',
],
[
'apis' => [
['description' => 'Error codes changed', 'api' => 'CreateUser'],
['description' => 'Response parameters changed', 'api' => 'GenerateProblemPictureUploadSign'],
['description' => 'Response parameters changed', 'api' => 'GetUser'],
['description' => 'Response parameters changed', 'api' => 'ListUsers'],
],
'createdAt' => '2024-08-15T11:47:03.000Z',
'description' => '',
],
[
'apis' => [
['description' => 'Request parameters changed', 'api' => 'CreateEscalationPlan'],
['description' => 'Request parameters changed', 'api' => 'CreateService'],
['description' => 'Request parameters changed', 'api' => 'CreateUser'],
['description' => 'Response parameters changed', 'api' => 'GetEscalationPlan'],
['description' => 'Response parameters changed', 'api' => 'GetService'],
['description' => 'Response parameters changed', 'api' => 'GetServiceGroup'],
['description' => 'Response parameters changed', 'api' => 'GetUser'],
['description' => 'Request parameters changed, Response parameters changed', 'api' => 'ListEscalationPlans'],
['description' => 'Response parameters changed', 'api' => 'ListIncidentDetailEscalationPlans'],
['description' => 'Response parameters changed', 'api' => 'ListIntegrationConfigs'],
],
'createdAt' => '2023-04-13T12:02:15.000Z',
'description' => '',
],
[
'apis' => [
['description' => 'Request parameters changed', 'api' => 'UpdateEscalationPlan'],
],
'createdAt' => '2023-03-24T08:25:16.000Z',
'description' => '',
],
[
'apis' => [
['description' => 'Request parameters changed', 'api' => 'CreateEscalationPlan'],
],
'createdAt' => '2023-03-24T08:25:11.000Z',
'description' => '',
],
[
'apis' => [
['description' => 'Request parameters changed', 'api' => 'CreateServiceGroupScheduling'],
['description' => 'Response parameters changed', 'api' => 'GetServiceGroupScheduling'],
['description' => 'Request parameters changed', 'api' => 'UpdateServiceGroupScheduling'],
['description' => 'Request parameters changed', 'api' => 'UpdateServiceGroupSpecialDayScheduling'],
],
'createdAt' => '2022-12-26T13:01:51.000Z',
'description' => '多人排班',
],
[
'apis' => [
['description' => 'Response parameters changed', 'api' => 'GetProblem'],
],
'createdAt' => '2022-12-14T12:10:45.000Z',
'description' => '故障触发源',
],
[
'apis' => [
['description' => 'Request parameters changed', 'api' => 'CreateRouteRule'],
['description' => 'Response parameters changed', 'api' => 'GetRouteRule'],
['description' => 'Request parameters changed', 'api' => 'UpdateRouteRule'],
],
'createdAt' => '2022-12-07T12:30:42.000Z',
'description' => '故障等级定义',
],
[
'apis' => [
['description' => 'Error codes changed', 'api' => 'CreateServiceGroup'],
['description' => 'Response parameters changed', 'api' => 'ListIncidentDetailEscalationPlans'],
['description' => 'Error codes changed', 'api' => 'UpdateServiceGroup'],
],
'createdAt' => '2022-10-27T12:01:45.000Z',
'description' => '1',
],
[
'apis' => [
['description' => 'Response parameters changed', 'api' => 'GetTenantApplication'],
],
'createdAt' => '2022-10-12T16:56:31.000Z',
'description' => '成功',
],
[
'apis' => [
['description' => 'Response parameters changed', 'api' => 'ListServiceGroups'],
],
'createdAt' => '2022-09-19T12:15:38.000Z',
'description' => '1',
],
[
'apis' => [
['description' => 'Request parameters changed', 'api' => 'ListIncidentDetailTimelines'],
],
'createdAt' => '2022-09-06T12:17:33.000Z',
'description' => '1',
],
[
'apis' => [
['description' => 'Response parameters changed', 'api' => 'GetIncident'],
],
'createdAt' => '2022-08-11T12:54:09.000Z',
'description' => '11',
],
[
'apis' => [
['description' => 'Response parameters changed', 'api' => 'ListIncidents'],
],
'createdAt' => '2022-08-04T12:48:58.000Z',
'description' => 'tt',
],
[
'apis' => [
['description' => 'Request parameters changed', 'api' => 'BillingStatistics'],
],
'createdAt' => '2022-07-14T14:13:31.000Z',
'description' => '22',
],
[
'apis' => [
['description' => 'OpenAPI offline', 'api' => 'BillingStatistics'],
['description' => 'OpenAPI offline', 'api' => 'GetTenantStatus'],
],
'createdAt' => '2022-07-14T13:13:19.000Z',
'description' => 'q',
],
[
'apis' => [
['description' => 'Response parameters changed', 'api' => 'GetProblemImprovement'],
['description' => 'Request parameters changed, Response parameters changed', 'api' => 'ListAlerts'],
['description' => 'Request parameters changed', 'api' => 'UpdateProblemImprovement'],
],
'createdAt' => '2022-06-14T12:28:41.000Z',
'description' => '本次对报警列表进行了更新',
],
[
'apis' => [
['description' => 'OpenAPI offline', 'api' => 'ListByMonitorSourceId'],
['description' => 'OpenAPI offline', 'api' => 'RemoveIntegrationConfig'],
],
'createdAt' => '2022-06-07T11:55:54.000Z',
'description' => '移动应用集成支持解绑',
],
[
'apis' => [
['description' => 'Response parameters changed', 'api' => 'GetEscalationPlan'],
['description' => 'Response parameters changed', 'api' => 'GetRouteRule'],
['description' => 'Response parameters changed', 'api' => 'ListAlerts'],
['description' => 'Response parameters changed', 'api' => 'ListEscalationPlans'],
['description' => 'Response parameters changed', 'api' => 'ListIncidentDetailTimelines'],
['description' => 'Response parameters changed', 'api' => 'ListIncidents'],
['description' => 'Response parameters changed', 'api' => 'ListIncidentTimelines'],
['description' => 'Request parameters changed, Response parameters changed', 'api' => 'ListRouteRules'],
['description' => 'OpenAPI offline', 'api' => 'ListRouteRulesByService'],
],
'createdAt' => '2022-06-07T11:55:21.000Z',
'description' => '本次变更内容为添加服务删除功能,及规则删除后的显示优化',
],
[
'apis' => [
['description' => 'Request parameters changed, Response parameters changed', 'api' => 'GetSubscription'],
['description' => 'Request parameters changed, Response parameters changed', 'api' => 'ListSubscriptions'],
],
'createdAt' => '2022-06-07T11:51:07.000Z',
'description' => '新增Boolean参数,判断是否查询出已删除数据',
],
[
'apis' => [
['description' => 'Request parameters changed', 'api' => 'CreateRouteRule'],
],
'createdAt' => '2022-02-21T02:54:49.000Z',
'description' => '创建流转规则api,字段类型变更',
],
[
'apis' => [
['description' => 'Request parameters changed', 'api' => 'CreateServiceGroup'],
['description' => 'OpenAPI offline', 'api' => 'ListChartDataForServiceGroup'],
['description' => 'OpenAPI offline', 'api' => 'ListChartDataForUser'],
['description' => 'OpenAPI offline', 'api' => 'ListDataReportForServiceGroup'],
['description' => 'OpenAPI offline', 'api' => 'ListDataReportForUser'],
['description' => 'Request parameters changed', 'api' => 'ListIncidents'],
['description' => 'Response parameters changed', 'api' => 'ListServiceGroups'],
['description' => 'OpenAPI offline', 'api' => 'ListSourceEventsForMonitorSource'],
['description' => 'Request parameters changed', 'api' => 'UpdateServiceGroup'],
],
'createdAt' => '2021-11-18T05:34:59.000Z',
'description' => '数据统计一期',
],
[
'apis' => [
['description' => 'Request parameters changed', 'api' => 'ListAlerts'],
['description' => 'Request parameters changed', 'api' => 'ListSourceEvents'],
],
'createdAt' => '2021-11-18T05:34:31.000Z',
'description' => '查询告警增加时间范围筛选',
],
[
'apis' => [
['description' => 'Request parameters changed', 'api' => 'CreateSubscription'],
['description' => 'OpenAPI offline', 'api' => 'DeleteServiceGroupUser'],
['description' => 'OpenAPI offline', 'api' => 'GetHomePageGuidance'],
['description' => 'Response parameters changed', 'api' => 'GetProblem'],
['description' => 'OpenAPI offline', 'api' => 'GetServiceGroupPersonScheduling'],
['description' => 'Response parameters changed', 'api' => 'GetSimilarIncidentStatistics'],
['description' => 'Response parameters changed', 'api' => 'GetSubscription'],
['description' => 'Response parameters changed', 'api' => 'GetUser'],
['description' => 'Response parameters changed', 'api' => 'ListAlerts'],
],
'createdAt' => '2021-10-20T13:29:17.000Z',
'description' => 'V1.4版本需求发布',
],
[
'apis' => [
['description' => 'Request parameters changed', 'api' => 'CreateIncident'],
['description' => 'Request parameters changed', 'api' => 'CreateRouteRule'],
['description' => 'OpenAPI offline', 'api' => 'CreateServiceGroupScheduling'],
['description' => 'Request parameters changed', 'api' => 'CreateSubscription'],
['description' => 'Response parameters changed', 'api' => 'GetServiceGroup'],
['description' => 'OpenAPI offline', 'api' => 'GetServiceGroupScheduling'],
['description' => 'OpenAPI offline', 'api' => 'GetServiceGroupSchedulingPreview'],
['description' => 'OpenAPI offline', 'api' => 'GetServiceGroupSpecialPersonScheduling'],
['description' => 'Response parameters changed', 'api' => 'GetSubscription'],
['description' => 'OpenAPI offline', 'api' => 'ListIncidentDetailEscalationPlans'],
],
'createdAt' => '2021-09-10T01:54:44.000Z',
'description' => 'V1.2 版本,功能包括排班管理、升级策略优化、通知订阅支持三级条件',
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListIncidentTimelines'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListUsers'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateServiceGroupScheduling'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListRouteRules'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DisableSubscription'],
['threshold' => '-1', 'countWindow' => 1, 'regionId' => '*'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListProblemSubtotals'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListEscalationPlanServices'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetResourceStatistics'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateRouteRule'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateProblemTimeline'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DisableRouteRule'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetTenantApplication'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GenerateProblemPictureUploadSign'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeliverIncident'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetEscalationPlan'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListEscalationPlansByNoticeObject'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteProblemEffectionService'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListIncidents'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateService'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateService'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateServiceGroupScheduling'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetEvent'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListProblemTimeLines'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CheckWebhook'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateEscalationPlan'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListEscalationPlans'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListRouteRulesByService'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GeneratePictureLink'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetIncident'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateUserGuideStatus'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteEscalationPlan'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListConfigs'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateUser'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListUserSerivceGroups'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RefreshIntegrationConfigKey'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateIncidentSubtotal'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DisableIntegrationConfig'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateIntegrationConfig'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteRouteRule'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteServiceGroupUser'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateProblem'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'EnableRouteRule'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetRouteRule'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateUser'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateProblemImprovement'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateIncident'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetService'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'FinishProblem'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListSubscriptionServiceGroups'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateProblemNotice'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListServiceGroupMonitorSourceTemplates'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetServiceGroupPersonScheduling'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListIntegrationConfigTimelines'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListRouteRulesByAssignWhoId'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetIncidentListByIdList'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetServiceGroup'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateIncident'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateSubscription'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetHomePageGuidance'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteIntegrationConfig'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateProblemMeasure'],
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetTenantStatus'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListAlerts'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetProblemPreview'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateRouteRule'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'EnableSubscription'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateSubscription'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetIncidentStatistics'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateRichText'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListProblemOperations'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetServiceGroupSpecialPersonScheduling'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListSourceEvents'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetUser'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddProblemServiceGroup'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ReplayProblem'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetProblem'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteProblem'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateServiceGroup'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteIncident'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListServices'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateProblemTimelines'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetSubscription'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetSimilarIncidentStatistics'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateProblemTimeline'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UnbindUser'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CancelProblem'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateRichText'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateIntegrationConfig'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateServiceGroup'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListIncidentDetailEscalationPlans'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListProblemDetailOperations'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListServiceGroupsByUserId'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListIncidentSubtotals'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListDictionaries'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ConfirmIntegrationConfig'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListIncidentDetailTimelines'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DisableEscalationPlan'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'EnableServiceGroupWebhook'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetRichText'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteSubscription'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateServiceGroupSpecialDayScheduling'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetServiceGroupScheduling'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListSubscriptions'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RespondIncident'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteProblemMeasure'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteService'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetUserGuideStatus'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RecoverProblem'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListIntegrationConfigs'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteUser'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateProblemEffectionService'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteServiceGroup'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DisableServiceGroupWebhook'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RemoveProblemServiceGroup'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetProblemEffectionService'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetServiceGroupSchedulingPreview'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'BillingStatistics'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'EnableEscalationPlan'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListMonitorSources'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteServiceGroupScheduling'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateEscalationPlan'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GenerateProblemPictureLink'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListProblems'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateTenantApplication'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetIntegrationConfig'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RemoveIntegrationConfig'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetIncidentSubtotalCount'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RevokeProblemRecovery'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'EnableIntegrationConfig'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateProblemSubtotal'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateProblem'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetProblemImprovement'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GeneratePictureUploadSign'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateProblemEffectionService'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteProblemTimeline'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateProblemMeasure'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListServiceGroups'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListByMonitorSourceId'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'FinishIncident'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'VerifyRouteRule'],
],
],
'ram' => [
'productCode' => 'GEMP',
'productName' => 'Operations Incident Center',
'ramCodes' => ['gemp'],
'ramLevel' => 'RESOURCE',
'ramConditions' => [],
'ramActions' => [
[
'apiName' => 'ListRouteRulesByAssignWhoId',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:ListRouteRulesByAssignWhoId',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'GetServiceGroupPersonScheduling',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:GetServiceGroupPersonScheduling',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'ListIncidentDetailEscalationPlans',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:ListIncidentDetailEscalationPlans',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'UpdateIntegrationConfig',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'gemp:UpdateIntegrationConfig',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'ListProblemTimeLines',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:ListProblemTimeLines',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'EnableRouteRule',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'gemp:EnableRouteRule',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'GetIntegrationConfig',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:GetIntegrationConfig',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'ListEscalationPlans',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:ListEscalationPlans',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'CreateServiceGroup',
'description' => '',
'operationType' => 'create',
'ramAction' => [
'action' => 'gemp:CreateServiceGroup',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'ListIntegrationConfigTimelines',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:ListIntegrationConfigTimelines',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'DeleteService',
'description' => '',
'operationType' => 'delete',
'ramAction' => [
'action' => 'gemp:DeleteService',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'ListDataReportForServiceGroup',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:ListDataReportForServiceGroup',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'UpdateEscalationPlan',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'gemp:UpdateEscalationPlan',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'UpdateProblem',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'gemp:UpdateProblem',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'DeleteProblemMeasure',
'description' => '',
'operationType' => 'delete',
'ramAction' => [
'action' => 'gemp:DeleteProblemMeasure',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'GetUser',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:GetUser',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'CreateEscalationPlan',
'description' => '',
'operationType' => 'create',
'ramAction' => [
'action' => 'gemp:CreateEscalationPlan',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'UpdateProblemTimeline',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'gemp:UpdateProblemTimeline',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'ListIntegrationConfigs',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:ListIntegrationConfigs',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'GetSubscription',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:GetSubscription',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'RefreshIntegrationConfigKey',
'description' => '',
'operationType' => 'none',
'ramAction' => [
'action' => 'gemp:RefreshIntegrationConfigKey',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'ListProblemDetailOperations',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:ListProblemDetailOperations',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'ListUserSerivceGroups',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:ListUserSerivceGroups',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'UpdateProblemEffectionService',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'gemp:UpdateProblemEffectionService',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'DeleteProblem',
'description' => '',
'operationType' => 'delete',
'ramAction' => [
'action' => 'gemp:DeleteProblem',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'DeleteRouteRule',
'description' => '',
'operationType' => 'delete',
'ramAction' => [
'action' => 'gemp:DeleteRouteRule',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'CreateProblemEffectionService',
'description' => '',
'operationType' => 'create',
'ramAction' => [
'action' => 'gemp:CreateProblemEffectionService',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'GetServiceGroup',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:GetServiceGroup',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'ListProblemOperations',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:ListProblemOperations',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'ListConfigs',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:ListConfigs',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'CreateProblemTimelines',
'description' => '',
'operationType' => 'create',
'ramAction' => [
'action' => 'gemp:CreateProblemTimelines',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'ListIncidents',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:ListIncidents',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'ListServices',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:ListServices',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'GetHomePageGuidance',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:GetHomePageGuidance',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'GetTenantStatus',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:GetTenantStatus',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'GetIncidentSubtotalCount',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:GetIncidentSubtotalCount',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'ListMonitorSources',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:ListMonitorSources',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'DeleteServiceGroupScheduling',
'description' => '',
'operationType' => 'delete',
'ramAction' => [
'action' => 'gemp:DeleteServiceGroupScheduling',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'ListProblemSubtotals',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:ListProblemSubtotals',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'DisableRouteRule',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'gemp:DisableRouteRule',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'CreateUser',
'description' => '',
'operationType' => 'create',
'ramAction' => [
'action' => 'gemp:CreateUser',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'DeleteEscalationPlan',
'description' => '',
'operationType' => 'delete',
'ramAction' => [
'action' => 'gemp:DeleteEscalationPlan',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'GetServiceGroupSpecialPersonScheduling',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:GetServiceGroupSpecialPersonScheduling',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'UpdateServiceGroupScheduling',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'gemp:UpdateServiceGroupScheduling',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'DeleteServiceGroupUser',
'description' => '',
'operationType' => 'delete',
'ramAction' => [
'action' => 'gemp:DeleteServiceGroupUser',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'UpdateService',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'gemp:UpdateService',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'GetEscalationPlan',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:GetEscalationPlan',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'GeneratePictureLink',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:GeneratePictureLink',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'CreateProblem',
'description' => '',
'operationType' => 'create',
'ramAction' => [
'action' => 'gemp:CreateProblem',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'ListAlerts',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:ListAlerts',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'DeleteServiceGroup',
'description' => '',
'operationType' => 'delete',
'ramAction' => [
'action' => 'gemp:DeleteServiceGroup',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'CreateService',
'description' => '',
'operationType' => 'create',
'ramAction' => [
'action' => 'gemp:CreateService',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'UpdateUserGuideStatus',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'gemp:UpdateUserGuideStatus',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'ListSourceEvents',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:ListSourceEvents',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'DeleteUser',
'description' => '',
'operationType' => 'delete',
'ramAction' => [
'action' => 'gemp:DeleteUser',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'ListChartDataForUser',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:ListChartDataForUser',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'ListServiceGroupMonitorSourceTemplates',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:ListServiceGroupMonitorSourceTemplates',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'VerifyRouteRule',
'description' => '',
'operationType' => 'none',
'ramAction' => [
'action' => 'gemp:VerifyRouteRule',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'DisableSubscription',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'gemp:DisableSubscription',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'RemoveProblemServiceGroup',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'gemp:RemoveProblemServiceGroup',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'ListServiceGroupsByUserId',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:ListServiceGroupsByUserId',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'ListDictionaries',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:ListDictionaries',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'CancelProblem',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'gemp:CancelProblem',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'ListIncidentDetailTimelines',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:ListIncidentDetailTimelines',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'DisableEscalationPlan',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'gemp:DisableEscalationPlan',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'GetRouteRule',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:GetRouteRule',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'DeleteProblemTimeline',
'description' => '',
'operationType' => 'delete',
'ramAction' => [
'action' => 'gemp:DeleteProblemTimeline',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'EnableSubscription',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'gemp:EnableSubscription',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'ListSubscriptions',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:ListSubscriptions',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'ConfirmIntegrationConfig',
'description' => '',
'operationType' => 'none',
'ramAction' => [
'action' => 'gemp:ConfirmIntegrationConfig',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'ListRouteRules',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:ListRouteRules',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'GetResourceStatistics',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:GetResourceStatistics',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'DeleteIntegrationConfig',
'description' => '',
'operationType' => 'delete',
'ramAction' => [
'action' => 'gemp:DeleteIntegrationConfig',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'EnableServiceGroupWebhook',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'gemp:EnableServiceGroupWebhook',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'GetRichText',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:GetRichText',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'RevokeProblemRecovery',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'gemp:RevokeProblemRecovery',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'DisableServiceGroupWebhook',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'gemp:DisableServiceGroupWebhook',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'CreateTenantApplication',
'description' => '',
'operationType' => 'create',
'ramAction' => [
'action' => 'gemp:CreateTenantApplication',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'CreateProblemMeasure',
'description' => '',
'operationType' => 'create',
'ramAction' => [
'action' => 'gemp:CreateProblemMeasure',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'ListByMonitorSourceId',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:ListByMonitorSourceId',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'ReplayProblem',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'gemp:ReplayProblem',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'GetProblemEffectionService',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:GetProblemEffectionService',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'RecoverProblem',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'gemp:RecoverProblem',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'ListUsers',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:ListUsers',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'CreateSubscription',
'description' => '',
'operationType' => 'create',
'ramAction' => [
'action' => 'gemp:CreateSubscription',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'UpdateProblemImprovement',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'gemp:UpdateProblemImprovement',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'GetEvent',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:GetEvent',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'UpdateProblemMeasure',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'gemp:UpdateProblemMeasure',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'EnableEscalationPlan',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'gemp:EnableEscalationPlan',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'UpdateIncident',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'gemp:UpdateIncident',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'GetProblem',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:GetProblem',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'DeliverIncident',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'gemp:DeliverIncident',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'UpdateServiceGroup',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'gemp:UpdateServiceGroup',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'GetServiceGroupScheduling',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:GetServiceGroupScheduling',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'GenerateProblemPictureLink',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:GenerateProblemPictureLink',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'GenerateProblemPictureUploadSign',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:GenerateProblemPictureUploadSign',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'DeleteIncident',
'description' => '',
'operationType' => 'delete',
'ramAction' => [
'action' => 'gemp:DeleteIncident',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'UpdateRichText',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'gemp:UpdateRichText',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'ListTrendForSourceEvent',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:ListTrendForSourceEvent',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'GetService',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:GetService',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'GetIncidentStatistics',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:GetIncidentStatistics',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'GetUserGuideStatus',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:GetUserGuideStatus',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'GetIncidentListByIdList',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:GetIncidentListByIdList',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'CreateProblemTimeline',
'description' => '',
'operationType' => 'create',
'ramAction' => [
'action' => 'gemp:CreateProblemTimeline',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'GetSimilarIncidentStatistics',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:GetSimilarIncidentStatistics',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'RemoveIntegrationConfig',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'gemp:RemoveIntegrationConfig',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'DeleteProblemEffectionService',
'description' => '',
'operationType' => 'delete',
'ramAction' => [
'action' => 'gemp:DeleteProblemEffectionService',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'UpdateSubscription',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'gemp:UpdateSubscription',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'ListSubscriptionServiceGroups',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:ListSubscriptionServiceGroups',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'BillingStatistics',
'description' => '',
'operationType' => 'none',
'ramAction' => [
'action' => 'gemp:BillingStatistics',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'CreateProblemSubtotal',
'description' => '',
'operationType' => 'create',
'ramAction' => [
'action' => 'gemp:CreateProblemSubtotal',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'CreateRouteRule',
'description' => '',
'operationType' => 'create',
'ramAction' => [
'action' => 'gemp:CreateRouteRule',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'GetTenantApplication',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:GetTenantApplication',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'FinishIncident',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'gemp:FinishIncident',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'GeneratePictureUploadSign',
'description' => '',
'operationType' => 'none',
'ramAction' => [
'action' => 'gemp:GeneratePictureUploadSign',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'CreateServiceGroupScheduling',
'description' => '',
'operationType' => 'create',
'ramAction' => [
'action' => 'gemp:CreateServiceGroupScheduling',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'GetIncident',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:GetIncident',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'CheckWebhook',
'description' => '',
'operationType' => 'none',
'ramAction' => [
'action' => 'gemp:CheckWebhook',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'DisableIntegrationConfig',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'gemp:DisableIntegrationConfig',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'UpdateUser',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'gemp:UpdateUser',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'EnableIntegrationConfig',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'gemp:EnableIntegrationConfig',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'GetServiceGroupSchedulingPreview',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:GetServiceGroupSchedulingPreview',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'ListEscalationPlansByNoticeObject',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:ListEscalationPlansByNoticeObject',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'UpdateServiceGroupSpecialDayScheduling',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'gemp:UpdateServiceGroupSpecialDayScheduling',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'ListEscalationPlanServices',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:ListEscalationPlanServices',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'UpdateRouteRule',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'gemp:UpdateRouteRule',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'CreateRichText',
'description' => '',
'operationType' => 'create',
'ramAction' => [
'action' => 'gemp:CreateRichText',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'ListIncidentTimelines',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:ListIncidentTimelines',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'ListServiceGroups',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:ListServiceGroups',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'DeleteSubscription',
'description' => '',
'operationType' => 'delete',
'ramAction' => [
'action' => 'gemp:DeleteSubscription',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'GetProblemPreview',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:GetProblemPreview',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'ListRouteRulesByService',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:ListRouteRulesByService',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'ListDataReportForUser',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:ListDataReportForUser',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'FinishProblem',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'gemp:FinishProblem',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'UnbindUser',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'gemp:UnbindUser',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'ListProblems',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:ListProblems',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'GetProblemImprovement',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:GetProblemImprovement',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'CreateIncidentSubtotal',
'description' => '',
'operationType' => 'create',
'ramAction' => [
'action' => 'gemp:CreateIncidentSubtotal',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'UpdateProblemNotice',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'gemp:UpdateProblemNotice',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'CreateIntegrationConfig',
'description' => '',
'operationType' => 'create',
'ramAction' => [
'action' => 'gemp:CreateIntegrationConfig',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'RespondIncident',
'description' => '',
'operationType' => 'update',
'ramAction' => [
'action' => 'gemp:RespondIncident',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'AddProblemServiceGroup',
'description' => '',
'operationType' => 'create',
'ramAction' => [
'action' => 'gemp:AddProblemServiceGroup',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'ListChartDataForServiceGroup',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:ListChartDataForServiceGroup',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'ListSourceEventsForMonitorSource',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:ListSourceEventsForMonitorSource',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'ListIncidentSubtotals',
'description' => '',
'operationType' => 'get',
'ramAction' => [
'action' => 'gemp:ListIncidentSubtotals',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'apiName' => 'CreateIncident',
'description' => '',
'operationType' => 'create',
'ramAction' => [
'action' => 'gemp:CreateIncident',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'GEMP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'resourceTypes' => [],
],
];