Read the installation settings
GET
The installation’s own settings, kept in the database and changed at once: not the project configuration (GET /config), which changes in a change set. selfApproval says who may approve their own change set; the review screen reads it from a change set’s meta.review.selfApproval. Needs the admin.roles permission.
bearerheader
AuthorizationBearer <JWT>A service account's token (ccms_sat_…, issued by POST /service-accounts/{id}/tokens), or, for local use and demo mode, the server's shared CCMS_API_TOKEN.
X-Ccms-User?stringDemo mode only (CCMS_AUTH_MODE=demo): the user ID to act as. The bearer token is still required; without demo mode the header is refused (400).
application/vnd.api+json- response
data*The installation’s own settings, changed at once (not in a change set). id is always installation.
curl -X GET 'http://localhost:3000/settings'Example Response
{ "data": { "type": "InstallationSettings", "id": "string", "attributes": { "selfApproval": "never", "updatedAt": "2019-08-24T14:15:22Z" } }}