Skip to main content
Version: 4.0.0

REST API

Preface

The Mocks Server main distribution includes the admin-api plugin preinstalled. It provides a REST API allowing to interact with the server while it is running. Read the REST API integration chapter for further info.

API

Swagger

tip

Start Mocks Server and browse to http://localhost:3110/docs to check out the API resources in the Swagger UI.

Swagger UI

Postman

Once Mocks Server is running, you can also use our Postman public collection to interact with the administration API:

Run in Postman

Javascript client

tip

A JavaScript client for the administration api is also distributed as an NPM package: @mocks-server/admin-api-client.