Stats

Files the site currently serves (admin drill-down)

Admin-only listing of the site’s live manifest — the expected-file list of the most recent finalized upload batch — with each file’s path, size and recorded content type. Unlike the owner-facing GET /sites/:id/files, this works for any site regardless of ownership, and does not require the site to be live. Path-sorted and capped; total / totalBytes always describe the whole manifest, and truncated says whether the cap applied. A site that has never published returns an empty list.

get/stats/sites/{id}/files

Request

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

Path parameters

idstring required

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.