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 Jun 2, 2020. It is now read-only.
Copy file name to clipboardExpand all lines: content/reference/api/http.md
+18-17Lines changed: 18 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ menu:
12
12
<!-- TODO: Remove index since it's handled by the TOC in the menu? -->
13
13
<!-- TODO: Structure this around command groups (dag, object, files, etc.) -->
14
14
15
-
<sup>Generated on 2018-05-23, from go-ipfs v0.4.15.</sup>
15
+
<sup>Generated on 2018-06-11, from go-ipfs v0.4.15.</sup>
16
16
17
17
<!-- Start modified intro -->
18
18
When an IPFS node is running as a daemon, it exposes an HTTP API that allows you to control the node and run the same commands you can from the command line.
@@ -26,6 +26,7 @@ This document is autogenerated from go-ipfs. For issues and support, check out
26
26
the [ipfs-http-api-docs](https://github.com/ipfs/ipfs-http-api-docs)
27
27
repository on GitHub.
28
28
29
+
29
30
## Getting started
30
31
31
32
### Alignment with CLI Commands
@@ -328,7 +329,7 @@ On success, the call to this endpoint will return with 200 and the following bod
328
329
{
329
330
"ProvideBufLen": "<int>"
330
331
"Wantlist": [
331
-
"<string>"
332
+
{ "/": "<cid-string>" }
332
333
]
333
334
"Peers": [
334
335
"<string>"
@@ -390,7 +391,7 @@ On success, the call to this endpoint will return with 200 and the following bod
390
391
```text
391
392
{
392
393
"Keys": [
393
-
"<string>"
394
+
{ "/": "<cid-string>" }
394
395
]
395
396
}
396
397
@@ -843,7 +844,7 @@ On success, the call to this endpoint will return with 200 and the following bod
843
844
844
845
```text
845
846
{
846
-
"Cid": "<string>"
847
+
"Cid": { "/": "<cid-string>" }
847
848
}
848
849
849
850
```
@@ -870,7 +871,7 @@ On success, the call to this endpoint will return with 200 and the following bod
870
871
871
872
```text
872
873
{
873
-
"Cid": "<string>"
874
+
"Cid": { "/": "<cid-string>" }
874
875
"RemPath": "<string>"
875
876
}
876
877
@@ -905,7 +906,7 @@ On success, the call to this endpoint will return with 200 and the following bod
905
906
{
906
907
"ID": "<string>"
907
908
"Addrs": [
908
-
"<object>"
909
+
"<multiaddr-string>"
909
910
]
910
911
}
911
912
]
@@ -944,7 +945,7 @@ On success, the call to this endpoint will return with 200 and the following bod
944
945
{
945
946
"ID": "<string>"
946
947
"Addrs": [
947
-
"<object>"
948
+
"<multiaddr-string>"
948
949
]
949
950
}
950
951
]
@@ -982,7 +983,7 @@ On success, the call to this endpoint will return with 200 and the following bod
982
983
{
983
984
"ID": "<string>"
984
985
"Addrs": [
985
-
"<object>"
986
+
"<multiaddr-string>"
986
987
]
987
988
}
988
989
]
@@ -1021,7 +1022,7 @@ On success, the call to this endpoint will return with 200 and the following bod
1021
1022
{
1022
1023
"ID": "<string>"
1023
1024
"Addrs": [
1024
-
"<object>"
1025
+
"<multiaddr-string>"
1025
1026
]
1026
1027
}
1027
1028
]
@@ -1060,7 +1061,7 @@ On success, the call to this endpoint will return with 200 and the following bod
1060
1061
{
1061
1062
"ID": "<string>"
1062
1063
"Addrs": [
1063
-
"<object>"
1064
+
"<multiaddr-string>"
1064
1065
]
1065
1066
}
1066
1067
]
@@ -1098,7 +1099,7 @@ On success, the call to this endpoint will return with 200 and the following bod
1098
1099
{
1099
1100
"ID": "<string>"
1100
1101
"Addrs": [
1101
-
"<object>"
1102
+
"<multiaddr-string>"
1102
1103
]
1103
1104
}
1104
1105
]
@@ -1604,7 +1605,7 @@ On success, the call to this endpoint will return with 200 and the following bod
1604
1605
{
1605
1606
"Status": "<int32>"
1606
1607
"ErrorMsg": "<string>"
1607
-
"Key": "<string>"
1608
+
"Key": { "/": "<cid-string>" }
1608
1609
"FilePath": "<string>"
1609
1610
"Offset": "<uint64>"
1610
1611
"Size": "<uint64>"
@@ -1637,7 +1638,7 @@ On success, the call to this endpoint will return with 200 and the following bod
1637
1638
{
1638
1639
"Status": "<int32>"
1639
1640
"ErrorMsg": "<string>"
1640
-
"Key": "<string>"
1641
+
"Key": { "/": "<cid-string>" }
1641
1642
"FilePath": "<string>"
1642
1643
"Offset": "<uint64>"
1643
1644
"Size": "<uint64>"
@@ -2188,8 +2189,8 @@ On success, the call to this endpoint will return with 200 and the following bod
2188
2189
{
2189
2190
"Type": "<int>"
2190
2191
"Path": "<string>"
2191
-
"Before": "<string>"
2192
-
"After": "<string>"
2192
+
"Before": { "/": "<cid-string>" }
2193
+
"After": { "/": "<cid-string>" }
2193
2194
}
2194
2195
]
2195
2196
}
@@ -3093,7 +3094,7 @@ On success, the call to this endpoint will return with 200 and the following bod
3093
3094
3094
3095
```text
3095
3096
{
3096
-
"Key": "<string>"
3097
+
"Key": { "/": "<cid-string>" }
3097
3098
"Error": "<string>"
3098
3099
}
3099
3100
@@ -3263,7 +3264,7 @@ On success, the call to this endpoint will return with 200 and the following bod
0 commit comments