Skip to content

Commit e674b4b

Browse files
Merge pull request #134 from BitGo/update-bitgo-api-docs
Update API reference on BitGo Developer Portal
2 parents 98fe933 + af8b542 commit e674b4b

File tree

1 file changed

+0
-65
lines changed

1 file changed

+0
-65
lines changed

api.yaml

Lines changed: 0 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -18365,39 +18365,6 @@ paths:
1836518365
application/json:
1836618366
schema:
1836718367
$ref: '#/components/schemas/PlatformError3'
18368-
/api/v2/{coin}/wallet/{walletId}/spending:
18369-
get:
18370-
tags:
18371-
- Wallet
18372-
summary: Get spending limits and current amount spent
18373-
description: |
18374-
Returns the wallet's currently configured spending limits and the current
18375-
amount spent during the periods defined by the spending limits.
18376-
operationId: v2.wallet.spending
18377-
parameters:
18378-
- $ref: '#/components/parameters/pathCoin'
18379-
- $ref: '#/components/parameters/pathWalletId'
18380-
responses:
18381-
'200':
18382-
description: OK
18383-
content:
18384-
application/json:
18385-
schema:
18386-
$ref: '#/components/schemas/WalletSpending'
18387-
'400':
18388-
description: Bad Request
18389-
content:
18390-
application/json:
18391-
schema:
18392-
oneOf:
18393-
- $ref: '#/components/schemas/PlatformError3'
18394-
- $ref: '#/components/schemas/InvalidWalletId'
18395-
'404':
18396-
description: Not Found
18397-
content:
18398-
application/json:
18399-
schema:
18400-
$ref: '#/components/schemas/PlatformError3'
1840118368
/api/v2/wallet/{walletId}/reservedunspents:
1840218369
post:
1840318370
tags:
@@ -60455,38 +60422,6 @@ components:
6045560422
type: number
6045660423
required:
6045760424
- walletSharesCount
60458-
WalletSpending:
60459-
type: object
60460-
properties:
60461-
velocityLimitSpending:
60462-
type: array
60463-
items:
60464-
type: object
60465-
properties:
60466-
coin:
60467-
allOf:
60468-
- $ref: '#/components/schemas/Coin'
60469-
- example: btc
60470-
timeWindow:
60471-
allOf:
60472-
- $ref: '#/components/schemas/IntegerString'
60473-
- example: '3600'
60474-
description: |
60475-
String representation of the time window in seconds (ex: 0 = per transaction, 3600 = hourly,
60476-
86400 = daily).
60477-
limitAmountString:
60478-
allOf:
60479-
- $ref: '#/components/schemas/IntegerString'
60480-
- example: '1000000'
60481-
description: |
60482-
String representation of the spending limit in base units.
60483-
amountSpentString:
60484-
allOf:
60485-
- $ref: '#/components/schemas/IntegerString'
60486-
- example: '148310'
60487-
description: |
60488-
String representation of the current amount spent in base units. Guaranteed to not lose
60489-
precision.
6049060425
WalletStakingDisclaimerAttributes:
6049160426
type: object
6049260427
properties:

0 commit comments

Comments
 (0)