Skip to main content

 Web service API

How to use PageSeeder's Web service API

move uri

/members/{member}/groups/{group}/uris/{uri}/move [POST]

com.pageseeder.uri.MoveURI

Description

Move a URI.

If the URI is a folder this service starts an Asynchronous process.

Parameters

NameDescriptionRequiredTypeDefault value
destination-guriThe ID of the destination Group URI (required if uri not specified)maybelong
destination-uriThe ID of the destination URI, it should be a folder (required if guri not specified)maybelong
comment-groupsA comma-separated list of groups that comments in the current group will be moved to (manager only)nostrings
nameA new name for the URInostring

Permission

This service requires contributor or higher.

Response

This service returns the following XML:

<uri-move>
  [<thread ...> ... </thread>|<uri ...> ... </uri>]
</uri-move>

Error Handling

CodeCause / Description
0x1201If the new filename starts with a ‘.’
Created on , last edited on