Upload a custom layout (ZIP file with .hbs templates)
Carousel
Upload a custom layout (ZIP file with .hbs templates)
Upload a ZIP file containing custom Handlebars templates for this carousel template.
Required files in ZIP:
intro.hbs- Intro slide templatecontent.hbs- Content slide templateoutro.hbs- Outro slide template
Optional:
partials/base-styles.hbs- Shared CSS styles
The templates will be stored and used instead of the default templates for this specific carousel template.
PATCH
Upload a custom layout (ZIP file with .hbs templates)
Authorizations
YALG Developer API key. Send it in the x-api-key header from a server-side environment only.
Path Parameters
Carousel template identifier.
Example:
"018f9f46-9a0e-7afd-b13f-2f63f07aa4f2"
Body
multipart/form-data
ZIP file containing .hbs templates (intro.hbs, content.hbs, outro.hbs)
Response
Custom layout uploaded successfully
The response is of type file.