Using
`GET /config` — effective configuration of the running process. Admin only.
applies to v0.5.1GET
/store-api/config
const url = 'https://example.com/store-api/config';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/store-api/config \ --header 'Authorization: Bearer <token>'The path carries no {domain} segment, so extract_domain returns None
and the auth layer’s None-branch requires an admin role. The admin API
key never appears in the body — redaction happens at the field level
(AdminEntry.api_key’s #[serde(skip_serializing)] in config.rs), not
in this handler.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Config_path (resolved path, always set), config_file_loaded (whether a file existed there), and config (the effective LuraConfig — see config.rs for field docs)
Media typeapplication/json
object
Example generated
{}Unauthorized
Media typetext/plain
string
Forbidden — Admin only
Media typetext/plain
string