Skip to main content

GetMock

Properties

NameTypeRequiredDescription
mockGetMockMock

GetMockMock

Properties

NameTypeRequiredDescription
idstringThe mock server's ID.
ownerstringThe ID of mock server's owner.
uidstringThe mock server's unique ID.
collectionstringThe unique ID of the mock's associated collection.
mockUrlstringThe mock server URL.
namestringThe mock server's name.
configMockConfig1Information about the mock server's configuration.
createdAtstringThe date and time at which the mock server was created.
updatedAtstringThe date and time at which the mock server was last updated.
isPublicbooleanIf true, the mock server is public and visible to all users. This field does not indicate the mock server's access control status.
deactivatedbooleanIf true, the mock server is not active. Mock servers deactivate when a linked collection or environment is deleted.
environmentstringThe mock server's associated environment ID.

MockConfig1

Information about the mock server's configuration.

Properties

NameTypeRequiredDescription
headersstring[]A list of the mock server's headers.
matchBodybooleanIf true, match the request body.
matchQueryParamsbooleanIf true, match query parameters.
matchWildcardsbooleanIf true, use wildcard variable matching.
serverResponseIdstringThe ID of mock server's default response for requests. All calls to the mock server will return the defined response.

Build Your Own SDKs with  liblab

Build developer friendly SDKs in minutes from your APIs

Start for Free →