Skip to main content

 Services

Web services from /about to /webhooks

create project

/members/{member}/projects [POST]

Description

Creates a new project in PageSeeder.

Parameters

NameDescriptionRequiredTypeDefault
descriptionDescription of projectyesstring
shortnameShortname of projectyesstring
hostThe hostname for the default group folder (required if projectname not specified)maybestring
hosturlThe host URL for the default group folder (required if projectname not specified) –DEPRECATED use hostmaybestring
ownerOwner of project/group (required if projectname not specified)maybestring
accessAccess to group and comments [public|member]noenummember
addmemberWhether to add the current member as a managernobooleantrue
detailstypeThe name of the member details config filenostring
messageSubscription messagenostring
projectnameParent project namenostring
relatedurlURL of a related websitenostring
templateThe template folder for customizationsnostring
titleThe user friendly title of projectnostring
visibilityThe group name this is visible to or publicnostring[projectname-shortname]

In PageSeeder 6.1 and higher the project defaults are defaultrole="contributor" and defaultnotify="immediate" (defaultnotify is currently not used by projects).

Permission

This service requires administrator.

Response

<project-creation>
  <project id="123"
           name="myproject-mygroup"
           [title="My group"]
           description="My own group"
           owner="My Organisation"
           access="[public|member]"
           common="[true|false]"
           [relatedurl="http://mycompany/mypage.html"]
           [visibility="myproject-mygroup"]
           [template="myproject"]
           [detailstype="mydetails"]
           editurls="[true|false]"
           commenting="[public|reviewer|contributor]"
           moderation="[reviewer|email|all]"
           registration="[normal|moderated|confirmed]"
           defaultrole="[reviewer|contributor]"
           defaultnotify="[immediate|daily|none]" >
    <message>Welcome to the group!</message>
  </project>
</project-creation>

Error Handling

CodeCause / Description
0x110CMissing required hosturl if projectname is not
0x0201Missing required shortname or description 
Created on , last edited on