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

Back to Web Scripts Home

Up to uri /api/wcm

/api/wcm/webprojects/{webprojectref}
/api/wcm/webprojects/{webprojectref}/memberships
/api/wcm/webprojects/{webprojectref}/memberships/{username}
/api/wcm/webprojects/{webprojectref}/sandboxes
/api/wcm/webprojects/{webprojectref}/sandboxes/{sandboxRef}
/api/wcm/webprojects/{webprojectref}/sandboxes/{sandboxref}
/api/wcm/webprojects/{webprojectref}/sandboxes/{sandboxref}/assets/{path}
/api/wcm/webprojects/{webprojectref}/sandboxes/{sandboxref}/modified
/api/wcm/webprojects/{webprojectref}/sandboxes/{sandboxref}/reverter
/api/wcm/webprojects/{webprojectref}/sandboxes/{sandboxref}/submitter

Create Web Project
POST /alfresco/service/api/wcm/webprojects
Description:Create (POST) a single WCM web project.
The following fields are required in the body of the request:
name
Human readable name for the web project.
title
Human readable title for the web project.
dnsName
The name of the web project which will become part of the URL. Should be short and unique.

The following fields are optional:
description
description about the web project

Returns 201, STATUS_CREATED on success. The body of the return will contain the new Web Project.
Authentication:user
Transaction:required
Format Style:argument
Lifecycle:draft_public_api
Default Format:json
Id:org/alfresco/repository/wcm/webproject.post
Description:classpath:alfresco/templates/webscripts/org/alfresco/repository/wcm/webproject.post.desc.xml

Web Projects
GET /alfresco/service/api/wcm/webprojects?userName={userName?}
GET /alfresco/service/api/wcm/webprojects
Description:Get a list of the WCM Web projects.
userName is an optional argument that if specified then only those web projects for the specified user are returned else all web projects are returned.
Authentication:user
Transaction:required
Format Style:argument
Lifecycle:draft_public_api
Default Format:json
Id:org/alfresco/repository/wcm/webprojects.get
Description:classpath:alfresco/templates/webscripts/org/alfresco/repository/wcm/webprojects.get.desc.xml