Stats

Permanently delete old trash entries

Admin-only. Deletes the files and the row of every trash entry at least 30, 60 or 90 days old. An entry whose files cannot be deleted is kept and counted in failed. Records a site.purged activity per entry.

post/stats/deleted-sites/purge

Request

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

Request body

olderThanDays30 | 60 | 90 required

Permanently delete every trash entry at least this old.

Response

countnumber required

Entries deleted for good.

totalBytesnumber required

Bytes freed.

failednumber required

Entries a storage error kept; a later purge retries them.

Changes

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