Web service API

How to use PageSeeder's Web service API

<draft>

Summary

Represents a draft edit on a PSML document in PageSeeder.

Usage context

Permitted content<author>, <locator>, <metadata>
Permitted parent<drafts>, <edits>

Attributes

This element includes the following attributes.

NameTypeRequiredDescription
idxs:longyesThe ID of the draft edit in PageSeeder
createdxs:dateTimenoThe draft's creation date in ISO 8601 format.
deletedxs:booleannoIf the draft was deleted.

Examples

<draft id="654654" created="2017-03-07T14:12:49+11:00">
  <author id="542" firstname="Bob" surname="Taylor" status="activated">
    <fullname>Bob Taylor</fullname>
  </author>
  <locator fragment="example"/>
</draft>

Schema

XML Schema

<xs:element name="draft">
  <xs:sequence>
    <xs:element ref="author" minOccurs="0"/>
    <xs:element name="metadata" minOccurs="0" />
    <xs:element name="locator" minOccurs="0" />
  </xs:sequence>
  <xs:attribute name="id"      type="id"/>
  <xs:attribute name="created" type="xs:dateTime" use="optional"/>
  <xs:attribute name="deleted" type="xs:boolean" use="optional"/>
</xs:complexType>

Relax Schema

element draft {
   attribute id { xs:long }?,
   attribute created  { xs:dateTime }?,
   attribute deleted  { xs:boolean }?,
   element author?,
   element locator?,
   element metadata?
}

Compatibility

See also

Created on , last edited on