Virtual Staging API
You can generate a time stamp, or snapshot specific virtual staging domain via the Virtual Staging API.
Note that you should use the this API rather than modifying a virtual staging domain directly.
The Virtual Staging API accepts the following parameters:
timestamp
(epoch milliseconds) orsnapshotId
(string)- Base Virtual Staging Environment (Your base VSE is setup by Amplience when your account is created and provided during the onboarding process)
Generating a VSE using a timestampLink copied!
To generate a VSE using a timestamp make a GET request to the Virtual Staging service in the following format:
Example:
This will return a 200 response and the body will be the newly generated API domain name you should use to request content.
Generating a VSE using a snapshotIdLink copied!
You can also use the Virtual Staging service to generate a Virtual Staging domain pinned to a content snapshot (taken from the payload of the snapshot published webhook event, for example).
To generate a VSE using a snapshotId, send a GET request to the Virtual Staging service in the following format:
Example:
This will return a 200 response and the body will be the newly generated API domain name that you can use to request content.