Files
server/opt/psa/admin/cp/queries/IpAddressPage.graphql
cutemeli 0bfc6c8425 Initial
2025-12-22 10:32:59 +00:00

54 lines
1.2 KiB
GraphQL

query IpAddressPage(
$type: IpAddressTypeEnum,
$search: String,
$page: Int,
$itemsPerPage: Int,
$orderBy: IpAddressListSort
) {
server {
firewall {
isEnabled
}
ipAddresses(
input: {
pagination: { page: $page, itemsPerPage: $itemsPerPage },
searchFilters: { type: $type, ipAddress: $search },
orderBy: $orderBy
}
) {
nodes {
id
ipAddress
publicIpAddress
interface
mask
type
isBlacklisted
isMain
isBroken
isMissing
subscriptionsCount
resellersCount
ftpOverSSL
}
pageInfo {
total
}
sortInfo {
sortColumn
sortDirection
}
hasPublicIp
canReloadPublic
}
}
mode {
isDemo
isPowerUserPanel
canManageResellers
}
serverInfo {
isVirtuozzo
}
}