Skip to content

Commit 8b17caa

Browse files
committed
v1.10.8
1 parent b21f675 commit 8b17caa

File tree

10 files changed

+735
-0
lines changed

10 files changed

+735
-0
lines changed

.openapi-generator/FILES

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ docs/ResponsesPrice.md
5555
docs/ResponsesRedelegation.md
5656
docs/ResponsesRollup.md
5757
docs/ResponsesRollupAllSeriesItem.md
58+
docs/ResponsesRollupGroupedStats.md
5859
docs/ResponsesRollupStats24h.md
5960
docs/ResponsesRollupWithDayStats.md
6061
docs/ResponsesRollupWithStats.md
@@ -120,6 +121,7 @@ model_responses_price.go
120121
model_responses_redelegation.go
121122
model_responses_rollup.go
122123
model_responses_rollup_all_series_item.go
124+
model_responses_rollup_grouped_stats.go
123125
model_responses_rollup_stats24h.go
124126
model_responses_rollup_with_day_stats.go
125127
model_responses_rollup_with_stats.go

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ Class | Method | HTTP request | Description
129129
*RollupAPI* | [**ListRollup**](docs/RollupAPI.md#listrollup) | **Get** /rollup | List rollups info
130130
*RollupAPI* | [**ListRollup24h**](docs/RollupAPI.md#listrollup24h) | **Get** /rollup/day | List rollups info with stats by previous 24 hours
131131
*RollupAPI* | [**RollupExport**](docs/RollupAPI.md#rollupexport) | **Get** /rollup/{id}/export | Export rollup blobs
132+
*RollupAPI* | [**RollupGroupedStatistics**](docs/RollupAPI.md#rollupgroupedstatistics) | **Get** /rollup/group | Rollup Grouped Statistics
132133
*SearchAPI* | [**Search**](docs/SearchAPI.md#search) | **Get** /search | Search by hash
133134
*StatsAPI* | [**Stats24hChanges**](docs/StatsAPI.md#stats24hchanges) | **Get** /stats/changes_24h | Get changes for 24 hours
134135
*StatsAPI* | [**StatsMessagesCount24h**](docs/StatsAPI.md#statsmessagescount24h) | **Get** /stats/messages_count_24h | Get messages distribution for the last 24 hours
@@ -196,6 +197,7 @@ Class | Method | HTTP request | Description
196197
- [ResponsesRedelegation](docs/ResponsesRedelegation.md)
197198
- [ResponsesRollup](docs/ResponsesRollup.md)
198199
- [ResponsesRollupAllSeriesItem](docs/ResponsesRollupAllSeriesItem.md)
200+
- [ResponsesRollupGroupedStats](docs/ResponsesRollupGroupedStats.md)
199201
- [ResponsesRollupStats24h](docs/ResponsesRollupStats24h.md)
200202
- [ResponsesRollupWithDayStats](docs/ResponsesRollupWithDayStats.md)
201203
- [ResponsesRollupWithStats](docs/ResponsesRollupWithStats.md)

api/openapi.yaml

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2309,6 +2309,54 @@ paths:
23092309
summary: List rollups info with stats by previous 24 hours
23102310
tags:
23112311
- rollup
2312+
/rollup/group:
2313+
get:
2314+
description: Rollup Grouped Statistics
2315+
operationId: rollup-grouped-statistics
2316+
parameters:
2317+
- description: Aggregate function
2318+
in: query
2319+
name: func
2320+
schema:
2321+
enum:
2322+
- sum
2323+
- avg
2324+
type: string
2325+
- description: Group column
2326+
in: query
2327+
name: column
2328+
schema:
2329+
enum:
2330+
- stack
2331+
- type
2332+
- category
2333+
- vm
2334+
- provider
2335+
type: string
2336+
responses:
2337+
"200":
2338+
content:
2339+
application/json:
2340+
schema:
2341+
items:
2342+
$ref: '#/components/schemas/responses.RollupGroupedStats'
2343+
type: array
2344+
description: OK
2345+
"400":
2346+
content:
2347+
application/json:
2348+
schema:
2349+
$ref: '#/components/schemas/handler.Error'
2350+
description: Bad Request
2351+
"500":
2352+
content:
2353+
application/json:
2354+
schema:
2355+
$ref: '#/components/schemas/handler.Error'
2356+
description: Internal Server Error
2357+
summary: Rollup Grouped Statistics
2358+
tags:
2359+
- rollup
23122360
/rollup/slug/{slug}:
23132361
get:
23142362
description: Get rollup by slug
@@ -4889,6 +4937,9 @@ components:
48894937
event_type:
48904938
- event_type
48914939
- event_type
4940+
rollup_type:
4941+
- rollup_type
4942+
- rollup_type
48924943
message_type:
48934944
- message_type
48944945
- message_type
@@ -4911,6 +4962,10 @@ components:
49114962
items:
49124963
type: string
49134964
type: array
4965+
rollup_type:
4966+
items:
4967+
type: string
4968+
type: array
49144969
status:
49154970
items:
49164971
type: string
@@ -5646,6 +5701,30 @@ components:
56465701
format: date-time
56475702
type: string
56485703
type: object
5704+
responses.RollupGroupedStats:
5705+
example:
5706+
blobs_count: 2
5707+
size: 1000
5708+
fee: "123.456789"
5709+
group: group
5710+
properties:
5711+
blobs_count:
5712+
example: 2
5713+
format: integer
5714+
type: integer
5715+
fee:
5716+
example: "123.456789"
5717+
format: string
5718+
type: string
5719+
group:
5720+
example: group
5721+
format: string
5722+
type: string
5723+
size:
5724+
example: 1000
5725+
format: integer
5726+
type: integer
5727+
type: object
56495728
responses.RollupStats24h:
56505729
example:
56515730
blobs_count: 123

api_rollup.go

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

docs/ResponsesEnums.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
77
**Categories** | Pointer to **[]string** | | [optional]
88
**EventType** | Pointer to **[]string** | | [optional]
99
**MessageType** | Pointer to **[]string** | | [optional]
10+
**RollupType** | Pointer to **[]string** | | [optional]
1011
**Status** | Pointer to **[]string** | | [optional]
1112

1213
## Methods
@@ -103,6 +104,31 @@ SetMessageType sets MessageType field to given value.
103104

104105
HasMessageType returns a boolean if a field has been set.
105106

107+
### GetRollupType
108+
109+
`func (o *ResponsesEnums) GetRollupType() []string`
110+
111+
GetRollupType returns the RollupType field if non-nil, zero value otherwise.
112+
113+
### GetRollupTypeOk
114+
115+
`func (o *ResponsesEnums) GetRollupTypeOk() (*[]string, bool)`
116+
117+
GetRollupTypeOk returns a tuple with the RollupType field if it's non-nil, zero value otherwise
118+
and a boolean to check if the value has been set.
119+
120+
### SetRollupType
121+
122+
`func (o *ResponsesEnums) SetRollupType(v []string)`
123+
124+
SetRollupType sets RollupType field to given value.
125+
126+
### HasRollupType
127+
128+
`func (o *ResponsesEnums) HasRollupType() bool`
129+
130+
HasRollupType returns a boolean if a field has been set.
131+
106132
### GetStatus
107133

108134
`func (o *ResponsesEnums) GetStatus() []string`

0 commit comments

Comments
 (0)