Design Versions
List design versions
This endpoint makes an HTTP GET request to retrieve a list of design versions
Request
Method: GET
Endpoint:
https://api.creatopy.com/v1/designVersion
Body:
hash
(string, required): The hash of the design.
Response Body
response
(array)id
(string): The version id.lastModified
(date): The last modification date of the design.lastModifiedByName
(string): The user's name who made the last modifications to the design.lastModifiedByProfilePicture
(string): The user's profilePicture who made the last modifications to the design.versionName
(string): The name of the version.sizeHash
(string): The size's hash from the set
Create a new design version
This endpoint allows you to create a new version for a design.
Request
Method:
POST
Endpoint:
https://api.creatopy.com/v1/designVersion
Body:
hash
(string, required): The hash of the design.versionName
(string, required): The new version's name.
Response
The response will be in JSON format with the following structure:
response
(object)status
(enum) - (succes, failed)
Update version name
This endpoint allows you to update a version's name.
Request
Method:
PUT
Endpoint:
https://api.creatopy.com/v1/designVersion
Body:
hash
(string, required): The hash of the design.versionName
(string, required): The new name of the design version.versionId
(string, required): The versionId of the design version.
Response
The response will be in JSON format:
Restore a design version
This endpoint allows you to restore a version of a design.
Request
Method:
POST
Endpoint:
https://api.creatopy.com/v1/designVersion/restore
Body:
hash
(string, required): The hash of the designversionId
(string, required): The versionId of the version.
Response
The response will be in JSON format:
Last updated