Add ESP servers to the specified deployment

post/deployments/{deploymentName}/edgeServers

Adds ESP servers to the specified deployment. Provides a list of names of existing ESP servers to be added.

Request Samples

1

Response Samples

1{
2 "createdBy": "user1",
3 "createdOn": 1675175923129,
4 "deleted": false,
5 "description": "Created by user1",
6 "label": "edgeDeployment",
7 "modifiedBy": "user1",
8 "modifiedOn": 1675175923129,
9 "production": false,
10 "projectStatuses": {},
11 "serverCount": 0,
12 "serverStatuses": {},
13 "servers": [],
14 "tags": [],
15 "type": "edge",
16 "uuid": "6fdd9044-f8e7-47b9-9837-cc457d8e2bee"
17}

Path Parameters

NameTypeRequiredDescription
deploymentName
string
true

The name of the deployment.

Header Parameters

NameTypeRequiredDescription
If-Unmodified-Since
string<HTTP-date>
false

If-Unmodified-Since

Request Body

Associates ESP servers with a deployment. A list of ESP server names are used to associate ESP servers with the deployment.

NameTypeRequiredDescription
serverNames
array [string]
false

Responses

StatusMeaningDescription
201Created

The request succeeded.

HeadersSchema
400Bad Request

The request was invalid. Additional information is available in the application logs if the environment variable LOGGING_LEVEL_ORG_SPRINGFRAMEWORK is set to DEBUG.

Schema
412Precondition Failed

The If-Unmodified-Since request header did not match the resource's last modified timestamp.

Schema
428Precondition Required

A precondition header is required.

Schema