Skip to content
v0.5.1GitHub

Using

`GET /config` — effective configuration of the running process. Admin only.

applies to v0.5.1
GET
/store-api/config
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.

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