Creates a page configuration

post

/gsadmin/v1/{appName}/pages/{siteHome}/{page}

Request

Supported Media Types
Path Parameters
Security
Back to Top

Response

Supported Media Types

201 Response

Page created successfully.
Body ()
Root Schema : Response
Type: object
Show Source
Back to Top

Examples

The following example shows how to create the default page definition:

curl -X POST -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": 2,
         "@type": "ContentSlot",
         "@contentPaths": ["/content/additionalContent"]
     }
   }
}
Back to Top