![]() |
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 |
| 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 |
| POST /alfresco/service/api/sites |
| Description: | Creates a new site based on the site preset and details provided. The following properties may be set.
|
| 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 |