Advanced

Advanced topics

Servlet: NewProject

com.pageseeder.NewProject

Description

This item is obsolete!

This servlet is no longer available since version 5.9.

Use the Service: /members/{member}/projects [POST] instead.

Handles adding a new project.

HTTP Method: GET

Display the information needed to create a new project.

The output contains the default scheme, host and port along with all the default group properties.

HTTP Method: POST

Actually creates the project in PageSeeder.

HTTP Parameters

nameName of project (no more than 30 chars e.g. mygroup)yesstring
descriptionTitle/description of project (no more than 250 chars)yesstring
ownerOwner of project (no more than 250 chars)yesstring
defaultSchemeScheme for document folder (e.g. http)yesscheme
defaultHostHost for document folder (e.g. www.yourserver.com)yeshost
defaultPortPort for document folder (e.g. 80)yesport
defaultFolderPath for document folder (e.g. /ps/myfolder/mygroup/*)yespath/ps/[name]/*
controlName of group this project is visible to (usually same as name)yesstring
ownerDirectorystyle owner for custom templates (should be [name])nostring
addMemberAdd current member as manager of groupnoyes|noyes

PageSeeder Return Status

missing-parameterSome Details Not Specified
invalid-parameterInvalid Character in Project Name
invalid-parameterProject name invalid
invalid-parameterProject name already in use
invalid-parameterStyle owner invalid
invalid-parameterProject name too long
invalid-parameterDefault folder already in use
errorMaximum number of projects reached
success-reloadGroup Created

Created on , last edited on