Theme

Advanced Guides

Admin API

Mappings

Getting all currently registered stub mappings

To fetch them via the HTTP API send a GET to http://<host>:<port>/__admin/mappings.

Optionally limit and offset parameters can be specified to constrain the set returned e.g. GET http://localhost:8080/__admin/mappings?limit=10&offset=50

Getting a single stub mapping by ID

Via the HTTP client a mapping can be retrieved by sending a GET to http://<host>:<port>/__admin/mappings/{id}.

Scenarios

Get all scenarios

Set a scenario to a specific state

Reset all scenarios

Datasets

Reset all datasets

Get one dataset data

Get settings information

Set fixed delay in milliseconds

Previous
Proxying