Websites - Protected

Protected Deploy Website

Deploy website to production domain.

Copies all S3 content from staging domain (e.g., rochaautomoveis.multigest.pt) to production domain (e.g., rochaautomoveis.pt).

  • Staging folder remains intact for future rebuilds
  • Production folder gets overwritten with staging content
  • DB already has production domain references (no DB update needed)

Copy-only used to leave unpublished/deleted pages live in production for good (#1009). app/services/website_deploy.py now also mirrors page removals, for armed sites only, behind a per-site lock and a quarantine copy.

post/api/websites/{website_id}/deploy

Request

  • Base URL
    https://api.multigest.pt (the document declares no server; this is the origin it was published from)
  • URL
    https://api.multigest.pt/api/websites/{website_id}/deploy
  • Auth
    API key in header x-api-token and API key in header x-origin-verify

Path parameters

website_idinteger required

Headers

x-api-tokenstring nullable

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 21 revisions of this API.