Web service API

How to use PageSeeder's Web service API

archive uri version

/members/{member}/groups/{group}/uris/{uri}/versions/{versionid}/archive [POST]

com.pageseeder.version.ArchiveVersion

Description

Archive an existing version on a URI.

 

Parameters

No parameters required.

Permission

Undocumented permissions requirements.

Response

<version-archive>
   <version id="123" name="[name]" ...>
      <author id="12" ... ><fullname>John Jones</fullname></author>
      <description>[content]</description>
   </version>
</version-archive>

Error Handling

CodeCause / Description
0x1309 The version is already archived
0x1319 The object specified is not a version
0x1320 The version specified is attached to a different URI
0x6304 Failed to archive version

Created on , last edited on