Skip to main content

 Web service API

How to use PageSeeder's Web service API

group resources

/groups/{group}/resources [PUT]

com.pageseeder.developer.PutProjectFile

Description

Creates or updates a project resource.

Parameters

NameDescriptionRequiredTypeDefault value
locationThe path to the project resource to update from the Web container rootyespath
contentThe actual content of the resource. DEPRECATED use enclosed entity content of the requestmaybestring
overwriteA flag to allow overwriting of existing resourcesnobooleanfalse

Permission

This service requires administrator.

Response

<file name="[name]"
      path="[path]"
      type="[folder|file]"
      mediatype="[mediatype]"
      status="[forbidden|
               created|
               modified|
               not-modified]" />

The actual content of the resource must be in the enclosed entity content of the request.

Error Handling

No specific errors expected for this service.

Created on , last edited on