const fetch = require('node-fetch');
let url = 'https://api.coralogix.com/mgmt/openapi/v1/extensions-testing/test';
let options = {
method: 'POST',
headers: {Authorization: 'Bearer <API_KEY>', 'content-type': 'application/json'},
body: '{"extensionData":{"id":"076f4188-05e0-4ed3-afeb-653ad182ccb7","name":"AWS CloudWatch Extension","description":"Integration with AWS CloudWatch for monitoring and logging","excerpt":"Monitor AWS resources and analyze logs with CloudWatch integration","image":"string","darkModeImage":"string","labels":["[]"],"version":"v1.0.13","items":[{"name":"Low cocoa content","description":"Less than 60% cocoa","targetDomain":"ACTION","data":{},"binaries":[{"type":"PREVIEW_IMAGE","data":"string","fileName":"string"}],"isMandatory":"false","internalId":"0","uniqueId":"string","permissionResource":"UNKNOWN","stableId":"string"}],"integrationDetails":[{"name":"string","link":"string"}],"isHidden":"false","binaries":[{"type":"KIBANA_INDEX_PATTERN","data":"string"}],"integrations":["[]"],"keywords":["[]"],"changelog":[{"version":"string","descriptionMd":"string"}],"deprecation":{"reason":"string","replacementExtensions":["[]"]}},"cleanupAfterTest":"false"}'
};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error('error:' + err));{}No description available
const fetch = require('node-fetch');
let url = 'https://api.coralogix.com/mgmt/openapi/v1/extensions-testing/test';
let options = {
method: 'POST',
headers: {Authorization: 'Bearer <API_KEY>', 'content-type': 'application/json'},
body: '{"extensionData":{"id":"076f4188-05e0-4ed3-afeb-653ad182ccb7","name":"AWS CloudWatch Extension","description":"Integration with AWS CloudWatch for monitoring and logging","excerpt":"Monitor AWS resources and analyze logs with CloudWatch integration","image":"string","darkModeImage":"string","labels":["[]"],"version":"v1.0.13","items":[{"name":"Low cocoa content","description":"Less than 60% cocoa","targetDomain":"ACTION","data":{},"binaries":[{"type":"PREVIEW_IMAGE","data":"string","fileName":"string"}],"isMandatory":"false","internalId":"0","uniqueId":"string","permissionResource":"UNKNOWN","stableId":"string"}],"integrationDetails":[{"name":"string","link":"string"}],"isHidden":"false","binaries":[{"type":"KIBANA_INDEX_PATTERN","data":"string"}],"integrations":["[]"],"keywords":["[]"],"changelog":[{"version":"string","descriptionMd":"string"}],"deprecation":{"reason":"string","replacementExtensions":["[]"]}},"cleanupAfterTest":"false"}'
};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error('error:' + err));{}API key authentication
Extension details for ingestion
Show child attributes
"076f4188-05e0-4ed3-afeb-653ad182ccb7"
"AWS CloudWatch Extension"
"v1.0.13"
"Integration with AWS CloudWatch for monitoring and logging"
"Monitor AWS resources and analyze logs with CloudWatch integration"
Show child attributes
"Low cocoa content"
ACTION, ALERT, ENRICHMENT, GRAFANA_DASHBOARD, KIBANA_DASHBOARD, PARSING_RULE, SAVED_VIEW, CX_CUSTOM_DASHBOARD, METRICS_RULE_GROUP, EVENTS_TO_METRICS, ALERT_V3 "Less than 60% cocoa"
Show child attributes
PREVIEW_IMAGE, KIBANA_DASHBOARD_DEFINITION, GRAFANA_DASHBOARD_DEFINITION, ENRICHMENT_CSV, CX_CUSTOM_DASHBOARD_DEFINITION UNKNOWN, ACTION, ALERT, CUSTOM_ENRICHMENT, GEO_ENRICHMENT, SECURITY_ENRICHMENT, RESOURCE_CLOUD_METADATA_ENRICHMENT, GRAFANA_DASHBOARD, KIBANA_DASHBOARD, PARSING_RULE, SAVED_VIEW, CX_CUSTOM_DASHBOARD, METRICS_RULE_GROUP, SPAN_EVENTS_TO_METRICS, LOGS_EVENTS_TO_METRICS A successful response.
The response is of type Test extension revision response · object.
Was this page helpful?