Updated Admin API Reference (markdown)

Stef Heyenrath
2025-02-26 07:23:10 +01:00
parent d4feae45b7
commit a3eb87ec01

@@ -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