Details
-
Suggestion
-
Resolution: Unresolved
-
None
-
None
-
0
-
1
-
Description
NOTE: This suggestion is for Confluence Server. Using Confluence Cloud? See the corresponding suggestion.
Problem
There are some points that could be enhanced on longtask REST API call:
https://docs.atlassian.com/atlassian-confluence/REST/latest/#longtask-getTask
There seems to be a number of problems with this API
- There is no timestamp
- The data returned seems to be randomly ordered in terms of time it was generated - I am inferring the time from the message generated
- One would expect the data to be Last in First out or at least an option for that
- The documentation doesn't indicate how/when tasks expire and are no longer are retrievable. More specifically, if I am looking through the list for specific types of entries, how do I know when to stop looking through the list?
- The API does not have a field to indicate how may total tasks there are in the total list like most APIs like this.
Suggestion:
Implement the features request above in the rest api call
Example of call:
https://pece.atlassian.net/wiki/rest/api/longtask
{"results":[],"start":0,"limit":100,"size":0,"_links":{"self":"https://pece.atlassian.net/wiki/rest/api/longtask","base":"https://pece.atlassian.net/wiki","context":"/wiki"}}
Workaround:
None
Attachments
Issue Links
- relates to
-
CONFCLOUD-44115 Need longtask REST API to return most recent data first
- Closed
-
DEVHELP-867 Loading...