Insomnia Mock Routes API
Manage individual routes within a mock server.
Insomnia Mock Routes API is one of 4 APIs that Insomnia publishes on the APIs.io network, described by a machine-readable OpenAPI specification.
This API exposes 3 JSON Schema definitions.
Tagged areas include Mock Routes. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, a JSON-LD context, and 3 JSON Schemas.
This API exposes 4 operations across 2 paths, and defines 2 schemas. It is described by OpenAPI 3.1.0, at version 1.0.0.
Requests are made against 2 base URLs: https://mock.insomnia.rest, http://localhost:4010.
Metadata
The identity and technical contract details declared by the specification.
Authentication & Security 1
Insomnia Mock Routes API declares
1 security scheme
for authenticating requests.
It accepts HTTP bearer tokens (JWT) (bearerAuth).
By default, every request must be authenticated.
bearerAuth— Insomnia cloud authentication token for accessing mock server management endpoints.
Paths & Operations 4
Across 2 paths, the API surfaces 4 operations — 1 DELETE, 1 GET, 1 POST, 1 PUT. Each is listed below with its method, path, parameters, and response codes.
Manage individual routes within a mock server.
Schemas 2
The contract defines 2 schemas that model the data the API accepts and returns. The most detailed are MockRoute (9 properties), MockRouteCreate (7 properties). Each schema is shown below with its type and property counts.
Specification
The full machine-readable OpenAPI contract behind this narrative.
Source
More from Insomnia 3
Other APIs Insomnia publishes across the network.