Skip to main content

 Services

Web services from /about to /webhooks

move group resources

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

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
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 must refer to an absolute location from the web app folder. 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 where the file is to go.

Permission

This service requires administrator.

Response

Error Handling

No specific errors expected for this service.

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

Created on , last edited on