Sites

Returns site metadata and file list. Requires owner token

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

Request

  • Base URL: https://brewpage.app
  • URL: https://brewpage.app/api/sites/{ns}/{id}
  • Auth: API key in header X-Owner-Token

Path parameters

nsstring required
idstring required

Headers

X-Owner-Tokenstring required

Owner token returned at creation

Response

Site info

idstring required

Unique 10-character alphanumeric site ID

namespacestring required
entryFilestring required

Entry HTML file resolved from the upload

fileCountinteger required
totalSizeBytesinteger required
createdAtstring date-time required
expiresAtstring date-time required
viewsinteger required
tagsstring[] required

Changes

    • breaking

      removed the media type */* for the response with the status

    • breaking

      removed the media type */* for the response with the status

    • breaking

      removed the media type */* for the response with the status

    • info

      api operation id info removed and replaced with getSiteInfo

    • info

      the endpoint scheme security OwnerToken was added to the API

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property // became nullable for the status