Platform config
Platform config: 8 operations, tagged platform-config in the OpenAPI document.
| Method | Path | Summary |
|---|---|---|
GET |
/api/config/{app}/{section}/{property} |
Get a single platform-config property |
PUT |
/api/config/{app}/{section}/{property} |
Set a platform-config property |
DELETE |
/api/config/{app}/{section}/{property} |
Delete a platform-config property |
GET |
/api/config/{app}/{section}/{property}/secret |
Read a SECRET platform-config value in plaintext (audited; the only endpoint that returns one) |
DELETE |
/api/platform-config/access/{id} |
Revoke a platform-config access grant |
GET |
/api/platform-config/{app} |
List platform-config properties for an application |
GET |
/api/platform-config/{app}/access |
List access grants for an application |
POST |
/api/platform-config/{app}/access |
Grant access to platform-config for a role |
Operations
Section titled “Operations”GET /api/config/{app}/{section}/{property}
Section titled “GET /api/config/{app}/{section}/{property}”Get a single platform-config property
Operation ID: getPlatformConfigProperty
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
app |
path | string | yes | |
section |
path | string | yes | |
property |
path | string | yes | |
clientId |
query | string | no | Scope to one client: the client’s id (clt_…) or its identifier (e.g. acme). The platform stores the id, so both name the same value. Omit for the application’s global value. An unknown client is 404. |
Responses
| Status | Description | Body |
|---|---|---|
200 |
OK | application/json ConfigResponse |
default |
Error | application/json ErrorModel |
PUT /api/config/{app}/{section}/{property}
Section titled “PUT /api/config/{app}/{section}/{property}”Set a platform-config property
Operation ID: setPlatformConfigProperty
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
app |
path | string | yes | |
section |
path | string | yes | |
property |
path | string | yes | |
clientId |
query | string | no | Scope to one client: the client’s id (clt_…) or its identifier (e.g. acme); the platform stores the id. Omit for the application’s global value. An unknown client is 404. |
X-On-Behalf-Of |
header | string | no | Who the calling service account acts for (for example the application’s signed-in user), recorded in the platform’s audit row. Honoured only from a service account; ignored from anyone else. At most 256 printable characters. |
Request body (required)
| Content type | Schema |
|---|---|
application/json |
SetPropertyRequest |
Responses
| Status | Description | Body |
|---|---|---|
200 |
OK | application/json ConfigResponse |
default |
Error | application/json ErrorModel |
DELETE /api/config/{app}/{section}/{property}
Section titled “DELETE /api/config/{app}/{section}/{property}”Delete a platform-config property
Operation ID: deletePlatformConfigProperty
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
app |
path | string | yes | |
section |
path | string | yes | |
property |
path | string | yes | |
clientId |
query | string | no | Scope to one client: the client’s id (clt_…) or its identifier (e.g. acme). The platform stores the id, so both name the same value. Omit for the application’s global value. An unknown client is 404. |
X-On-Behalf-Of |
header | string | no | Who the calling service account acts for (for example the application’s signed-in user), recorded in the platform’s audit row. Honoured only from a service account; ignored from anyone else. At most 256 printable characters. |
Responses
| Status | Description | Body |
|---|---|---|
204 |
No Content | none |
default |
Error | application/json ErrorModel |
GET /api/config/{app}/{section}/{property}/secret
Section titled “GET /api/config/{app}/{section}/{property}/secret”Read a SECRET platform-config value in plaintext (audited; the only endpoint that returns one)
Operation ID: revealPlatformConfigSecret
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
app |
path | string | yes | |
section |
path | string | yes | |
property |
path | string | yes | |
clientId |
query | string | no | Scope to one client: the client’s id (clt_…) or its identifier (e.g. acme). The platform stores the id, so both name the same value. Omit for the application’s global value. An unknown client is 404. |
X-On-Behalf-Of |
header | string | no | Who the calling service account acts for (for example the application’s signed-in user), recorded in the platform’s audit row. Honoured only from a service account; ignored from anyone else. At most 256 printable characters. |
Responses
| Status | Description | Body |
|---|---|---|
200 |
OK | application/json SecretResponse |
default |
Error | application/json ErrorModel |
DELETE /api/platform-config/access/{id}
Section titled “DELETE /api/platform-config/access/{id}”Revoke a platform-config access grant
Operation ID: revokePlatformConfigAccess
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id |
path | string | yes |
Responses
| Status | Description | Body |
|---|---|---|
204 |
No Content | none |
default |
Error | application/json ErrorModel |
GET /api/platform-config/{app}
Section titled “GET /api/platform-config/{app}”List platform-config properties for an application
Operation ID: listPlatformConfigProperties
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
app |
path | string | yes |
Responses
| Status | Description | Body |
|---|---|---|
200 |
OK | application/json ConfigListResponse |
default |
Error | application/json ErrorModel |
GET /api/platform-config/{app}/access
Section titled “GET /api/platform-config/{app}/access”List access grants for an application
Operation ID: listPlatformConfigAccess
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
app |
path | string | yes |
Responses
| Status | Description | Body |
|---|---|---|
200 |
OK | application/json AccessListResponse |
default |
Error | application/json ErrorModel |
POST /api/platform-config/{app}/access
Section titled “POST /api/platform-config/{app}/access”Grant access to platform-config for a role
Operation ID: grantPlatformConfigAccess
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
app |
path | string | yes |
Request body (required)
| Content type | Schema |
|---|---|
application/json |
GrantAccessRequest |
Responses
| Status | Description | Body |
|---|---|---|
201 |
Created | application/json CreatedResponse |
default |
Error | application/json ErrorModel |
Schemas
Section titled “Schemas”AccessListResponse
Section titled “AccessListResponse”| Field | Type | Required | Description |
|---|---|---|---|
items |
AccessResponse[] |
yes |
AccessResponse
Section titled “AccessResponse”| Field | Type | Required | Description |
|---|---|---|---|
applicationCode |
string | yes | |
canRead |
boolean | yes | |
canWrite |
boolean | yes | |
createdAt |
string (date-time) | yes | |
id |
string | yes | |
roleCode |
string | yes |
ConfigListResponse
Section titled “ConfigListResponse”| Field | Type | Required | Description |
|---|---|---|---|
items |
ConfigResponse[] |
yes |
ConfigResponse
Section titled “ConfigResponse”| Field | Type | Required | Description |
|---|---|---|---|
applicationCode |
string | yes | |
clientId |
string | no | |
clientIdentifier |
string | no | |
createdAt |
string (date-time) | yes | |
description |
string | no | |
id |
string | yes | |
property |
string | yes | |
scope |
string | yes | |
section |
string | yes | |
updatedAt |
string (date-time) | yes | |
value |
string | yes | |
valueType |
string | yes |
CreatedResponse
Section titled “CreatedResponse”| Field | Type | Required | Description |
|---|---|---|---|
id |
string | yes |
GrantAccessRequest
Section titled “GrantAccessRequest”| Field | Type | Required | Description |
|---|---|---|---|
canWrite |
boolean | yes | |
roleCode |
string | yes |
SecretResponse
Section titled “SecretResponse”| Field | Type | Required | Description |
|---|---|---|---|
applicationCode |
string | yes | |
clientId |
string | no | |
property |
string | yes | |
section |
string | yes | |
updatedAt |
string (date-time) | yes | The value’s version: it changes whenever the secret is set. Use it to detect rotation. |
value |
string | yes |
SetPropertyRequest
Section titled “SetPropertyRequest”| Field | Type | Required | Description |
|---|---|---|---|
clientId |
string | no | |
description |
string | no | |
value |
string | yes | |
valueType |
string | no | PLAIN or SECRET |