Assembly: mindtouch.core
Class: MindTouch.Dream.MountService
SID: http://services.mindtouch.com/dream/.../2006/11/mount
Overview
The Mount service enables a file system to be mounted as a service.
| Verb:Suffix |
Description |
| GET://* |
Retrieve a file from the mount folder. |
| HEAD://* |
Retrieve information about a file from the mount folder. |
Data Types
Config
<config>
<path>files</path>
<sid>http://services.mindtouch.com/dream/draft/2006/11/mount</sid>
<mount to="tutorials">%DreamHost%/sample</mount>
</config>
Directory
<directory>
<name>DIRECTORY NAME</name>
<num-files># OF CHILD FILES</num-files>
<num-directories># OF CHILD DIRECTORY</num-directories>
<created>CREATED (UTC)</created>
<modified>LAST WRITE (UTC)</modified>
<accessed>LAST ACCESS (UTC)</accessed>
</directory>
File
<file>
<name>FILE NAME</name>
<size>FILE SIZE</size>
<extension>FILE EXTENSION</extension>
<created>CREATED (UTC)</created>
<modified>LAST WRITE (UTC)</modified>
<accessed>LAST ACCESS (UTC)</accessed>
</file>
Features
Retrieve a file from the mount folder.
Query Parameters
| Name |
Type |
Default
|
Description |
| pattern |
string |
|
pattern to filter file results by |
Response
| Status |
Response Body |
Description |
| OK (200) |
application/octet-stream
List of Directory and File |
If File exists
If Directory exists |
| Not Found (404) |
--- |
if File or Directory does not exists |
Version History
Added in Aqua
Retrieve information about a file from the mount folder.
Query Parameters
| Name |
Type |
Default
|
Description |
| pattern |
string |
|
pattern to filter file results by |
Response
| Status |
Response Body |
Description |
| OK (200) |
--- |
|
| Not Found (404) |
--- |
if File or Directory does not exists |
Version History
Added in Aqua