Skip to content

Commit

Permalink
api: specify inclusive min/max filters
Browse files Browse the repository at this point in the history
  • Loading branch information
pro-wh committed Oct 21, 2022
1 parent 288ea4d commit e9e199c
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions api/spec/v1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -120,28 +120,28 @@ paths:
schema:
type: integer
format: int64
description: A filter on minimum block height.
description: A filter on minimum block height, inclusive.
example: *block_height_1
- in: query
name: to
schema:
type: integer
format: int64
description: A filter on maximum block height.
description: A filter on maximum block height, inclusive.
example: *block_height_2
- in: query
name: after
schema:
type: string
format: date-time
description: A filter on minimum block time.
description: A filter on minimum block time, inclusive.
example: *iso_timestamp_1
- in: query
name: before
schema:
type: string
format: date-time
description: A filter on maximum block time.
description: A filter on maximum block time, inclusive.
example: *iso_timestamp_2
responses:
'200':
Expand Down Expand Up @@ -214,14 +214,14 @@ paths:
schema:
type: integer
format: int64
description: A filter on minimum transaction fee.
description: A filter on minimum transaction fee, inclusive.
example: 1000
- in: query
name: maxFee
schema:
type: integer
format: int64
description: A filter on maximum transaction fee.
description: A filter on maximum transaction fee, inclusive.
example: 10000
- in: query
name: code
Expand Down Expand Up @@ -726,28 +726,28 @@ paths:
schema:
type: integer
format: int64
description: A filter on minimum block height.
description: A filter on minimum block height, inclusive.
example: *block_height_1
- in: query
name: to
schema:
type: integer
format: int64
description: A filter on maximum block height.
description: A filter on maximum block height, inclusive.
example: *block_height_2
- in: query
name: after
schema:
type: string
format: date-time
description: A filter on minimum block time.
description: A filter on minimum block time, inclusive.
example: *iso_timestamp_1
- in: query
name: before
schema:
type: string
format: date-time
description: A filter on maximum block time.
description: A filter on maximum block time, inclusive.
example: *iso_timestamp_2
responses:
'200':
Expand Down

0 comments on commit e9e199c

Please sign in to comment.