From 6fde0781446022b1bf24475ab7ce1cc781fb80e9 Mon Sep 17 00:00:00 2001 From: Stef Heyenrath Date: Thu, 16 Sep 2021 14:34:11 +0200 Subject: [PATCH] Updated Admin API Reference (markdown) --- Admin-API-Reference.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Admin-API-Reference.md b/Admin-API-Reference.md index 3be64c0..cbc55d9 100644 --- a/Admin-API-Reference.md +++ b/Admin-API-Reference.md @@ -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