Gets a list of immediate pages defined under site home
get
/gsadmin/v1/{appName}/pages/{siteHome}
Returns a list of all immediate pages defined for a site.
If zip extension is specified (add ".zip" at the end of the path), all pages of the site are exported as a zip file.
Request
Supported Media Types
- application/json
Path Parameters
- appName
-
Type:
string
Required:true
Specifies the name of your application, for example, Discover.- siteHome
Type:string
Required:true
Specifies the name of the site.
Security
- basicAuth
-
Type:
basic
Description:Basic username/password authentication.
Response
Supported Media Types
- application/json
- application/zip
200 Response
List of immediate pages defined for your site.
Body
Represents a site folder under which a user can create and manage site specific pages
Root Schema : SiteHome
Type:
object
Represents a site folder under which a user can create and manage site specific pages
- ecr:createDate
-
Type:
string
- ecr:lastModified
-
Type:
string
- ecr:lastModifiedBy
-
Type:
string
- ecr:type
-
Type:
string
Default Value:site-home
Examples
The following example shows how to view a list of all immediate pages defined for a site:
curl -H "Authorization:Bearer <token>" -X GET http://host:port/gsadmin/v1/cloud/pages/Default (JSON format)
curl -H "Authorization:Bearer <token>" -X GET http://host:port/gsadmin/v1/cloud/pages/Default.zip (ZIP format)