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
- 300 Workbench
- 6 Cloud Amplifier
- 8 Federated
- 2.9K Transform
- 100 SQL DataFlows
- 616 Datasets
- 2.2K Magic ETL
- 3.9K Visualize
- 2.5K Charting
- 738 Beast Mode
- 57 App Studio
- 40 Variables
- 685 Automate
- 176 Apps
- 452 APIs & Domo Developer
- 47 Workflows
- 10 DomoAI
- 36 Predict
- 15 Jupyter Workspaces
- 21 R & Python Tiles
- 394 Distribute
- 113 Domo Everywhere
- 275 Scheduled Reports
- 6 Software Integrations
- 124 Manage
- 121 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 10 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 108 Community Announcements
- 4.8K Archive