Builder

Deploy exactly the version the customer last saw (the session's last commit) to production, like any other project deployment; needs a paid plan, and is refused while the files contain a secret. Returns the deployment and the address where the site will be live

post/builder/sessions/{sessionId}/publish

Request

  • Base URL: https://hostingsurge.com/api/v1
  • URL: https://hostingsurge.com/api/v1/builder/sessions/{sessionId}/publish
  • Auth: one of:
    • HTTP bearer
    • API key in cookie __Host-hs_session

Path parameters

sessionIdstring uuid required

Response

Deployment started

deploymentunknown
urlstring nullable required

Where the site will be live (the project's production address)

Changes

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