1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2025-12-17 17:47:03 +00:00

Updated REST API (markdown)

James Hillyerd
2018-11-26 20:06:45 -08:00
parent df471bdfb5
commit 22326f579f

@@ -12,13 +12,3 @@
* Get Message Source: [GET /api/v1/mailbox/{name}/{id}/source](https://github.com/jhillyerd/inbucket/wiki/REST-GET-message-source)
* Delete Message: [DELETE /api/v1/mailbox/{name}/{id}](https://github.com/jhillyerd/inbucket/wiki/REST-DELETE-message)
* Purge Mailbox Contents: [DELETE /api/v1/mailbox/{name}](https://github.com/jhillyerd/inbucket/wiki/REST-DELETE-mailbox)
## Legacy API
(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}`