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
Copy file name to clipboardExpand all lines: openapi/Swarm.yaml
-74Lines changed: 0 additions & 74 deletions
Original file line number
Diff line number
Diff line change
@@ -5,9 +5,6 @@ info:
5
5
title: Bee API
6
6
description: "A list of the currently provided Interfaces to interact with the swarm, implementing file operations and sending messages"
7
7
8
-
security:
9
-
- {}
10
-
11
8
externalDocs:
12
9
description: Browse the documentation @ the Swarm Docs
13
10
url: "https://docs.ethswarm.org"
@@ -1175,8 +1172,6 @@ paths:
1175
1172
"/balances":
1176
1173
get:
1177
1174
summary: Get the balances with all known peers including prepaid services
1178
-
security:
1179
-
- bearerAuth: []
1180
1175
tags:
1181
1176
- Balance
1182
1177
responses:
@@ -1194,8 +1189,6 @@ paths:
1194
1189
"/balances/{address}":
1195
1190
get:
1196
1191
summary: Get the balances with a specific peer including prepaid services
1197
-
security:
1198
-
- bearerAuth: []
1199
1192
tags:
1200
1193
- Balance
1201
1194
parameters:
@@ -1222,8 +1215,6 @@ paths:
1222
1215
"/blocklist":
1223
1216
get:
1224
1217
summary: Get a list of blocklisted peers
1225
-
security:
1226
-
- bearerAuth: []
1227
1218
tags:
1228
1219
- Connectivity
1229
1220
responses:
@@ -1241,8 +1232,6 @@ paths:
1241
1232
"/consumed":
1242
1233
get:
1243
1234
summary: Get the past due consumption balances with all known peers
1244
-
security:
1245
-
- bearerAuth: []
1246
1235
tags:
1247
1236
- Balance
1248
1237
responses:
@@ -1260,8 +1249,6 @@ paths:
1260
1249
"/consumed/{address}":
1261
1250
get:
1262
1251
summary: Get the past due consumption balance with a specific peer
1263
-
security:
1264
-
- bearerAuth: []
1265
1252
tags:
1266
1253
- Balance
1267
1254
parameters:
@@ -1288,8 +1275,6 @@ paths:
1288
1275
"/chequebook/address":
1289
1276
get:
1290
1277
summary: Get the address of the chequebook contract used
1291
-
security:
1292
-
- bearerAuth: []
1293
1278
tags:
1294
1279
- Chequebook
1295
1280
responses:
@@ -1303,8 +1288,6 @@ paths:
1303
1288
"/chequebook/balance":
1304
1289
get:
1305
1290
summary: Get the balance of the chequebook
1306
-
security:
1307
-
- bearerAuth: []
1308
1291
tags:
1309
1292
- Chequebook
1310
1293
responses:
@@ -1409,8 +1392,6 @@ paths:
1409
1392
"/connect/{multiAddress}":
1410
1393
post:
1411
1394
summary: Connect to address
1412
-
security:
1413
-
- bearerAuth: []
1414
1395
tags:
1415
1396
- Connectivity
1416
1397
parameters:
@@ -1438,8 +1419,6 @@ paths:
1438
1419
"/reservestate":
1439
1420
get:
1440
1421
summary: Get reserve state
1441
-
security:
1442
-
- bearerAuth: []
1443
1422
tags:
1444
1423
- Status
1445
1424
responses:
@@ -1455,8 +1434,6 @@ paths:
1455
1434
"/chainstate":
1456
1435
get:
1457
1436
summary: Get chain state
1458
-
security:
1459
-
- bearerAuth: []
1460
1437
tags:
1461
1438
- Status
1462
1439
responses:
@@ -1487,8 +1464,6 @@ paths:
1487
1464
"/peers":
1488
1465
get:
1489
1466
summary: Get a list of peers
1490
-
security:
1491
-
- bearerAuth: []
1492
1467
tags:
1493
1468
- Connectivity
1494
1469
responses:
@@ -1504,8 +1479,6 @@ paths:
1504
1479
"/peers/{address}":
1505
1480
delete:
1506
1481
summary: Remove peer
1507
-
security:
1508
-
- bearerAuth: []
1509
1482
tags:
1510
1483
- Connectivity
1511
1484
parameters:
@@ -1532,8 +1505,6 @@ paths:
1532
1505
"/pingpong/{address}":
1533
1506
post:
1534
1507
summary: Try connection to node
1535
-
security:
1536
-
- bearerAuth: []
1537
1508
tags:
1538
1509
- Connectivity
1539
1510
parameters:
@@ -1562,8 +1533,6 @@ paths:
1562
1533
"/settlements/{address}":
1563
1534
get:
1564
1535
summary: Get amount of sent and received from settlements with a peer
1565
-
security:
1566
-
- bearerAuth: []
1567
1536
tags:
1568
1537
- Settlements
1569
1538
parameters:
@@ -1590,8 +1559,6 @@ paths:
1590
1559
"/settlements":
1591
1560
get:
1592
1561
summary: Get settlements with all known peers and total amount sent or received
1593
-
security:
1594
-
- bearerAuth: []
1595
1562
tags:
1596
1563
- Settlements
1597
1564
responses:
@@ -1609,8 +1576,6 @@ paths:
1609
1576
"/timesettlements":
1610
1577
get:
1611
1578
summary: Get time based settlements with all known peers and total amount sent or received
1612
-
security:
1613
-
- bearerAuth: []
1614
1579
tags:
1615
1580
- Settlements
1616
1581
responses:
@@ -1628,8 +1593,6 @@ paths:
1628
1593
"/topology":
1629
1594
get:
1630
1595
summary: Get topology of known network
1631
-
security:
1632
-
- bearerAuth: []
1633
1596
tags:
1634
1597
- Connectivity
1635
1598
responses:
@@ -1643,8 +1606,6 @@ paths:
1643
1606
"/welcome-message":
1644
1607
get:
1645
1608
summary: Get configured P2P welcome message
1646
-
security:
1647
-
- bearerAuth: []
1648
1609
tags:
1649
1610
- Connectivity
1650
1611
responses:
@@ -1660,8 +1621,6 @@ paths:
1660
1621
description: Default response
1661
1622
post:
1662
1623
summary: Set P2P welcome message
1663
-
security:
1664
-
- bearerAuth: []
1665
1624
tags:
1666
1625
- Connectivity
1667
1626
requestBody:
@@ -1686,8 +1645,6 @@ paths:
1686
1645
"/chequebook/cashout/{peer-id}":
1687
1646
get:
1688
1647
summary: Get last cashout action for the peer
1689
-
security:
1690
-
- bearerAuth: []
1691
1648
parameters:
1692
1649
- in: path
1693
1650
name: peer-id
@@ -1712,8 +1669,6 @@ paths:
1712
1669
description: Default response
1713
1670
post:
1714
1671
summary: Cashout the last cheque for the peer
1715
-
security:
1716
-
- bearerAuth: []
1717
1672
parameters:
1718
1673
- in: path
1719
1674
name: peer-id
@@ -1744,8 +1699,6 @@ paths:
1744
1699
"/chequebook/cheque/{peer-id}":
1745
1700
get:
1746
1701
summary: Get last cheques for the peer
1747
-
security:
1748
-
- bearerAuth: []
1749
1702
parameters:
1750
1703
- in: path
1751
1704
name: peer-id
@@ -1772,8 +1725,6 @@ paths:
1772
1725
"/chequebook/cheque":
1773
1726
get:
1774
1727
summary: Get last cheques for all peers
1775
-
security:
1776
-
- bearerAuth: []
1777
1728
tags:
1778
1729
- Chequebook
1779
1730
responses:
@@ -1793,8 +1744,6 @@ paths:
1793
1744
"/chequebook/deposit":
1794
1745
post:
1795
1746
summary: Deposit tokens from overlay address into chequebook
1796
-
security:
1797
-
- bearerAuth: []
1798
1747
parameters:
1799
1748
- in: query
1800
1749
name: amount
@@ -1822,8 +1771,6 @@ paths:
1822
1771
"/chequebook/withdraw":
1823
1772
post:
1824
1773
summary: Withdraw tokens from the chequebook to the overlay address
1825
-
security:
1826
-
- bearerAuth: []
1827
1774
parameters:
1828
1775
- in: query
1829
1776
name: amount
@@ -1943,8 +1890,6 @@ paths:
1943
1890
"/stamps":
1944
1891
get:
1945
1892
summary: Get stamps for this node
1946
-
security:
1947
-
- bearerAuth: []
1948
1893
tags:
1949
1894
- Postage Stamps
1950
1895
responses:
@@ -1970,8 +1915,6 @@ paths:
1970
1915
description: Swarm address of the stamp
1971
1916
get:
1972
1917
summary: Get an individual postage batch status
1973
-
security:
1974
-
- bearerAuth: []
1975
1918
tags:
1976
1919
- Postage Stamps
1977
1920
responses:
@@ -1998,8 +1941,6 @@ paths:
1998
1941
description: Swarm address of the stamp
1999
1942
get:
2000
1943
summary: Get extended bucket data of a batch
2001
-
security:
2002
-
- bearerAuth: []
2003
1944
tags:
2004
1945
- Postage Stamps
2005
1946
responses:
@@ -2019,8 +1960,6 @@ paths:
2019
1960
"/stamps/{amount}/{depth}":
2020
1961
post:
2021
1962
summary: Buy a new postage batch.
2022
-
security:
2023
-
- bearerAuth: []
2024
1963
description: |
2025
1964
Be aware, this endpoint creates an on-chain transactions and transfers BZZ from the node's Ethereum account and hence directly manipulates the wallet balance!
2026
1965
tags:
@@ -2148,8 +2087,6 @@ paths:
2148
2087
"/batches":
2149
2088
get:
2150
2089
summary: Get all globally available batches that were purchased by all nodes.
0 commit comments