Web service API

How to use PageSeeder's Web service API

rename project

/members/{member}/projects/{group}/rename [POST]

com.pageseeder.group.RenameGroup

Description

Launch a rename thread for the project

Invoking this service will start an Asynchronous process.

The thread will do the following

  1. Update the project name, template (style owner) and visibility (control group) if not 'public'.
  2. Rename the project default folder path in the file system.
  3. Update all URIs and group folders which start with the the project default folder path.
  4. Update the name, template (style owner) and visibility (control group) if not 'public' of all sub projects/groups. Also rename the project's folder under template and woconfig.

Parameters

NameDescriptionRequiredTypeDefault value
name The new name of the group yes string

Permission

Undocumented permissions requirements.

Response

This service returns the following XML:

<group-renaming>
  <thread ...>
    ...
  </thread>
</group-renaming>

Error Handling

CodeCause / Description
0x1101 Illegal character in group name
0x1103 Group name in use
0x1102 Documents folder already exists
0x1106 Parent project missing or is a group
0x1110 Config folder already exists (for template or web folder)
0x110F Cannot change a group to a project or a project to a group

Created on , last edited on