No Results
Set Domain Content

EdgeCore version: 4.3.0

Method

PUT /public/domains/{domainName}/content

Used to set content for a specific domain.

Parameters

Name Type Description Mandatory
domainName
string Domain for which you want to set content Yes
content[]
array of strings Content pages you want to provision Yes

 

cURL example

curl --location --request PUT 'http://localhost:8080/public/domains/edge/content' \
--header 'edgeApiKey: YWRtaW5AZGVmYXVsdHx3IDNHe2tMZTYhMkZkO3J3cipDaSZUdio5' \
--form 'content[]=/Content Menu/Charts' \
--form 'content[]=/Content Menu/Table'

Example Response

[
    "/Content Menu/Charts",
    "/Content Menu/Table"
]

HTTP Response

Code Status Description
200 OK The request has succeeded.
404 Not Found The domain could not be found.

Terms | Privacy