### Supported Development Domains Source: https://one-platform.click.uz/merchant-docs/reference#frontend Examples of valid domain configurations for mini-app development environments. ```text ✅ https://my-miniapp.example.com — разрешено ✅ https://miniapp.mycompany.dev — разрешено ✅ http://localhost:3000 — разрешено для локальной разработки ``` -------------------------------- ### MiniApp Initialization Headers Source: https://one-platform.click.uz/merchant-docs/reference#frontend When a MiniApp is opened within the Click SuperApp, specific headers are passed in the initial HTTP request to provide session and environment context. ```APIDOC ## MiniApp Initialization Headers ### Description When a MiniApp is opened in the Click SuperApp, the initial HTTP request includes headers containing user session information, device platform, theme, and language settings. ### Headers - **web-session** (string) - Unique identifier for the user session. - **accept-platform** (string) - The device platform (e.g., ios, android). - **accept-theme** (string) - The current UI theme (e.g., light, dark). - **Accept-Language** (string) - The user's preferred interface language (e.g., en, ru, uz). ### Example ``` web-session: 9719f458-de27-4784-96fb-1eec1fb03352 accept-platform: ios accept-theme: light Accept-Language: en ``` ``` -------------------------------- ### Accessing Initialization Headers Source: https://one-platform.click.uz/merchant-docs/reference#frontend These headers are provided in the HTTP request when a mini-app is opened within the Click SuperApp. Use them to adapt the UI to the user's platform, theme, and language preferences. ```http web-session: 9719f458-de27-4784-96fb-1eec1fb03352 accept-platform: ios accept-theme: light Accept-Language: en ``` -------------------------------- ### Cache Busting via File Versioning Source: https://one-platform.click.uz/merchant-docs/reference#frontend Demonstrates techniques to prevent WebView from serving stale cached files by modifying file names or adding query parameters. ```html ``` -------------------------------- ### Session Lifecycle Parameters Source: https://one-platform.click.uz/merchant-docs/reference#frontend Displays the session duration and the mechanism required to refresh an expired session. ```text Время жизни сессии: 30 минут Источник обновления: повторный вход в Click SuperApp ``` -------------------------------- ### API Authentication Roles Source: https://one-platform.click.uz/merchant-docs/reference#frontend Distinction between the usage of tokens and web-session identifiers for API requests. ```text Токен → получение данных пользователя web-session → все остальные запросы к API ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.