curl --request GET \
--url https://wmc.wiremockapi.cloud/v1/mock-apis/{mockApiId}/version-history/commits \
--header 'Authorization: <api-key>'{
"versionCommits": [
{
"id": "<string>",
"date": "<string>",
"author": {
"id": "<string>",
"username": "<string>"
},
"links": {
"self": "<string>",
"items": "<string>",
"restore": "<string>",
"changes": "<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 \
--header 'Authorization: <api-key>'{
"versionCommits": [
{
"id": "<string>",
"date": "<string>",
"author": {
"id": "<string>",
"username": "<string>"
},
"links": {
"self": "<string>",
"items": "<string>",
"restore": "<string>",
"changes": "<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"
200 response
Show child attributes
The ID of the version.
The date-time that the version was created.
Show child attributes
The starting index of the current page
x >= 120
The ending index of the current page
x >= 129
The total number of items available
x >= 148
The current page number
x >= 13
The total number of pages available
x >= 15