REST API
James Hillyerd edited this page Jan 5, 2017
·
9 revisions
- Shell: https://github.com/jhillyerd/inbucket/blob/master/etc/rest-apiv1.sh
- Java: https://github.com/stepstone-tech/inbucket-java-client
- List Mailbox Contents: GET /api/v1/mailbox/{name}
- Get Message: GET /api/v1/mailbox/{name}/{id}
- Get Message Source: GET /api/v1/mailbox/{name}/{id}/source
- Delete Message: DELETE /api/v1/mailbox/{name}/{id}
- Purge Mailbox Contents: DELETE /api/v1/mailbox/{name}
(will be removed in Inbucket 1.2):
- List Mailbox Contents:
GET /mailbox/{name}
- Get Message:
GET /mailbox/{name}/{id}
- Get Message Source:
GET /mailbox/{name}/{id}/source
- Delete Message:
DELETE /mailbox/{name}/{id}
- Purge Mailbox Contents:
DELETE /mailbox/{name}