sites

Replace every file of a site with the uploaded set.

The site's whole file list is replaced: paths absent from the upload are deleted from storage. Form submissions belong to the site, not to the deploy, and survive. The web address does not change. 50 MB and 500 files.

post/api/v1/sites/{id}/deploy

Request

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

Path parameters

idstring required

Response

Replace every file of a site with the uploaded set.

replacedinteger required

How many files the site now serves.

Changes

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