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
- 1.7K Product Ideas
- 1.7K Ideas Exchange
- 1.5K Connect
- 1.2K Connectors
- 292 Workbench
- 4 Cloud Amplifier
- 8 Federated
- 2.8K Transform
- 95 SQL DataFlows
- 602 Datasets
- 2.1K Magic ETL
- 3.7K Visualize
- 2.4K Charting
- 691 Beast Mode
- 43 App Studio
- 39 Variables
- 658 Automate
- 170 Apps
- 441 APIs & Domo Developer
- 42 Workflows
- 5 DomoAI
- 32 Predict
- 12 Jupyter Workspaces
- 20 R & Python Tiles
- 386 Distribute
- 111 Domo Everywhere
- 269 Scheduled Reports
- 6 Software Integrations
- 112 Manage
- 109 Governance & Security
- 8 Domo University
- 30 Product Releases
- Community Forums
- 39 Getting Started
- 29 Community Member Introductions
- 98 Community Announcements
- Domo Community Gallery
- 4.8K Archive