move group resources
/groups/{group}/resources/move [POST]
API Support | Available since | Last updated | Output |
---|---|---|---|
4.8006 | 5.1503 | xml |
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
Name | Description | Required | Type | Default |
---|---|---|---|---|
location | The path to the resource to move, relative to the Web container root | yes | path | |
to | The path to the destination, relative to the Web container root | yes | path |
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.