Skip to content

Commit 65a0229

Browse files
committed
v1.17.2
1 parent 337a1fc commit 65a0229

File tree

9 files changed

+592
-63
lines changed

9 files changed

+592
-63
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@ Class | Method | HTTP request | Description
155155
*RollupAPI* | [**RollupExport**](docs/RollupAPI.md#rollupexport) | **Get** /rollup/{id}/export | Export rollup blobs
156156
*RollupAPI* | [**RollupGroupedStatistics**](docs/RollupAPI.md#rollupgroupedstatistics) | **Get** /rollup/group | Rollup Grouped Statistics
157157
*SearchAPI* | [**Search**](docs/SearchAPI.md#search) | **Get** /search | Search by hash
158+
*SignalAPI* | [**GetUpgrade**](docs/SignalAPI.md#getupgrade) | **Get** /signal/upgrade/{version} | Get upgrade by version
158159
*SignalAPI* | [**ListSignal**](docs/SignalAPI.md#listsignal) | **Get** /signal | List signals
159160
*SignalAPI* | [**ListUpgrades**](docs/SignalAPI.md#listupgrades) | **Get** /signal/upgrade | List upgrades
160161
*StatsAPI* | [**Stats24hChanges**](docs/StatsAPI.md#stats24hchanges) | **Get** /stats/changes_24h | Get changes for 24 hours

api/openapi.yaml

Lines changed: 62 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4333,6 +4333,39 @@ paths:
43334333
summary: List upgrades
43344334
tags:
43354335
- signal
4336+
/signal/upgrade/{version}:
4337+
get:
4338+
description: Get upgrade by version
4339+
operationId: get-upgrade
4340+
parameters:
4341+
- description: Upgrade version
4342+
in: path
4343+
name: version
4344+
required: true
4345+
schema:
4346+
type: integer
4347+
responses:
4348+
"200":
4349+
content:
4350+
application/json:
4351+
schema:
4352+
$ref: "#/components/schemas/responses.Upgrade"
4353+
description: OK
4354+
"400":
4355+
content:
4356+
application/json:
4357+
schema:
4358+
$ref: "#/components/schemas/handler.Error"
4359+
description: Bad Request
4360+
"500":
4361+
content:
4362+
application/json:
4363+
schema:
4364+
$ref: "#/components/schemas/handler.Error"
4365+
description: Internal Server Error
4366+
summary: Get upgrade by version
4367+
tags:
4368+
- signal
43364369
/stats/changes_24h:
43374370
get:
43384371
description: Get changes for 24 hours
@@ -5892,6 +5925,11 @@ paths:
58925925
name: jailed
58935926
schema:
58945927
type: boolean
5928+
- description: Current validator app version
5929+
in: query
5930+
name: version
5931+
schema:
5932+
type: integer
58955933
responses:
58965934
"200":
58975935
content:
@@ -10263,8 +10301,11 @@ components:
1026310301
type: object
1026410302
responses.Upgrade:
1026510303
example:
10304+
signals_count: 2
10305+
end_height: 100
10306+
voted_power: "9348"
10307+
end_time: 2025-07-04T03:10:57Z
1026610308
tx_hash: 652452A670018D629CC116E510BA88C1CABE061336661B1F3D206D248BD558AF
10267-
id: 321
1026810309
time: 2025-07-04T03:10:57Z
1026910310
msg_id: 2
1027010311
version: 1
@@ -10276,19 +10317,28 @@ components:
1027610317
primary: true
1027710318
status: VERIFIED
1027810319
hash: celestia1jc92qdnty48pafummfr8ava2tjtuhfdw774w60
10320+
voting_power: "9348"
1027910321
properties:
10280-
height:
10322+
end_height:
1028110323
example: 100
1028210324
format: int64
1028310325
type: integer
10284-
id:
10285-
example: 321
10326+
end_time:
10327+
example: 2025-07-04T03:10:57Z
10328+
format: date-time
10329+
type: string
10330+
height:
10331+
example: 100
1028610332
format: int64
1028710333
type: integer
1028810334
msg_id:
1028910335
example: 2
1029010336
format: int64
1029110337
type: integer
10338+
signals_count:
10339+
example: 2
10340+
format: int64
10341+
type: integer
1029210342
signer:
1029310343
$ref: "#/components/schemas/responses.ShortAddress"
1029410344
time:
@@ -10303,6 +10353,14 @@ components:
1030310353
example: 1
1030410354
format: int64
1030510355
type: integer
10356+
voted_power:
10357+
example: "9348"
10358+
format: int64
10359+
type: string
10360+
voting_power:
10361+
example: "9348"
10362+
format: int64
10363+
type: string
1030610364
type: object
1030710365
responses.Validator:
1030810366
example:

api_signal.go

Lines changed: 125 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api_validator.go

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)