v1

latestOpenAPI 3.0.02026-07-14330119.9 KB
Stub Mappings

Find stubs by matching on their metadata

post/__admin/mappings/find-by-metadata

Request body

OR
OR
OR
OR
OR
OR
OR

Response

Matched stub mappings

Example response

{
  "mappings": [
    {
      "request": {
        "bodyPatterns": [
          {
            "equalToJson": "{ \"numbers\": [1, 2, 3] }"
          }
        ],
        "headers": {
          "Content-Type": {
            "equalTo": "application/json"
          }
        },
        "method": "POST",
        "url": "/some/thing"
      }
    }
  ],
  "meta": {
    "total": 4
  }
}