smetj's avatar
smetj
New Contributor
4 years ago
Status:
New Idea

Include debug events to the /events API endpoint

Using the legacy UI (Alertsite 1.0) we can list events via Account -> Manage Account -> Events and select event type "_Debug events" to have detailed insight into any configuration changes happening.

 

When querying the /events API endpoint (https://api.alertsite.com/swag/#!/events/getEvents) I'm unable to get the same type of events.

 

It would be useful to have access to this data via the /events API endpoint to ingest that data and integrate it in an auditing workflow on our side.

  • denisgoodwin's avatar
    denisgoodwin
    SmartBear Alumni (Retired)

    Hi!

     

    Debug events are included in the GET /events/{event_type} endpoint.
     
    If you select "_All" from the event_type drop-down list, you get all events including Debug.
     
  • smetj's avatar
    smetj
    New Contributor

    Hi Dennis,

     

    Thanks for your reply.

     

    - When I use the legacy web interface I can find the events.

    - When I query the /events endpoint directly using the swagger utility or via CURL I cannot.

     

     

  • denisgoodwin's avatar
    denisgoodwin
    SmartBear Alumni (Retired)

    If you select _All at the very bottom of the event pick list, you'll get the Debug events.

     

     

     

     

     

    If you're still having issues, I suggest opening a case with our Support team.

     
  • smetj's avatar
    smetj
    New Contributor

    my feature request is UNRELATED to the UI.

     

    My feature request is to see debug events when doing:

     

    curl -X GET --header 'Accept: application/json' --header 'Authorization: Bearer abcdefghijklmnopqrstuvwxyz' 'https://api.alertsite.com/api/v3/events'

  • smetj's avatar
    smetj
    New Contributor

    and the swagger UI also has a dropdown and you were referring to that whilst I though you were referring to the legacy UI dropdown ..

     

    ok please close, problem solved 👍