mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-04-09 19:03:52 +02:00
Updated Admin API Reference (markdown)
@@ -11,17 +11,17 @@ The following interfaces are supported:
|
|||||||
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
|
||||||
* `POST /__admin/mappings` --> Create a new stub mapping
|
* `POST /__admin/mappings` --> Create a new stub mapping
|
||||||
* `DELETE /__admin/mappings` --> Delete all stub mappings
|
* `DELETE /__admin/mappings` or `POST /__admin/mappings/reset` --> Delete all stub mappings
|
||||||
* `GET /__admin/mappings/{guid}` --> Get a single stub mapping
|
* `GET /__admin/mappings/{guid}` --> Get a single stub mapping
|
||||||
* `PUT /__admin/mappings/{guid}` --> Update a stub mapping
|
* `PUT /__admin/mappings/{guid}` --> Update a stub mapping
|
||||||
* `DELETE /__admin/mappings/{guid}` --> Delete a single stub mapping
|
* `DELETE /__admin/mappings/{guid}` --> Delete a single stub mapping
|
||||||
|
* `POST /__admin/mappings/save` --> Save all persistent stub mappings to the backing store
|
||||||
|
|
||||||
## /__admin/requests
|
## /__admin/requests
|
||||||
Logged requests and responses received by the mock service.
|
Logged requests and responses received by the mock service.
|
||||||
* `GET /__admin/requests` --> Get received requests
|
* `GET /__admin/requests` --> Get received requests
|
||||||
* `DELETE /__admin/requests` --> Delete all received requests
|
* `DELETE /__admin/requests` or `POST /__admin/requests/reset` --> Delete all received requests
|
||||||
* `GET /__admin/requests/{guid}` --> Get a single request
|
* `GET /__admin/requests/{guid}` --> Get a single request
|
||||||
* `POST /__admin/requests/reset` --> TODO
|
|
||||||
* `POST /__admin/requests/count` --> TODO
|
* `POST /__admin/requests/count` --> TODO
|
||||||
* `POST /__admin/requests/find` --> TODO
|
* `POST /__admin/requests/find` --> TODO
|
||||||
* `GET /__admin/requests/unmatched` --> TODO
|
* `GET /__admin/requests/unmatched` --> TODO
|
||||||
@@ -242,6 +242,9 @@ Example request
|
|||||||
### `DELETE /__admin/mappings/{guid}`
|
### `DELETE /__admin/mappings/{guid}`
|
||||||
Delete a single stub mapping.
|
Delete a single stub mapping.
|
||||||
|
|
||||||
|
### `POST /__admin/mappings/save`
|
||||||
|
Save all persistent stub mappings to the backing store
|
||||||
|
|
||||||
## /__admin/requests
|
## /__admin/requests
|
||||||
Logged requests and responses received by the mock service.
|
Logged requests and responses received by the mock service.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user