mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-04-23 16:58:27 +02:00
Updated Admin API Reference (markdown)
@@ -52,6 +52,10 @@ The global settings from the mock service.
|
|||||||
* `GET /__admin/settings` --> Gets the current global settings
|
* `GET /__admin/settings` --> Gets the current global settings
|
||||||
* `POST /__admin/settings` --> Updates 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
|
## /__admin/mappings
|
||||||
The mappings defined in the mock service.
|
The mappings defined in the mock service.
|
||||||
* `GET /__admin/mappings` --> Gets all defined mappings
|
* `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` --> TODO
|
||||||
* `GET /__admin/requests/unmatched/near-misses` --> TODO
|
* `GET /__admin/requests/unmatched/near-misses` --> TODO
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
### `POST /__admin/requests/find`
|
### `POST /__admin/requests/find`
|
||||||
For example, this will return all requests that were performed to this specific path.
|
For example, this will return all requests that were performed to this specific path.
|
||||||
``` cmd
|
``` cmd
|
||||||
|
|||||||
Reference in New Issue
Block a user