files

Every file a site is serving.

Paths are relative to the site root. To read a file's contents, fetch it from the site's own URL — it is a public web page.

get/api/v1/sites/{id}/files

Request

  • Base URL: https://harvis.dev
  • URL: https://harvis.dev/api/v1/sites/{id}/files
  • Auth: one of:
    • HTTP bearer
    • API key in cookie better-auth.session_token

Path parameters

idstring required

Response

Every file a site is serving.

Changes

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