Updated Admin API Reference (markdown)

Stef Heyenrath
2021-09-16 14:37:19 +02:00
parent 6fde078144
commit 977460d3be

@@ -31,8 +31,8 @@ The global settings from the mock service.
## /__admin/mappings
The mappings defined in the mock service.
* `GET /__admin/mappings` --> Gets all defined mappings
* `POST /__admin/mappings` --> Create a new single stub mapping or an array from a mapping or mappings
* `POST /__admin/mappings/wiremock.org` --> Create a new single stub mapping or an array from **WireMock.org** mapping or mappings
* `POST /__admin/mappings` --> Create a new single stub mapping or an array from mappings
* `POST /__admin/mappings/wiremock.org` --> Create a new single **WireMock.org** stub mapping or an array **WireMock.org** mappings
* `DELETE /__admin/mappings` or `POST /__admin/mappings/reset` --> Delete all stub mappings
* `DELETE /__admin/mappings` with array of json mappings/GUIDs in body --> Delete stub mappings matching the specified GUIDs.
* `GET /__admin/mappings/{guid}` --> Get a single stub mapping