For the complete documentation index, see llms.txt. This page is also available as Markdown.

Rendering

Rendering routes used to display a 2D customized product in predefined angles most commonly used within e-commerce cart, checkout, and product pages

RecipeSet Render

GET https://api.spectrumcustomizer.com/api/assets/generated/recipeset/readable/:readableId/:viewAngleHandle

This endpoint allows you to render all items within a RecipeSet at the predefined view angle.

Path Parameters

Name
Type
Description

viewAngleHandle

string

Handle for the angle of the product to display. (e.g. "north", "south", "east", "west", "northeast", etc.)

readableId

string

8 digit alphanumeric RecipeSet readable identifier.

200 Direct image download of byte array with appropriate content type. Spectrum will return an image directly when transformations are applied. See: Image Transformations in API section.

HTTP/1.1 200 OK
Cache-Control: no-cache
Pragma: no-cache
Content-Length: 215919
Content-Type: image/png
Expires: -1
Server: Microsoft-IIS/10.0
X-AspNet-Version: 4.0.30319
Request-Context: appId=cid-v1:3563b4f7-e3dc-42cf-9689-3d04e3f8ace6
Access-Control-Expose-Headers: Request-Context
X-Powered-By: ASP.NET
Date: Fri, 22 Jan 2021 21:17:42 GMT

[File Content]

302 Redirect to location of asset within Spectrum CDN with no resizing or transformations applied.

404 Could not find valid RecipeSet Readable Id.

500 Spectrum encountered an error in processing.

Last updated

Was this helpful?