Deploy

Deploy application from template

Changed on

Deploy application from template.

Auth: Required (bearer token). Scope: Organization-scoped in authenticated context. Side effects: May mutate server state.

post/api/v1/deploy/application/template

Request

  • Base URL
    http://:8080
  • URL
    http://:8080/api/v1/deploy/application/template
  • Auth
    none declared

Headers

Acceptstring

Request body */*

environmentstring nullable

Deployment environment

namestring required

Name for the deployed application

primary_server_idstring uuid

Primary server ID for routing

routing_strategystring nullable

Routing strategy for multi-server deployments

server_idsstring[] nullable

Server IDs to deploy to

template_idstring uuid required

Template ID to deploy from

variablesobject

Template-specific configuration variables

Example request

{
  "environment": "production",
  "name": "my-wordpress",
  "primary_server_id": "550e8400-e29b-41d4-a716-446655440000",
  "routing_strategy": "round-robin",
  "template_id": "wordpress"
}

Response

Created

messagestring
statusstring

Changes

    • breaking

      the request property became required

    • breaking

      the request property became required

    • breaking

      removed the success response with the status

    • info

      api tag Deploy added

    • info

      api tag api/v1/deploy removed

    • info

      api tag application removed

    • info

      api tag template removed

    • info

      added the success response with the status

    • info

      added the new optional request property

    • info

      added the new optional request property