config
API Reference: v1/config.proto
Table of Contents
-
Services
-
Messages
Services
ConfigurationManagementService
ConfigurationManagementService handles global configuration settings
GetConfiguration
rpc GetConfiguration(GetConfigurationRequest) GetConfigurationResponse
UpsertConfiguration
rpc UpsertConfiguration(UpsertConfigurationRequest) UpsertConfigurationResponse
Messages
GetConfigurationRequest
GetConfigurationRequest is an empty request for getting configuration
GetConfigurationResponse
GetConfigurationResponse contains all global configuration settings
| Field | Type | Description |
|---|---|---|
| status | Status | Operation Status |
| settings | map GetConfigurationResponse.SettingsEntry | Map of global configuration settings |
GetConfigurationResponse.SettingsEntry
| Field | Type | Description |
|---|---|---|
| key | string | none |
| value | string | none |
UpsertConfigurationRequest
UpsertConfigurationRequest contains configuration settings to update
| Field | Type | Description |
|---|---|---|
| settings | map UpsertConfigurationRequest.SettingsEntry | global settings to update |
UpsertConfigurationRequest.SettingsEntry
| Field | Type | Description |
|---|---|---|
| key | string | none |
| value | string | none |
UpsertConfigurationResponse
UpsertConfigurationResponse contains the result of configuration update
| Field | Type | Description |
|---|---|---|
| status | Status | Operation Status |
| updated_settings | map UpsertConfigurationResponse.UpdatedSettingsEntry | Updated settings |
UpsertConfigurationResponse.UpdatedSettingsEntry
| Field | Type | Description |
|---|---|---|
| key | string | none |
| value | string | none |