Web service API

How to use PageSeeder's Web service API

group resources

/groups/{group}/resources [GET]

com.pageseeder.developer.GetProjectFile

Description

Retrieves a project resource.

Parameters

NameDescriptionRequiredTypeDefault value
location The path to the project resource to update from the Web container root yes path

Permission

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

Response

If the location corresponds to a file, this service returns the following:

<file name="[name]"
      path="[path]"
      type="file"
      media-type="[media type]"
      modified="[last modified date and time]"
      length="[length in bytes]"/>

if the location corresponds to a folder, this service returns the following:

<file name="[name]" 
      path="[path]" 
      type="folder">
   <-- All files and subfolders as a tree -->
   ...
</file>

Error Handling

No specific errors expected for this service.

Created on , last edited on