Alfresco Index of Web Scripts URI '/api/sites/{shortname}'
Alfresco Community v3.2.0 (2039)
3 Web Scripts

Back to Web Scripts Home

Up to uri /api/sites

/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

Site
DELETE /alfresco/service/api/sites/{shortname}
Description:Delete the details of a site.
Authentication:user
Transaction:required
Format Style:argument
Default Format:json
Id:org/alfresco/repository/site/site.delete
Description:classpath:alfresco/templates/webscripts/org/alfresco/repository/site/site.delete.desc.xml

Get Web Site
GET /alfresco/service/api/sites/{shortname}
Description:Get the details of a web site. Returns 200, STATUS_OK on success.
Authentication:user
Transaction:required
Format Style:argument
Lifecycle:draft_public_api
Default Format:json
Id:org/alfresco/repository/site/site.get
Description:classpath:alfresco/templates/webscripts/org/alfresco/repository/site/site.get.desc.xml

Update Web Site
PUT /alfresco/service/api/sites/{shortname}
Description:Update the details of a site. The following properties may be updated.
title
the title of the web site
description
the description for the web site
visibility
the site visibility, one of (PUBLIC,MODERATED,PRIVATE)
Authentication:user
Transaction:required
Format Style:argument
Lifecycle:draft_public_api
Default Format:json
Id:org/alfresco/repository/site/site.put
Description:classpath:alfresco/templates/webscripts/org/alfresco/repository/site/site.put.desc.xml