Skip to content

Commit e603aa0

Browse files
Merge pull request #235 from BitGo/update-bitgo-api-docs
Update API reference on BitGo Developer Portal
2 parents 886c924 + 53876fc commit e603aa0

File tree

1 file changed

+39
-6
lines changed

1 file changed

+39
-6
lines changed

api.yaml

Lines changed: 39 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20313,15 +20313,15 @@ paths:
2031320313
application/json:
2031420314
schema:
2031520315
$ref: '#/components/schemas/ShareWalletResponse'
20316-
/api/v2/{coin}/walletshare/{walletId}/acceptshare:
20316+
/api/v2/{coin}/walletshare/{walletShareId}/acceptshare:
2031720317
post:
2031820318
tags:
2031920319
- Express
2032020320
summary: Accept wallet share
2032120321
operationId: express.wallet.acceptshare
2032220322
parameters:
2032320323
- $ref: '#/components/parameters/pathCoin'
20324-
- $ref: '#/components/parameters/pathWalletId'
20324+
- $ref: '#/components/parameters/pathWalletShareId'
2032520325
description: Accept a wallet share, adding the wallet to the user's list
2032620326
requestBody:
2032720327
content:
@@ -36233,6 +36233,12 @@ components:
3623336233
required: true
3623436234
schema:
3623536235
$ref: '#/components/schemas/WalletId'
36236+
pathWalletShareId:
36237+
name: walletShareId
36238+
in: path
36239+
required: true
36240+
schema:
36241+
$ref: '#/components/schemas/Id'
3623636242
pathWebhookId:
3623736243
name: webhookId
3623836244
required: true
@@ -44490,12 +44496,24 @@ components:
4449044496
type: string
4449144497
description: Token name, defined in the BitGoJS Statics package.
4449244498
ExpressSendCoinsResponse:
44499+
anyOf:
44500+
- $ref: '#/components/schemas/ExpressSendCoinsResponseMultisig'
44501+
- $ref: '#/components/schemas/ExpressSendCoinsResponseMultisigWithPendingApproval'
44502+
- $ref: '#/components/schemas/ExpressSendCoinsResponseTxRequest'
44503+
- $ref: '#/components/schemas/ExpressSendCoinsResponseTxRequestWithPendingApproval'
44504+
ExpressSendCoinsResponseMultisig:
44505+
description: Multisig wallet send coins response when no pending approval is required.
44506+
allOf:
44507+
- $ref: '#/components/schemas/ExpressSendCoinsResponseTransfer'
44508+
ExpressSendCoinsResponseMultisigWithPendingApproval:
44509+
description: Multisig wallet send coins response when pending approval is required.
44510+
allOf:
44511+
- $ref: '#/components/schemas/PendingApproval1'
44512+
ExpressSendCoinsResponseTransfer:
4449344513
type: object
4449444514
properties:
4449544515
transfer:
44496-
allOf:
44497-
- $ref: '#/components/schemas/Transfer'
44498-
description: New transfer
44516+
$ref: '#/components/schemas/Transfer'
4449944517
txid:
4450044518
type: string
4450144519
description: Unique transaction identifier
@@ -44511,6 +44529,22 @@ components:
4451144529
- signed
4451244530
- signed (suppressed)
4451344531
- pendingApproval
44532+
ExpressSendCoinsResponseTxRequest:
44533+
description: Wallet send coins response when no pending approval is required for MPC wallets and lightning wallets.
44534+
allOf:
44535+
- type: object
44536+
properties:
44537+
txRequest:
44538+
$ref: '#/components/schemas/TransactionRequestFull1'
44539+
- $ref: '#/components/schemas/ExpressSendCoinsResponseTransfer'
44540+
ExpressSendCoinsResponseTxRequestWithPendingApproval:
44541+
description: Wallet send coins response when pending approval is required for MPC wallets and lightning wallets.
44542+
type: object
44543+
properties:
44544+
txRequest:
44545+
$ref: '#/components/schemas/TransactionRequestFull1'
44546+
pendingApproval:
44547+
$ref: '#/components/schemas/PendingApproval1'
4451444548
ExpressSendConsolidationResponse:
4451544549
type: object
4451644550
properties:
@@ -66716,7 +66750,6 @@ x-tagGroups:
6671666750
- Address
6671766751
- Approval Requests
6671866752
- Audit log
66719-
- Bank account
6672066753
- Counterparties
6672166754
- Client Activation
6672266755
- Client Allocations & Deallocations

0 commit comments

Comments
 (0)