• Fog Light REST API Auth Token for AD managed user

    I am trying to use the REST API but I always get this error:

    {"status":0,"data":"token is invalid","code":"loginFail"}

    I am sending the authorization token generated via the dashboard as described in the…

  • Foglight Rest API - get alarm notes?

    Hi There,

    Is there a way to get Foglight Alarm notes via a REST API request?


    By looking at the official API reference it doesn't look like it, but hope dies last and maybe I missed something or there is a way to add it via a cartridge or a custom script…

  • Rest API import package error

    HI,

    I am getting an error when I compile the REST API code in the script console using the Forge-RestAPI cartridge. The error is when I import certain packages e.g.

    import javax.ws.rs.*;
    import javax.ws.rs.core.*;
    import javax.ws.rs.container.*;
    import…

  • Fog light REST API - Get Object IDs for multiple Objects/Agents

    Hi,

    I am trying to fetch some performance metric data using REST API. I could fetch performance data for one object by hardcoding the topology ID of said object as below:

    https://{{serverURL}}:{{serverPort}}/{{apiPath}}/topology/batchQuery
    {"includes…

  • Foglight REST API - Authentication error - "Method Not Allowed"

    Hi,

    I am trying to access Foglight using REST API but it is throwing error "Method Not Allowed". 

    Details:

    I have Administrator and API access on my user. I tried with http://<server>:<Port>/api/v1 and it is returning response (in…