Skip to content

Latest commit

 

History

History
42 lines (32 loc) · 3.88 KB

File metadata and controls

42 lines (32 loc) · 3.88 KB

GetMock

Properties

Name Type Required Description
mock GetMockMock

GetMockMock

Properties

Name Type Required Description
id_ str The mock server's ID.
owner str The ID of mock server's owner.
uid str The mock server's unique ID.
collection str The unique ID of the mock's associated collection.
mock_url str The mock server URL.
name str The mock server's name.
config MockConfig1 Information about the mock server's configuration.
created_at str The date and time at which the mock server was created.
updated_at str The date and time at which the mock server was last updated.
is_public bool If true, the mock server is public and visible to all users. This field does not indicate the mock server's access control status.
deactivated bool If true, the mock server is not active. Mock servers deactivate when a linked collection or environment is deleted.
environment str The mock server's associated environment ID.

MockConfig_1

Information about the mock server's configuration.

Properties

Name Type Required Description
headers List[str] A list of the mock server's headers.
match_body bool If true, match the request body.
match_query_params bool If true, match query parameters.
match_wildcards bool If true, use wildcard variable matching.
server_response_id str The ID of mock server's default response for requests. All calls to the mock server will return the defined response.