Sites

Returns site metadata and file list. Requires owner token

get/api/sites/{ns}/{id}

Request

  • Base URL
    https://brewpage.app
  • Auth
    • none
    • or API key in header X-Owner-Token
    • or API key in header X-Manage-Key

Path parameters

ns, string required
id, string required

Headers

X-Owner-Token, unknown

Owner token returned at creation

X-Manage-Key, unknown

Management key of this site

Response

Site info

SiteInfoResponse required
id, string required

Unique 10-character alphanumeric site ID

namespace, string required
entryFile, string required

Entry HTML file resolved from the upload

fileCount, integer required
totalSizeBytes, integer required
files, SiteFileInfo[] required

List of all files in the site

createdAt, string date-time required
expiresAt, string date-time required
views, integer required
tags, string[] required

Changes

    • info

      added the optional property level to the response with the status

    • info

      added the optional property level to the response with the status

    • info

      added the optional property level to the response with the status