Skip to main content

Attach a proxy to a node

Log in to add to favourites
A 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

NameParameter typeTypeFormatDescription
projectId(required)pathstring-The project identifier found in the project overview screen of the management console.
nodeId(required)pathstringuuidThe node identifier as a 128 bit GUID
node(required)bodyobjectnodeThe node object to update

Responses

HTTP status codeReasonModel
200SuccessNode
401UnauthorizedError
404Project not foundError
404Node not foundError
422Validation errorError
500Internal server errorError

Examples

Attach a proxy to an existing node

HTTP
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

HTTP
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

HTTP
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

Still need help?

If you still need help after reading this article, don't hesitate to reach out to the Contensis community on Slack or raise a support ticket to get help from our team.
New support request