Authorizations
API key authentication
const fetch = require('node-fetch');
let url = 'https://api.coralogix.com/mgmt/openapi/v3/alert-event/%7Bid%7D';
let options = {method: 'GET', headers: {Authorization: 'Bearer <API_KEY>'}};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error('error:' + err));
{
"id": "<string>",
"pagination": {
"nextPageToken": "<string>",
"totalSize": 123
},
"singlePermutation": {
"activityAnalysis": {
"rules": [
"<string>"
],
"status": "ACTIVITY_ANALYSIS_STATUS_ACTIVATE_OR_UNSPECIFIED"
},
"alertId": "<string>",
"groupLabels": [
{
"key": "<string>",
"value": "<string>"
}
],
"incidentCorrelationKey": "<string>",
"payload": {},
"payloadType": "<string>",
"permutationId": "<string>",
"permutationLabels": [
{
"key": "<string>",
"value": "<string>"
}
],
"preGroupingEventId": "<string>",
"status": "ALERT_STATUS_RESOLVED_OR_UNSPECIFIED",
"timestamp": "2023-11-07T05:31:56Z"
}
}
No description available
const fetch = require('node-fetch');
let url = 'https://api.coralogix.com/mgmt/openapi/v3/alert-event/%7Bid%7D';
let options = {method: 'GET', headers: {Authorization: 'Bearer <API_KEY>'}};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error('error:' + err));
{
"id": "<string>",
"pagination": {
"nextPageToken": "<string>",
"totalSize": 123
},
"singlePermutation": {
"activityAnalysis": {
"rules": [
"<string>"
],
"status": "ACTIVITY_ANALYSIS_STATUS_ACTIVATE_OR_UNSPECIFIED"
},
"alertId": "<string>",
"groupLabels": [
{
"key": "<string>",
"value": "<string>"
}
],
"incidentCorrelationKey": "<string>",
"payload": {},
"payloadType": "<string>",
"permutationId": "<string>",
"permutationLabels": [
{
"key": "<string>",
"value": "<string>"
}
],
"preGroupingEventId": "<string>",
"status": "ALERT_STATUS_RESOLVED_OR_UNSPECIFIED",
"timestamp": "2023-11-07T05:31:56Z"
}
}
API key authentication
Was this page helpful?