Updates a page configuration
put
/gsadmin/v1/{appName}/pages/{siteHome}/{page}
Request
Supported Media Types
- application/json
- application/zip
Path Parameters
-
appName: string
Specifies the name of your application. For example, "cloud".
-
page: string
Specifies the name of the page.
-
siteHome: string
Specifies the name of the site.
Security
-
basicAuth: basic
Type:
basic
Description:Basic username/password authentication.
Response
Supported Media Types
- application/json
202 Response
Page updated successfully.
Examples
The following example shows how to update the default page configuration:
curl -X PUT -H "Authorization:Bearer <token>" -H "Content-Type:application/json" -d@pathname/filename.json http://host:port/gsadmin/v1/cloud/pages/Default/services/guidedsearch
Request Body Example
The following example shows the new configuration of the default page:
{ "ecr:type" : "page", "contentItem": { "@name": "Guided Search Service", "@type": "GuidedSearchService", "additionalContent": { "ruleLimit": 1, "@type": "ContentSlot", "@contentPaths": ["/content/additionalContent"] } } }