Skip to main content
node
const fetch = require('node-fetch');

let url = 'https://api.coralogix.com/mgmt/openapi/integrations/contextual-data/v1/definition/%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));
{
  "integrationDefinition": {
    "featureFlag": "<string>",
    "integrationType": {
      "managed": {
        "variant": "DEFAULT"
      }
    },
    "key": "<string>",
    "revisions": [
      {
        "cloudFormation": {
          "commands": [
            {
              "command": "<string>",
              "description": "<string>",
              "language": "UNKNOWN",
              "links": [
                {}
              ],
              "name": "<string>",
              "tooltipText": "<string>"
            }
          ],
          "parameters": [
            {
              "key": "<string>",
              "value": "<string>"
            }
          ],
          "postInstallationSteps": [
            {
              "key": "<string>",
              "value": "<string>"
            }
          ],
          "templateUrl": "<string>"
        },
        "featureFlag": "<string>",
        "fields": [
          {
            "allowedPattern": "<string>",
            "applicableIf": {
              "type": "UNKNOWN",
              "values": [
                "<any>"
              ]
            },
            "documentationReference": "<string>",
            "groupId": "<string>",
            "name": "<string>",
            "placeholder": "<string>",
            "predefined": true,
            "readonly": true,
            "required": true,
            "single": {
              "defaultValue": "<string>"
            },
            "templateParamName": "<string>",
            "tooltip": "<string>",
            "type": "API_KEY",
            "upgradeNotice": "<string>",
            "visible": true
          }
        ],
        "groups": [
          {
            "id": "<string>",
            "name": "<string>"
          }
        ],
        "id": "<string>",
        "revisionDeploymentSupported": true,
        "upgradeInstructionsMd": "<string>"
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

API key authentication

Path Parameters

id
string
required

Response

integrationDefinition
object
required

This data structure represents a definition of an integration.

I