Authorizations
API key authentication
Path Parameters
Unique identifier for folders
Required string length:
36
Example:
"3dc02998-0b50-4ea8-b68a-4779d716fa1f"
const fetch = require('node-fetch');
let url = 'https://api.coralogix.com/mgmt/openapi/v1/view_folders/3dc02998-0b50-4ea8-b68a-4779d716fa1f';
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));
{
"id": "3dc02998-0b50-4ea8-b68a-4779d716fa1f",
"name": "My Folder"
}
Create view folder
const fetch = require('node-fetch');
let url = 'https://api.coralogix.com/mgmt/openapi/v1/view_folders/3dc02998-0b50-4ea8-b68a-4779d716fa1f';
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));
{
"id": "3dc02998-0b50-4ea8-b68a-4779d716fa1f",
"name": "My Folder"
}
API key authentication
Unique identifier for folders
36
"3dc02998-0b50-4ea8-b68a-4779d716fa1f"
Was this page helpful?