mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-19 05:58:34 +02:00
Improved listing and detail pages
This commit is contained in:
@@ -4,4 +4,19 @@ export default {
|
||||
getQuarantineContent(params) {
|
||||
return repository.get('/amavis/quarantine/', { params })
|
||||
},
|
||||
releaseSelection(data) {
|
||||
return repository.post('/amavis/quarantine/release_selection/', data)
|
||||
},
|
||||
deleteSelection(data) {
|
||||
return repository.post('/amavis/quarantine/delete_selection/', data)
|
||||
},
|
||||
markMessageSelection(data) {
|
||||
return repository.post('/amavis/quarantine/mark_selection/', data)
|
||||
},
|
||||
getMessageContent(mailid, rcpt) {
|
||||
return repository.get(`/amavis/quarantine/${mailid}/?rcpt=${rcpt}`)
|
||||
},
|
||||
getMessageHeaders(mailid) {
|
||||
return repository.get(`/amavis/quarantine/${mailid}/headers/`)
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user