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
2019-02-24 13:06:15 -08:00
parent 0a23471eb5
commit a095168d1d

@@ -1,14 +1,14 @@
## Clients
* Go: https://godoc.org/github.com/jhillyerd/inbucket/pkg/rest/client
* Go: https://godoc.org/github.com/inbucket/inbucket/pkg/rest/client
* Java: https://github.com/stepstone-tech/inbucket-java-client
* Node.js: https://github.com/Xotabu4/inbucket-js-client
* Shell: https://github.com/jhillyerd/inbucket/blob/master/etc/rest-apiv1.sh
* Shell: https://github.com/inbucket/inbucket/blob/master/etc/rest-apiv1.sh
## API v1
* List Mailbox Contents: [GET /api/v1/mailbox/{name}](https://github.com/jhillyerd/inbucket/wiki/REST-GET-mailbox)
* 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)
* List Mailbox Contents: [GET /api/v1/mailbox/{name}](https://github.com/inbucket/inbucket/wiki/REST-GET-mailbox)
* Get Message: [GET /api/v1/mailbox/{name}/{id}](https://github.com/inbucket/inbucket/wiki/REST-GET-message)
* Get Message Source: [GET /api/v1/mailbox/{name}/{id}/source](https://github.com/inbucket/inbucket/wiki/REST-GET-message-source)
* Delete Message: [DELETE /api/v1/mailbox/{name}/{id}](https://github.com/inbucket/inbucket/wiki/REST-DELETE-message)
* Purge Mailbox Contents: [DELETE /api/v1/mailbox/{name}](https://github.com/inbucket/inbucket/wiki/REST-DELETE-mailbox)