Learn > On-device catalogs (device.json) > Templates and variables OVERVIEW Most string values are templates: {...} placeholders are replaced before use. - {token} Value: token from token.file Where: everywhere - {cfg.KEY} Value: KEY from config.file Where: everywhere - {firmware_family} {firmware_version} {plugin_api} {plugin_capabilities} Value: firmware identity Where: everywhere - {page} Value: current page, 1-based Where: browse - {offset} Value: (page-1) x page_size Where: browse - {limit} Value: see paging Where: browse - {query} / {query_raw} Value: search text, URL-encoded / raw Where: search - {list_id} / {list_id_enc} Value: id of the open list, raw / encoded Where: browse, download, details - {id} {title} {author} {url} Value: the picked row's fields, raw Where: download, sidecar, details - {id_enc} {title_enc} {author_enc} {url_enc} Value: same, percent-encoded Where: download, sidecar, details - {dest} Value: final SD path of the downloaded file Where: sidecar - {md5} Value: MD5 of {dest} Where: sidecar - {device_code} Value: from the auth response Where: auth poll (URL and body only) Next: 02 Encoding rules