Web service API

How to use PageSeeder's Web service API

unzip member loaded content

/members/{member}/groups/{group}/loadingzone/unzip [POST]

com.pageseeder.load.generators.LoadingZoneUnzip

Description

Unzip content in a member loading zone.

This service unzips the content of a ZIP (that has already been uploaded in the loading into the loading zone) into the same loading zone.

Uploading ZIP files simplifies the upload process and allows users to preserve the directory structure when uploading a collection of files.

Invoking this service will start an Asynchronous process.

Parameters

NameDescriptionRequiredTypeDefault value
path The path to the resource to unzip, typically a ZIP file () yes path
deleteoriginal A flag to indicate whether the original ZIP should be deleted from the loading zone after a successful unzip no boolean false
uploadid The upload ID if applicable no string

Permission

Undocumented permissions requirements.

Response

This service returns the following XML:

<load-unzip>
  <thread ...>
    ...
  </thread>
</load-unzip>

Error handling

No specific errors expected for this service.

Warning!

The error handling in the service is non-standard and has been scheduled to be revised.

Created on , last edited on