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
location The path to the project resource to update from the Web container root yes path
content The actual content of the resource. DEPRECATED use enclosed entity content of the request. maybe string
overwrite A flag to allow overwriting of existing resources no boolean false

Permission

Undocumented permissions requirements.

Response

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

Note

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

Error handling

No specific errors expected for this service.

Created on , last edited on