Mock Engine Service API
The Mock Engine Service is the core of SureStage - managing instances, routes, responses, stateful mock behavior, collaborators, instance exports, and prospect portals.
Base URL (local): http://localhost:3003
Swagger UI: http://localhost:3003/api/docs
Endpoints
| Tag | Description |
|---|---|
instances | Instance CRUD, lifecycle management |
routes | Route definitions and configuration |
responses | Response templates and selection logic |
mock-state | Stateful mock data management |
mock | Live mock request handling |
collaborators | Instance collaborator management (add, remove, update permissions) |
export | Instance export in Postman, Insomnia, and OpenAPI formats |
prospect-portals | Public portal creation, management, and engagement analytics |
OpenAPI Spec
Auto-generated API docs from the OpenAPI spec will populate this section. Access the interactive Swagger UI at localhost:3003/api/docs.