Get Public Settings

Get
/api/v1/settings.public

List all public settings. Learn how this can be used in configuring your workspace in this guide.

Changelog

Version Description
7.0.0 Added the _id query parameter for filtering.
7.0.0 Removed the query parameter.
Query parameters
offset
integer

Number of items to "skip" in the query, i.e. requests return count items, skipping the first offset items. Refer to the official documentation to learn more.

Example50
count
integer

How many items to return. Refer to the official documentation to learn more.

Example50
sort

List of fields to order by, and in which direction. This is a JSON object, with properties listed in desired order, with values of 1 for ascending, or -1 for descending. For example, {"value": -1, "_id": 1}. Refer to the official documentation to learn more.

fields

This parameter accepts a JSON object with properties that have a value of 1 or 0 to include or exclude them in the response. For example, to only retrieve the usernames of users: fields={ "username": 1 }. Refer to the official documentation to learn more.

_id
string

Filter by the _id of the settings.

ExampleSite_Url, LDAP_Enable
Responses
200

OK

Success Example
{
  "settings": [
    {
      "_id": "API_Drupal_URL",
      "value": ""
    },
    {
      "_id": "API_Embed",
      "value": true
    }
  ],
  "count": 2,
  "offset": 0,
  "total": 2,
  "success": true
}
Expand All
object
settings
Array of object
object
_id
string
value
OneOf
boolean
boolean
string
string
count
integer
offset
integer
total
integer
success
boolean