Skip to main content

 Services

Web services from /about to /webhooks

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

This service requires approver or above.

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
0x1309The version is already archived
0x1319The object specified is not a version
0x1320The version specified is attached to a different URI
0x6304Failed to archive version
Created on , last edited on