Skip to main content

checkPermission

Checks the URL's registrable domain for site access or creation permission, probes for a tracking-script indicator, and estimates snapshot quota overflow. Use checkTitle when redirect-aware metadata is needed, or checkScript for full diagnostics. Requires an authenticated session.

checkPermission(
url: String!
newSnapshotsCount: Int
): ScriptCheckPermissionOnly

Arguments​

checkPermission.url ● String! non-null scalar​

Page URL or hostname; a missing scheme is added.

checkPermission.newSnapshotsCount ● Int scalar​

Snapshots about to be created, added to the existing count for numberOfSnapshotsOverQuota; omit to check existing snapshots only.

Type​

ScriptCheckPermissionOnly object​

Minimal preflight response for install flows that need only domain permission, existing-install detection, quota preview, and last-visited metadata. Returned by checkPermission.