Web service API

How to use PageSeeder's Web service API

<attachment>

Summary

An attachment to a comment.

The <attachment> element wraps a single <uri> element to indicate that the URI is attached to the comment.

Usage context

Permitted content<uri>
Permitted parent<comment>

Attributes

Examples

Example

<attachment>
   <uri id="197142" scheme="https" host="example.com" port="443" 
        path="/ps/example/test/attachments/2016/07/Albatross_Facts.pdf" 
 decodedpath="/ps/dev/ps/attachments/2016/07/Albatross_Facts.pdf" 
    external="false" mediatype="application/pdf" 
     created="2016-07-22T15:04:43+10:00"
    modified="2016-07-22T15:04:43+10:00"
        size="1136435">
      <displaytitle>Albatross_Facts.pdf</displaytitle>
   </uri>
</attachment>

Schema

XML Schema

<xs:element name="attachment" type="attachment"/>

<xs:complexType name="attachment">
  <xs:sequence>
    <xs:element name="uri" type="uri"/>
  </xs:sequence>
</xs:complexType>

Relax Schema

element attachment {
   uri
}

Compatibility

See also

Created on , last edited on