query VirtualDirectoryPage(
    $domainId: ID!,
    $path: String!
) {
    domain: node(id: $domainId) {
        ... on Domain {
            id
            name
            owner {
                id
            }
            webScriptingSettings {
                aspDotNet
                php
                errorDocs
            }
            hosting {
                virtualDirectory(path: $path) {
                    key
                    baseName
                    dirName
                    isVirtual
                    doesExist
                    isReadable
                    isWritable
                    isAccessible
                    canManagePermissions
                }
            }
            subscription {
                permissions {
                    managePhpVersion
                    manageProtectedDirectories
                }
            }
        }
    }
    capability {
        packages {
            isASPdotNetInstalled
            isPhpInstalled
        }
    }
}
