Web service API

How to use PageSeeder's Web service API

delete member loaded content

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

com.pageseeder.load.generators.LoadingZoneDelete

Description

Deleting the content of a member loading zone

This service can be used to manage the content of a member's loading zone.

Parameters

NameDescriptionRequiredTypeDefault value
mediatype As an alternative to the path parameter, the media type of the files to delete  (required if no path) yes mediatype
path The path of the resource to delete relative to the root of the loading zone (required if no mediatype) yes path
uploadid The upload ID of the loading zone no string

Permission

Only the member herself or a manager of the group can delete a resource in a loading zone. 

Response

For files:

<file name="[name]"
      path="[path]"
      type="file"
      media-type="[media type]"
      status="deleted"/>

For folders:

<file name="[name]" path="[path]" type="folder" status="deleted"/>

Error handling

No specific errors expected for this service.

Created on , last edited on