Single Mock
GET https://api.getpostman.com/mocks/{{mock_uid}}
This endpoint fetches you the basic information about a single mock using its uid
.
Requires API Key as
X-Api-Key
request header orapikey
URL query parameter.
RESPONSES
status: OK
{"mock":{"id":"950dcaf2-ec37-4365-b106-ed659cc2ff5d","owner":"1679925","uid":"1679925-950dcaf2-ec37-4365-b106-ed659cc2ff5d","collection":"1679925-8aa4c661-e0f4-4db0-98bc-d52cb72b5cbf","environment":"1679925-2b90cdd8-e9ac-4086-91c2-bc4cad659511","mockUrl":"https://950dcaf2-ec37-4365-b106-ed659cc2ff5d.mock.pstmn.io","name":"mock1","config":{"headers":[],"matchBody":false,"matchQueryParams":true,"matchWildcards":true,"delay":null},"createdAt":"2020-12-14T08:12:21.000Z","updatedAt":"2020-12-15T06:44:37.000Z","isPublic":false}}