Skip to content

Commit 9931332

Browse files
feat: update bitgo-api-docs
This commit updates the BitGo API.
1 parent e8dea5d commit 9931332

File tree

1 file changed

+52
-52
lines changed

1 file changed

+52
-52
lines changed

api.yaml

Lines changed: 52 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -636,42 +636,6 @@ paths:
636636
application/json:
637637
schema:
638638
$ref: '#/components/schemas/PlatformError'
639-
/api/v2/enterprise:
640-
get:
641-
summary: List enterprises
642-
operationId: enterprise.list
643-
tags:
644-
- Enterprise
645-
parameters:
646-
- name: expandTotalWalletCounts
647-
description: True, if returning the total number of wallets for each enterprise.
648-
in: query
649-
schema:
650-
type: boolean
651-
- name: excludeWalletMemberships
652-
description: True, if excluding enterprises that the user joined only through wallet memberships.
653-
in: query
654-
schema:
655-
type: boolean
656-
responses:
657-
'200':
658-
description: OK
659-
content:
660-
application/json:
661-
schema:
662-
$ref: '#/components/schemas/EnterprisesResponse'
663-
'400':
664-
description: Bad Request
665-
content:
666-
application/json:
667-
schema:
668-
$ref: '#/components/schemas/PlatformError'
669-
'404':
670-
description: Not Found
671-
content:
672-
application/json:
673-
schema:
674-
$ref: '#/components/schemas/PlatformError'
675639
/api/v2/enterprise/{enterpriseId}:
676640
put:
677641
tags:
@@ -22599,7 +22563,7 @@ paths:
2259922563
schema:
2260022564
oneOf:
2260122565
- $ref: '#/components/schemas/PlatformError3'
22602-
- $ref: '#/components/schemas/InvalidAddress1'
22566+
- $ref: '#/components/schemas/InvalidAddress'
2260322567
- $ref: '#/components/schemas/InvalidWalletId'
2260422568
/api/v2/{coin}/wallet/{walletId}/consolidateUnspents:
2260522569
post:
@@ -23163,7 +23127,7 @@ paths:
2316323127
schema:
2316423128
oneOf:
2316523129
- $ref: '#/components/schemas/PlatformError3'
23166-
- $ref: '#/components/schemas/InvalidAddress1'
23130+
- $ref: '#/components/schemas/InvalidAddress'
2316723131
- $ref: '#/components/schemas/InvalidWalletId'
2316823132
/api/v2/{coin}/wallet/{walletId}/consolidateunspents:
2316923133
post:
@@ -29428,7 +29392,7 @@ paths:
2942829392
content:
2942929393
application/json:
2943029394
schema:
29431-
$ref: '#/components/schemas/InvalidAddress'
29395+
$ref: '#/components/schemas/InvalidAddress1'
2943229396
/api/v2/{coin}/wallet/{walletId}/crossChainUnspents:
2943329397
get:
2943429398
summary: Get Wallet Cross Chain Unspents
@@ -30224,6 +30188,42 @@ paths:
3022430188
application/json:
3022530189
schema:
3022630190
$ref: '#/components/schemas/ListAuditLogsResponse'
30191+
/api/v2/enterprise:
30192+
get:
30193+
summary: List enterprises
30194+
operationId: enterprise.list
30195+
tags:
30196+
- Enterprise
30197+
parameters:
30198+
- name: expandTotalWalletCounts
30199+
description: True, if returning the total number of wallets for each enterprise.
30200+
in: query
30201+
schema:
30202+
type: boolean
30203+
- name: excludeWalletMemberships
30204+
description: True, if excluding enterprises that the user joined only through wallet memberships.
30205+
in: query
30206+
schema:
30207+
type: boolean
30208+
responses:
30209+
'200':
30210+
description: OK
30211+
content:
30212+
application/json:
30213+
schema:
30214+
$ref: '#/components/schemas/EnterprisesResponse1'
30215+
'400':
30216+
description: Bad Request
30217+
content:
30218+
application/json:
30219+
schema:
30220+
$ref: '#/components/schemas/PlatformError'
30221+
'404':
30222+
description: Not Found
30223+
content:
30224+
application/json:
30225+
schema:
30226+
$ref: '#/components/schemas/PlatformError'
3022730227
/api/v2/enterprise/{enterpriseId}/availableassets:
3022830228
get:
3022930229
summary: List available assets
@@ -53253,7 +53253,7 @@ components:
5325353253
minLength: 1
5325453254
required:
5325553255
- enterprises
53256-
EnterprisesResponse:
53256+
EnterprisesResponse1:
5325753257
title: EnterprisesResponse
5325853258
type: object
5325953259
properties:
@@ -58789,18 +58789,6 @@ components:
5878958789
- $ref: '#/components/schemas/InternationalWireAccountResponseProps'
5879058790
- $ref: '#/components/schemas/BankAccountResponseProps'
5879158791
InvalidAddress:
58792-
title: Invalid Address
58793-
allOf:
58794-
- type: object
58795-
properties:
58796-
name:
58797-
type: string
58798-
enum:
58799-
- InvalidAddress
58800-
required:
58801-
- name
58802-
- $ref: '#/components/schemas/InvalidId'
58803-
InvalidAddress1:
5880458792
title: Invalid address
5880558793
allOf:
5880658794
- $ref: '#/components/schemas/PlatformErrorNoName3'
@@ -58825,6 +58813,18 @@ components:
5882558813
- context
5882658814
- address
5882758815
- name
58816+
InvalidAddress1:
58817+
title: Invalid Address
58818+
allOf:
58819+
- type: object
58820+
properties:
58821+
name:
58822+
type: string
58823+
enum:
58824+
- InvalidAddress
58825+
required:
58826+
- name
58827+
- $ref: '#/components/schemas/InvalidId'
5882858828
InvalidEnterpriseId:
5882958829
title: Invalid Enterprise ID
5883058830
allOf:

0 commit comments

Comments
 (0)