Content Type: application/vnd.csp.file-list+xml
This content type represents a list of files and containers.
Elements
file-list
This element provides a list of zero or more of the following elements:
Elements
container
This element provides a link to a container. The link is specified using the XLink standard.
file
This element provides a link to a file. The link is specified using the XLink standard.
Schema Definition
<?xml version="1.0"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="file-list">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="container"/>
<xs:element name="file"/>
</xs:choice>
<xs:attribute name="count" type="xs:integer"/>
<xs:attribute name="start" type="xs:integer"/>
<xs:attribute name="total" type="xs:integer"/>
</xs:complexType>
</xs:element>
</xs:schema>Example
<file-list> <container xlink:href="https://api.example.com/v2/path-to-container" xlink:type="simple"/> <file xlink:href="https://api.example.com/v2/path-to-file" xlink:type="simple"/> </file-list>