stubs

Getting a list of stubs

Changed on

The list of stubs is required to view all added stubs. Use source query param to filter by source.

get/stubs

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/stubs
  • Auth
    none required

Query parameters

sourcestring

Filter by source (file, rest, mcp, proxy)

servicestring

Filter by service name (exact match)

methodstring

Filter by method name (exact match)

sessionstring

Filter by session ID (empty means global stubs)

qstring

Case-insensitive substring search over service, method and stub ID

matcherstring

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.

limitinteger

Maximum number of returned stubs

offsetinteger

Number of stubs to skip before returning results

sortstring

Sort order for result list

Response

Successful operation

Stub[] required(unresolved $ref)

A list of stubs.

Changes

    • breaking

      the // response's property type changed from array to no type for status

    • info

      added the optional property // to the response with the status

    • info

      added subschema #1 subschema #2 to the / response property allOf list for the response status

    • info

      added the optional property / to the response with the status