GET https://api.getpostman.com/mocks/{{mock_uid}}
This endpoint fetches you the basic information about a single mock using its Requires API Key as uid
.
X-Api-Key
request header or apikey
URL query parameter.
Body
PARAM
Key | Datatype | Required | Description |
HEADERS
Key | Datatype | Required | Description |
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
}
} |
ENDPOINTS