mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2024-09-16 08:37:19 +00:00
55 lines
876 B
GraphQL
55 lines
876 B
GraphQL
|
fragment basicMutationReturnFields on MutationReturnInterface{
|
||
|
code
|
||
|
message
|
||
|
success
|
||
|
}
|
||
|
|
||
|
query SystemSettings {
|
||
|
system {
|
||
|
settings {
|
||
|
autoUpgrade {
|
||
|
allowReboot
|
||
|
enable
|
||
|
}
|
||
|
ssh {
|
||
|
enable
|
||
|
passwordAuthentication
|
||
|
rootSshKeys
|
||
|
}
|
||
|
timezone
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
query DomainInfo {
|
||
|
system {
|
||
|
domainInfo {
|
||
|
domain
|
||
|
hostname
|
||
|
provider
|
||
|
requiredDnsRecords {
|
||
|
content
|
||
|
name
|
||
|
priority
|
||
|
recordType
|
||
|
ttl
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
mutation ChangeTimezone($timezone: String!) {
|
||
|
changeTimezone(timezone: $timezone) {
|
||
|
...basicMutationReturnFields
|
||
|
timezone
|
||
|
}
|
||
|
}
|
||
|
|
||
|
mutation ChangeAutoUpgradeSettings($settings: AutoUpgradeSettingsInput!) {
|
||
|
changeAutoUpgradeSettings(settings: $settings) {
|
||
|
...basicMutationReturnFields
|
||
|
allowReboot
|
||
|
enableAutoUpgrade
|
||
|
}
|
||
|
}
|