Skip to content

Commit 6ee0880

Browse files
authored
Merge pull request #281 from BitGo/update-bitgo-api-docs
Update API reference on BitGo Developer Portal
2 parents e9dd4a1 + d1a4d35 commit 6ee0880

File tree

1 file changed

+33
-1
lines changed

1 file changed

+33
-1
lines changed

api.yaml

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24984,6 +24984,7 @@ paths:
2498424984
- $ref: '#/components/schemas/SomiUnStakingRequestPOSTBody'
2498524985
- $ref: '#/components/schemas/SomiClaimRewardsRequestPOSTBody'
2498624986
- $ref: '#/components/schemas/SomiSwitchValidatorsRequestPOSTBody'
24987+
- $ref: '#/components/schemas/StoryUnStakingRequestPOSTBody'
2498724988
- $ref: '#/components/schemas/StxStakingRequestPOSTBody'
2498824989
- $ref: '#/components/schemas/StxUnStakingRequestPOSTBody'
2498924990
- $ref: '#/components/schemas/SuiStakingRequestPOSTBody'
@@ -25161,6 +25162,8 @@ paths:
2516125162
$ref: '#/components/examples/SomiClaimRewardsRequestPOSTBodyExample'
2516225163
SomiSwitchValidatorRequestPOSTBodyExample:
2516325164
$ref: '#/components/examples/SomiSwitchValidatorRequestPOSTBodyExample'
25165+
StoryUnStakingRequestPOSTBodyExample:
25166+
$ref: '#/components/examples/StoryUnStakingRequestPOSTBodyExample'
2516425167
StxStakingRequestPOSTBodyExample:
2516525168
$ref: '#/components/examples/StxStakingRequestPOSTBodyExample'
2516625169
StxUnStakingRequestPOSTBodyExample:
@@ -25331,6 +25334,8 @@ paths:
2533125334
$ref: '#/components/examples/SomiStakingRequestWithoutDelegationsExample'
2533225335
SomiUnStakingRequestWithoutDelegationsExample:
2533325336
$ref: '#/components/examples/SomiUnStakingRequestWithoutDelegationsExample'
25337+
StoryUnStakingRequestWithoutDelegationsExample:
25338+
$ref: '#/components/examples/StoryUnStakingRequestWithoutDelegationsExample'
2533425339
StxStakingRequestWithoutDelegationsExample:
2533525340
$ref: '#/components/examples/StxStakingRequestWithoutDelegationsExample'
2533625341
StxUnStakingRequestWithoutDelegationsExample:
@@ -40230,6 +40235,29 @@ components:
4023040235
createdDate: 2025-11-06T14:00:00.000Z
4023140236
amount: '1536000000000000000000'
4023240237
validatorAddress: '0x03a2911a2ad7158b2fe68550cfc77c608974363db76d7a368cb1ee8bbdb2d76062'
40238+
StoryUnStakingRequestPOSTBodyExample:
40239+
summary: Story Protocol UnStaking Request POST Body Example
40240+
value:
40241+
clientId: d055adbc-66a3-4ccd-9a9d-726a05bca0cf
40242+
delegationId: e0225adbc-66a3-4ccd-9a9d-726a05bca0cf
40243+
type: UNSTAKE
40244+
amount: '512000000000000000000'
40245+
StoryUnStakingRequestWithoutDelegationsExample:
40246+
summary: Story Protocol UnStaking Request Example
40247+
value:
40248+
id: f155adbc-66a3-4ccd-9a9d-726a05bca0cf
40249+
clientId: g154adbc-26a3-4acd-8a9d-726a05bca0dr
40250+
requestingUserId: 6092e75c451052000636831deb797bd1
40251+
type: UNSTAKE
40252+
enterpriseId: 61c0ff41174c4e0007ae78b2a0bea1ec
40253+
walletId: 63110fc78b108e00071df2d3c3879dd0
40254+
walletType: hot
40255+
withdrawalAddress: '0xf5b9becc5e7e68173a5fc1906a2a5574e884da40'
40256+
coin: tip
40257+
status: COOLDOWN
40258+
statusModifiedDate: 2025-11-06T15:00:00.000Z
40259+
createdDate: 2025-11-06T15:00:00.000Z
40260+
amount: '512000000000000000000'
4023340261
StxStakingRequestPOSTBodyExample:
4023440262
summary: STX Staking Request POST Body Example
4023540263
value:
@@ -63970,7 +63998,6 @@ components:
6397063998
price:
6397163999
type: string
6397264000
format: decimal
63973-
description: Filled price per unit. Calculated using unrounded filled quantities
6397464001
quoteQuantity:
6397564002
type: string
6397664003
format: decimal
@@ -68405,6 +68432,11 @@ components:
6840568432
description: BLS public key of the validator to delegate to.
6840668433
required:
6840768434
- validatorAddress
68435+
StoryUnStakingRequestPOSTBody:
68436+
title: STORY unstake
68437+
allOf:
68438+
- $ref: '#/components/schemas/UnStakingRequestPOSTBodyWithAmount'
68439+
type: object
6840868440
StxDelegationProperties:
6840968441
title: STX Delegation Properties
6841068442
allOf:

0 commit comments

Comments
 (0)