Get all mock servers
GET https://api.getpostman.com/mocks
Gets all mock servers.
Body
PARAM
Key | Datatype | Required | Description |
HEADERS
Key | Datatype | Required | Description |
RESPONSES
status OK
{
"mock": {
"id": "e3d951bf-873f-49ac-a658-b2dcb91d3289",
"owner": "1679925",
"uid": "1679925-e3d951bf-873f-49ac-a658-b2dcb91d3289",
"collection": "1679925-39fee52f-b806-3ffa-1173-00a6f5b183dc",
"mockUrl": "https://e3d951bf-873f-49ac-a658-b2dcb91d3289.mock.pstmn.io",
"name": "Test Mock",
"config": {
"headers": [],
"matchBody": false,
"matchQueryParams": true,
"matchWildcards": true,
"delay": null,
"serverResponseId": null
},
"createdAt": "2022-06-09T19:00:39.000Z",
"updatedAt": "2022-06-09T19:00:39.000Z",
"environment": "1679925-0b9e9f15-3208-a2b1-22e0-d58392f01524",
"isPublic": false
}
} |
ENDPOINTS