[ 
https://issues.apache.org/jira/browse/JAMES-2661?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Trần Tiến Đức updated JAMES-2661:
---------------------------------
    Description: 
Base on MAILBOX-373

Allow the admin to read / delete entries of the EventDeadLetter.

 
{code:java}
curl -XGET /events/deadLetter/groups
Will list all the groups
["QuotaMailingListenerGroup", "ListeningQuotaUpdaterGroup"]
{code}
 
{code:java}
curl -XGET /events/deadLetter/groups/ListeningQuotaUpdaterGroup/events

Will
 - Return 404 if the group is not registered
 - Return the list of events

["UUID1", "UUID2"]{code}
{code:java}
curl -XGET /events/deadLetter/groups/ListeningQuotaUpdaterGroup/events/eventId
Will
 - Return 404 if no such events/group
 - The JSOn of the event overwize
{mailbox/api/json}
{code}
 
{code:java}
curl -DELETE /events/deadLetter/groups/ListeningQuotaUpdaterGroup/events/eventId
Will clear the deadLeter/ the event associated with a listener / remove an event
{code}
 

  was:
Allow the admin to read / delete entries of the EventDeadLetter.

 
{code:java}
curl -XGET /events/deadLetter/groups
Will list all the groups
["QuotaMailingListenerGroup", "ListeningQuotaUpdaterGroup"]
{code}
 
{code:java}
curl -XGET /events/deadLetter/groups/ListeningQuotaUpdaterGroup/events

Will
 - Return 404 if the group is not registered
 - Return the list of events

["UUID1", "UUID2"]{code}
{code:java}
curl -XGET /events/deadLetter/groups/ListeningQuotaUpdaterGroup/events/eventId
Will
 - Return 404 if no such events/group
 - The JSOn of the event overwize
{mailbox/api/json}
{code}
 
{code:java}
curl -DELETE /events/deadLetter/groups/ListeningQuotaUpdaterGroup/events/eventId
Will clear the deadLeter/ the event associated with a listener / remove an event
{code}




 


> EventDeadLetter RD (no cu) in WebAdmin
> --------------------------------------
>
>                 Key: JAMES-2661
>                 URL: https://issues.apache.org/jira/browse/JAMES-2661
>             Project: James Server
>          Issue Type: Bug
>            Reporter: Trần Tiến Đức
>            Priority: Major
>
> Base on MAILBOX-373
> Allow the admin to read / delete entries of the EventDeadLetter.
>  
> {code:java}
> curl -XGET /events/deadLetter/groups
> Will list all the groups
> ["QuotaMailingListenerGroup", "ListeningQuotaUpdaterGroup"]
> {code}
>  
> {code:java}
> curl -XGET /events/deadLetter/groups/ListeningQuotaUpdaterGroup/events
> Will
>  - Return 404 if the group is not registered
>  - Return the list of events
> ["UUID1", "UUID2"]{code}
> {code:java}
> curl -XGET /events/deadLetter/groups/ListeningQuotaUpdaterGroup/events/eventId
> Will
>  - Return 404 if no such events/group
>  - The JSOn of the event overwize
> {mailbox/api/json}
> {code}
>  
> {code:java}
> curl -DELETE 
> /events/deadLetter/groups/ListeningQuotaUpdaterGroup/events/eventId
> Will clear the deadLeter/ the event associated with a listener / remove an 
> event
> {code}
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to