Variants
Get Variant
Get a variant by ID. Refreshes signed URL if expired.
get/v1/template/{template_id}/variant/{variant_id}
Request
- Base URL: https://layerre.com (the document declares no server; this is the origin it was published from)
- URL: https://layerre.com/v1/template/{template_id}/variant/{variant_id}
- Auth: HTTP bearer
Path parameters
template_idstring uuid required
variant_idstring uuid required
Response
Variant retrieved successfully
Example response
{
"url": "https://example.com/variant.png",
"width": 800,
"height": 600,
"overrides": [
{
"properties": {
"width": 100,
"height": 100,
"color": "#FF0000",
"text": "Hello World",
"font_size": 16,
"font_name": "Arial",
"text_direction": "rtl",
"line_spacing": 1000,
"vertical_align": "middle",
"img_url": "https://example.com/image.png",
"opacity": 1
}
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.