View all sites defined in a application
get
/gsadmin/v1/{appName}/pages
Returns a list of all sites defined for given application.
If zip extension is specified (add ".zip" at the end of the path), all site configurations 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.
Security
- basicAuth
-
Type:
basic
Description:Basic username/password authentication.
Response
Supported Media Types
- application/json
- application/zip
200 Response
List of sites defined for your application.
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 sites defined for the cloud application:
curl -H "Authorization:Bearer <token>" -X GET http://host:port/gsadmin/v1/cloud/pages (JSON format)
curl -H "Authorization:Bearer <token>" -X GET http://host:port/gsadmin/v1/cloud/pages.zip (ZIP format)