How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

MockServer control API

Manage state or process (both MockServer & MockServer Proxy)

MockServer control API is one of 3 APIs that MockServer publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Control. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, a getting-started guide, and a GitHub repository.

This API exposes 6 operations across 6 paths, and defines 25 schemas. It is described by OpenAPI 3.2.0, at version 5.15.x.

Requests are made against 2 base URLs: http://localhost:1080/, https://localhost:1080/.

6 operations 6 paths 25 schemas 6 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
5.15.x
Base URL
http://localhost:1080/
License
Resource Areas
1

Paths & Operations 6

Across 6 paths, the API surfaces 6 operations — 6 PUT. Each is listed below with its method, path, parameters, and response codes.

control 6

Manage state or process (both MockServer & MockServer Proxy)

PUT
/mockserver/clear
clears expectations and recorded requests that match the request matcher
1 param body → 200400
PUT
/mockserver/reset
clears all expectations and recorded requests
→ 200
PUT
/mockserver/retrieve
retrieve recorded requests, active expectations, recorded expectations or log messages
2 params body → 200400
PUT
/mockserver/status
return listening ports
→ 200
PUT
/mockserver/bind
bind additional listening ports
body → 200400406
PUT
/mockserver/stop
stop running process
→ 200

Schemas 25

The contract defines 25 schemas that model the data the API accepts and returns. The most detailed are Expectation (15 properties), HttpRequest (11 properties), ConnectionOptions (7 properties), HttpResponse (7 properties). Each schema is shown below with its type and property counts.

KeyToValue
StringOrJsonSchema
string value that can be support nottable, optional or a json schema
HttpOverrideForwardedRequest
override forwarded request
HttpRequest
object
request properties matcher
11 properties
SocketAddress
object
remote address to send request to, only used for request overrides
3 properties
HttpTemplate
object
template to generate response / request
3 properties
HttpRequestAndHttpResponse
object
request and response
3 properties
ConnectionOptions
object
connection options
7 properties
BodyWithContentType
response body
TimeToLive
object
time expectation is valid for
3 properties
Protocol
protocol matcher
Body
request body matcher
Expectation
object
expectation
15 properties
HttpClassCallback
object
class callback
2 properties
HttpForward
object
host and port to forward to
4 properties
HttpObjectCallback
object
object / method callback
3 properties
OpenAPIDefinition
object
open api or swagger request matcher
2 properties
RequestDefinition
request definition
Delay
object
response delay
2 properties
Times
object
number of responses
2 properties
HttpError
object
error behaviour
3 properties
ExpectationId
object
pointer to existing expectation
1 property 1 required
Ports
object
list of ports
1 property
KeyToMultiValue
HttpResponse
object
response to return
7 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

mockserver-control-api-openapi.yml Raw ↑

Other APIs MockServer publishes across the network.

MockServer expectation API
MockServer verify API
Where this information came from

This is an independent, third-party profile of MockServer control API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.