API Log: sort, refresh, filter by type
j
joshua artman
I noticed that the API log for StoreFront was just updated to use AJAX rather than iFrames. With iFrames, I could refresh the list of queries simply by right clicking and choosing Reload Frame.
However with the AJAX, I have to close out of the log and reopen it to refresh, so it would be more convenient if there was a refresh button in the popup where the session logs are displayed.
It would also be helpful if we could filter those results by query type: Put, Post, Get
The new AJAX version is also sorting OLDEST first. When you are actively using the API there can be hundreds of pages of logs, so trying to find a recent request is very difficult. I just tried to do that on one of our live API keys and there was 485 pages of API logs, so I had to page 20 entries at a time to pabe 485. Then if I need to refresh to see a new log, I have to close that popup, re-open it and page one page at a time back to page 485.
I can see use cases where you may want to sort oldest first, and others where you would want newest first, so maybe that should be an option in that popup.
Log In