-
Notifications
You must be signed in to change notification settings - Fork 0
/
apiary.apib
817 lines (560 loc) · 19.4 KB
/
apiary.apib
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
FORMAT: 1A
# ipfs
The API for interacting with IPFS nodes.
# Group add
TODO
# Group bitswap
A set of commands to manipulate the bitswap agent
## stat [GET /bitswap/stat]
Show some diagnostic information on the bitswap agent
+ Response 200 (application/json)
+ Attributes (object)
+ ProvideBufLen: 0 (number)
+ Wantlist (array, nullable)
+ Peers (array)
- QmNjRVohhWBX31EoaAXkrj5mPF9vQNcTVvQgWHNwdxweCN (Multihash)
+ BlocksReceived: 0 (number)
+ DupBlksReceived: 0 (number)
+ DupDataReceived: 0 (number)
## unwant [GET /bitswap/unwant{?arg}]
Remove a given block from your wantlist
+ Parameters
+ arg (Multihash, required) - key to remove from your wantlist
+ Response 200 (application/json)
## wantlist [GET /bitswap/wantlist{?peer}]
Show blocks currently on the wantlist
+ Parameters
+ peer (Multihash, optional)
specify which peer to show wantlist for (default self)
+ Response 200 (application/json)
+ Attributes (object)
+ Keys (array, optional)
# Group block
A plumbing command used to manipulate raw ipfs blocks.
## stat [GET /block/stat?{arg}]
Retrieve information on a raw ipfs block.
+ Parameters
+ arg (Multihash, required) - hash of the block to retrieve stats on
+ Response 200 (application/json)
+ Attributes (object)
+ Key: Qmb9Ru8XjPDAokAYE6rVzLwn3dEB4fxijgVMga1CcS95kJ (Multihash)
+ Size: 262158 (number) - the size of the block in bytes
## get [GET /block/get{?arg}]
Store data as a raw ipfs block.
+ Parameters
+ arg (Multihash, required) - hash of the block to be fetched
+ Response 200 (text/plain)
+ Body
```
hello world
```
## put [GET /block/put]
TODO
# Group bootstrap
Show or edit the list of bootstrap peers.
Running `ipfs bootstrap` with no arguments will run `ipfs bootstrap list`.
**Security Warning**:
The bootstrap command manipulates the `bootstrap list`, which contains
the addresses of bootstrap nodes. These are the *trusted peers* from
which to learn about other peers in the network. Only edit this list
if you understand the risks of adding or removing nodes from this list.
## add [GET /bootstrap/add{?arg,&default}]
Add peers to the bootstrap list
Outputs a list of peers that were added (that weren't already
in the bootstrap list).
+ Parameters
+ arg (Multiaddr, required) - A peer to add to the bootstrap list
+ default (boolean, optional) - add default bootstrap nodes
+ Response 200 (application/json)
+ Attributes (object)
+ Peers (array)
- (Multihash)
+ Body
```
{
"Peers": [
"/ip4/5.9.33.222/tcp/4001/ipfs/QmNRV7kyUxYaQ4KzxFXPYm8EfuzJbtGn1wSFenjXL6LD8y"
]
}
```
+ Response 400 (application/json)
+ Attributes (object)
+ Message: no bootstrap peers to add (string)
+ Code: 1 (number)
+ Body
```
{
"Message": "no bootstrap peers to add",
"Code": 1
}
```
+ Response 500 (application/json)
+ Attributes (object)
+ Message: invalid multiaddr, must begin with / (string)
+ Code: 0 (number)
+ Body
```
{
"Message": "invalid multiaddr, must begin with /",
"Code": 0
}
```
## list [GET /bootstrap/list]
Show peers in the bootstrap list
Peers are output in the format `<multiaddr>/<peerID>`.
+ Response 200 (application/json)
+ Attributes (object)
+ Peers (array)
- (Multihash)
+ Body
```
{
"Peers": [
"/ip4/104.131.131.82/tcp/4001/ipfs/QmaCpDMGvV2BGHeYERUEnRQAwe3N8SzbUtfsmvsqQLuvuJ",
"/ip4/104.236.176.52/tcp/4001/ipfs/QmSoLnSGccFuZQJzRadHn95W2CrSFmZuTdDWP8HXaHca9z",
"/ip4/104.236.179.241/tcp/4001/ipfs/QmSoLpPVmHKQ4XTPdz8tjDFgdeRFkpV8JgYq8JVJ69RrZm",
"/ip4/162.243.248.213/tcp/4001/ipfs/QmSoLueR4xBeUbY9WZ9xGUUxunbKWcrNFTDAadQJmocnWm",
"/ip4/128.199.219.111/tcp/4001/ipfs/QmSoLSafTMBsPKadTEgaXctDQVcqN88CNLHXMkTNwMKPnu",
"/ip4/104.236.76.40/tcp/4001/ipfs/QmSoLV4Bbm51jM9C4gDYZQ9Cy3U6aXMJDAbzgu2fzaDs64",
"/ip4/178.62.158.247/tcp/4001/ipfs/QmSoLer265NRgSp2LA3dPaeykiS1J6DifTC88f5uVQKNAd",
"/ip4/178.62.61.185/tcp/4001/ipfs/QmSoLMeWqB7YGVLJN3pNLQpmmEk35v6wYtsMGLzSr5QBU3",
"/ip4/104.236.151.122/tcp/4001/ipfs/QmSoLju6m7xTh3DuokvT3886QRYqxAzb1kShaanJgW36yx"
]
}
```
## rm [GET /bootstrap/rm{?arg,&all}]
Removes peers from the bootstrap list
Outputs the list of peers that were removed.
+ Parameters
+ arg (Multiaddr, optional) - A peer to add to the bootstrap list
+ all (bool, optional) Remove all bootstrap peers.
+ Response 200 (application/json)
+ Attributes (object)
+ Peers (array)
- (Multihash)
+ Body
```
{
"Peers": []
}
```
+ Response 500 (application/json)
+ Attributes (object)
+ Message: invalid ipfs address (string)
+ Code: 0 (number)
+ Body
```
{
"Message": "invalid ipfs address",
"Code": 0
}
```
# group cat
## cat [GET /cat{?arg}]
Retrieves the object named by <ipfs-or-ipns-path> and outputs the data it contains.
+ Parameters
+ arg (string, required) - The path to the IPFS object(s) to be outputted
+ Response 200
+ Headers
- Transfer-Encoding: chunked
- X-Stream-Output: 1
# Group commands
## commands [GET /commands]
Lists all available commands (and subcommands) that are available.
+ Response 200 (application/json)
+ Attributes (object)
- Name: IPFS (string)
- Subcommands (array)
# Group config
## edit [GET /config/edit]
+ Response 200 (text/plain)
## replace [GET /config/replace]
+ Response 200 (text/plain)
## show [GET /config/show]
+ Response 200 (text/plain)
# Group daemon
# Group dht
## findpeer [GET /dht/findpeer]
+ Response 200 (text/plain)
## findprovs [GET /dht/findprovs]
+ Response 200 (text/plain)
## get [GET /dht/get]
+ Response 200 (text/plain)
## put [GET /dht/put]
+ Response 200 (text/plain)
## query [GET /dht/query]
+ Response 200 (text/plain)
# Group diag
Generate diagnostic reports.
## net [GET /diag/net{?vis}]
Sends out a message to each node in the network recursively
requesting a listing of data about them including number of
connected peers and latencies between them.
The given timeout will be decremented 2s at every network hop,
ensuring peers try to return their diagnostics before the initiator's
timeout. If the timeout is too small, some peers may not be reached.
30s and 60s are reasonable timeout values, though network vary.
The default timeout is 20 seconds.
+ Parameters
+ vis (enum[string], optional)
The d3 format will output a json object ready to be consumed by
the chord network viewer, available at the following hash:
```
/ipfs/QmbesKpGyQGd5jtJFUGEB1ByPjNFpukhnKZDnkfxUiKn38
```
To view your diag output, 'ipfs add' the d3 vis output, and
open the following link:
```
http://gateway.ipfs.io/ipfs/QmbesKpGyQGd5jtJFUGEB1ByPjNFpukhnKZDnkfxUiKn38/chord#<your hash>
```
The dot format can be fed into graphviz and other programs
that consume the dot format to generate graphs of the network.
+ Members
- `plain text` - easy to read
- `d3` - json ready to be fed into d3view
- `dot` - graphviz format
+ Response 200 (text/plain)
+ Body
```
ID QmVnWL4CVWAaQHuuJQMgskDDyFwA1pqA2cC5ZTnQnB5yJt up 60449 seconds connected to 4:
ID QmSoLju6m7xTh3DuokvT3886QRYqxAzb1kShaanJgW36yx connections: 1 latency: 354632446 ns
ID QmNeK3hRF5Pu9dPcMDKXvYofQioskuGfQZEQz43UDkLepK connections: 1 latency: 175768996 ns
ID QmdAYL426boH1RRFR6JABaNT4JNfrEJV1coiPfKytpPVwP connections: 1 latency: 273253825 ns
ID QmavNkKTvUoE4NaPQZtcmMaxRQqtpbu5jmpTzfH7ScmvHz connections: 1 latency: 157092668 ns
```
## sys [GET /diag/sys]
Print out information about your computer to aid in debugging.
+ Response 200 (text/plain)
+ Attributes (object)
- diskinfo (object)
- `free_space`: 6639185920 (number)
- fstype: hfs (string)
- `total_space`: 120101797888 (number)
- `used_space`: 113462611968 (number)
- environment (object)
- GOPATH: `/Users/dignifiedquire/.go` (string)
- IPFS_PATH: (string, nullable)
- `ipfs_git_sha` (string)
- `ipfs_version`: `0.3.9` (string)
- memory (object)
- swap (object)
- total: 3072000 (number)
- used: 1935000 (number)
- free: 1137000 (number)
- `used_percent`: `62.98828125` (number)
- sin: 0 (number)
- sout: 0 (number)
- virt (object)
- total: 4294967296 (number)
- available: 682414080 (number)
- used: 4277125120 (number)
- `used_percent`: 84.11130905151367 (number)
- free: 17842176 (number)
- active: 671182848 (number)
- inactive: 664559616 (number)
- buffers: 0 (number)
- cached: 664571904 (number)
- wired: 1469018112 (number)
- shared: 0 (number)
- net (object)
- `interface_addresses` (array)
- "/ip6/::1" (MultiAddr)
- runtime (object)
- arch: amd64 (string)
- compiler: gc (string)
- gomaxprocs: 3 (number)
- numcpu: 4 (number)
- numgoroutines: 145 (number)
- os: darwin (string)
- version: `go1.5.1` (string)
# Group dns
DNS link resolver.
## dns [GET /dns{?arg}]
Multihashes are hard to remember, but domain names are usually easy to
remember. To create memorable aliases for multihashes, DNS TXT
records can point to other DNS links, IPFS objects, IPNS keys, etc.
This command resolves those links to the referenced object.
The following response expamles assume this DNS TXT record:
```
ipfs.io. TXT "dnslink=/ipfs/QmRzTuh2Lpuz7Gr39stNr6mTFdqAghsZec1JoUnfySUzcy ..."
```
+ Parameters
+ arg (string, required) - DNS name
+ Response 200 (application/json)
+ Attributes (object)
- Path: `/ipfs/QmTgNJEgQaCqRht9KSXNyZsCp2xpHZmBRms28NRMmtcERp` (Multihash)
# Group file
## ls [GET /file/ls]
+ Response 200 (text/plain)
# Group get
## get [GET /get]
+ Response 200 (text/plain)
# Group id
## id [GET /id]
+ Response 200 (application/json)
+ Attributes (object)
+ ID (Multihash)
+ PublicKey (string)
+ Addresses (array)
- (Multihash)
+ AgentVersion (string)
+ ProtocolVersion (string)
+ Body
```
{
"ID": "QmVnWL4CVWAaQHuuJQMgskDDyFwA1pqA2cC5ZTnQnB5yJt",
"PublicKey": "CAASpgIwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQD8SKPSPmQp3VJJmAaOsXnNU1Qqvz/TeBFO9VeoVDAD4gapupBBUZC5f2eTnWKXMiZt7m21xSzJ5i+G16uFCY1296maoas648C66XuxxwDpf4B/K/A2C6mjqQzKgrAZDiD9WS0oS2wsGlaEbikX/KXOw9PJOYThC4zvGHoQnYqmdXiXvNbtV9ZsjpkdU420kj4FQGcti7WvAukXX2yvVsxmnDLvpFFiNY96OkFAItZhvcROXB69davEL5Uthl90gR2d+nunBPTJeO/yZUk2mtcoB9Y0Q//qnLnGY2VlZkpVBjUpq2BLWUDu72BGRsxF+QU+MHqai5lJn73MZNQl3kOVAgMBAAE=",
"Addresses": [
"/ip4/127.0.0.1/tcp/4001/ipfs/QmVnWL4CVWAaQHuuJQMgskDDyFwA1pqA2cC5ZTnQnB5yJt",
"/ip4/192.168.0.11/tcp/4001/ipfs/QmVnWL4CVWAaQHuuJQMgskDDyFwA1pqA2cC5ZTnQnB5yJt",
"/ip6/::1/tcp/4001/ipfs/QmVnWL4CVWAaQHuuJQMgskDDyFwA1pqA2cC5ZTnQnB5yJt",
"/ip6/fd67:d185:7678:b25b:3cd6:bb15:ff71:af88/tcp/4001/ipfs/QmVnWL4CVWAaQHuuJQMgskDDyFwA1pqA2cC5ZTnQnB5yJt",
"/ip4/85.216.106.69/tcp/4001/ipfs/QmVnWL4CVWAaQHuuJQMgskDDyFwA1pqA2cC5ZTnQnB5yJt",
"/ip4/85.216.106.69/tcp/60505/ipfs/QmVnWL4CVWAaQHuuJQMgskDDyFwA1pqA2cC5ZTnQnB5yJt",
"/ip4/85.216.106.69/tcp/60505/ipfs/QmVnWL4CVWAaQHuuJQMgskDDyFwA1pqA2cC5ZTnQnB5yJt"
],
"AgentVersion": "go-ipfs/0.3.9",
"ProtocolVersion": "ipfs/0.1.0"
}
```
# Group log
## level [GET /log/level]
+ Response 200 (text/plain)
## tail [GET /log/tail]
+ Response 200 (text/plain)
# Group ls
## ls [GET /ls]
+ Response 200 (text/plain)
# Group mount
Mount ipfs at a read-only mountpoint on the OS (default: /ipfs and /ipns).
All ipfs objects will be accessible under that directory. Note that the
root will not be listable, as it is virtual. Access known paths directly.
+ Response 200 (application/json)
# Group name
## publish [GET /name/publish]
+ Response 200 (text/plain)
## resolve [GET /name/resolve]
+ Response 200 (text/plain)
# Group object
Interact with ipfs objects.
## data [GET /object/data]
+ Response 200 (text/plain)
## get [GET /object/get]
+ Response 200 (text/plain)
## links [GET /object/links]
+ Response 200 (text/plain)
## new [GET /object/new]
+ Response 200 (text/plain)
## patch [GET /object/patch]
+ Response 200 (text/plain)
## put [GET /object/put]
+ Response 200 (text/plain)
## stat [GET /object/stat]
+ Response 200 (text/plain)
# Group pin
## add [GET /pin/add]
+ Response 200 (text/plain)
## ls [GET /pin/ls]
+ Response 200 (text/plain)
## rm [GET /pin/rm]
+ Response 200 (text/plain)
# Group ping
Send echo request packets to IPFS hosts
## ping [GET /ping]
A tool to test sending data to other nodes. It finds nodes
via the routing system, send pings, wait for pongs, and print out round-
trip latency information.
+ Response 200 (application/json)
+ Headers
```
X-Chunked-Output: 1
```
+ Body
```
{
"Success": false,
"Time": 0,
"Text": "PING QmSqn9NJaPrdvDRQxUC2FMQWjJQnvbjUuMoXvA8hm5Nx1b."
}
{
"Success": true,
"Time": 113267897,
"Text": ""
}
{
"Success": true,
"Time": 56161127,
"Text": ""
}
```
# Group refs
## local [GET /refs/local]
+ Response 200 (text/plain)
# Group repo
Manipulate the IPFS repo.
## gc [GET /repo/gc]
Sweep the local set of stored objects and remove ones that are not pinned in
order to reclaim hard disk space.
+ Response 200 (text/plain)
# Group resolve
Resolve the value of names to IPFS.
## resolve [GET /resolve]
There are a number of mutable name protocols that can link among
themselves and into IPNS. For example IPNS references can (currently)
point at IPFS object, and DNS links can point at other DNS links, IPNS
entries, or IPFS objects. This command accepts any of these
identifiers and resolves them to the referenced item.
+ Response 200 (application/json)
+ Attributes (object)
- Path: `/ipfs/QmeuehsX78RCnHnqxq9o7A1pC5ShrtAcDE3pzwyWjXzeZF` (MultiAddr)
# Group stats
Query IPFS statistics.
## bw [GET /stats/bw]
Print ipfs bandwidth information.
+ Response 200 (application/json)
+ Attributes (object)
- TotalIn: 119395 (number)
- TotalOut: 47349 (number)
- RateIn: `296.8016259649661` (number)
- RateOut: `199.70053032537362` (number)
# Group swarm
Swarm inspection tool.
## addrs [GET /swarm/addrs]
List known addresses. Useful for debugging.
+ Response 200 (application/json)
+ Attributes (object)
- Addrs (SwarmAddrs)
## addrs local [GET /swarm/addrs/local]
List all local addresses.
+ Response 200 (application/json)
+ Attributes (object)
- Strings (array)
- "/ip4/127.0.0.1/tcp/4001" (MultiAddr)
## connect [GET /swarm/connect{?arg}]
Open a connection to the given address.
+ Parameters
+ arg (MultiAddr, required) - Address of the peer to connect to
+ Response 200 (text/plain)
## disconnect [GET /swarm/disconnect{?arg}]
Close the connection to a given address.
+ Parameters
+ arg (MultiAddr, required) - Address of the peer to disconnect from
+ Response 200 (text/plain)
## filters [GET /swarm/filters]
List out all currently applied filters. The subcommands can be used
to add or remove said filters. Filters are specified using the multiaddr-filter format:
**Example:**
```
/ip4/192.168.0.0/ipcidr/16
```
Where the above is equivalent to the standard CIDR:
```
192.168.0.0/16
```
Filters default to those specified under the `"Swarm.AddrFilters"` config key.
+ Response 200 (application/json)
+ Attributes (object)
- Strings (array)
- "/ip4/192.168.0.0/ipcidr/16" (MultiAddr)
## filters add [GET /swarm/filters/add{?arg}]
Add the given multiaddr to the filter list.
+ Parameters
+ arg (MultiAddr, required) - Address to add to the filter list
+ Response 200 (application/json)
## filters rm [GET /swarm/filters/rm{?arg}]
Remove the given multiaddr from the filter list.
+ Parameters
+ arg (MultiAddr, required) - Address to remove from the filter list
+ Response 200 (application/json)
## peers [GET /swarm/peers]
List the set of peers the node is connected to.
+ Response 200 (application/json)
+ Attributes (object)
- Strings (array)
- "/ip4/104.233.87.68/tcp/55125/ipfs/QmdAYL426boH1RRFR6JABaNT4JNfrEJV1coiPfKytpPVwP" (MultiAddr)
# Group tar
Utility functions for tar files in ipfs
## add [GET /tar/add]
Import a tar file into ipfs
+ Response 200 (text/plain)
## cat [GET /tar/cat]
Export a tar file from ipfs
+ Response 200 (text/plain)
# Group tour
This is a tour that takes you through various IPFS concepts,
features, and tools to make sure you get up to speed with
IPFS very quickly.
## tour [GET /tour{?arg}]
Start the tour
+ Parameters
+ arg (string, optional) - Topic id to go to
+ Response 200 (text/plain)
+ Body
```
- * 0.0 Hello Mars
- 0.1 Hello Mars
- 0.2 About IPFS
- 1.1 Filesystem
- 1.2 Getting Files
- 1.3 Adding Files
- 1.4 Directories
- 1.5 Distributed
- 1.6 Getting Files
- 2.0 Basics - init
- 2.1 Basics - help
- 2.2 Basics - update
- 2.3 Basics - config
```
## list [GET /tour/list]
Show a list of all tour topics.
+ Response 200 (text/plain)
+ Body
```
Tour 0.0 - Hello Mars
```
## next [GET /tour/next]
Show the next tour topic.
+ Response 200 (text/plain)
+ Body
```
Tour 0.1 - Hello Mars
```
## restart [GET /tour/restart]
Restart the IPFS Tour
+ Response 200 (application/json)
# Group version
Show version details about the ipfs node.
## version [GET /version]
+ Response 200 (application/json)
+ Attributes (object)
- Version: `0.3.9` (string)
- Commit: b036b23a233a64faa6a456522b0f45763be70e64 (string)
# Data Structures
## Multihash (string)
An hash as defined [here](https://github.com/jbenet/multihash)
### Sample
QmNjRVohhWBX31EoaAXkrj5mPF9vQNcTVvQgWHNwdxweCN
## SwarmAddrs (object)
A list of swarm addresses.
### Sample
```
"QmNRCEwFMgCcbjNk5bFud9oqjJduvjBNbkiM8SuxuLh3GS": [
"/ip4/127.0.0.1/tcp/4001",
"/ip4/172.17.42.1/tcp/4001",
"/ip4/192.168.2.3/tcp/4001",
"/ip6/::1/tcp/4001"
],
"QmNRV7kyUxYaQ4KQxFXPYm8EfuzJbtGn1wSFenjXL6LD8y": [
"/ip4/127.0.0.1/tcp/4001",
"/ip4/172.17.42.1/tcp/4001",
"/ip4/5.9.33.222/tcp/4001",
"/ip6/2a01:4f8:161:124a::1337:cafe/tcp/4001",
"/ip6/2a01:4f8:161:124a::2/tcp/4001",
"/ip6/::1/tcp/4001",
"/ip6/fcfc:762a:e12a:245d:8e5b:6a40:f65:acab/tcp/4001"
]
```
## MultiAddr (string)
A multiaddr as defined [here](https://github.com/jbenet/multiaddr).
### Sample
`/ip6/fcfc:762a:e12a:245d:8e5b:6a40:f65:acab/tcp/4001`