files
Add or overwrite individual files, leaving the rest of the site alone.
Unlike sites.deploy, paths are taken exactly as given: nothing is stripped and nothing is deleted. Use this to change one page; use sites.deploy to publish a rebuilt folder.
post/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
Add or overwrite individual files, leaving the rest of the site alone.
Changes
No recorded changes to this operation across all 1 revision of this API.