From a3eb87ec0124c66a622c4a7b14b25add4d6fad5f Mon Sep 17 00:00:00 2001 From: Stef Heyenrath Date: Wed, 26 Feb 2025 07:23:10 +0100 Subject: [PATCH] Updated Admin API Reference (markdown) --- Admin-API-Reference.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Admin-API-Reference.md b/Admin-API-Reference.md index 6e2abfd..0f7d0e5 100644 --- a/Admin-API-Reference.md +++ b/Admin-API-Reference.md @@ -52,6 +52,10 @@ The global settings from the mock service. * `GET /__admin/settings` --> Gets the current global settings * `POST /__admin/settings` --> Updates the current global settings +## /__admin/health +Get health status. +* `GET /__admin/health` --> Get health status. Returns HttpStatusCode 200 with a value Healthy to indicate that WireMock.Net is healthy. In case it's not healthy, it returns HttpStatusCode 404. + ## /__admin/mappings The mappings defined in the mock service. * `GET /__admin/mappings` --> Gets all defined mappings @@ -83,6 +87,8 @@ Logged requests and responses received by the mock service. * `GET /__admin/requests/unmatched` --> TODO * `GET /__admin/requests/unmatched/near-misses` --> TODO +--- + ### `POST /__admin/requests/find` For example, this will return all requests that were performed to this specific path. ``` cmd