curl --request GET \
--url https://wmc.wiremockapi.cloud/v1/mock-apis/{mockApiId}/version-history/commits/{versionCommitId}/items \
--header 'Authorization: <api-key>'
{
"items": [
{
"entityType": "stub_mapping",
"entityId": "<string>",
"links": {
"self": "<string>",
"contents": "<string>",
"restore": "<string>"
}
}
],
"meta": {
"start": 20,
"end": 29,
"total": 48,
"page": 3,
"totalPages": 5
},
"links": {
"self": "/v1/users/abc12/apis?q=training&limit=20&page=1"
}
}
curl --request GET \
--url https://wmc.wiremockapi.cloud/v1/mock-apis/{mockApiId}/version-history/commits/{versionCommitId}/items \
--header 'Authorization: <api-key>'
{
"items": [
{
"entityType": "stub_mapping",
"entityId": "<string>",
"links": {
"self": "<string>",
"contents": "<string>",
"restore": "<string>"
}
}
],
"meta": {
"start": 20,
"end": 29,
"total": 48,
"page": 3,
"totalPages": 5
},
"links": {
"self": "/v1/users/abc12/apis?q=training&limit=20&page=1"
}
}
The ID of the Mock API
5 - 10
"jjl8y"
The ID of the version
5 - 10
"jjl8y"
200 response
The response is of type object
.