![]() |
Index of Web Scripts Family '/WCM/WebProject' |
Alfresco Community v3.2.0 (2039) |
4 Web Scripts |
Back to Web Scripts Home |
Up to family /WCM |
DELETE /alfresco/service/api/wcm/webprojects/{webprojectref} |
--- |
Delete a single WCM web project and its contents, webprojectref specifies which project to delete and will have been returned by a prior call to get, create or list web project. |
--- |
Authentication: | user |
Transaction: | required |
Format Style: | argument |
Default Format: | json |
Lifecycle: | draft_public_api |
Id: | org/alfresco/repository/wcm/webproject.delete |
Descriptor: | classpath:alfresco/templates/webscripts/org/alfresco/repository/wcm/webproject.delete.desc.xml |
GET /alfresco/service/api/wcm/webprojects/{webprojectref} |
--- |
Get a single WCM web project in JSON format. |
--- |
Authentication: | user |
Transaction: | required |
Format Style: | argument |
Default Format: | json |
Lifecycle: | draft_public_api |
Id: | org/alfresco/repository/wcm/webproject.get |
Descriptor: | classpath:alfresco/templates/webscripts/org/alfresco/repository/wcm/webproject.get.desc.xml |
POST /alfresco/service/api/wcm/webprojects |
--- |
Create (POST) a single WCM web project. The following fields are required in the body of the request:
The following fields are optional:
Returns 201, STATUS_CREATED on success. The body of the return will contain the new Web Project. |
--- |
Authentication: | user |
Transaction: | required |
Format Style: | argument |
Default Format: | json |
Lifecycle: | draft_public_api |
Id: | org/alfresco/repository/wcm/webproject.post |
Descriptor: | classpath:alfresco/templates/webscripts/org/alfresco/repository/wcm/webproject.post.desc.xml |
PUT /alfresco/service/api/wcm/webprojects/{webprojectref} |
--- |
Update a single WCM web project webprojectref is the unique reference returned by an earlier call to list, get or create web project The following fields are may be updated in the body of the request:
Returns 200 STATUS_OK, the body of the return will contain the updated web project. |
--- |
Authentication: | user |
Transaction: | required |
Format Style: | argument |
Default Format: | json |
Lifecycle: | draft_public_api |
Id: | org/alfresco/repository/wcm/webproject.put |
Descriptor: | classpath:alfresco/templates/webscripts/org/alfresco/repository/wcm/webproject.put.desc.xml |