query AdminHomeUpdates {
    server {
        productVersion {
            name
            version
            patch
        }
        productUpdates {
            availablePatch
            availableVersion
            lastUpdateDate
            lastCheckDate
            isAutoupdateEnabled
            installingUpdatesTaskId
        }
        pum {
            installingUpdatesTaskId
            updates(
                input: { pagination: { page: 1, itemsPerPage: 1 } }
            ) {
                nodes {
                    name
                    availableVersion
                }
                pageInfo {
                    total
                }
            }
        }
    }
    primaryKey {
        pleskKeyId
        editionName
    }
    config {
        updates {
            showControls
            visualNotifications
        }
    }
    mode {
        isPumAllowed
    }
    viewer {
        login
        permissions {
            manageServerUpdates
        }
    }
}
