Web service API

How to use PageSeeder's Web service API

move group resources

/groups/{group}/resources/move [POST]

com.pageseeder.developer.MoveProjectFile

Description

Move a resource within a project.

Only resources which are not part of the default project can be moved. The target location must be part of the same project template as the origin.

This service can also be used to rename files.

Parameters

NameDescriptionRequiredTypeDefault value
locationThe path to the resource to move relative to the Web container rootyespath
toThe path to the destination relative to the Web container rootyespath

The location and to parameters should refer to an absolute location from the web application directory. For example:

  • /WEB-INF/foo/document.xsl
  • /WEB-INF/foo.bar/my/document.js
  • /woconfig/foo/test.css

location

The location parameter refers to the file to be moved.

to 

The to parameter refers to the target location, it can be either a file or the folder whether the file should go.

Permission

Undocumented permissions requirements.

Response

Undocumented XML response

Error Handling

No specific errors expected for this service.

Warning!

This service return non-standard error messages. This may change in the near future.

Created on , last edited on