[
https://issues.apache.org/jira/browse/JAMES-3292?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17151476#comment-17151476
]
Benoit Tellier commented on JAMES-3292:
---------------------------------------
Globally +1 for this however as and admin I might benefit on the listing from a
few more information, like "is the task running" ? What is the type of the
task? etc.
I believe returning a list of ids only makes sense if we can come up with some
kind of filtering to achieve the needs I exposed above.
Something like:
{code:java}
curl -XGET /tasks?status=inProgress
curl -XGET /tasks?type=XXXX
curl -XGET /tasks?submitedBefore=10/07/2020-10:12:15
curl -XGET /tasks?startedBefore=10/07/2020-10:12:15
curl -XGET /tasks?canceledBefore=10/07/2020-10:12:15
curl -XGET /tasks?failedBefore=10/07/2020-10:12:15
curl -XGET /tasks?submitedAfter=10/07/2020-10:12:15
curl -XGET /tasks?startedAfter=10/07/2020-10:12:15
curl -XGET /tasks?canceledAfter=10/07/2020-10:12:15
curl -XGET /tasks?failedAfter=10/07/2020-10:12:15
{code}
Of course we could compose filters together.
As an admin who forget the taskId I would then be able to retrieve the task I
just launched (for instance)
> Listing Tasks is too verbose
> ----------------------------
>
> Key: JAMES-3292
> URL: https://issues.apache.org/jira/browse/JAMES-3292
> Project: James Server
> Issue Type: Bug
> Components: webadmin
> Affects Versions: 3.5.0
> Reporter: Gautier DI FOLCO
> Priority: Minor
>
> When we list all tasks through webadmin, additional information are
> displayed, while it should only be displayed in the specific task get.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]