Error in Activity Log API

There seems to be an issue with the Activity Log API when setting an end time in the request. When there's no start or end time, I get a response. For example:

 

curl -v -H Authorization:'bearer <token>' "https://api.domo.com/v1/audit?limit=5&offset=0"

 

This works and gives the 5 most recent log events, in descending time order. If I add a start time (eg April 1 00:00, 2020):

 

curl -v -H Authorization:'bearer <token>' "https://api.domo.com/v1/audit?start=1585699200&limit=5&offset=0"

 

I still get the 5 most recent log events in descending time order. This isn't very useful since every time the API is called a different set of results will be in the response. It would be more useful if the response were in ascending time order.

 

And then if I add an end time, (eg April 2 00:00, 2020):

 

curl -v -H Authorization:'bearer <token>' "https://api.domo.com/v1/audit?start=1585699200&end=1585785600&limit=5&offset=0"

 

Then the response is just an empty array.

 

 

 

Best Answer

  • jaeW_at_Onyx
    jaeW_at_Onyx Budapest / Portland, OR 🟤
    Answer ✓

    Oliver if you haven't submitted a support ticket, i strongly recommend you do ([email protected]

     

    if there is a bug in the API it can only be resolved with a JIRA ticket and before Domo can open a JIRA ticket there must be a support ticket


    Jae Wilson
    Check out my Domo Training YouTube Channel

    **Say "Thanks" by clicking the heart in the post that helped you.
    **Please mark the post that solves your problem by clicking on "Accept as Solution"

Answers

This discussion has been closed.