Alfresco Index of Web Scripts URI '/api/sites'
Alfresco Community v3.2.0 (2039)
2 Web Scripts

Back to Web Scripts Home

Up to uri /api

/api/sites/query
/api/sites/{shortname}
/api/sites/{shortname}/invitations
/api/sites/{shortname}/invitations/{invitationId}
/api/sites/{shortname}/invitations/{inviteId}
/api/sites/{shortname}/memberships
/api/sites/{shortname}/memberships/{authorityname}
/api/sites/{shortname}/potentialmembers
/api/sites/{shortname}/roles

Sites
GET /alfresco/service/api/sites?nf={namefilter?}&spf={sitepresetfilter?}&size={pagesize?}&pos={position?}
Description:Get a colleciton of the sites in the repository. The collection can be filtered by name and/or site preset.
Authentication:user
Transaction:required
Format Style:argument
Default Format:json
Id:org/alfresco/repository/site/sites.get
Description:classpath:alfresco/templates/webscripts/org/alfresco/repository/site/sites.get.desc.xml

Create Web Site
POST /alfresco/service/api/sites
Description:Creates a new site based on the site preset and details provided.
The following properties may be set.
shortName
the shortName of the web site, mandatory, must be unique
sitePreset
the sitePreset
title
the title of the web site
description
the description for the web site
visibility
the site visibility, one of (PUBLIC,MODERATED,PRIVATE), defaults to PUBLIC
Authentication:user
Transaction:required
Format Style:argument
Lifecycle:draft_public_api
Default Format:json
Id:org/alfresco/repository/site/sites.post
Description:classpath:alfresco/templates/webscripts/org/alfresco/repository/site/sites.post.desc.xml