Viewrium Docs
Objects

The Ticket object

The single-use URL that is the only way to a product's 3D model file.

No response carries a URL for a model file. products.createTicket mints a ticket instead: its url serves the file once, until expires_at. See Model tickets.

TicketResponse

JavaScript: Ticket · Python: viewrium.Ticket

A single-use URL for the product's 3D file (model/gltf-binary). It works once, until expires_at, and a view ticket only from its bound origin. Do not store it.

urlstringrequired

The single-use URL of the model file. Fetch it once; do not store it.

kindTicketKindrequired

view (the page fetches it, bound to its origin) or ar (for Android's Scene Viewer).

One of "view", "ar"

expires_atdatetimerequired

When the URL stops working if unused.

On this page