Skip to content

doc(mbe): add documentation for recoveries and accelerations#84

Merged
pranavjain97 merged 1 commit intomasterfrom
WP-5301/developer-documentaion
Jul 29, 2025
Merged

doc(mbe): add documentation for recoveries and accelerations#84
pranavjain97 merged 1 commit intomasterfrom
WP-5301/developer-documentaion

Conversation

@mohammadalfaiyazbitgo
Copy link
Contributor

Ticket: WP-5301

This comment was marked as outdated.

Copy link
Contributor

@pranavjain97 pranavjain97 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You have some lint failures. Also, i see lot of the desc's have 2 sentences without a . in the middle. Is it getting formatted like that as well, or is it a new line?

"txid": {
"type": "string"
"type": "string",
"description": "The transaction ID (hash) of the acceleration transaction This can be used to track the transaction on a block explorer",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: ```suggestion
"description": "The transaction ID (hash) of the acceleration transaction. This can be used to track the transaction on a block explorer",

@mohammadalfaiyazbitgo mohammadalfaiyazbitgo force-pushed the WP-5301/developer-documentaion branch 3 times, most recently from 47be25b to c890fea Compare July 25, 2025 17:42
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds comprehensive JSDoc documentation for BitGo Express wallet recovery and transaction acceleration endpoints. The main focus is documenting API request/response structures and recovery parameters for different blockchain types (UTXO, EVM, Solana).

Key changes include:

  • Added detailed JSDoc comments to recovery parameter types and acceleration request structures
  • Enhanced OpenAPI schema with descriptions and examples for all recovery and acceleration endpoints
  • Updated documentation to clarify usage of TSS vs multisig recovery parameters

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

File Description
src/shared/errors.ts Added JSDoc documentation for ErrorResponse properties
src/api/master/routers/masterApiSpec.ts Added comprehensive documentation for recovery parameters, acceleration requests, and response types
masterBitgoExpress.json Updated OpenAPI schema with detailed descriptions and examples for recovery and acceleration endpoints
CLAUDE.md Added error handling documentation and expanded API endpoint listings


/**
* Request type for wallet recovery consolidations endpoint
* Used to consolidate and funds from multiple addresses in a wallet, via signing with user and backup keys
Copy link

Copilot AI Jul 25, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's a missing word in the comment. It should be "consolidate and recover funds" instead of "consolidate and funds".

Suggested change
* Used to consolidate and funds from multiple addresses in a wallet, via signing with user and backup keys
* Used to consolidate and recover funds from multiple addresses in a wallet, via signing with user and backup keys

Copilot uses AI. Check for mistakes.
"application/json": {
"schema": {
"type": "object",
"description": "Request type for wallet recovery consolidations endpoint Used to consolidate and funds from multiple addresses in a wallet, via signing with user and backup keys",
Copy link

Copilot AI Jul 25, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's a missing word in the description. It should be "consolidate and recover funds" instead of "consolidate and funds".

Suggested change
"description": "Request type for wallet recovery consolidations endpoint Used to consolidate and funds from multiple addresses in a wallet, via signing with user and backup keys",
"description": "Request type for wallet recovery consolidations endpoint Used to consolidate and recover funds from multiple addresses in a wallet, via signing with user and backup keys",

Copilot uses AI. Check for mistakes.
@mohammadalfaiyazbitgo mohammadalfaiyazbitgo force-pushed the WP-5301/developer-documentaion branch from c890fea to 9550476 Compare July 25, 2025 18:31
Copy link
Contributor

@pranavjain97 pranavjain97 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All the descriptions have 2 sentences without any period or , seperating them. Lets fix that

@pranavjain97 pranavjain97 merged commit de5a850 into master Jul 29, 2025
4 checks passed
@pranavjain97 pranavjain97 deleted the WP-5301/developer-documentaion branch July 29, 2025 20:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants