Properties
Name | Type | Required | Description |
---|---|---|---|
Mock | GetMockMock | ❌ |
Properties
Name | Type | Required | Description |
---|---|---|---|
Id | string | ❌ | The mock server's ID. |
Owner | string | ❌ | The ID of mock server's owner. |
Uid | string | ❌ | The mock server's unique ID. |
Collection | string | ❌ | The unique ID of the mock's associated collection. |
MockUrl | string | ❌ | The mock server URL. |
Name | string | ❌ | The mock server's name. |
Config | MockConfig1 | ❌ | Information about the mock server's configuration. |
CreatedAt | string | ❌ | The date and time at which the mock server was created. |
UpdatedAt | string | ❌ | The date and time at which the mock server was last updated. |
IsPublic | 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_ | string | ❌ | The mock server's associated environment ID. |
Information about the mock server's configuration.
Properties
Name | Type | Required | Description |
---|---|---|---|
Headers | List<string> |
❌ | A list of the mock server's headers. |
MatchBody | bool | ❌ | If true, match the request body. |
MatchQueryParams | bool | ❌ | If true, match query parameters. |
MatchWildcards | bool | ❌ | If true, use wildcard variable matching. |
ServerResponseId | string | ❌ | The ID of mock server's default response for requests. All calls to the mock server will return the defined response. |