AdminConfigController

@RestController
@RequestMapping(value = ["/api/v2/admin/configs"])
class AdminConfigController(service: SystemConfigService, repository: SystemConfigRepository, policyGuard: PolicyGuard)(source)

Constructors

Link copied to clipboard
constructor(service: SystemConfigService, repository: SystemConfigRepository, policyGuard: PolicyGuard)

Functions

Link copied to clipboard
@GetMapping(value = ["/{key}"])
fun get(@PathVariable key: String): SystemConfig
Link copied to clipboard
@GetMapping
fun list(): List<SystemConfig>
Link copied to clipboard
@PutMapping(value = ["/{key}"])
fun update(@PathVariable key: String, @RequestBody request: UpdateConfigRequest)