Updated Admin API Reference (markdown)

Stef Heyenrath
2021-09-16 14:34:11 +02:00
parent 94501257b5
commit 6fde078144

@@ -31,7 +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 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
* `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