Deploy a static site

Multipart upload of site files. Each part is named "files" with the file's site-relative path as its filename. index.html is required. Without auth the deploy is anonymous (expires in 1 hour, claimable). With Authorization: Bearer bc_live_... the deploy is permanent under the key owner's account; pass ?slug= to update an existing project.

post/v1/deploys

Request

  • Base URL: https://api.buildcheap.host
  • URL: https://api.buildcheap.host/v1/deploys
  • Auth: none declared

Query parameters

slugstring

(API key only) target an existing project's slug.

Response

Deployed

slugstring
urlstring
expires_atstring nullable
claim_urlstring nullable
deploy_tokenstring nullable

Changes

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