Versions
Get a specific version by ID
Changed onRetrieves a specific version data based on the given <strong>{id}</strong>. <br> The <strong>{id}</strong> must be an id of existing version.
get/pimcore-studio/api/versions/{id}
Request
- Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
- URL: /pimcore-studio/api/versions/{id}
- Auth: none declared
Path parameters
idinteger required
Example:83
Id of the version
Response
Successfully retrieved version data as JSON
Example response
{
"type": "image",
"fileName": "myImageFile.png",
"creationDate": 1707312457,
"modificationDate": 1707312457,
"fileSize": 41862,
"mimeType": "image/png",
"metadata": [
{
"name": "custom_metadata",
"language": "en",
"type": "input",
"data": "data"
}
],
"dimensions": {
"width": 1920,
"height": 1080
}
}Changes
- info
added the optional property
//to the response with the status
- info