The SiteGroupsActor
contains the getSites
actor-chain that obtains a list of grouped and ungrouped sites. For information on site groups, refer to the ATG Multisite Administration Guide. The path for this actor is /atg/dynamo/droplet/multisite/SiteGroupsActor
.
Parameters: None.
List Available Sites Example
curl -x 127.0.0.1:8888 -L -v -b agent_cookies.txt -H "Content-Type: application/json" "http://localhost:8280/rest/model/atg/dynamo/droplet/multisite/ SiteGroupsActor/getSites"
This REST service call returns a server response similar to the following, providing a list of sites:
{ "groupedSites": [ { "id": "storeSiteUS", "name": "ATG Store" }, { "id": "homeSite", "name": "ATG Home" }, ], "ungroupedSites": [] }