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
xlinkidA comment ID used to build an upload ID (for comment attachments' loading zone).nolong

Permission

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

Response

 If path specified:

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

If mediatype specified:

  <mediatype value="[media type]"
        status="deleted"/>

Error Handling

No specific errors expected for this service.

Created on , last edited on