hosting

Deploy all or selected services of a preview

post/api/v1/hosting/apps/{app_id}/previews/{id}/deploy

Request

  • Base URL
    https://composal.com (the document declares no server; this is the origin it was published from)
  • URL
    https://composal.com/api/v1/hosting/apps/{app_id}/previews/{id}/deploy
  • Auth
    HTTP bearer

Path parameters

app_idstring required
idstring required

Request body

app_service_idsstring[]

Public service IDs belonging to this app and configured in this preview. Omit to deploy all configured services. Invalid or empty selections queue no deployments.

share_app_default_secretsboolean

Explicitly approve active app-default secrets for this preview before deployment.

Response

Success

object required

Changes

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