Mount

Table of contents
  1. 1. Overview
  2. 2. Data Types
    1. 2.1. Config
    2. 2.2. Directory
    3. 2.3. File
  3. 3. Features
      1. 3.1.1. GET://*
        1. 3.1.1.1. Query Parameters
        2. 3.1.1.2. Response
        3. 3.1.1.3. Version History
      2. 3.1.2. HEAD://*
        1. 3.1.2.1. Query Parameters
        2. 3.1.2.2. Response
        3. 3.1.2.3. Version History

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

GET://*

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


HEAD://*

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

Tag page
You must login to post a comment.
Powered by MindTouch Deki v.8.08.1a