GET /:project/settings
# Settings
Settings control the way the platform works and acts.
# The Setting Object
# Attributes
# List the Settings
List the settings.
# Parameters
# project required
The project you're targetting.
# Query
# limit optional
A limit on the number of objects that are returned. Default is 200
. Learn more
# offset optional
How many items to skip when fetching data. Default is 0
. Learn more
# page optional
Cursor for use in pagination. Often used in combination with limit
. Learn more
# single optional
Return the result as if it was a single item. Useful for selecting a single item based on filters and search queries. Will force limit
to be 1. Learn more
# meta optional
What metadata to return in the response. Learn more
# Returns
Returns an array of setting objects.
{
"data": [
{
"id": 1,
"key": "project_url",
"value": ""
},
{ ... },
{ ... }
]
}
# Retrieve a Setting
Retrieve a single setting by unique identifier.
# Parameters
# Query
# meta optional
What metadata to return in the response. Learn more
# Returns
Returns the setting object for the given unique identifier.
GET /:project/settings/:id
{
"data": {
"id": 1,
"key": "project_color",
"value": "#abcabc"
}
}
# Create a Setting
Create a new setting.
# Parameters
# project required
The project you're targetting.
# Attributes
# Query
# meta optional
What metadata to return in the response. Learn more
# Returns
Returns the setting object for the setting that was just created.
POST /:project/settings
{
"key": "my_custom_setting"
}
{
"data": {
"id": 23,
"key": "my_custom_setting",
"value": null
}
}
# Update a Setting
Update an existing setting
# Parameters
# Attributes
# Query
# meta optional
What metadata to return in the response. Learn more
# Returns
Returns the setting object for the setting that was just updated.
PATCH /:project/settings/:id
{
"value": "15"
}
{
"data": {
"id": 23,
"key": "my_custom_setting",
"value": "15"
}
}
# Delete a Setting
DELETE /:project/settings/:id