Skip to content

Commit b9ef311

Browse files
Merge pull request #93 from BitGo/update-bitgo-api-docs
Update API reference on BitGo Developer Portal
2 parents 522ab30 + c360d7d commit b9ef311

File tree

1 file changed

+48
-0
lines changed

1 file changed

+48
-0
lines changed

api.yaml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18978,6 +18978,54 @@ paths:
1897818978
oneOf:
1897918979
- $ref: '#/components/schemas/PlatformError3'
1898018980
- $ref: '#/components/schemas/InvalidWalletId'
18981+
/express/api/v2/{coin}/wallet/{walletId}:
18982+
put:
18983+
tags:
18984+
- Express
18985+
summary: Update Wallet
18986+
description: The express update wallet route is meant to be used for lightning (lnbtc/tlnbtc). It will produced a signed wallet update request that can be used to update the wallet. For other coins, use the standard wallet update endpoint.
18987+
operationId: express.wallet.update
18988+
parameters:
18989+
- $ref: '#/components/parameters/pathCoin'
18990+
- $ref: '#/components/parameters/pathWalletId'
18991+
requestBody:
18992+
required: true
18993+
content:
18994+
application/json:
18995+
schema:
18996+
type: object
18997+
properties:
18998+
signerHost:
18999+
type: string
19000+
description: The host address of the lightning signer node.
19001+
signerTlsCert:
19002+
type: string
19003+
description: The TLS certificate for the lighting signer node encoded to base64.
19004+
signerMacaroon:
19005+
type: string
19006+
description: (Optional) The signer macaroon for the lighting signer node.
19007+
passphrase:
19008+
type: string
19009+
description: The wallet passphrase. This is not uploaded to BitGo, but used to decrypt userAuthKey used to sign the request before sending to BitGo.
19010+
responses:
19011+
'200':
19012+
description: Success
19013+
content:
19014+
application/json:
19015+
schema:
19016+
$ref: '#/components/schemas/Wallet1'
19017+
'400':
19018+
description: Bad Request
19019+
content:
19020+
application/json:
19021+
schema:
19022+
oneOf:
19023+
- $ref: '#/components/schemas/PlatformError3'
19024+
- $ref: '#/components/schemas/InvalidWalletId'
19025+
'403':
19026+
description: Forbidden
19027+
'404':
19028+
description: Not Found
1898119029
/api/v2/{coin}/wallet/{walletId}/initwallet:
1898219030
post:
1898319031
tags:

0 commit comments

Comments
 (0)