POST
/
v1
/
mock-apis
/
{mockApiId}
/
imports

Authorizations

Authorization
string
headerrequired

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

mockApiId
string
required

The ID of the Mock API

Required string length: 5 - 10

Body

A JSON file containing WireMock stub mappings.

mappings
object[]
required