Skip to content

Commit cf032cf

Browse files
committed
v1.11.3
1 parent 1cd7a33 commit cf032cf

File tree

12 files changed

+598
-896
lines changed

12 files changed

+598
-896
lines changed

.openapi-generator/FILES

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ docs/ResponsesNamespaceMessage.md
5252
docs/ResponsesNamespaceUsage.md
5353
docs/ResponsesODS.md
5454
docs/ResponsesODSItem.md
55-
docs/ResponsesPrice.md
5655
docs/ResponsesRedelegation.md
5756
docs/ResponsesRollup.md
5857
docs/ResponsesRollupAllSeriesItem.md
@@ -67,6 +66,7 @@ docs/ResponsesShortAddress.md
6766
docs/ResponsesShortRollup.md
6867
docs/ResponsesShortValidator.md
6968
docs/ResponsesSignedBlocks.md
69+
docs/ResponsesSizeGroup.md
7070
docs/ResponsesState.md
7171
docs/ResponsesTPS.md
7272
docs/ResponsesTimeValueItem.md
@@ -121,7 +121,6 @@ model_responses_namespace_message.go
121121
model_responses_namespace_usage.go
122122
model_responses_ods.go
123123
model_responses_ods_item.go
124-
model_responses_price.go
125124
model_responses_redelegation.go
126125
model_responses_rollup.go
127126
model_responses_rollup_all_series_item.go
@@ -136,6 +135,7 @@ model_responses_short_address.go
136135
model_responses_short_rollup.go
137136
model_responses_short_validator.go
138137
model_responses_signed_blocks.go
138+
model_responses_size_group.go
139139
model_responses_state.go
140140
model_responses_time_value_item.go
141141
model_responses_tps.go

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,11 +136,10 @@ Class | Method | HTTP request | Description
136136
*StatsAPI* | [**StatsMessagesCount24h**](docs/StatsAPI.md#statsmessagescount24h) | **Get** /stats/messages_count_24h | Get messages distribution for the last 24 hours
137137
*StatsAPI* | [**StatsNamespaceUsage**](docs/StatsAPI.md#statsnamespaceusage) | **Get** /stats/namespace/usage | Get namespaces with sorting by size.
138138
*StatsAPI* | [**StatsNsSeries**](docs/StatsAPI.md#statsnsseries) | **Get** /stats/namespace/series/{id}/{name}/{timeframe} | Get histogram for namespace with precomputed stats
139-
*StatsAPI* | [**StatsPriceCurrent**](docs/StatsAPI.md#statspricecurrent) | **Get** /stats/price/current | Get current TIA price
140-
*StatsAPI* | [**StatsPriceSeries**](docs/StatsAPI.md#statspriceseries) | **Get** /stats/price/series/{timeframe} | Get histogram with TIA price
141139
*StatsAPI* | [**StatsRollup24h**](docs/StatsAPI.md#statsrollup24h) | **Get** /stats/rollup_stats_24h | Get rollups stats for last 24 hours
142140
*StatsAPI* | [**StatsSeries**](docs/StatsAPI.md#statsseries) | **Get** /stats/series/{name}/{timeframe} | Get histogram with precomputed stats
143141
*StatsAPI* | [**StatsSeriesCumulative**](docs/StatsAPI.md#statsseriescumulative) | **Get** /stats/series/{name}/{timeframe}/cumulative | Get cumulative histogram with precomputed stats
142+
*StatsAPI* | [**StatsSizeGroups**](docs/StatsAPI.md#statssizegroups) | **Get** /stats/size_groups | Get blobs count grouped by size
144143
*StatsAPI* | [**StatsSquareSize**](docs/StatsAPI.md#statssquaresize) | **Get** /stats/square_size | Get histogram for square size distribution
145144
*StatsAPI* | [**StatsStakingSeries**](docs/StatsAPI.md#statsstakingseries) | **Get** /stats/staking/series/{id}/{name}/{timeframe} | Get histogram for staking with precomputed stats
146145
*StatsAPI* | [**StatsSummary**](docs/StatsAPI.md#statssummary) | **Get** /stats/summary/{table}/{function} | Get value by table and function
@@ -195,7 +194,6 @@ Class | Method | HTTP request | Description
195194
- [ResponsesNamespaceUsage](docs/ResponsesNamespaceUsage.md)
196195
- [ResponsesODS](docs/ResponsesODS.md)
197196
- [ResponsesODSItem](docs/ResponsesODSItem.md)
198-
- [ResponsesPrice](docs/ResponsesPrice.md)
199197
- [ResponsesRedelegation](docs/ResponsesRedelegation.md)
200198
- [ResponsesRollup](docs/ResponsesRollup.md)
201199
- [ResponsesRollupAllSeriesItem](docs/ResponsesRollupAllSeriesItem.md)
@@ -210,6 +208,7 @@ Class | Method | HTTP request | Description
210208
- [ResponsesShortRollup](docs/ResponsesShortRollup.md)
211209
- [ResponsesShortValidator](docs/ResponsesShortValidator.md)
212210
- [ResponsesSignedBlocks](docs/ResponsesSignedBlocks.md)
211+
- [ResponsesSizeGroup](docs/ResponsesSizeGroup.md)
213212
- [ResponsesState](docs/ResponsesState.md)
214213
- [ResponsesTPS](docs/ResponsesTPS.md)
215214
- [ResponsesTimeValueItem](docs/ResponsesTimeValueItem.md)

api/openapi.yaml

Lines changed: 66 additions & 104 deletions
Original file line numberDiff line numberDiff line change
@@ -2255,6 +2255,16 @@ paths:
22552255
name: tags
22562256
schema:
22572257
type: string
2258+
- description: Comma-separated rollup stack list
2259+
in: query
2260+
name: stack
2261+
schema:
2262+
type: string
2263+
- description: Comma-separated rollup provider list
2264+
in: query
2265+
name: provider
2266+
schema:
2267+
type: string
22582268
responses:
22592269
"200":
22602270
content:
@@ -2347,6 +2357,16 @@ paths:
23472357
name: tags
23482358
schema:
23492359
type: string
2360+
- description: Comma-separated rollup stack list
2361+
in: query
2362+
name: stack
2363+
schema:
2364+
type: string
2365+
- description: Comma-separated rollup provider list
2366+
in: query
2367+
name: provider
2368+
schema:
2369+
type: string
23502370
responses:
23512371
"200":
23522372
content:
@@ -3019,81 +3039,6 @@ paths:
30193039
summary: Get namespaces with sorting by size.
30203040
tags:
30213041
- stats
3022-
/stats/price/current:
3023-
get:
3024-
description: Get current TIA price
3025-
operationId: stats-price-current
3026-
responses:
3027-
"200":
3028-
content:
3029-
application/json:
3030-
schema:
3031-
$ref: '#/components/schemas/responses.Price'
3032-
description: OK
3033-
"400":
3034-
content:
3035-
application/json:
3036-
schema:
3037-
$ref: '#/components/schemas/handler.Error'
3038-
description: Bad Request
3039-
"500":
3040-
content:
3041-
application/json:
3042-
schema:
3043-
$ref: '#/components/schemas/handler.Error'
3044-
description: Internal Server Error
3045-
summary: Get current TIA price
3046-
tags:
3047-
- stats
3048-
/stats/price/series/{timeframe}:
3049-
get:
3050-
description: Get histogram with TIA price
3051-
operationId: stats-price-series
3052-
parameters:
3053-
- description: Timeframe
3054-
in: path
3055-
name: timeframe
3056-
required: true
3057-
schema:
3058-
enum:
3059-
- 1m
3060-
- 1h
3061-
- 1d
3062-
type: string
3063-
- description: Time from in unix timestamp
3064-
in: query
3065-
name: from
3066-
schema:
3067-
type: integer
3068-
- description: Time to in unix timestamp
3069-
in: query
3070-
name: to
3071-
schema:
3072-
type: integer
3073-
responses:
3074-
"200":
3075-
content:
3076-
application/json:
3077-
schema:
3078-
items:
3079-
$ref: '#/components/schemas/responses.Price'
3080-
type: array
3081-
description: OK
3082-
"400":
3083-
content:
3084-
application/json:
3085-
schema:
3086-
$ref: '#/components/schemas/handler.Error'
3087-
description: Bad Request
3088-
"500":
3089-
content:
3090-
application/json:
3091-
schema:
3092-
$ref: '#/components/schemas/handler.Error'
3093-
description: Internal Server Error
3094-
summary: Get histogram with TIA price
3095-
tags:
3096-
- stats
30973042
/stats/rollup_stats_24h:
30983043
get:
30993044
description: Get rollups stats for last 24 hours
@@ -3263,6 +3208,28 @@ paths:
32633208
summary: Get cumulative histogram with precomputed stats
32643209
tags:
32653210
- stats
3211+
/stats/size_groups:
3212+
get:
3213+
description: Get blobs count grouped by size
3214+
operationId: stats-size-groups
3215+
responses:
3216+
"200":
3217+
content:
3218+
application/json:
3219+
schema:
3220+
items:
3221+
$ref: '#/components/schemas/responses.SizeGroup'
3222+
type: array
3223+
description: OK
3224+
"500":
3225+
content:
3226+
application/json:
3227+
schema:
3228+
$ref: '#/components/schemas/handler.Error'
3229+
description: Internal Server Error
3230+
summary: Get blobs count grouped by size
3231+
tags:
3232+
- stats
32663233
/stats/square_size:
32673234
get:
32683235
description: Get histogram for square size distribution
@@ -5664,35 +5631,6 @@ components:
56645631
additionalProperties:
56655632
type: string
56665633
type: object
5667-
responses.Price:
5668-
example:
5669-
high: "0.17632"
5670-
low: "0.17632"
5671-
time: 2023-07-04T03:10:57Z
5672-
close: "0.17632"
5673-
open: "0.17632"
5674-
properties:
5675-
close:
5676-
example: "0.17632"
5677-
format: string
5678-
type: string
5679-
high:
5680-
example: "0.17632"
5681-
format: string
5682-
type: string
5683-
low:
5684-
example: "0.17632"
5685-
format: string
5686-
type: string
5687-
open:
5688-
example: "0.17632"
5689-
format: string
5690-
type: string
5691-
time:
5692-
example: 2023-07-04T03:10:57Z
5693-
format: date-time
5694-
type: string
5695-
type: object
56965634
responses.Redelegation:
56975635
example:
56985636
amount: "0.1"
@@ -6356,6 +6294,30 @@ components:
63566294
example: true
63576295
type: boolean
63586296
type: object
6297+
responses.SizeGroup:
6298+
example:
6299+
size: 123
6300+
count: 123
6301+
name: Rollup name
6302+
avg_size: 123
6303+
properties:
6304+
avg_size:
6305+
example: 123
6306+
format: integer
6307+
type: integer
6308+
count:
6309+
example: 123
6310+
format: integer
6311+
type: integer
6312+
name:
6313+
example: Rollup name
6314+
format: string
6315+
type: string
6316+
size:
6317+
example: 123
6318+
format: integer
6319+
type: integer
6320+
type: object
63596321
responses.SquareSizeResponse:
63606322
additionalProperties:
63616323
items:

api_rollup.go

Lines changed: 40 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)