Getting a list of stubs
Changed onThe list of stubs is required to view all added stubs. Use source query param to filter by source.
Request
- Base URL/api (relative, and the document was published on a file host, not at the API’s origin)
- URL/api/stubs
- Authnone required
Query parameters
Filter by source (file, rest, mcp, proxy)
Filter by service name (exact match)
Filter by method name (exact match)
Filter by session ID (empty means global stubs)
Case-insensitive substring search over service, method and stub ID
Filter by matcher kind(s) present on the stub input. Comma-separated for OR semantics (e.g. "glob,anyOf"). Valid kinds: equals, contains, matches, glob, anyOf.
Maximum number of returned stubs
Number of stubs to skip before returning results
Sort order for result list
Response
Successful operation
A list of stubs.
Changes
- breaking
the
//response's property type changed fromarrayto no type for status - info
added the optional property
//to the response with the status - info
added
subschema #1subschema #2to the/response propertyallOflist for the response status
- breaking
- info
added the optional property
/to the response with the status
- info