© 2013 SpinetiX S.A. All rights reserved.
10
<multistatus>
The multistatus contains the complete description of the repository. It must be in the
"DAV:" namespace.
<multistatus
xmlns
="DAV:">
There can be more than one multistatus entry in the xml file allowing to merge files from
different sources into a single project. In this case, this element may include an optional
attribute, xml:base, which links to the base of the repository. If this attribute is absent,
the HMP assumes that the XML file is located at the root of your repository.
Example:
<multistatus
xmlns
="DAV:"
xml:base
="http://demo.spinetix.com/project/default/">
<response>
Contains the description of a multimedia file or a directory. There should be a
<response> element per file to be uploaded to the HMP.
Note that if sub-folders are present in the project, the folder itself must also be specified
in the list of resources.
The root of the repository MUST be present in the list of resources.
<href>
URI of the multimedia file to be uploaded to the HMP. The URI is relative to the address
of the repository.
Example:
Description of the root repository:
<response>
<href>/</href>
</response>
Description of the index file:
<response>
<href>/index.svg</href>
</response>
<propstat> and <prop>
Containers for the properties of the current file. Properties are not compulsory. Note that
the <propstat> element might be omitted, but is supported for compatibility with the
WebDAV protocol.
It is recommended to specify either the <getetag> or the <getlastmodified> properties
which will be used by the Pull mode to check for file modifications. If neither of those
properties is present the player will first do a HEAD request to get the properties for the
files. Then, if it has been modified, it will be downloaded.
<getetag>
Specify the ETag of the file.