Skip to content

Commit 8eb41d5

Browse files
authored
docs: remove outdated auth related entries (#5050)
1 parent 8beece5 commit 8eb41d5

File tree

2 files changed

+0
-92
lines changed

2 files changed

+0
-92
lines changed

openapi/Swarm.yaml

Lines changed: 0 additions & 74 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@ info:
55
title: Bee API
66
description: "A list of the currently provided Interfaces to interact with the swarm, implementing file operations and sending messages"
77

8-
security:
9-
- {}
10-
118
externalDocs:
129
description: Browse the documentation @ the Swarm Docs
1310
url: "https://docs.ethswarm.org"
@@ -1175,8 +1172,6 @@ paths:
11751172
"/balances":
11761173
get:
11771174
summary: Get the balances with all known peers including prepaid services
1178-
security:
1179-
- bearerAuth: []
11801175
tags:
11811176
- Balance
11821177
responses:
@@ -1194,8 +1189,6 @@ paths:
11941189
"/balances/{address}":
11951190
get:
11961191
summary: Get the balances with a specific peer including prepaid services
1197-
security:
1198-
- bearerAuth: []
11991192
tags:
12001193
- Balance
12011194
parameters:
@@ -1222,8 +1215,6 @@ paths:
12221215
"/blocklist":
12231216
get:
12241217
summary: Get a list of blocklisted peers
1225-
security:
1226-
- bearerAuth: []
12271218
tags:
12281219
- Connectivity
12291220
responses:
@@ -1241,8 +1232,6 @@ paths:
12411232
"/consumed":
12421233
get:
12431234
summary: Get the past due consumption balances with all known peers
1244-
security:
1245-
- bearerAuth: []
12461235
tags:
12471236
- Balance
12481237
responses:
@@ -1260,8 +1249,6 @@ paths:
12601249
"/consumed/{address}":
12611250
get:
12621251
summary: Get the past due consumption balance with a specific peer
1263-
security:
1264-
- bearerAuth: []
12651252
tags:
12661253
- Balance
12671254
parameters:
@@ -1288,8 +1275,6 @@ paths:
12881275
"/chequebook/address":
12891276
get:
12901277
summary: Get the address of the chequebook contract used
1291-
security:
1292-
- bearerAuth: []
12931278
tags:
12941279
- Chequebook
12951280
responses:
@@ -1303,8 +1288,6 @@ paths:
13031288
"/chequebook/balance":
13041289
get:
13051290
summary: Get the balance of the chequebook
1306-
security:
1307-
- bearerAuth: []
13081291
tags:
13091292
- Chequebook
13101293
responses:
@@ -1409,8 +1392,6 @@ paths:
14091392
"/connect/{multiAddress}":
14101393
post:
14111394
summary: Connect to address
1412-
security:
1413-
- bearerAuth: []
14141395
tags:
14151396
- Connectivity
14161397
parameters:
@@ -1438,8 +1419,6 @@ paths:
14381419
"/reservestate":
14391420
get:
14401421
summary: Get reserve state
1441-
security:
1442-
- bearerAuth: []
14431422
tags:
14441423
- Status
14451424
responses:
@@ -1455,8 +1434,6 @@ paths:
14551434
"/chainstate":
14561435
get:
14571436
summary: Get chain state
1458-
security:
1459-
- bearerAuth: []
14601437
tags:
14611438
- Status
14621439
responses:
@@ -1487,8 +1464,6 @@ paths:
14871464
"/peers":
14881465
get:
14891466
summary: Get a list of peers
1490-
security:
1491-
- bearerAuth: []
14921467
tags:
14931468
- Connectivity
14941469
responses:
@@ -1504,8 +1479,6 @@ paths:
15041479
"/peers/{address}":
15051480
delete:
15061481
summary: Remove peer
1507-
security:
1508-
- bearerAuth: []
15091482
tags:
15101483
- Connectivity
15111484
parameters:
@@ -1532,8 +1505,6 @@ paths:
15321505
"/pingpong/{address}":
15331506
post:
15341507
summary: Try connection to node
1535-
security:
1536-
- bearerAuth: []
15371508
tags:
15381509
- Connectivity
15391510
parameters:
@@ -1562,8 +1533,6 @@ paths:
15621533
"/settlements/{address}":
15631534
get:
15641535
summary: Get amount of sent and received from settlements with a peer
1565-
security:
1566-
- bearerAuth: []
15671536
tags:
15681537
- Settlements
15691538
parameters:
@@ -1590,8 +1559,6 @@ paths:
15901559
"/settlements":
15911560
get:
15921561
summary: Get settlements with all known peers and total amount sent or received
1593-
security:
1594-
- bearerAuth: []
15951562
tags:
15961563
- Settlements
15971564
responses:
@@ -1609,8 +1576,6 @@ paths:
16091576
"/timesettlements":
16101577
get:
16111578
summary: Get time based settlements with all known peers and total amount sent or received
1612-
security:
1613-
- bearerAuth: []
16141579
tags:
16151580
- Settlements
16161581
responses:
@@ -1628,8 +1593,6 @@ paths:
16281593
"/topology":
16291594
get:
16301595
summary: Get topology of known network
1631-
security:
1632-
- bearerAuth: []
16331596
tags:
16341597
- Connectivity
16351598
responses:
@@ -1643,8 +1606,6 @@ paths:
16431606
"/welcome-message":
16441607
get:
16451608
summary: Get configured P2P welcome message
1646-
security:
1647-
- bearerAuth: []
16481609
tags:
16491610
- Connectivity
16501611
responses:
@@ -1660,8 +1621,6 @@ paths:
16601621
description: Default response
16611622
post:
16621623
summary: Set P2P welcome message
1663-
security:
1664-
- bearerAuth: []
16651624
tags:
16661625
- Connectivity
16671626
requestBody:
@@ -1686,8 +1645,6 @@ paths:
16861645
"/chequebook/cashout/{peer-id}":
16871646
get:
16881647
summary: Get last cashout action for the peer
1689-
security:
1690-
- bearerAuth: []
16911648
parameters:
16921649
- in: path
16931650
name: peer-id
@@ -1712,8 +1669,6 @@ paths:
17121669
description: Default response
17131670
post:
17141671
summary: Cashout the last cheque for the peer
1715-
security:
1716-
- bearerAuth: []
17171672
parameters:
17181673
- in: path
17191674
name: peer-id
@@ -1744,8 +1699,6 @@ paths:
17441699
"/chequebook/cheque/{peer-id}":
17451700
get:
17461701
summary: Get last cheques for the peer
1747-
security:
1748-
- bearerAuth: []
17491702
parameters:
17501703
- in: path
17511704
name: peer-id
@@ -1772,8 +1725,6 @@ paths:
17721725
"/chequebook/cheque":
17731726
get:
17741727
summary: Get last cheques for all peers
1775-
security:
1776-
- bearerAuth: []
17771728
tags:
17781729
- Chequebook
17791730
responses:
@@ -1793,8 +1744,6 @@ paths:
17931744
"/chequebook/deposit":
17941745
post:
17951746
summary: Deposit tokens from overlay address into chequebook
1796-
security:
1797-
- bearerAuth: []
17981747
parameters:
17991748
- in: query
18001749
name: amount
@@ -1822,8 +1771,6 @@ paths:
18221771
"/chequebook/withdraw":
18231772
post:
18241773
summary: Withdraw tokens from the chequebook to the overlay address
1825-
security:
1826-
- bearerAuth: []
18271774
parameters:
18281775
- in: query
18291776
name: amount
@@ -1943,8 +1890,6 @@ paths:
19431890
"/stamps":
19441891
get:
19451892
summary: Get stamps for this node
1946-
security:
1947-
- bearerAuth: []
19481893
tags:
19491894
- Postage Stamps
19501895
responses:
@@ -1970,8 +1915,6 @@ paths:
19701915
description: Swarm address of the stamp
19711916
get:
19721917
summary: Get an individual postage batch status
1973-
security:
1974-
- bearerAuth: []
19751918
tags:
19761919
- Postage Stamps
19771920
responses:
@@ -1998,8 +1941,6 @@ paths:
19981941
description: Swarm address of the stamp
19991942
get:
20001943
summary: Get extended bucket data of a batch
2001-
security:
2002-
- bearerAuth: []
20031944
tags:
20041945
- Postage Stamps
20051946
responses:
@@ -2019,8 +1960,6 @@ paths:
20191960
"/stamps/{amount}/{depth}":
20201961
post:
20211962
summary: Buy a new postage batch.
2022-
security:
2023-
- bearerAuth: []
20241963
description: |
20251964
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!
20261965
tags:
@@ -2148,8 +2087,6 @@ paths:
21482087
"/batches":
21492088
get:
21502089
summary: Get all globally available batches that were purchased by all nodes.
2151-
security:
2152-
- bearerAuth: []
21532090
tags:
21542091
- Postage Stamps
21552092
responses:
@@ -2504,14 +2441,3 @@ paths:
25042441
$ref: "SwarmCommon.yaml#/components/responses/400"
25052442
default:
25062443
description: Default response.
2507-
2508-
components:
2509-
securitySchemes:
2510-
basicAuth:
2511-
type: http
2512-
scheme: basic
2513-
2514-
bearerAuth:
2515-
type: http
2516-
scheme: bearer
2517-
bearerFormat: SecurityToken

openapi/SwarmCommon.yaml

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -830,24 +830,6 @@ components:
830830
isRetrievable:
831831
type: boolean
832832

833-
SecurityTokenRequest:
834-
type: object
835-
properties:
836-
role:
837-
type: string
838-
nullable: false
839-
expiry:
840-
type: integer
841-
nullable: false
842-
description: Expiration time in seconds
843-
844-
SecurityTokenResponse:
845-
type: object
846-
properties:
847-
key:
848-
type: string
849-
nullable: false
850-
851833
LoggerExp:
852834
type: string
853835
description: Base 64 encoded regular expression or subsystem string.

0 commit comments

Comments
 (0)