From 22326f579fb17d61c03229e55101bed2fae648ae Mon Sep 17 00:00:00 2001 From: James Hillyerd Date: Mon, 26 Nov 2018 20:06:45 -0800 Subject: [PATCH] Updated REST API (markdown) --- REST-API.md | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/REST-API.md b/REST-API.md index c8bf2a5..5771985 100644 --- a/REST-API.md +++ b/REST-API.md @@ -11,14 +11,4 @@ * Get Message: [GET /api/v1/mailbox/{name}/{id}](https://github.com/jhillyerd/inbucket/wiki/REST-GET-message) * 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}` +* Purge Mailbox Contents: [DELETE /api/v1/mailbox/{name}](https://github.com/jhillyerd/inbucket/wiki/REST-DELETE-mailbox) \ No newline at end of file