Web service API

How to use PageSeeder's Web service API

group resources

/groups/{group}/resources [DELETE]

com.pageseeder.developer.DeleteProjectFile

Description

Deletes a project resource.

The location parameter should be the absolute location of the resource to delete from the web application directory. For example:

  • /WEB-INF/foo/document.xsl
  • /WEB-INF/foo.bar/my/document.js

Only resources which are not part of the default layout can be deleted.

Parameters

NameDescriptionRequiredTypeDefault value
locationThe path to the resource, relative to the Web container root.yespath

Permission

Only members who have the permission to configure the project can invoke this service.

Response

<file name="[name]"
      path="[path]"
      status="[deleted|
              forbidden|
              not-found]"
      [type="file"]
      [media-type="mediatype"]/>

Error Handling

No specific errors expected for this service.

Created on , last edited on