GET
/
v1
/
mock-apis
/
{mockApiId}
/
version-history
/
commits
/
{versionCommitId}
Get a version by ID
curl --request GET \
  --url https://wmc.wiremockapi.cloud/v1/mock-apis/{mockApiId}/version-history/commits/{versionCommitId} \
  --header 'Authorization: <api-key>'
{
  "versionCommit": {
    "id": "<string>",
    "date": "<string>",
    "author": {
      "id": "<string>",
      "username": "<string>"
    },
    "links": {
      "self": "<string>",
      "items": "<string>",
      "restore": "<string>",
      "changes": "<string>"
    }
  }
}

Authorizations

Authorization
string
header
required

Your API key prefixed by 'Token '

Path Parameters

mockApiId
string
required

The ID of the Mock API

Required string length: 5 - 10
Example:

"jjl8y"

versionCommitId
string
required

The ID of the version

Required string length: 5 - 10
Example:

"jjl8y"

Response

200
application/json

200 response

The response is of type object.