Skip to main content
POST
Restore the contents of an entity to a given version

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