deploy

post/sites/{site_id}/deploys

Query parameters

titlestring

Request body

filesobject

A hash mapping file paths to SHA1 digests of the file contents.

zipstring binary

A zip file containing the site files to deploy. Alternative to 'files'. To use this field, set Content-Type to 'application/json' and include the zip content here. Alternatively, you can set Content-Type to 'application/zip' and send the zip as the raw request body (not as JSON).

draftboolean
asyncboolean
functionsobject
functions_configobject
branchstring
frameworkstring
framework_versionstring

Response

OK

idstring
site_idstring
user_idstring
build_idstring
statestring
namestring
urlstring
ssl_urlstring
admin_urlstring
deploy_urlstring
deploy_ssl_urlstring
screenshot_urlstring
review_idnumber
draftboolean
requiredstring[]
required_functionsstring[]
error_messagestring
branchstring
commit_refstring
commit_urlstring
skippedboolean
created_atstring dateTime
updated_atstring dateTime
published_atstring dateTime
titlestring
contextstring
lockedboolean
review_urlstring
frameworkstring
skew_protection_tokenstring

Changes