Skip to content
This repository was archived by the owner on Apr 29, 2020. It is now read-only.

Commit 1b64bce

Browse files
committed
Merge pull request #82 from ipfs/feature/remove-mount
Remove group `mount`
2 parents b11bd7b + 84145fc commit 1b64bce

File tree

1 file changed

+0
-84
lines changed

1 file changed

+0
-84
lines changed

apiary.apib

Lines changed: 0 additions & 84 deletions
Original file line numberDiff line numberDiff line change
@@ -7155,90 +7155,6 @@ Displays the links an IPFS or IPNS object(s) contains, with the following format
71557155
}
71567156
```
71577157

7158-
# Group mount
7159-
7160-
Mount is currently unstable. This will be updated when it is accessible through the
7161-
HTTP API.
7162-
7163-
Mounts IPFS to the filesystem (read-only).
7164-
7165-
Mount ipfs at a read-only mountpoint on the OS (default: /ipfs and /ipns).
7166-
All ipfs objects will be accessible under that directory. Note that the
7167-
root will not be listable, as it is virtual. Access known paths directly.
7168-
7169-
+ Parameters
7170-
+ ipfs-path (string, optional) - The path where IPFS should be mounted
7171-
+ ipns-path (string, optional) - The path where IPNS should be mounted
7172-
7173-
+ Request
7174-
7175-
#### curl
7176-
7177-
curl -i http://localhost:5001/api/v0/mount
7178-
7179-
+ Body
7180-
7181-
```
7182-
curl -i http://localhost:5001/api/v0/mount
7183-
```
7184-
7185-
+ Response 500
7186-
7187-
+ Headers
7188-
7189-
```
7190-
Content-Type: application/json
7191-
Trailer: X-Stream-Error
7192-
Transfer-Encoding: chunked
7193-
Date: Thu, 04 Feb 2016 23:10:05 GMT
7194-
Transfer-Encoding: chunked
7195-
```
7196-
7197-
+ Attributes (Error)
7198-
- Message
7199-
- Code: 0
7200-
7201-
+ Body
7202-
7203-
```
7204-
{
7205-
"Message": "unable to check fuse version.\n\nDear User,\n\nBefore mounting, we must check your version of OSXFUSE. We are protecting\nyou from a nasty kernel panic we found in OSXFUSE versions \u003c2.7.2.[1]. To\nmake matters worse, it's harder than it should be to check whether you have\nthe right version installed...[2]. We've automated the process with the\nhelp of a little tool. We tried to install it, but something went wrong[3].\nPlease install it yourself by running:\n\n\tgo get github.com/jbenet/go-fuse-version/fuse-version\n\nYou can also stop ipfs from running these checks and use whatever OSXFUSE\nversion you have by running:\n\n\tipfs config DontCheckOSXFUSE true\n\n[1]: https://github.com/ipfs/go-ipfs/issues/177\n[2]: https://github.com/ipfs/go-ipfs/pull/533\n[3]: exit status 2\n# github.com/jbenet/go-fuse-version\n../go/src/github.com/jbenet/go-fuse-version/version_darwin.go:6:11: fatal error: 'fuse/fuse.h' file not found\n #include \u003cfuse/fuse.h\u003e\n ^\n1 error generated.\n\n",
7206-
"Code": 0
7207-
}
7208-
```
7209-
7210-
+ Request With Options
7211-
7212-
The response appears to be the same for any option provided.
7213-
7214-
#### curl
7215-
7216-
curl -i "http://localhost:5001/api/v0/mount&ipfs-mount=\"~\""
7217-
7218-
+ Body
7219-
7220-
```
7221-
curl -i "http://localhost:5001/api/v0/mount&ipfs-mount=\"~\""
7222-
```
7223-
7224-
+ Response 404
7225-
7226-
+ Headers
7227-
7228-
```
7229-
Date: Thu, 04 Feb 2016 23:12:47 GMT
7230-
Content-Length: 18
7231-
Content-Type: text/plain; charset=utf-8
7232-
```
7233-
7234-
+ Attributes (string)
7235-
7236-
+ Body
7237-
7238-
```
7239-
404 page not found
7240-
```
7241-
72427158
# Group name
72437159

72447160
IPFS namespace (IPNS) tool.

0 commit comments

Comments
 (0)