Get one kiosk theme
get
https://api.flactrum.com/v1/kiosk/themes/{theme}
| Required scope | kiosk.read |
| Success status | 200 |
Parameters
| Name | In | Type | Description |
|---|---|---|---|
| theme * | path | string | ULID of the record. |
Examples
Recorded from the test suite — these are real requests and their real responses.
curl -X GET 'https://api.flactrum.com/v1/kiosk/themes/01m43mygg5ar5wc1yvfb94jrkk' \
-H 'Authorization: Bearer flk_your_key:your_secret' \
-H 'Accept: application/json'
HTTP 200 · application/json
{
"data": {
"id": "01m43mygg5ar5wc1yvfb94jrkk",
"branch_id": null,
"version": 0,
"published_at": null,
"has_unpublished_changes": true,
"draft": {
"colors": {
"background": "#F5F4F0",
"surface": "#FFFFFF",
"primary": "#6A34E0",
"on_primary": "#FFFFFF",
"text": "#16161E",
"text_muted": "#5E5E68",
"price": "#16161E",
"accent": "#B45309",
"splash_background": "#16161E"
},
"splash_logo_url": "/storage/kiosk-logos/01m43mygfhk9kr687148gkrqy4/sXJ2IXUdrBSYvqlOOAWofDJI78ysw3jgQ5V6LgSm.png",
"splash_image_url": "https://images.pexels.com/photos/312418/pexels-photo-312418.jpeg?auto=compress&cs=tinysrgb&w=1080&h=1920&fit=crop",
"splash_image": "latte",
"splash_overlay": 60,
"texts": []
},
"published": null,
"contrast": [
{
"check": "button",
"foreground": "on_primary",
"background": "primary",
"ratio": 6.6,
"minimum": 4.5,
"passes": true
},
{
"check": "text_on_background",
"foreground": "text",
"background": "background",
"ratio": 16.34,
"minimum": 4.5,
"passes": true
},
{
"check": "text_on_surface",
"foreground": "text",
"background": "surface",
"ratio": 17.99,
"minimum": 4.5,
"passes": true
},
{
"check": "muted_on_surface",
"foreground": "text_muted",
"background": "surface",
"ratio": 6.41,
"minimum": 4.5,
"passes": true
},
{
"check": "price_on_surface",
"foreground": "price",
"background": "surface",
"ratio": 17.99,
"minimum": 3,
"passes": true
},
{
"check": "accent_on_background",
"foreground": "accent",
"background": "background",
"ratio": 4.56,
"minimum": 3,
"passes": true
}
]
}
}