Web service API

How to use PageSeeder's Web service API

delete loading zone 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
mediatypeAs an alternative to the path parameter, the media type of the files to delete  (required if no path)

conditional

mediatype
pathThe path of the resource to delete relative to the root of the loading zone (required if no mediatype)

conditional

path
uploadidThe upload ID of the loading zonenostring

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