@itentialopensource/adapter-moogsoft_saas
Version:
This adapter integrates with system described as: Moogsoft SaS
1,513 lines • 750 kB
JSON
{
"openapi": "3.1.0",
"info": {
"title": "",
"version": "1.0.0"
},
"paths": {
"/v1/alerts/{alertId}": {
"get": {
"tags": [
"Alerts"
],
"operationId": "alertDetails",
"description": "The parameters and request body are for method: alertDetails. Same endpoint also used in methods:",
"responses": {
"200": {
"description": "Successful operation",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"assignee": {
"type": "string"
},
"description": {
"type": "string"
},
"first_event_time": {
"type": "number"
},
"last_event_time": {
"type": "number"
},
"severity": {
"type": "string"
},
"status": {
"type": "string"
},
"alert_id": {
"type": "number"
},
"alias": {
"type": "string"
},
"check": {
"type": "string"
},
"class": {
"type": "string"
},
"dedupe_key": {
"type": "string"
},
"event_count": {
"type": "number"
},
"incidents": {
"type": "array",
"items": {
"type": "number"
}
},
"last_status_change_time": {
"type": "number"
},
"location": {
"type": "object"
},
"maintenance": {
"type": "string"
},
"manager": {
"type": "string"
},
"manager_id": {
"type": "string"
},
"namespace": {
"type": "string"
},
"service": {
"type": "array",
"items": {
"type": "string"
}
},
"source": {
"type": "string"
},
"tags": {
"type": "object"
},
"type": {
"type": "string"
},
"utcOffset": {
"type": "string"
},
"active_incidents_count": {
"type": "number"
},
"service_count": {
"type": "number"
}
}
},
"status": {
"type": "string"
}
}
},
"example": {
"data": {
"assignee": "test@moogsoft.com",
"description": "1 Source: www.your-source.com Affected retail, support\n",
"first_event_time": 1607985505,
"last_event_time": 1607985505,
"severity": "warning",
"status": "open",
"alert_id": 4,
"alias": "string",
"check": "string",
"class": "string",
"dedupe_key": "string",
"event_count": 6,
"incidents": [
7,
4,
9,
5,
4,
9,
3
],
"last_status_change_time": 2,
"location": {},
"maintenance": "string",
"manager": "string",
"manager_id": "string",
"namespace": "string",
"service": [
"string",
"string",
"string",
"string",
"string"
],
"source": "string",
"tags": {},
"type": "string",
"utcOffset": "string",
"active_incidents_count": 4,
"service_count": 6
},
"status": "success"
}
}
}
}
},
"parameters": [
{
"name": "alertId",
"in": "path",
"required": true,
"schema": {
"title": "alertId",
"type": "string"
}
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object"
},
"example": {}
}
}
}
},
"patch": {
"tags": [
"Alerts"
],
"operationId": "updateAlert",
"description": "The parameters and request body are for method: updateAlert. Same endpoint also used in methods:",
"responses": {
"200": {
"description": "Successful operation",
"content": {
"application/json": {
"schema": {
"title": "result",
"type": "object"
}
}
}
}
},
"parameters": [
{
"name": "alertId",
"in": "path",
"required": true,
"schema": {
"title": "alertId",
"type": "number"
}
}
],
"requestBody": {
"description": "indeterminate body object",
"content": {
"application/json": {
"schema": {
"type": "object"
}
}
}
}
}
},
"/v1/alerts": {
"get": {
"tags": [
"Alerts"
],
"operationId": "listAlerts",
"description": "The parameters and request body are for method: listAlerts. Same endpoint also used in methods:",
"responses": {
"200": {
"description": "Successful operation",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"status": {
"type": "string"
},
"data": {
"type": "object",
"properties": {
"result": {
"type": "array",
"items": {
"type": "object",
"properties": {
"assignee": {
"type": "string"
},
"description": {
"type": "string"
},
"first_event_time": {
"type": "number"
},
"last_event_time": {
"type": "number"
},
"severity": {
"type": "string"
},
"status": {
"type": "string"
},
"alert_id": {
"type": "number"
},
"alias": {
"type": "string"
},
"check": {
"type": "string"
},
"class": {
"type": "string"
},
"dedupe_key": {
"type": "string"
},
"event_count": {
"type": "number"
},
"incidents": {
"type": "array",
"items": {
"type": "number"
}
},
"last_status_change_time": {
"type": "number"
},
"location": {
"type": "object"
},
"maintenance": {
"type": "string"
},
"manager": {
"type": "string"
},
"manager_id": {
"type": "string"
},
"namespace": {
"type": "string"
},
"service": {
"type": "array",
"items": {
"type": "string"
}
},
"source": {
"type": "string"
},
"tags": {
"type": "object"
},
"type": {
"type": "string"
},
"utcOffset": {
"type": "string"
},
"active_incidents_count": {
"type": "number"
},
"service_count": {
"type": "number"
}
}
}
}
}
}
}
},
"example": {
"status": "success",
"data": {
"result": [
{
"assignee": "test@moogsoft.com",
"description": "1 Source: www.your-source.com Affected retail, support\n",
"first_event_time": 1607985505,
"last_event_time": 1607985505,
"severity": "minor",
"status": "resolved",
"alert_id": 2,
"alias": "string",
"check": "string",
"class": "string",
"dedupe_key": "string",
"event_count": 2,
"incidents": [
7
],
"last_status_change_time": 4,
"location": {},
"maintenance": "string",
"manager": "string",
"manager_id": "string",
"namespace": "string",
"service": [
"string",
"string",
"string",
"string"
],
"source": "string",
"tags": {},
"type": "string",
"utcOffset": "string",
"active_incidents_count": 2,
"service_count": 2
},
{
"assignee": "test@moogsoft.com",
"description": "1 Source: www.your-source.com Affected retail, support\n",
"first_event_time": 1607985505,
"last_event_time": 1607985505,
"severity": "warning",
"status": "in progress",
"alert_id": 8,
"alias": "string",
"check": "string",
"class": "string",
"dedupe_key": "string",
"event_count": 2,
"incidents": [
5,
3,
9,
3,
2,
5,
9,
2,
10,
3
],
"last_status_change_time": 5,
"location": {},
"maintenance": "string",
"manager": "string",
"manager_id": "string",
"namespace": "string",
"service": [
"string",
"string",
"string",
"string",
"string"
],
"source": "string",
"tags": {},
"type": "string",
"utcOffset": "string",
"active_incidents_count": 1,
"service_count": 2
},
{
"assignee": "test@moogsoft.com",
"description": "1 Source: www.your-source.com Affected retail, support\n",
"first_event_time": 1607985505,
"last_event_time": 1607985505,
"severity": "major",
"status": "in progress",
"alert_id": 10,
"alias": "string",
"check": "string",
"class": "string",
"dedupe_key": "string",
"event_count": 6,
"incidents": [
6
],
"last_status_change_time": 9,
"location": {},
"maintenance": "string",
"manager": "string",
"manager_id": "string",
"namespace": "string",
"service": [
"string",
"string",
"string",
"string",
"string",
"string"
],
"source": "string",
"tags": {},
"type": "string",
"utcOffset": "string",
"active_incidents_count": 5,
"service_count": 10
},
{
"assignee": "test@moogsoft.com",
"description": "1 Source: www.your-source.com Affected retail, support\n",
"first_event_time": 1607985505,
"last_event_time": 1607985505,
"severity": "minor",
"status": "superseded",
"alert_id": 2,
"alias": "string",
"check": "string",
"class": "string",
"dedupe_key": "string",
"event_count": 2,
"incidents": [
7,
2,
10,
2,
3,
2,
7,
6
],
"last_status_change_time": 5,
"location": {},
"maintenance": "string",
"manager": "string",
"manager_id": "string",
"namespace": "string",
"service": [
"string"
],
"source": "string",
"tags": {},
"type": "string",
"utcOffset": "string",
"active_incidents_count": 1,
"service_count": 10
},
{
"assignee": "test@moogsoft.com",
"description": "1 Source: www.your-source.com Affected retail, support\n",
"first_event_time": 1607985505,
"last_event_time": 1607985505,
"severity": "clear",
"status": "error",
"alert_id": 2,
"alias": "string",
"check": "string",
"class": "string",
"dedupe_key": "string",
"event_count": 1,
"incidents": [
6,
9
],
"last_status_change_time": 7,
"location": {},
"maintenance": "string",
"manager": "string",
"manager_id": "string",
"namespace": "string",
"service": [
"string",
"string",
"string",
"string",
"string"
],
"source": "string",
"tags": {},
"type": "string",
"utcOffset": "string",
"active_incidents_count": 9,
"service_count": 3
},
{
"assignee": "test@moogsoft.com",
"description": "1 Source: www.your-source.com Affected retail, support\n",
"first_event_time": 1607985505,
"last_event_time": 1607985505,
"severity": "unknown",
"status": "superseded",
"alert_id": 4,
"alias": "string",
"check": "string",
"class": "string",
"dedupe_key": "string",
"event_count": 2,
"incidents": [
2,
9
],
"last_status_change_time": 7,
"location": {},
"maintenance": "string",
"manager": "string",
"manager_id": "string",
"namespace": "string",
"service": [
"string"
],
"source": "string",
"tags": {},
"type": "string",
"utcOffset": "string",
"active_incidents_count": 2,
"service_count": 5
},
{
"assignee": "test@moogsoft.com",
"description": "1 Source: www.your-source.com Affected retail, support\n",
"first_event_time": 1607985505,
"last_event_time": 1607985505,
"severity": "warning",
"status": "open",
"alert_id": 1,
"alias": "string",
"check": "string",
"class": "string",
"dedupe_key": "string",
"event_count": 6,
"incidents": [
3,
10,
5
],
"last_status_change_time": 8,
"location": {},
"maintenance": "string",
"manager": "string",
"manager_id": "string",
"namespace": "string",
"service": [
"string",
"string",
"string"
],
"source": "string",
"tags": {},
"type": "string",
"utcOffset": "string",
"active_incidents_count": 3,
"service_count": 1
},
{
"assignee": "test@moogsoft.com",
"description": "1 Source: www.your-source.com Affected retail, support\n",
"first_event_time": 1607985505,
"last_event_time": 1607985505,
"severity": "warning",
"status": "open",
"alert_id": 6,
"alias": "string",
"check": "string",
"class": "string",
"dedupe_key": "string",
"event_count": 9,
"incidents": [
8,
3,
2,
10,
8
],
"last_status_change_time": 2,
"location": {},
"maintenance": "string",
"manager": "string",
"manager_id": "string",
"namespace": "string",
"service": [
"string",
"string",
"string",
"string"
],
"source": "string",
"tags": {},
"type": "string",
"utcOffset": "string",
"active_incidents_count": 8,
"service_count": 7
}
]
}
}
}
}
}
},
"parameters": [
{
"name": "filter",
"in": "query",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "incidentId",
"in": "query",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "limit",
"in": "query",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "sortBy",
"in": "query",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "sortOrder",
"in": "query",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "start",
"in": "query",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "utcOffset",
"in": "query",
"required": true,
"schema": {
"type": "string"
}
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object"
},
"example": {}
}
}
}
},
"patch": {
"tags": [
"Alerts"
],
"operationId": "updateAlerts",
"description": "The parameters and request body are for method: updateAlerts. Same endpoint also used in methods:",
"responses": {
"200": {
"description": "Successful operation",
"content": {
"application/json": {
"schema": {
"title": "result",
"type": "object"
}
}
}
}
},
"requestBody": {
"description": "indeterminate body object",
"content": {
"application/json": {
"schema": {
"type": "object"
}
}
}
}
}
},
"/v1/alerts/{alertId}/incidents": {
"get": {
"tags": [
"Alerts"
],
"operationId": "incidentIds",
"description": "The parameters and request body are for method: incidentIds. Same endpoint also used in methods:",
"responses": {
"200": {
"description": "Successful operation",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"status": {
"type": "string"
},
"data": {
"type": "object",
"properties": {
"result": {
"type": "array",
"items": {
"type": "number"
}
}
}
}
}
},
"example": {
"status": "success",
"data": {
"result": [
8,
7,
8,
7,
9,
9,
6
]
}
}
}
}
}
},
"parameters": [
{
"name": "alertId",
"in": "path",
"required": true,
"schema": {
"title": "alertId",
"type": "number"
}
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object"
},
"example": {}
}
}
}
}
},
"/v1/alerts-columns": {
"get": {
"tags": [
"AlertsColumns"
],
"operationId": "alertDtoColumnNames",
"description": "The parameters and request body are for method: alertDtoColumnNames. Same endpoint also used in methods:",
"responses": {
"200": {
"description": "Successful operation",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"fields": {
"type": "array",
"items": {
"type": "object",
"properties": {
"internalName": {
"type": "string"
},
"type": {
"type": "string"
},
"uiName": {
"type": "string"
}
}
}
}
}
},
"status": {
"type": "string"
}
}
},
"example": {
"data": {
"fields": [
{
"internalName": "string",
"type": "string",
"uiName": "string"
},
{
"internalName": "string",
"type": "string",
"uiName": "string"
},
{
"internalName": "string",
"type": "string",
"uiName": "string"
},
{
"internalName": "string",
"type": "string",
"uiName": "string"
},
{
"internalName": "string",
"type": "string",
"uiName": "string"
},
{
"internalName": "string",
"type": "string",
"uiName": "string"
},
{
"internalName": "string",
"type": "string",
"uiName": "string"
},
{
"internalName": "string",
"type": "string",
"uiName": "string"
},
{
"internalName": "string",
"type": "string",
"uiName": "string"
}
]
},
"status": "success"
}
}
}
}
},
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object"
},
"example": {}
}
}
}
}
},
"/v1/alerts-count": {
"get": {
"tags": [
"AlertsCount"
],
"operationId": "getAlertCount",
"description": "The parameters and request body are for method: getAlertCount. Same endpoint also used in methods:",
"responses": {
"200": {
"description": "Successful operation",
"content": {
"application/json": {
"schema": {
"title": "result",
"type": "object"
}
}
}
}
},
"parameters": [
{
"name": "filter",
"in": "query",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "limit",
"in": "query",
"required": true,
"schema": {
"type": "string"
}
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object"
},
"example": {}
}
}
}
}
},
"/v1/alerts-search": {
"get": {
"tags": [
"AlertsSearch"
],
"operationId": "search",
"description": "The parameters and request body are for method: search. Same endpoint also used in methods:",
"responses": {
"200": {
"description": "Successful operation",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"type": "number"
}
},
"example": [
4
]
}
}
}
},
"parameters": [
{
"name": "eventTime",
"in": "query",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "namespace",
"in": "query",
"required": true,
"schema": {
"type": "string"
}
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object"
},
"example": {}
}
}
}
}
},
"/v1/alerts-summaries": {
"get": {
"tags": [
"AlertsSummaries"
],
"operationId": "alertSummaries",
"description": "The parameters and request body are for method: alertSummaries. Same endpoint also used in methods:",
"responses": {
"200": {
"description": "Successful operation",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"status": {
"type": "string"
},
"data": {
"type": "object",
"properties": {
"buckets": {
"type": "number"
},
"metrics": {
"type": "array",
"items": {
"type": "object",
"properties": {
"metric": {
"type": "string"
},
"stats": {
"type": "object",
"properties": {
"avg_prev_week": {
"type": "number"
}
}
},
"values": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "object"
}
}
}
}
}
},
"time": {
"type": "object",
"properties": {
"begin": {
"type": "number"
},
"end": {
"type": "number"
},
"interval": {
"type": "number"
}
}
}
}
}
}
},
"example": {
"status": "success",
"data": {
"buckets": 3,
"metrics": [
{
"metric": "string",
"stats": {
"avg_prev_week": 5
},
"values": [
[
{}
],
[
{},
{},
{},
{},
{}
],
[
{},
{},
{},
{},
{},
{},
{},
{}
],
[
{},
{}
],
[
{},
{},
{}
],
[
{},
{},
{},
{},
{},
{}
],
[
{},
{},
{},
{},
{},
{},
{},
{},
{},
{}
],
[
{},
{},
{},
{},
{},
{},
{},
{},
{}
]
]
},
{
"metric": "string",
"stats": {
"avg_prev_week": 9
},
"values": [
[
{},
{}
],
[
{},
{},
{},
{},
{},
{},
{},
{}
],
[
{},
{},
{},
{},
{}
],
[
{},
{},
{},
{},
{}
],
[
{},
{},
{},
{},
{},
{},
{},
{},
{}
]
]
},
{
"metric": "string",
"stats": {
"avg_prev_week": 3
},
"values": [
[
{},
{},
{},
{}
],
[
{},
{},
{}
],
[
{},
{},
{},
{},
{},
{}
],
[
{},
{},
{},
{},
{},
{},
{},
{}
],
[
{},
{},
{},
{},
{}
],
[
{},
{},
{},
{},
{},
{}
]
]
},
{
"metric": "string",
"stats": {
"avg_prev_week": 9
},
"values": [
[
{},
{},
{},
{},
{},
{}
],
[
{},
{},
{},
{},
{},
{},
{},
{}
],
[
{},
{},
{},
{},
{},
{},
{},
{}
],
[
{},
{},
{},
{},
{}
]
]
}
],
"time": {
"begin": 7,
"end": 7,
"interval": 4
}
}
}
}
}
}
},
"parameters": [
{
"name": "begin",
"in": "query",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "buckets",
"in": "query",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "end",
"in": "query",
"required": true,
"schema": {
"type": "string"
}
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object"
},
"example": {}
}
}
}
}
},
"/v1/automation-config": {
"get": {
"tags": [
"AutomationConfig"
],
"operationId": "getAutomationConfig",
"description": "The parameters and request body are for method: getAutomationConfig. Same endpoint also used in methods:",
"responses": {
"200": {
"description": "Successful operation",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"status": {
"type": "string"
},
"data": {
"type": "object",
"properties": {
"closeAlertsInSeconds": {
"type": "number"
},
"closeAlertsWhenAllIncidentsClosed": {
"type": "boolean"
},
"closeIncidentsInSeconds": {
"type": "number"
},
"closeResolvedAlertsInSeconds": {
"type": "number"
},
"closeResolvedIncidentsInSeconds": {
"type": "number"
}
}
}
}
},
"example": {
"status": "success",
"data": {
"closeAlertsInSeconds": 7,
"closeAlertsWhenAllIncidentsClosed": false,
"closeIncidentsInSeconds": 2,
"closeResolvedAlertsInSeconds": 1,
"closeResolvedIncidentsInSeconds": 9
}
}
}
}
}
},
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object"
},
"example": {}
}
}
}
},
"patch": {
"tags": [
"AutomationConfig"
],
"operationId": "patchAutomationConfig",
"description": "The parameters and request body are for method: patchAutomationConfig. Same endpoint also used in methods:",
"responses": {
"200": {
"description": "Successful operation",
"content": {
"application/json": {
"schema": {
"title": "result",
"type": "object"
}
}
}
}
},
"requestBody": {
"description": "indeterminate body object",
"content": {
"application/json": {
"schema": {
"type": "object"
}
}
}
}
}
},
"/v1/test-workflows": {
"post": {
"tags": [
"TestWorkflows"
],
"operationId": "testWorkflow",
"description": "The parameters and request body are for method: testWorkflow. Same endpoint also used in methods:",
"responses": {
"200": {
"description": "Successful operation",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"status": {
"type": "string"
},
"data": {
"type": "object",
"properties": {
"actionsTestList": {
"type": "array",
"items": {
"type": "object",
"properties": {
"actionName": {
"type": "string"
},
"discarded": {
"type": "boolean"
},
"endMillis": {
"type": "number"
},
"exception": {
"type"