Web service API

How to use PageSeeder's Web service API

delete group resources

/groups/{group}/resources/delete [POST]

com.pageseeder.developer.DeleteProjectFile

This service is deprecated since version 5.7900

Description

Delete a resource on the specified project.

Deprecation warning!

This service has been deprecated in PageSeeder 5.8 and is scheduled to be removed.

Use Service: /groups/{group}/resources [DELETE] instead.

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
  • /woconfig/foo/style/test.css

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

Parameters

NameDescriptionRequiredTypeDefault value
location The path to the resource to delete relative to the root of the Web container  yes string

Permission

Only administrators can invoke this service.

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.

Warning!

This service returns non-standard error messages. This may change in the near future.

Created on , last edited on