POST
/
v1
/
integrations
/
metadata
/
test
const fetch = require('node-fetch');

let url = 'https://api.coralogix.com/mgmt/openapi/v1/integrations/metadata/test';

let options = {
  method: 'POST',
  headers: {Authorization: 'Bearer <API_KEY>', 'content-type': 'application/json'},
  body: '{"integrationData":{"integrationKey":"string","version":"string","integrationParameters":{"parameters":[{"key":"string","stringValue":"string","booleanValue":true,"stringList":{"values":["string"]},"apiKey":{"id":"string","value":"string"},"numericValue":0.1,"sensitiveData":{}}]}},"integrationId":"string"}'
};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error('error:' + err));
{
  "result": {
    "success": {},
    "failure": {
      "errorMessage": "<string>"
    }
  }
}

Authorizations

Authorization
string
header
required

API key authentication

Body

application/json

Response

200
application/json

A successful response.

The response is of type object.