-
Notifications
You must be signed in to change notification settings - Fork 27
374 lines (297 loc) · 17.8 KB
/
sync-apis.yaml
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
# Workflow to upload APIs to docs staging environment
name: Sync OpenAPI definition to ReadMe staging
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the "main" branch
push:
branches:
- main
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
# This workflow contains a single job called "build"
sync:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
# Update NFT API in docs
- name: GitHub action to update NFT API
uses: readmeio/[email protected]
with:
rdme: openapi nft/nfts.yaml --key=${{ secrets.README_API_KEY }} --id=62bb5f1af2192000e16f5c93
# Update Notify API in docs
- name: GitHub action to update Notify API
uses: readmeio/[email protected]
with:
rdme: openapi notify/notify.yaml --key=${{ secrets.README_API_KEY }} --id=62c003629460ee00a2bad6cc
# Update Transfers API in docs
- name: GitHub action to update Transfers API
uses: readmeio/[email protected]
with:
rdme: openapi transfers/alchemy_getAssetTransfers.yaml --key=${{ secrets.README_API_KEY }} --id=62d75e355edcd00083b39fa2
# Update Gas Manager Admin API in docs
- name: GitHub action to update Gas Manager Admin API
uses: readmeio/[email protected]
with:
rdme: openapi account-abstraction/gas_manager_admin.yaml --key=${{ secrets.README_API_KEY }} --id=648a94b656f41511b55a453b
# =============================================================== Update Starknet APIs in Docs ===============================================================
- name: Github action to update Starknet API - starknet_addDeclareTransaction
uses: readmeio/[email protected]
with:
rdme: openapi starknet/starknet_addDeclareTransaction.yaml --key=${{ secrets.README_API_KEY }} --id=64406faac2d7740059213a4f
- name: Github action to update Starknet API - starknet_getClassAt
uses: readmeio/[email protected]
with:
rdme: openapi starknet/starknet_getClassAt.yaml --key=${{ secrets.README_API_KEY }} --id=64406fb9107cc6000bba05e6
- name: Github action to update Starknet API - starknet_addDeployAccountTransaction
uses: readmeio/[email protected]
with:
rdme: openapi starknet/starknet_addDeployAccountTransaction.yaml --key=${{ secrets.README_API_KEY }} --id=64406fc2948a1600fd2a71e9
- name: Github action to update Starknet API - starknet_getClassHashAt
uses: readmeio/[email protected]
with:
rdme: openapi starknet/starknet_getClassHashAt.yaml --key=${{ secrets.README_API_KEY }} --id=64406fcc5aba2300513dc4a3
- name: Github action to update Starknet API - starknet_addInvokeTransaction
uses: readmeio/[email protected]
with:
rdme: openapi starknet/starknet_addInvokeTransaction.yaml --key=${{ secrets.README_API_KEY }} --id=64406fd5d93442007209822b
- name: Github action to update Starknet API - starknet_getEvents
uses: readmeio/[email protected]
with:
rdme: openapi starknet/starknet_getEvents.yaml --key=${{ secrets.README_API_KEY }} --id=64406fdea42c4e0388007281
- name: Github action to update Starknet API - starknet_blockHashAndNumber
uses: readmeio/[email protected]
with:
rdme: openapi starknet/starknet_blockHashAndNumber.yaml --key=${{ secrets.README_API_KEY }} --id=64406fe62f2152000ab80899
- name: Github action to update Starknet API - starknet_getNonce
uses: readmeio/[email protected]
with:
rdme: openapi starknet/starknet_getNonce.yaml --key=${{ secrets.README_API_KEY }} --id=64406ff24c37de005759e380
- name: Github action to update Starknet API - starknet_blockNumber
uses: readmeio/[email protected]
with:
rdme: openapi starknet/starknet_blockNumber.yaml --key=${{ secrets.README_API_KEY }} --id=64406ffbb5b2f3001896e55c
- name: Github action to update Starknet API - starknet_getStateUpdate
uses: readmeio/[email protected]
with:
rdme: openapi starknet/starknet_getStateUpdate.yaml --key=${{ secrets.README_API_KEY }} --id=6440700945a039000b1c7b77
- name: Github action to update Starknet API - starknet_call
uses: readmeio/[email protected]
with:
rdme: openapi starknet/starknet_call.yaml --key=${{ secrets.README_API_KEY }} --id=6440701f1a55e800650d3154
- name: Github action to update Starknet API - starknet_getStorageAt
uses: readmeio/[email protected]
with:
rdme: openapi starknet/starknet_getStorageAt.yaml --key=${{ secrets.README_API_KEY }} --id=64407029b5b2f3001896e573
- name: Github action to update Starknet API - starknet_chainId
uses: readmeio/[email protected]
with:
rdme: openapi starknet/starknet_chainId.yaml --key=${{ secrets.README_API_KEY }} --id=64407032cf71a9000b56596b
- name: Github action to update Starknet API - starknet_getTransactionByBlockIdAndIndex
uses: readmeio/[email protected]
with:
rdme: openapi starknet/starknet_getTransactionByBlockIdAndIndex.yaml --key=${{ secrets.README_API_KEY }} --id=6440703ce36444000acefc9f
- name: Github action to update Starknet API - starknet_estimateFee
uses: readmeio/[email protected]
with:
rdme: openapi starknet/starknet_estimateFee.yaml --key=${{ secrets.README_API_KEY }} --id=64407047f394f20035ef654d
- name: Github action to update Starknet API - starknet_estimateMessageFee
uses: readmeio/[email protected]
with:
rdme: openapi starknet/starknet_estimateMessageFee.yaml --key=${{ secrets.README_API_KEY }} --id=64f9010bfa510100197068b2
- name: Github action to update Starknet API - starknet_getTransactionByHash
uses: readmeio/[email protected]
with:
rdme: openapi starknet/starknet_getTransactionByHash.yaml --key=${{ secrets.README_API_KEY }} --id=6440705395b4ba007aca6b29
- name: Github action to update Starknet API - starknet_getBlockTransactionCount
uses: readmeio/[email protected]
with:
rdme: openapi starknet/starknet_getBlockTransactionCount.yaml --key=${{ secrets.README_API_KEY }} --id=6440705d117953029dee9221
- name: Github action to update Starknet API - starknet_getTransactionReceipt
uses: readmeio/[email protected]
with:
rdme: openapi starknet/starknet_getTransactionReceipt.yaml --key=${{ secrets.README_API_KEY }} --id=64407067099500000abb72f9
- name: Github action to update Starknet API - starknet_getBlockWithTxHashes
uses: readmeio/[email protected]
with:
rdme: openapi starknet/starknet_getBlockWithTxHashes.yaml --key=${{ secrets.README_API_KEY }} --id=6440708c84b7390079c421cb
- name: Github action to update Starknet API - starknet_pendingTransactions
uses: readmeio/[email protected]
with:
rdme: openapi starknet/starknet_pendingTransactions.yaml --key=${{ secrets.README_API_KEY }} --id=644070ad5599f402959e3788
- name: Github action to update Starknet API - starknet_getBlockWithTxs
uses: readmeio/[email protected]
with:
rdme: openapi starknet/starknet_getBlockWithTxs.yaml --key=${{ secrets.README_API_KEY }} --id=644070ef42d96f003cd74192
- name: Github action to update Starknet API - starknet_syncing
uses: readmeio/[email protected]
with:
rdme: openapi starknet/starknet_syncing.yaml --key=${{ secrets.README_API_KEY }} --id=644070fdb5b2f3001896f2d9
- name: Github action to update Starknet API - starknet_getClass
uses: readmeio/[email protected]
with:
rdme: openapi starknet/starknet_getClass.yaml --key=${{ secrets.README_API_KEY }} --id=6440711368d835000b7711a0
# =============================================================== Update Ethereum APIs in Docs ===============================================================
- name: Github action to update Ethereum API - eth_createAccessList
uses: readmeio/[email protected]
with:
rdme: openapi ethereum/eth_createAccessList.yaml --key=${{ secrets.README_API_KEY }} --id=635bf940de31790f648c2218
- name: Github action to update Ethereum API - eth_blockNumber
uses: readmeio/[email protected]
with:
rdme: openapi ethereum/eth_blockNumber.yaml --key=${{ secrets.README_API_KEY }} --id=62c8076fe3a26b039d30eab9
- name: Github action to update Ethereum API - eth_call
uses: readmeio/[email protected]
with:
rdme: openapi ethereum/eth_call.yaml --key=${{ secrets.README_API_KEY }} --id=62cd3571d1a583001a47bb1c
- name: Github action to update Ethereum API - eth_accounts
uses: readmeio/[email protected]
with:
rdme: openapi ethereum/eth_accounts.yaml --key=${{ secrets.README_API_KEY }} --id=62d54b64fcf55a002eba8d8b
- name: Github action to update Ethereum API - eth_newFilter
uses: readmeio/[email protected]
with:
rdme: openapi ethereum/eth_newFilter.yaml --key=${{ secrets.README_API_KEY }} --id=62d5cc6ceb57150082e0f840
- name: Github action to update Ethereum API - eth_feeHistory
uses: readmeio/[email protected]
with:
rdme: openapi ethereum/eth_feeHistory.yaml --key=${{ secrets.README_API_KEY }} --id=62d5d1235ece66005997b8b1
- name: Github action to update Ethereum API - eth_chainId
uses: readmeio/[email protected]
with:
rdme: openapi ethereum/eth_chainId.yaml --key=${{ secrets.README_API_KEY }} --id=62d78929f180b60043228bf9
- name: Github action to update Ethereum API - eth_estimateGas
uses: readmeio/[email protected]
with:
rdme: openapi ethereum/eth_estimateGas.yaml --key=${{ secrets.README_API_KEY }} --id=62d79a2f75cd93006588aaa5
- name: Github action to update Ethereum API - eth_gasPrice
uses: readmeio/[email protected]
with:
rdme: openapi ethereum/eth_gasPrice.yaml --key=${{ secrets.README_API_KEY }} --id=62d79ad44c8825004019d4b6
- name: Github action to update Ethereum API - eth_getBlockByHash
uses: readmeio/[email protected]
with:
rdme: openapi ethereum/eth_getBlockByHash.yaml --key=${{ secrets.README_API_KEY }} --id=62d815accbd947021ac71943
- name: Github action to update Ethereum API - eth_getBlockTransactionCountByHash
uses: readmeio/[email protected]
with:
rdme: openapi ethereum/eth_getBlockTransactionCountByHash.yaml --key=${{ secrets.README_API_KEY }} --id=62d818045b0ac000278af0e1
- name: Github action to update Ethereum API - eth_getBalance
uses: readmeio/[email protected]
with:
rdme: openapi ethereum/eth_getBalance.yaml --key=${{ secrets.README_API_KEY }} --id=62d81b4a604ef3008ea7167e
- name: Github action to update Ethereum API - eth_getBlockByNumber
uses: readmeio/[email protected]
with:
rdme: openapi ethereum/eth_getBlockByNumber.yaml --key=${{ secrets.README_API_KEY }} --id=62d81ba3a8cddc001dc19c10
- name: Github action to update Ethereum API - eth_getBlockReceipts
uses: readmeio/[email protected]
with:
rdme: openapi ethereum/eth_getBlockReceipts.yaml --key=${{ secrets.README_API_KEY }} --id=62d81bc8c50dc600524d2089
- name: Github action to update Ethereum API - eth_getBlockTransactionCountByNumber
uses: readmeio/[email protected]
with:
rdme: openapi ethereum/eth_getBlockTransactionCountByNumber.yaml --key=${{ secrets.README_API_KEY }} --id=62d81c425b0ac000278b6784
- name: Github action to update Ethereum API - eth_getCode
uses: readmeio/[email protected]
with:
rdme: openapi ethereum/eth_getCode.yaml --key=${{ secrets.README_API_KEY }} --id=62d81c65cbd947021ac7a941
- name: Github action to update Ethereum API - eth_getFilterChanges
uses: readmeio/[email protected]
with:
rdme: openapi ethereum/eth_getFilterChanges.yaml --key=${{ secrets.README_API_KEY }} --id=62d81c82c3d662001491b5a4
- name: Github action to update Ethereum API - eth_getFilterLogs
uses: readmeio/[email protected]
with:
rdme: openapi ethereum/eth_getFilterLogs.yaml --key=${{ secrets.README_API_KEY }} --id=62d81cb1c4b3800064481d2d
- name: Github action to update Ethereum API - eth_getLogs
uses: readmeio/[email protected]
with:
rdme: openapi ethereum/eth_getLogs.yaml --key=${{ secrets.README_API_KEY }} --id=62d831294c882500402412d6
- name: Github action to update Ethereum API - eth_getProof
uses: readmeio/[email protected]
with:
rdme: openapi ethereum/eth_getProof.yaml --key=${{ secrets.README_API_KEY }} --id=62d8316ba8cddc001dc32815
- name: Github action to update Ethereum API - eth_getStorageAt
uses: readmeio/[email protected]
with:
rdme: openapi ethereum/eth_getStorageAt.yaml --key=${{ secrets.README_API_KEY }} --id=62d83189978c0800136bc5aa
- name: Github action to update Ethereum API - eth_getTransactionByBlockHashAndIndex
uses: readmeio/[email protected]
with:
rdme: openapi ethereum/eth_getTransactionByBlockHashAndIndex.yaml --key=${{ secrets.README_API_KEY }} --id=62d831a48e6920009eb8f635
- name: Github action to update Ethereum API - eth_getTransactionByHash
uses: readmeio/[email protected]
with:
rdme: openapi ethereum/eth_getTransactionByHash.yaml --key=${{ secrets.README_API_KEY }} --id=62d832236307ee002d9b9b0a
- name: Github action to update Ethereum API - eth_getTransactionCount
uses: readmeio/[email protected]
with:
rdme: openapi ethereum/eth_getTransactionCount.yaml --key=${{ secrets.README_API_KEY }} --id=62d8326743c6c00037dd6155
- name: Github action to update Ethereum API - eth_getTransactionReceipt
uses: readmeio/[email protected]
with:
rdme: openapi ethereum/eth_getTransactionReceipt.yaml --key=${{ secrets.README_API_KEY }} --id=62d8327be856170013d6b283
- name: Github action to update Ethereum API - eth_getUncleByBlockHashAndIndex
uses: readmeio/[email protected]
with:
rdme: openapi ethereum/eth_getUncleByBlockHashAndIndex.yaml --key=${{ secrets.README_API_KEY }} --id=62d832c5158058012d40ea4c
- name: Github action to update Ethereum API - eth_getUncleByBlockNumberAndIndex
uses: readmeio/[email protected]
with:
rdme: openapi ethereum/eth_getUncleByBlockNumberAndIndex.yaml --key=${{ secrets.README_API_KEY }} --id=62d832dc15065e002ee0d85a
- name: Github action to update Ethereum API - eth_getUncleCountByBlockHash
uses: readmeio/[email protected]
with:
rdme: openapi ethereum/eth_getUncleCountByBlockHash.yaml --key=${{ secrets.README_API_KEY }} --id=62d832f9dcb3860058b4d99b
- name: Github action to update Ethereum API - eth_getUncleCountByBlockNumber
uses: readmeio/[email protected]
with:
rdme: openapi ethereum/eth_getUncleCountByBlockNumber.yaml --key=${{ secrets.README_API_KEY }} --id=62d833246307ee002d9ba6ff
- name: Github action to update Ethereum API - eth_maxPriorityFeePerGas
uses: readmeio/[email protected]
with:
rdme: openapi ethereum/eth_maxPriorityFeePerGas.yaml --key=${{ secrets.README_API_KEY }} --id=62d8334b368457002f086082
- name: Github action to update Ethereum API - eth_newBlockFilter
uses: readmeio/[email protected]
with:
rdme: openapi ethereum/eth_newBlockFilter.yaml --key=${{ secrets.README_API_KEY }} --id=62d833f8d2cfb500282244c5
- name: Github action to update Ethereum API - eth_newPendingTransactionFilter
uses: readmeio/[email protected]
with:
rdme: openapi ethereum/eth_newPendingTransactionFilter.yaml --key=${{ secrets.README_API_KEY }} --id=62d83490c7cb6d00876164db
- name: Github action to update Ethereum API - eth_protocolVersion
uses: readmeio/[email protected]
with:
rdme: openapi ethereum/eth_protocolVersion.yaml --key=${{ secrets.README_API_KEY }} --id=62d834cfbe94a1007dea9007
- name: Github action to update Ethereum API - eth_sendRawTransaction
uses: readmeio/[email protected]
with:
rdme: openapi ethereum/eth_sendRawTransaction.yaml --key=${{ secrets.README_API_KEY }} --id=62d835028c633400a90fd223
- name: Github action to update Ethereum API - eth_uninstallFilter
uses: readmeio/[email protected]
with:
rdme: openapi ethereum/eth_uninstallFilter.yaml --key=${{ secrets.README_API_KEY }} --id=62d835bcf25f770152c68641
- name: Github action to update Ethereum API - net_listening
uses: readmeio/[email protected]
with:
rdme: openapi ethereum/net_listening.yaml --key=${{ secrets.README_API_KEY }} --id=62d836535a22fd00994784a4
- name: Github action to update Ethereum API - net_version
uses: readmeio/[email protected]
with:
rdme: openapi ethereum/net_version.yaml --key=${{ secrets.README_API_KEY }} --id=62d8366a895f5d0014681008
- name: Github action to update Ethereum API - web3_clientVersion
uses: readmeio/[email protected]
with:
rdme: openapi ethereum/web3_clientVersion.yaml --key=${{ secrets.README_API_KEY }} --id=62d8367fa2d9d4001c18d733
- name: Github action to update Ethereum API - web3_sha3
uses: readmeio/[email protected]
with:
rdme: openapi ethereum/web3_sha3.yaml --key=${{ secrets.README_API_KEY }} --id=62d83693bf0ca1002035a814
- name: Github action to update Ethereum API - eth_getTransactionByBlockNumberAndIndex
uses: readmeio/[email protected]
with:
rdme: openapi ethereum/eth_getTransactionByBlockNumberAndIndex.yaml --key=${{ secrets.README_API_KEY }} --id=62d85761c50d8b00730dc6ce