You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 29, 2020. It is now read-only.
Copy file name to clipboardExpand all lines: apiary.apib
+7-6Lines changed: 7 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ The API for interacting with IPFS nodes.
6
6
7
7
The HTTP API is currently accepting all methods, so GET will work just as well as POST for any group. Because of this, the methods shown below are the specifications that should be adhered to, although any will work. For more, see this discussion: https://github.com/ipfs/go-ipfs/issues/2165.
8
8
9
-
# Group add [POST /add{?arg}{&r,p,t,n,w,H,s}]
9
+
# Group add [POST /add{?arg}{&r,p,t,n,w,H,s,pin}]
10
10
Add a file or directory to IPFS.
11
11
12
12
####curl
@@ -15,13 +15,14 @@ Add a file or directory to IPFS.
15
15
16
16
+ Parameters
17
17
+ arg (string, required) - The path to a file to be added to IPFS.
18
+
+ H (boolean, optional) - Hidden. Include files that are hidden. Default: false.
19
+
+ n (boolean, optional) - Only-hash. Only chunk and hash - do not write to disk. Default: false.
0 commit comments