clearml-server/server/schema/services/server.conf
2019-12-14 23:33:04 +02:00

123 lines
3.1 KiB
Plaintext

_description: "server utilities"
_default {
internal: true
allow_roles: ["root", "system"]
}
get_stats {
"2.1" {
description: "Get the server collected statistics."
request {
type: object
properties {
interval {
description: "The period for statistics collection in seconds."
type: long
}
}
}
response {
type: object
properties: {
}
}
}
}
config {
"2.1" {
description: "Get server configuration. Secure section is not returned."
request {
type: object
properties {
path {
description: "Path of config value. Defaults to root"
type: string
}
}
}
response {
type: object
properties {
}
}
}
}
info {
authorize = false
allow_roles = [ "*" ]
"2.1" {
description: "Get server information, including version and build number"
request {
type: object
properties {
}
}
response {
type: object
properties {
version {
description: "Version string"
type: string
}
build {
description: "Build number"
type: string
}
commit {
description: "VCS commit number"
type: string
}
}
}
}
}
endpoints {
"2.1" {
description: "Show available endpoints"
request {
type: object
properties {
}
}
response {
type: object
properties {
}
}
}
}
report_stats_option {
"2.4" {
description: "Get or set the report statistics option per-company"
request {
type: object
properties {
enabled {
description: "If provided, sets the report statistics option (true/false)"
type: boolean
}
}
}
response {
type: object
properties {
enabled {
description: "Returns the current report stats option value"
type: boolean
}
enabled_time {
description: "If enabled, returns the time at which option was enabled"
type: string
format: date-time
}
enabled_version {
description: "If enabled, returns the server version at the time option was enabled"
type: string
}
enabled_user {
description: "If enabled, returns Id of the user who enabled the option"
type: string
}
}
}
}
}