-
-
Notifications
You must be signed in to change notification settings - Fork 11.4k
Closed
Labels
affects:apiAffects the Ghost APIAffects the Ghost API
Milestone
Description
To make configuration values available to the client (see #3568) we need another API endpoint to read and browse config values.
GET /ghost/api/v0.1/configuration/: all available config valuesGET /ghost/api/v0.1/configuration/<config-name>: one value, identified by config-name
Response format:
{
configuration: [{
key:<config-name>,
value:<config-value>
}]
}
The configuration endpoint should only return a subset of available config values:
filestorage(boolean fromconfig.env.fileStorage)apps(boolean fromconfig.env.apps)version(string, semver frompackages.json)environment(string fromNODE_ENV)database(string fromconfig.env.database.client)mail(sring fromconfig.env.mail.transport)
Every authenticated user is allowed to read and browse these values.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
affects:apiAffects the Ghost APIAffects the Ghost API