GET
/
v1
/
mock-apis
/
{mockApiId}
/
version-history
/
commits
/
{versionCommitId}
/
blob
/
{entityType}
/
{entityId}
Get the contents of a entity at a given version
curl --request GET \
  --url https://wmc.wiremockapi.cloud/v1/mock-apis/{mockApiId}/version-history/commits/{versionCommitId}/blob/{entityType}/{entityId} \
  --header 'Authorization: <api-key>'
"<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"

entityType
enum<string>
required

The type of the entity.

Available options:
mappings,
settings,
grpc-dsc,
graphql-schema,
openapi-doc
entityId
string
required

The ID of the entity. This path segment should be provided if and only if the entityType path segment is mappings.

Response

200 response

The response is of type string.