Stats

Files kept for a deleted site

Admin-only. The files in the trash, read from storage, path-sorted and capped like the site drill-down; total / totalBytes describe every file.

get/stats/deleted-sites/{id}/files

Request

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

Path parameters

idstring required

The original site UUID

Response

totalnumber required

Files in the whole manifest, before the cap.

totalBytesnumber required

Bytes across the whole manifest, before the cap.

truncatedboolean required

True when files holds only the first page of the manifest.

Example response

{
  "files": [
    {
      "path": "assets/app.js",
      "size": 4827,
      "contentType": "text/html"
    }
  ]
}

Changes

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