Files
server/opt/psa/admin/cp/queries/HostingSettingsPage.graphql
2026-01-07 20:52:11 +01:00

186 lines
4.3 KiB
GraphQL

query HostingSettingsPage($id: ID!, $withIpAddresses: Boolean = false) {
mode {
isSimplePanel
isDemo
}
viewer {
isSmbImpersonated
login
type
}
server {
settings {
forbidSubscriptionRename
preferredDomain
isIPv6Supported
forbidFtpUserRename
}
securitySettingsPreset {
ssl
sslRedirect
asp
aspDotNet
cgi
fastcgi
webstat
writeModify
webDeploy
ssi
errorDocs
perl
python
shell
}
}
os {
isUnix
}
capability {
systemUser {
access {
shells {
name
value
empty
chrooted
isSecure
}
emptyShell
}
}
}
primaryKey {
pleskKeyId
keyShell
}
capability {
packages {
webstatPackages {
name
value
}
}
}
domain: node(id: $id) {
... on Domain {
id
name(idn: false)
isDemo
baseDomain {
id
}
parentDomain {
name(idn: false)
}
ipAddresses {
id
isIPv6
ipAddress
publicIpAddress
}
owner @include(if: $withIpAddresses) {
id
ipAddresses {
id
type
isIPv6
ipAddress
publicIpAddress
isBroken
clients {
id
}
}
availableIpAddresses: ipAddresses(filter: {unassigned: true}) {
id
type
isIPv6
ipAddress
publicIpAddress
isBroken
}
}
sysUser {
login
quota
shell
}
subscription {
isSecureSettingsPresetAllowed
permissions {
manageDomains
manageSubdomains
manageWebsitesAndDomains
manageHosting
manageHostingSsl
manageQuota
manageShellAccess
manageNotChrootedShell
allowInsecureSites
manageHostingSsi
manageErrorDocs
manageAdditionPermissions
manageWebstat
manageWebDeploy
allowInsecureSites
}
mainDomain {
id
name(idn: false)
}
domains {
id
name(idn: false)
}
}
allowToChangeHtype
htype
hosting {
documentRoot
preferredDomain
hasInstalledApplications
isSameSsl
}
forwarding {
code
redirect
}
sslSettings {
ssl
sslRedirect
certificateId
availableCertificates {
id
name
repository
}
}
aspNetSettings {
versions
configs {
version
}
}
webstatSettings {
webstat
webstatProtected
}
webScriptingSettings {
ssi
ssiHtml
cgi
cgiMode
cgiModeOptions
fastcgi
asp
aspDotNet
perl
python
webDeploy
errorDocs
writeModify
}
}
}
}