> For the complete documentation index, see [llms.txt](https://docs.spectrumcustomizer.com/integration/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.spectrumcustomizer.com/integration/api/rendering.md).

# Rendering

## 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.

```
HTTP/1.1 302 Found
Cache-Control: no-cache
Pragma: no-cache
Expires: -1
Location: https://cdn.spectrumcustomizer.com/assets/generated/recipeset/example.png
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:12:33 GMT
Content-Length: 0

```

#### 404 Could not find valid RecipeSet Readable Id.

```
RecipeSet was not found
```

#### 500 Spectrum encountered an error in processing.

```javascript
// An RFC 7807 ProblemDetails document is returned with a link to the log entry
// in the `detail` field for further investigation.
{
    "type": "https://tools.ietf.org/html/rfc7231#section-6.6.1",
    "title": "An error occurred while processing your request.",
    "status": 500,
    "detail": "Error generating recipeset render - https://api.spectrumcustomizer.com/logentry/detail/{logId}"
}
```
