Content Type: application/vnd.csp.cloud+xml
This content type represents the root of the cloud storage system. It provides links to various subsystems including file access, contacts, etc. All links are specified using the XLink standard.
Elements
cloud
Elements
rootContainer
This element provides a link to the root folder associated with the account.
contacts
This element provides a link to the contact list associated with this account.
shares
This element provides a link to the shares associated with this account. The list of shared items includes items which have been shared to the account, and items which the account has shared to others.
metacontainers
This element provides a list of metacontainers to which the account has access.
recyclebin
This element provides a link to the recycle bin associated with the account. The recycle bin contains a list of deleted files and provides a mechanism to recover those files.
tags
Provides a link to a list of tags which the account has used to tag objects.
account
Provides a link to the account’s information.
Schema Definition
<?xml version="1.0"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="cloud">
<xs:complexType>
<xs:all>
<xs:element name="rootContainer"/>
<xs:element name="contacts"/>
<xs:element name="shares"/>
<xs:element name="metacontainers"/>
<xs:element name="recyclebin"/>
<xs:element name="tags"/>
<xs:element name="account"/>
</xs:all>
</xs:complexType>
</xs:element>
</xs:schema>
Example
<cloud> <rootContainer xlink:href="https://example.com/v2/path-to-root-container" xlink:type="simple"/> <contacts xlink:href="https://example.com/v2/path-to-contacts" xlink:type="simple"/> <shares xlink:href="https://example.com/v2/path-to-shares" xlink:type="simple"/> <metacontainers xlink:href="https://example.com/v2/path-to-metacontainers" xlink:type="simple"/> <recyclebin xlink:href="https://example.com/v2/path-to-recyclebin" xlink:type="simple"/> <tags xlink:href="https://example.com/v2/path-to-tags" xlink:type="simple"/> <account xlink:href="https://example.com/v2/path-to-account-info" xlink:type="simple"/> </cloud>