Skip to content

Commit 5ef0dcc

Browse files
feat: update bitgo-api-docs
This commit updates the BitGo API.
1 parent b484d29 commit 5ef0dcc

File tree

1 file changed

+0
-118
lines changed

1 file changed

+0
-118
lines changed

api.yaml

Lines changed: 0 additions & 118 deletions
Original file line numberDiff line numberDiff line change
@@ -16586,62 +16586,6 @@ paths:
1658616586
application/json:
1658716587
schema:
1658816588
$ref: '#/components/schemas/PlatformError3'
16589-
/api/v2/wallet/balances:
16590-
get:
16591-
tags:
16592-
- Wallet
16593-
summary: List total balances
16594-
description: |
16595-
Selects wallets based on the given filter parameters. Gets all balances for the selected wallets and sums up the
16596-
balances by coin.
16597-
operationId: v2.wallet.gettotalbalances
16598-
parameters:
16599-
- $ref: '#/components/parameters/coinArray'
16600-
- name: deleted
16601-
in: query
16602-
description: Filter by deleted state
16603-
schema:
16604-
type: array
16605-
items:
16606-
type: boolean
16607-
default:
16608-
- false
16609-
- $ref: '#/components/parameters/queryEnterpriseArray'
16610-
- $ref: '#/components/parameters/queryIdArray'
16611-
- name: labelContains
16612-
in: query
16613-
description: Filter by label substring
16614-
schema:
16615-
type: string
16616-
- name: type
16617-
in: query
16618-
description: Filter by wallet type
16619-
schema:
16620-
type: array
16621-
items:
16622-
$ref: '#/components/schemas/WalletTypePublic'
16623-
- name: expandCustodialWallet
16624-
description: Whether balances of linked custodial wallets should be included
16625-
in: query
16626-
schema:
16627-
type: boolean
16628-
- $ref: '#/components/parameters/skipPendingTxs'
16629-
- $ref: '#/components/parameters/skipTxCounts'
16630-
- $ref: '#/components/parameters/excludeEmptyBalances'
16631-
- $ref: '#/components/parameters/excludeSpendableBalances'
16632-
responses:
16633-
'200':
16634-
description: OK
16635-
content:
16636-
application/json:
16637-
schema:
16638-
$ref: '#/components/schemas/TotalBalances'
16639-
'400':
16640-
description: Bad Request
16641-
content:
16642-
application/json:
16643-
schema:
16644-
$ref: '#/components/schemas/PlatformError3'
1664516589
/api/v2/{coin}/wallet/{walletId}/requestreshare:
1664616590
post:
1664716591
tags:
@@ -41597,22 +41541,6 @@ components:
4159741541
type: number
4159841542
description: Number of decimal places the token uses (for fungible tokens unsupported in WP).
4159941543
example: 18
41600-
TotalBalances:
41601-
type: object
41602-
properties:
41603-
balances:
41604-
type: array
41605-
items:
41606-
type: object
41607-
properties:
41608-
balanceString:
41609-
allOf:
41610-
- $ref: '#/components/schemas/IntegerString'
41611-
description: |
41612-
String representation of the balance in base units. Guaranteed to not lose
41613-
precision.
41614-
coin:
41615-
$ref: '#/components/schemas/Coin'
4161641544
Transaction1:
4161741545
type: object
4161841546
properties:
@@ -51706,22 +51634,6 @@ components:
5170651634
required: true
5170751635
schema:
5170851636
$ref: '#/components/schemas/BankAccountId'
51709-
queryIdArray:
51710-
name: id
51711-
in: query
51712-
description: Filter by ID.
51713-
schema:
51714-
type: array
51715-
items:
51716-
$ref: '#/components/schemas/Id'
51717-
queryEnterpriseArray:
51718-
name: enterprise
51719-
in: query
51720-
description: Filter by enterprise.
51721-
schema:
51722-
type: array
51723-
items:
51724-
$ref: '#/components/schemas/Id'
5172551637
pathUserId:
5172651638
name: userId
5172751639
in: path
@@ -51990,36 +51902,6 @@ components:
5199051902
example: true
5199151903
description: |
5199251904
Skip spendable balance calculations and only include confirmed balances. If absent, defaults to false.
51993-
skipPendingTxs:
51994-
name: skipPendingTxs
51995-
schema:
51996-
type: boolean
51997-
in: query
51998-
example: true
51999-
description: Do not include pending withdrawals when determining total balances. By default, pending withdrawals will be considered.
52000-
skipTxCounts:
52001-
name: skipTxCounts
52002-
schema:
52003-
type: boolean
52004-
in: query
52005-
example: true
52006-
description: True, if excluding transfer counts when calculating total balances. If absent, defaults to false.
52007-
excludeSpendableBalances:
52008-
name: excludeSpendableBalances
52009-
schema:
52010-
type: boolean
52011-
in: query
52012-
example: true
52013-
description: |
52014-
Skip spendable balance calculations and only include confirmed balances. If absent, defaults to false.
52015-
excludeEmptyBalances:
52016-
name: excludeEmptyBalances
52017-
schema:
52018-
type: boolean
52019-
in: query
52020-
example: true
52021-
description: |
52022-
Exclude tokens with zero balance. When allTokens is passed, then every token supported by BitGo will be included, regardless of balance.
5202351905
state:
5202451906
name: state
5202551907
description: |

0 commit comments

Comments
 (0)