Skip to content

Commit

Permalink
v1.10.8
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Nov 16, 2024
1 parent b21f675 commit 8b17caa
Show file tree
Hide file tree
Showing 10 changed files with 735 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ docs/ResponsesPrice.md
docs/ResponsesRedelegation.md
docs/ResponsesRollup.md
docs/ResponsesRollupAllSeriesItem.md
docs/ResponsesRollupGroupedStats.md
docs/ResponsesRollupStats24h.md
docs/ResponsesRollupWithDayStats.md
docs/ResponsesRollupWithStats.md
Expand Down Expand Up @@ -120,6 +121,7 @@ model_responses_price.go
model_responses_redelegation.go
model_responses_rollup.go
model_responses_rollup_all_series_item.go
model_responses_rollup_grouped_stats.go
model_responses_rollup_stats24h.go
model_responses_rollup_with_day_stats.go
model_responses_rollup_with_stats.go
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ Class | Method | HTTP request | Description
*RollupAPI* | [**ListRollup**](docs/RollupAPI.md#listrollup) | **Get** /rollup | List rollups info
*RollupAPI* | [**ListRollup24h**](docs/RollupAPI.md#listrollup24h) | **Get** /rollup/day | List rollups info with stats by previous 24 hours
*RollupAPI* | [**RollupExport**](docs/RollupAPI.md#rollupexport) | **Get** /rollup/{id}/export | Export rollup blobs
*RollupAPI* | [**RollupGroupedStatistics**](docs/RollupAPI.md#rollupgroupedstatistics) | **Get** /rollup/group | Rollup Grouped Statistics
*SearchAPI* | [**Search**](docs/SearchAPI.md#search) | **Get** /search | Search by hash
*StatsAPI* | [**Stats24hChanges**](docs/StatsAPI.md#stats24hchanges) | **Get** /stats/changes_24h | Get changes for 24 hours
*StatsAPI* | [**StatsMessagesCount24h**](docs/StatsAPI.md#statsmessagescount24h) | **Get** /stats/messages_count_24h | Get messages distribution for the last 24 hours
Expand Down Expand Up @@ -196,6 +197,7 @@ Class | Method | HTTP request | Description
- [ResponsesRedelegation](docs/ResponsesRedelegation.md)
- [ResponsesRollup](docs/ResponsesRollup.md)
- [ResponsesRollupAllSeriesItem](docs/ResponsesRollupAllSeriesItem.md)
- [ResponsesRollupGroupedStats](docs/ResponsesRollupGroupedStats.md)
- [ResponsesRollupStats24h](docs/ResponsesRollupStats24h.md)
- [ResponsesRollupWithDayStats](docs/ResponsesRollupWithDayStats.md)
- [ResponsesRollupWithStats](docs/ResponsesRollupWithStats.md)
Expand Down
79 changes: 79 additions & 0 deletions api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2309,6 +2309,54 @@ paths:
summary: List rollups info with stats by previous 24 hours
tags:
- rollup
/rollup/group:
get:
description: Rollup Grouped Statistics
operationId: rollup-grouped-statistics
parameters:
- description: Aggregate function
in: query
name: func
schema:
enum:
- sum
- avg
type: string
- description: Group column
in: query
name: column
schema:
enum:
- stack
- type
- category
- vm
- provider
type: string
responses:
"200":
content:
application/json:
schema:
items:
$ref: '#/components/schemas/responses.RollupGroupedStats'
type: array
description: OK
"400":
content:
application/json:
schema:
$ref: '#/components/schemas/handler.Error'
description: Bad Request
"500":
content:
application/json:
schema:
$ref: '#/components/schemas/handler.Error'
description: Internal Server Error
summary: Rollup Grouped Statistics
tags:
- rollup
/rollup/slug/{slug}:
get:
description: Get rollup by slug
Expand Down Expand Up @@ -4889,6 +4937,9 @@ components:
event_type:
- event_type
- event_type
rollup_type:
- rollup_type
- rollup_type
message_type:
- message_type
- message_type
Expand All @@ -4911,6 +4962,10 @@ components:
items:
type: string
type: array
rollup_type:
items:
type: string
type: array
status:
items:
type: string
Expand Down Expand Up @@ -5646,6 +5701,30 @@ components:
format: date-time
type: string
type: object
responses.RollupGroupedStats:
example:
blobs_count: 2
size: 1000
fee: "123.456789"
group: group
properties:
blobs_count:
example: 2
format: integer
type: integer
fee:
example: "123.456789"
format: string
type: string
group:
example: group
format: string
type: string
size:
example: 1000
format: integer
type: integer
type: object
responses.RollupStats24h:
example:
blobs_count: 123
Expand Down
140 changes: 140 additions & 0 deletions api_rollup.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 26 additions & 0 deletions docs/ResponsesEnums.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Name | Type | Description | Notes
**Categories** | Pointer to **[]string** | | [optional]
**EventType** | Pointer to **[]string** | | [optional]
**MessageType** | Pointer to **[]string** | | [optional]
**RollupType** | Pointer to **[]string** | | [optional]
**Status** | Pointer to **[]string** | | [optional]

## Methods
Expand Down Expand Up @@ -103,6 +104,31 @@ SetMessageType sets MessageType field to given value.

HasMessageType returns a boolean if a field has been set.

### GetRollupType

`func (o *ResponsesEnums) GetRollupType() []string`

GetRollupType returns the RollupType field if non-nil, zero value otherwise.

### GetRollupTypeOk

`func (o *ResponsesEnums) GetRollupTypeOk() (*[]string, bool)`

GetRollupTypeOk returns a tuple with the RollupType field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetRollupType

`func (o *ResponsesEnums) SetRollupType(v []string)`

SetRollupType sets RollupType field to given value.

### HasRollupType

`func (o *ResponsesEnums) HasRollupType() bool`

HasRollupType returns a boolean if a field has been set.

### GetStatus

`func (o *ResponsesEnums) GetStatus() []string`
Expand Down
Loading

0 comments on commit 8b17caa

Please sign in to comment.