Get App Settings All
GET/config/v1/kv
DEPRECATED Please use /v2/kv instead.
If authenticated and with correct permissions, will return all KVs. Otherwise it will only return non secret KVs.
Request
Query Parameters
If specified, will only return the KVs with the specified keys
Header Parameters
If you provide the ETag that matches the current ETag for this content, will return a 304 response - indicating that the content has not changed.
If you provide the ETag that matches the current ETag for this content, will return a 412 response - indicating that the content has changed.
Responses
- 200
- 304
- 412
- 422
Successful Response
Response Headers
ETag
string
Used to identify this version of the content. Provide with a get request to avoid downloading the same data multiple times.
- application/json
- Schema
- Example (from schema)
Schema
Array [
- MOD1
]
Array [
- MOD1
]
kvs
object[]
The list of key/value pairs
The key for the setting
The value for the setting
notes
object
Notes to describe the key value pair
anyOf
string
secret_kvs
object[]
The list of secret key/value pairs
The key for the setting
The value for the setting
notes
object
Notes to describe the key value pair
anyOf
string
{
"kvs": [
{
"key": "string",
"value": "string",
"notes": "string"
}
],
"secret_kvs": [
{
"key": "string",
"value": "string",
"notes": "string"
}
]
}
Content still has the same etag and has not changed
Content has changed since the ETag was provided
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
- MOD1
- MOD2
]
]
detail
object[]
loc
object[]
required
anyOf
string
integer
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}