Skip to Content
CosmicAC Logo
API referenceApp node API

Instance setting routes

Instance-wide configuration (secrets are masked).

/v1/instance-settings

GET
/v1/instance-settings

Requires platform admin.

Authorization

ttrToken
headerttr-token<token>

Session token issued by sign-in. Sent as the ttr-token header.

Response Body

Default Response

Example Request
curl -X GET 'https://your-app-node-url/v1/instance-settings' \  -H 'ttr-token: <session-token>'
Example Response200
Empty

/v1/instance-settings

POST
/v1/instance-settings

Requires platform admin.

Authorization

ttrToken
headerttr-token<token>

Session token issued by sign-in. Sent as the ttr-token header.

Request Body

application/json
  1. body
key*string
Length1 <= length <= 255
value*string
Lengthlength <= 10240

Response Body

Default Response

Example Request
curl -X POST 'https://your-app-node-url/v1/instance-settings' \  -H 'ttr-token: <session-token>' \  -H 'Content-Type: application/json' \  -d '{  "key": "string",  "value": "string"}'
Example Response200
Empty
GET
/v1/instance-settings/{key}

Requires platform admin.

Authorization

ttrToken
headerttr-token<token>

Session token issued by sign-in. Sent as the ttr-token header.

Path Parameters

key*string
Length1 <= length <= 255

Response Body

Default Response

Example Request
curl -X GET 'https://your-app-node-url/v1/instance-settings/string' \  -H 'ttr-token: <session-token>'
Example Response200
Empty
PUT
/v1/instance-settings/{key}

Requires platform admin.

Authorization

ttrToken
headerttr-token<token>

Session token issued by sign-in. Sent as the ttr-token header.

Path Parameters

key*string
Length1 <= length <= 255

Request Body

application/json
  1. body
value*string
Lengthlength <= 10240

Response Body

Default Response

Example Request
curl -X PUT 'https://your-app-node-url/v1/instance-settings/string' \  -H 'ttr-token: <session-token>' \  -H 'Content-Type: application/json' \  -d '{  "value": "string"}'
Example Response200
Empty