Logo
30daysofpostman API Documentation

Get all server stubs

GET https://api.getpostman.com/mocks/{{mockUid}}/server-responses

Gets all of a mock server's server stubs.

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 




RESPONSES

status OK

[ { "id": "7a2cd600-cf51-4e8a-b802-5e458828f4e5", "name": "Internal Server Error", "statusCode": 500, "createdAt": "2022-05-02T09:38:04.000Z", "updatedAt": "2022-05-02T09:38:04.000Z", "createdBy": "1", "updatedBy": "1" }, { "id": "bf6bbf95-bebb-44ba-8edb-1f096f905774", "name": "Service Unavailable", "statusCode": 503, "createdAt": "2022-05-02T09:38:04.000Z", "updatedAt": "2022-05-02T09:38:04.000Z", "createdBy": "1", "updatedBy": "1" } ]



Curl
curl -X GET 'https://api.getpostman.com/mocks/mockUid/server-responses'

ENDPOINTS