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

Permissions requirements to be updated.

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