DeleteMockServerResponse
Information about the deleted server response.
Properties
Name | Type | Required | Description |
---|---|---|---|
id | string | ❌ | The server response's ID. |
name | string | ❌ | The server response's name. |
statusCode | number | ❌ | The server response's 5xx HTTP response code. |
headers | DeleteMockServerResponseHeaders[] | ❌ | The server response's request headers, such as Content-Type, Accept, encoding, and other information. |
language | DeleteMockServerResponseLanguage | ❌ | The server response's body language type. |
body | string | ❌ | The server response's body that returns when calling the mock server. |
createdBy | string | ❌ | The user ID of the user who created the server response. |
updatedBy | string | ❌ | The user ID of the user who last updated the server response. |
createdAt | string | ❌ | The date and time at which the server response was created. |
DeleteMockServerResponseHeaders
Properties
Name | Type | Required | Description |
---|---|---|---|
key | string | ❌ | The request header's key value. |
value | string | ❌ | The request header's value. |
DeleteMockServerResponseLanguage
The server response's body language type.
Properties
Name | Type | Required | Description |
---|---|---|---|
TEXT | string | ✅ | "text" |
JAVASCRIPT | string | ✅ | "javascript" |
JSON | string | ✅ | "json" |
HTML | string | ✅ | "html" |
XML | string | ✅ | "xml" |
Build Your Own SDKs with liblab
Build developer friendly SDKs in minutes from your APIs