POST
/
v1
/
extensions-testing
/
initialize
const fetch = require('node-fetch');

let url = 'https://api.coralogix.com/mgmt/openapi/v1/extensions-testing/initialize';

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":["[]"]}}}'
};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error('error:' + err));
{}

Authorizations

Authorization
string
header
required

API key authentication

Body

application/json

Response

200
application/json

A successful response.

The response is of type object.

POST
/
v1
/
extensions-testing
/
initialize
const fetch = require('node-fetch');

let url = 'https://api.coralogix.com/mgmt/openapi/v1/extensions-testing/initialize';

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":["[]"]}}}'
};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error('error:' + err));
{}

Authorizations

Authorization
string
header
required

API key authentication

Body

application/json

Response

200
application/json

A successful response.

The response is of type object.