No description available
const fetch = require('node-fetch');
let url = 'https://api.coralogix.com/mgmt/openapi/v2/actions';
let options = {
method: 'POST',
headers: {Authorization: 'Bearer <API_KEY>', 'content-type': 'application/json'},
body: '{"name":"string","url":"string","isPrivate":true,"sourceType":"SOURCE_TYPE_UNSPECIFIED","applicationNames":["string"],"subsystemNames":["string"]}'
};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error('error:' + err));
{
"action": {
"id": "<string>",
"name": "<string>",
"url": "<string>",
"isHidden": true,
"isPrivate": true,
"sourceType": "SOURCE_TYPE_UNSPECIFIED",
"applicationNames": [
"<string>"
],
"subsystemNames": [
"<string>"
],
"createdBy": "<string>"
}
}
API key authentication
A successful response.
The response is of type object
.
Was this page helpful?
const fetch = require('node-fetch');
let url = 'https://api.coralogix.com/mgmt/openapi/v2/actions';
let options = {
method: 'POST',
headers: {Authorization: 'Bearer <API_KEY>', 'content-type': 'application/json'},
body: '{"name":"string","url":"string","isPrivate":true,"sourceType":"SOURCE_TYPE_UNSPECIFIED","applicationNames":["string"],"subsystemNames":["string"]}'
};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error('error:' + err));
{
"action": {
"id": "<string>",
"name": "<string>",
"url": "<string>",
"isHidden": true,
"isPrivate": true,
"sourceType": "SOURCE_TYPE_UNSPECIFIED",
"applicationNames": [
"<string>"
],
"subsystemNames": [
"<string>"
],
"createdBy": "<string>"
}
}
No description available
const fetch = require('node-fetch');
let url = 'https://api.coralogix.com/mgmt/openapi/v2/actions';
let options = {
method: 'POST',
headers: {Authorization: 'Bearer <API_KEY>', 'content-type': 'application/json'},
body: '{"name":"string","url":"string","isPrivate":true,"sourceType":"SOURCE_TYPE_UNSPECIFIED","applicationNames":["string"],"subsystemNames":["string"]}'
};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error('error:' + err));
{
"action": {
"id": "<string>",
"name": "<string>",
"url": "<string>",
"isHidden": true,
"isPrivate": true,
"sourceType": "SOURCE_TYPE_UNSPECIFIED",
"applicationNames": [
"<string>"
],
"subsystemNames": [
"<string>"
],
"createdBy": "<string>"
}
}
API key authentication
A successful response.
The response is of type object
.
Was this page helpful?
const fetch = require('node-fetch');
let url = 'https://api.coralogix.com/mgmt/openapi/v2/actions';
let options = {
method: 'POST',
headers: {Authorization: 'Bearer <API_KEY>', 'content-type': 'application/json'},
body: '{"name":"string","url":"string","isPrivate":true,"sourceType":"SOURCE_TYPE_UNSPECIFIED","applicationNames":["string"],"subsystemNames":["string"]}'
};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error('error:' + err));
{
"action": {
"id": "<string>",
"name": "<string>",
"url": "<string>",
"isHidden": true,
"isPrivate": true,
"sourceType": "SOURCE_TYPE_UNSPECIFIED",
"applicationNames": [
"<string>"
],
"subsystemNames": [
"<string>"
],
"createdBy": "<string>"
}
}