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.8K Product Ideas
- 1.8K Ideas Exchange
- 1.6K Connect
- 1.2K Connectors
- 300 Workbench
- 6 Cloud Amplifier
- 9 Federated
- 2.9K Transform
- 102 SQL DataFlows
- 626 Datasets
- 2.2K Magic ETL
- 3.9K Visualize
- 2.5K Charting
- 753 Beast Mode
- 61 App Studio
- 41 Variables
- 692 Automate
- 177 Apps
- 456 APIs & Domo Developer
- 49 Workflows
- 10 DomoAI
- 38 Predict
- 16 Jupyter Workspaces
- 22 R & Python Tiles
- 398 Distribute
- 115 Domo Everywhere
- 276 Scheduled Reports
- 7 Software Integrations
- 130 Manage
- 127 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 11 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 110 Community Announcements
- 4.8K Archive