Web service API

How to use PageSeeder's Web service API

uri fragment

/members/{member}/groups/{group}/uris/{uri}/fragments/{fragment} [PUT]

com.pageseeder.psml.PutFragment

Description

Fragment's Content

Create new edit on fragment provided.

Note

The new content of the fragment should be in the enclosed entity body of the request.

Parameters

NameDescriptionRequiredTypeDefault value
content new fragment content. DEPRECATED use enclosed entity body of the request. maybe string
draft A flag to save edit as a draft no boolean false
html A flag to specify if content is HTML no boolean false
labels The labels for the edit no labels
lastmodified The last modified date/time (ISO 8601) of the fragment (prevents edit clashes) no date
note content for edit notes (if exists creates a note) no string
note-labels Comma separated list of labels for the note (if exists creates a note) no labels false
note-notify the note notification behavior [normal|announce|silent] no enum silent
note-title title for edit note no string Edit Note
tidy flag to perform Tidy on HTML content no boolean true
transclude A flag to resolve transclusions when outputting result no boolean false

 

Permission

Undocumented permissions requirements.

Response

Undocumented XML response

Error Handling

CodeCause / Description
0x120B Error processing XRefs
0x120C Error creating fragment
0x120D Content validation error
0x120E lastmodified date is invalid
0x120F Someone has modified the fragment while you were editing

Created on , last edited on