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.5K Connect
- 1.2K Connectors
- 297 Workbench
- 6 Cloud Amplifier
- 8 Federated
- 2.9K Transform
- 100 SQL DataFlows
- 614 Datasets
- 2.2K Magic ETL
- 3.8K Visualize
- 2.5K Charting
- 729 Beast Mode
- 53 App Studio
- 40 Variables
- 677 Automate
- 173 Apps
- 451 APIs & Domo Developer
- 45 Workflows
- 8 DomoAI
- 34 Predict
- 14 Jupyter Workspaces
- 20 R & Python Tiles
- 394 Distribute
- 113 Domo Everywhere
- 275 Scheduled Reports
- 6 Software Integrations
- 121 Manage
- 118 Governance & Security
- Domo Community Gallery
- 32 Product Releases
- 10 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 108 Community Announcements
- 4.8K Archive