Deploy

Set application servers

Changed on

Set application servers.

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

put/api/v1/deploy/application/servers

Request

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

Headers

Acceptstring

Request body */*

application_idstring uuid required

Application ID to assign servers to

primary_server_idstring uuid

Primary server ID for routing

routing_strategystring nullable

Routing strategy for multi-server deployments

server_idsstring[] required

Server IDs to assign to the application

Example request

{
  "application_id": "550e8400-e29b-41d4-a716-446655440000",
  "primary_server_id": "550e8400-e29b-41d4-a716-446655440000",
  "routing_strategy": "round-robin"
}

Response

OK

messagestring
statusstring

Changes

    • breaking

      the request property became required

    • breaking

      the request property became required

    • info

      api tag Deploy added

    • info

      api tag api/v1/deploy removed

    • info

      api tag application removed

    • info

      api tag servers removed

    • warning

      removed the optional property /// from the response with the status (media type: application/json)

    • warning

      removed the optional property /// from the response with the status (media type: application/xml)