<versions>
Summary
The list of existing versions, if any. INFORMATIONAL - ignored by upload.
Usage context
Element category | metadata |
---|---|
PSML level | metadata |
Permitted content | <version> |
Permitted parent | <documentinfo> |
HTML equivalent | no equivalent |
OpenXML equivalent |
Attributes
This element includes the following attributes:
Name | Type | Required | Description |
---|---|---|---|
limitreached | boolean | no | Whether the maximum number of versions has been returned |
@limitreached
This flag is used to indicate whether the maximum number of versions that can be displayed has been reached. This limit is set to 100 and cannot be changed.
When set to true
, the list of versions is incomplete and only shows the latest 100 versions. To list more versions use Service: /groups/{group}/uris/{uri}/versions [GET].
This attribute was introduced in PSML v1.4 in PageSeeder 6.00.
Examples
Schema
XML Schema
<xs:element name="versions"> <xs:complexType> <xs:sequence> <xs:element ref="version" maxOccurs="unbounded"/> </xs:sequence> <xs:attribute name="limitreached" type="xs:boolean" use="optional" default="false"/> </xs:complexType> </xs:element>
Relax Schema
element versions { attribute limitreached { xs:boolean }?, element version+ }
Compatibility
This element was introduced in the first draft of PSML and is well-supported from PageSeeder 5.1.