Skip to content

Commit 4e7a143

Browse files
Merge pull request #136 from BitGo/update-bitgo-api-docs
Update API reference on BitGo Developer Portal
2 parents 49f9c7b + d3c271e commit 4e7a143

File tree

1 file changed

+82
-0
lines changed

1 file changed

+82
-0
lines changed

api.yaml

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24649,6 +24649,16 @@ paths:
2464924649
in: query
2465024650
schema:
2465124651
type: string
24652+
- name: nftCollectionId
24653+
description: NFT collection ID for which the addresses need to be fetched
24654+
in: query
24655+
schema:
24656+
type: string
24657+
- name: nftId
24658+
description: NFT ID for which the addresses need to be fetched
24659+
in: query
24660+
schema:
24661+
type: string
2465224662
- name: coin
2465324663
description: A cryptocurrency symbol or token ticker symbol
2465424664
in: path
@@ -26373,6 +26383,26 @@ paths:
2637326383
application/json:
2637426384
schema:
2637526385
$ref: '#/components/schemas/PlatformError'
26386+
/api/v2/internal/pendingapprovals/trust/counts:
26387+
get:
26388+
summary: Get pending approval count for real time monitoring
26389+
operationId: v2.internal.pending.approval.trust.counts
26390+
tags:
26391+
- Pending approval
26392+
parameters: []
26393+
responses:
26394+
'200':
26395+
description: OK
26396+
content:
26397+
application/json:
26398+
schema:
26399+
$ref: '#/components/schemas/PendingApprovalsCount'
26400+
'400':
26401+
description: Bad Request
26402+
content:
26403+
application/json:
26404+
schema:
26405+
$ref: '#/components/schemas/PlatformError'
2637626406
/api/v2/keys:
2637726407
get:
2637826408
summary: Get keys
@@ -49158,6 +49188,52 @@ components:
4915849188
type: array
4915949189
items:
4916049190
$ref: '#/components/schemas/PendingApproval1'
49191+
PendingApprovalsCount:
49192+
title: PendingApprovalsCount
49193+
type: object
49194+
description: Response type for getting pending approval counts grouped by various criteria
49195+
properties:
49196+
byState:
49197+
type: object
49198+
additionalProperties:
49199+
type: number
49200+
byBitgoOrg:
49201+
type: object
49202+
additionalProperties:
49203+
type: object
49204+
additionalProperties:
49205+
type: number
49206+
description: Record type for state counts
49207+
byCoinFamily:
49208+
type: object
49209+
additionalProperties:
49210+
type: object
49211+
additionalProperties:
49212+
type: number
49213+
description: Record type for state counts
49214+
bySource:
49215+
type: object
49216+
additionalProperties:
49217+
type: object
49218+
additionalProperties:
49219+
type: number
49220+
description: Record type for state counts
49221+
byCoinType:
49222+
type: object
49223+
properties:
49224+
fiat:
49225+
$ref: '#/components/schemas/StateCountRecord'
49226+
crypto:
49227+
$ref: '#/components/schemas/StateCountRecord'
49228+
required:
49229+
- fiat
49230+
- crypto
49231+
required:
49232+
- byState
49233+
- byBitgoOrg
49234+
- byCoinFamily
49235+
- bySource
49236+
- byCoinType
4916149237
PendingApprovalsCountSchema:
4916249238
title: PendingApprovalsCountSchema
4916349239
type: object
@@ -53454,6 +53530,12 @@ components:
5345453530
- page
5345553531
- totalPages
5345653532
- totalElements
53533+
StateCountRecord:
53534+
title: StateCountRecord
53535+
type: object
53536+
additionalProperties:
53537+
type: number
53538+
description: Record type for state counts
5345753539
SteadyPaceOrderParameters:
5345853540
type: object
5345953541
required:

0 commit comments

Comments
 (0)