Attach a proxy to a node
Log in to add to favouritesA proxy needs to be attached to a node in Site View to direct traffic from the incoming user request to its new destination.
PUT/api/management/projects/{projectId}/nodes/{nodeId}
Parameters
Name | Parameter type | Type | Format | Description |
---|---|---|---|---|
projectId(required) | path | string | - | The project identifier found in the project overview screen of the management console. |
nodeId(required) | path | string | uuid | The node identifier as a 128 bit GUID |
node(required) | body | object | node | The node object to update |
Responses
Examples
Attach a proxy to an existing node
PUT: /api/management/projects/website/nodes/d6bdea41-729c-4a07-85bf-a392aa0afc2b
{
"parentId": "bda31335-136c-42f4-bedc-69660b711a40",
"displayName": {
"en-GB": "Blood Meridian"
},
"slug": {
"en-GB": "blood-meridian"
},
"proxy": {
"id": "bcb62955-efa1-4e7f-93e3-757456fa24e4"
},
}
Attach a proxy and enable partialMatching
PUT: /api/management/projects/website/nodes/d6bdea41-729c-4a07-85bf-a392aa0afc2b
{
"parentId": "bda31335-136c-42f4-bedc-69660b711a40",
"displayName": {
"en-GB": "Blood Meridian"
},
"slug": {
"en-GB": "blood-meridian"
},
"proxy": {
"id": "bcb62955-efa1-4e7f-93e3-757456fa24e4",
"enablePartialMatching": true
},
}
Detach a proxy from an existing node
PUT: /api/management/projects/website/nodes/d6bdea41-729c-4a07-85bf-a392aa0afc2b
{
"parentId": "bda31335-136c-42f4-bedc-69660b711a40",
"displayName": {
"en-GB": "Blood Meridian"
},
"slug": {
"en-GB": "blood-meridian"
},
"proxy": null,
}
Remarks
The concept of partial matching is covered in more detail in the Attach a proxy to a Site View node user guide article