Get a settings namespace
GET
/v1/settings/{ns}
const url = 'http://localhost:8080/v1/settings/example';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url http://localhost:8080/v1/settings/exampleReturns every known setting in the namespace with its current value, type (text, number, flag, json), description, and whether it is secret (values are masked), needs a restart, or is read-only (managed by the platform, such as wizard state and the signing key). Administrators only. 404 for an unknown namespace.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”ns
required
string
Responses
Section titled “Responses”OK
Media typeapplication/json
object
namespace
required
string
settings
required
Array<object>
object
key
required
string
value
required
null | string
valueType
required
string
isSecret
required
boolean
restartRequired
required
boolean
readOnly
required
boolean
description
required
string
Examplegenerated
{ "namespace": "example", "settings": [ { "key": "example", "value": "example", "valueType": "example", "isSecret": true, "restartRequired": true, "readOnly": true, "description": "example" } ]}