mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2024-08-25 06:21:52 +00:00
60 lines
888 B
GraphQL
60 lines
888 B
GraphQL
query SystemSettings {
|
|
system {
|
|
settings {
|
|
autoUpgrade {
|
|
allowReboot
|
|
enable
|
|
}
|
|
ssh {
|
|
enable
|
|
passwordAuthentication
|
|
}
|
|
timezone
|
|
}
|
|
}
|
|
}
|
|
|
|
query SystemIsUsingBinds {
|
|
system {
|
|
info {
|
|
usingBinds
|
|
}
|
|
}
|
|
}
|
|
|
|
fragment fragmentDnsRecords on DnsRecord {
|
|
recordType
|
|
name
|
|
content
|
|
ttl
|
|
priority
|
|
}
|
|
|
|
query DomainInfo {
|
|
system {
|
|
domainInfo {
|
|
domain
|
|
hostname
|
|
provider
|
|
requiredDnsRecords {
|
|
...fragmentDnsRecords
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
mutation ChangeTimezone($timezone: String!) {
|
|
changeTimezone(timezone: $timezone) {
|
|
...basicMutationReturnFields
|
|
timezone
|
|
}
|
|
}
|
|
|
|
mutation ChangeAutoUpgradeSettings($settings: AutoUpgradeSettingsInput!) {
|
|
changeAutoUpgradeSettings(settings: $settings) {
|
|
...basicMutationReturnFields
|
|
allowReboot
|
|
enableAutoUpgrade
|
|
}
|
|
}
|