mirror of
https://github.com/jhillyerd/inbucket.git
synced 2025-12-17 17:47:03 +00:00
Add API v1
20
REST-API.md
20
REST-API.md
@@ -1,5 +1,15 @@
|
|||||||
* List Mailbox Contents: [GET /mailbox/{name}](https://github.com/jhillyerd/inbucket/wiki/REST-GET-mailbox)
|
API v1:
|
||||||
* Get Message: [GET /mailbox/{name}/{id}](https://github.com/jhillyerd/inbucket/wiki/REST-GET-message)
|
|
||||||
* Get Message Source: [GET /mailbox/{name}/{id}/source](https://github.com/jhillyerd/inbucket/wiki/REST-GET-message-source)
|
* List Mailbox Contents: [GET /api/v1/mailbox/{name}](https://github.com/jhillyerd/inbucket/wiki/REST-GET-mailbox)
|
||||||
* Delete Message: [DELETE /mailbox/{name}/{id}](https://github.com/jhillyerd/inbucket/wiki/REST-DELETE-message)
|
* Get Message: [GET /api/v1/mailbox/{name}/{id}](https://github.com/jhillyerd/inbucket/wiki/REST-GET-message)
|
||||||
* Purge Mailbox Contents: [DELETE /mailbox/{name}](https://github.com/jhillyerd/inbucket/wiki/REST-DELETE-mailbox)
|
* 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}`
|
||||||
|
|||||||
Reference in New Issue
Block a user