Assembly: mindtouch.core
Class: MindTouch.Dream.MountService
SID: http://services.mindtouch.com/dream/.../2006/11/mount
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. |
<config> <path>files</path> <sid>http://services.mindtouch.com/dream/draft/2006/11/mount</sid> <mount to="tutorials">%DreamHost%/sample</mount> </config>
<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> <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>
Retrieve a file from the mount folder.
| Name | Type | Default
|
Description |
| pattern | string |
|
pattern to filter file results by |
| 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 |
Added in Aqua
Retrieve information about a file from the mount folder.
| Name | Type | Default
|
Description |
| pattern | string |
|
pattern to filter file results by |
| Status | Response Body | Description |
| OK (200) | --- |
|
| Not Found (404) | --- | if File or Directory does not exists |
Added in Aqua
| Images 0 | ||
|---|---|---|
| No images to display in the gallery. |
Copyright © 2011 MindTouch, Inc. Powered by