Stats

One deleted site in the trash

Admin-only. The entry with the settings a restore brings back, and whether the original name is free.

get/stats/deleted-sites/{id}

Request

  • Base URL: https://api.nippy.host
  • URL: https://api.nippy.host/stats/deleted-sites/{id}
  • Auth: bearer (a scheme the document does not define)

Path parameters

idstring required

The original site UUID

Response

idstring required

The original site id (UUID).

subdomainstring required

The name the site had when it was deleted.

accountIdstring nullable required

The owning account, or null when the account is gone.

ownerEmailstring nullable required

The account owner email at deletion.

planAtDeletion'free' | 'basic' | 'pro' | 'max' required

The plan at deletion.

reason'owner' | 'expired' required
deletedByUserIdstring nullable required

Who deleted it; null for the renewal job.

deletedAtstring required

Deletion time (ISO 8601).

ageDaysnumber required

Whole days since the deletion.

fileCountnumber required

Files kept in the trash.

totalBytesnumber required

Bytes kept in the trash.

nameAvailableboolean required

True when the original name is free, so a restore needs no new name.

r2Prefixstring required

The R2 prefix the files are kept under.

statusAtDeletion'pending' | 'awaiting_verification' | 'live' | 'inactive' | 'suspended' required

Status at deletion.

suspendedReasonAtDeletion'billing' | 'abuse' | 'duplicate' | 'expired' nullable required

Suspension reason at deletion.

createdAtstring required

When the site was first created (ISO 8601).

createdByUserIdstring nullable required
passwordProtectedboolean required
metaTitlestring nullable required
metaDescriptionstring nullable required
searchIndexableboolean required
analyticsEnabledboolean required
formCaptureEnabledboolean required
downloadsPolicy'auto' | 'on' | 'off' required
showBannerOverrideboolean nullable required
renewalExemptboolean required

True for a site published before the Free-site renewal rule.

Changes

No recorded changes to this operation across all 1 revision of this API.