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
-
Oliver if you haven't submitted a support ticket, i strongly recommend you do (support@domo.com)
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 ❤️ in the post that helped you.
**Please mark the post that solves your problem by clicking on "Accept as Solution"2
Answers
-
Oliver if you haven't submitted a support ticket, i strongly recommend you do (support@domo.com)
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 ❤️ in the post that helped you.
**Please mark the post that solves your problem by clicking on "Accept as Solution"2 -
Hi @Oliver ,
I believe @jaeW_at_Onyx's response is the best route; support can look into solutions for this to see what can be implemented.
0
Categories
- All Categories
- 2K Product Ideas
- 2K Ideas Exchange
- 1.6K Connect
- 1.3K Connectors
- 311 Workbench
- 6 Cloud Amplifier
- 9 Federated
- 3.8K Transform
- 659 Datasets
- 116 SQL DataFlows
- 2.2K Magic ETL
- 816 Beast Mode
- 3.3K Visualize
- 2.5K Charting
- 82 App Studio
- 45 Variables
- 776 Automate
- 190 Apps
- 481 APIs & Domo Developer
- 82 Workflows
- 23 Code Engine
- 40 AI and Machine Learning
- 20 AI Chat
- 1 AI Playground
- 1 AI Projects and Models
- 18 Jupyter Workspaces
- 410 Distribute
- 120 Domo Everywhere
- 280 Scheduled Reports
- 10 Software Integrations
- 144 Manage
- 140 Governance & Security
- 8 Domo Community Gallery
- 48 Product Releases
- 12 Domo University
- 5.4K Community Forums
- 41 Getting Started
- 31 Community Member Introductions
- 114 Community Announcements
- 4.8K Archive