From 40d692ecb55decbaf7639bc1cc7e3cabef150c37 Mon Sep 17 00:00:00 2001 From: James Hillyerd Date: Tue, 15 Oct 2013 17:08:12 -0700 Subject: [PATCH] Created REST API (markdown) --- REST-API.md | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 REST-API.md diff --git a/REST-API.md b/REST-API.md new file mode 100644 index 0000000..2b8da32 --- /dev/null +++ b/REST-API.md @@ -0,0 +1,4 @@ +* List Mailbox Contents: [GET /mailbox/{name}](https://github.com/jhillyerd/inbucket/wiki/REST-GET-mailbox) +* Get Message Source: [GET /mailbox/{name}/{id}/source](https://github.com/jhillyerd/inbucket/wiki/REST-GET-mailbox-source) +* Delete Message: [DELETE /mailbox/{name}/{id}](https://github.com/jhillyerd/inbucket/wiki/REST-DELETE-message) +* Purge Mailbox Contents: [DELETE /mailbox/{name}](https://github.com/jhillyerd/inbucket/wiki/REST-DELETE-mailbox) \ No newline at end of file