/api/setting endpoints
/api/setting endpoints
GET /api/setting/
Get all Settings
and their values. You must be a superuser to do this.
You must be a superuser to do this.
## `GET /api/setting/` Get all `Settings` and their values. You must be a superuser to do this. You must be a superuser to do this.
GET /api/setting/:key
Fetch a single Setting
. You must be a superuser to do this.
You must be a superuser to do this.
key
value must be a non-blank string.## `GET /api/setting/:key` Fetch a single `Setting`. You must be a superuser to do this. You must be a superuser to do this. ##### PARAMS: * **`key`** value must be a non-blank string.
PUT /api/setting/
Update multiple Settings
values. You must be a superuser to do this.
You must be a superuser to do this.
settings
## `PUT /api/setting/` Update multiple `Settings` values. You must be a superuser to do this. You must be a superuser to do this. ##### PARAMS: * **`settings`**
PUT /api/setting/:key
Create/update a Setting
. You must be a superuser to do this.
This endpoint can also be used to delete Settings by passing nil
for :value
.
You must be a superuser to do this.
key
value must be a non-blank string.
value
## `PUT /api/setting/:key` Create/update a `Setting`. You must be a superuser to do this. This endpoint can also be used to delete Settings by passing `nil` for `:value`. You must be a superuser to do this. ##### PARAMS: * **`key`** value must be a non-blank string. * **`value`**
Ring routes for api/setting: (PUT_:key GET_:key GET_ PUT_)
Ring routes for api/setting: (PUT_:key GET_:key GET_ PUT_)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close