Skip to content

Commit

Permalink
chore: remove get all rollapps and get ibc demand orders by status (#904
Browse files Browse the repository at this point in the history
)
  • Loading branch information
hoangdv2429 authored May 29, 2024
1 parent 57eca21 commit 35f5845
Showing 1 changed file with 0 additions and 324 deletions.
324 changes: 0 additions & 324 deletions docs/static/openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -732,118 +732,6 @@ paths:
type: string
tags:
- Query
/dymensionxyz/dymension/eibc/demand_orders/{status}:
get:
summary: Queries a list of demand orders by status.
operationId: DemandOrdersByStatus
responses:
'200':
description: A successful response.
schema:
type: object
properties:
demand_orders:
type: array
items:
type: object
properties:
id:
type: string
title: >-
id is a hash of the form generated by
GetRollappPacketKey,

e.g
status/rollappid/packetProofHeight/packetDestinationChannel-PacketSequence
which gurantees uniqueness
tracking_packet_key:
type: string
description: >-
tracking_packet_key is the key of the packet that is
being tracked.

This key can change depends on the packet status.
price:
type: array
items:
type: object
properties:
denom:
type: string
amount:
type: string
description: >-
Coin defines a token with a denomination and an
amount.


NOTE: The amount field is an Int which implements the
custom method

signatures required by gogoproto.
fee:
type: array
items:
type: object
properties:
denom:
type: string
amount:
type: string
description: >-
Coin defines a token with a denomination and an
amount.


NOTE: The amount field is an Int which implements the
custom method

signatures required by gogoproto.
recipient:
type: string
is_fulfilled:
type: boolean
tracking_packet_status:
type: string
enum:
- PENDING
- FINALIZED
- REVERTED
default: PENDING
title: A list of demand orders with the given status
description: >-
QueryDemandOrdersByStatusResponse is the response type for the
Query/GetDemandOrdersByStatus RPC method.
default:
description: An unexpected error response.
schema:
type: object
properties:
error:
type: string
code:
type: integer
format: int32
message:
type: string
details:
type: array
items:
type: object
properties:
type_url:
type: string
value:
type: string
format: byte
parameters:
- name: status
description: id of the demand order to get
in: path
required: true
type: string
tags:
- Query
/dymensionxyz/dymension/eibc/params:
get:
summary: Parameters queries the parameters of the module.
Expand Down Expand Up @@ -1390,218 +1278,6 @@ paths:
format: byte
tags:
- Query
/dymensionxyz/dymension/rollapp/rollapp:
get:
summary: Queries a list of Rollapp items.
operationId: RollappAll
responses:
'200':
description: A successful response.
schema:
type: object
properties:
rollapp:
type: array
items:
type: object
properties:
rollappId:
type: string
description: >-
The unique identifier of the rollapp chain.

The rollappId follows the same standard as cosmos
chain_id.
latestStateIndex:
type: object
properties:
rollappId:
type: string
title: >-
rollappId is the rollapp that the sequencer belongs
to and asking to update

it used to identify the what rollapp a StateInfo
belongs

The rollappId follows the same standard as cosmos
chain_id
index:
type: string
format: uint64
title: >-
index is a sequential increasing number, updating on
each

state update used for indexing to a specific state
info, the first index is 1
title: >-
StateInfoIndex is the data used for indexing and
retrieving a StateInfo

it updated and saved with every UpdateState in
StateInfo.

We use the this structure also for:

1. LatestStateInfoIndex which defines the rollapps'
current (latest) index of the last UpdateState

2. LatestFinalizedStateIndex which defines the rollapps'
current (latest) index of the latest StateInfo that was
finalized
description: Defines the index of the last rollapp UpdateState.
latestFinalizedStateIndex:
type: object
properties:
rollappId:
type: string
title: >-
rollappId is the rollapp that the sequencer belongs
to and asking to update

it used to identify the what rollapp a StateInfo
belongs

The rollappId follows the same standard as cosmos
chain_id
index:
type: string
format: uint64
title: >-
index is a sequential increasing number, updating on
each

state update used for indexing to a specific state
info, the first index is 1
title: >-
StateInfoIndex is the data used for indexing and
retrieving a StateInfo

it updated and saved with every UpdateState in
StateInfo.

We use the this structure also for:

1. LatestStateInfoIndex which defines the rollapps'
current (latest) index of the last UpdateState

2. LatestFinalizedStateIndex which defines the rollapps'
current (latest) index of the latest StateInfo that was
finalized
description: >-
Defines the index of the last rollapp UpdateState that
was finalized.
title: Rollapp summary is a compact representation of Rollapp
pagination:
type: object
properties:
next_key:
type: string
format: byte
description: |-
next_key is the key to be passed to PageRequest.key to
query the next page most efficiently. It will be empty if
there are no more results.
total:
type: string
format: uint64
title: >-
total is total number of results available if
PageRequest.count_total

was set, its value is undefined otherwise
description: >-
PageResponse is to be embedded in gRPC response messages where
the

corresponding request message has used PageRequest.

message SomeResponse {
repeated Bar results = 1;
PageResponse page = 2;
}
default:
description: An unexpected error response.
schema:
type: object
properties:
error:
type: string
code:
type: integer
format: int32
message:
type: string
details:
type: array
items:
type: object
properties:
type_url:
type: string
value:
type: string
format: byte
parameters:
- name: pagination.key
description: |-
key is a value returned in PageResponse.next_key to begin
querying the next page most efficiently. Only one of offset or key
should be set.
in: query
required: false
type: string
format: byte
- name: pagination.offset
description: >-
offset is a numeric offset that can be used when key is unavailable.

It is less efficient than using key. Only one of offset or key
should

be set.
in: query
required: false
type: string
format: uint64
- name: pagination.limit
description: >-
limit is the total number of results to be returned in the result
page.

If left empty it will default to a value to be set by each app.
in: query
required: false
type: string
format: uint64
- name: pagination.count_total
description: >-
count_total is set to true to indicate that the result set should
include

a count of the total number of items available for pagination in
UIs.

count_total is only respected when offset is used. It is ignored
when key

is set.
in: query
required: false
type: boolean
- name: pagination.reverse
description: >-
reverse is set to true if results are to be returned in the
descending order.


Since: cosmos-sdk 0.43
in: query
required: false
type: boolean
tags:
- Query
/dymensionxyz/dymension/rollapp/rollapp/{rollappId}:
get:
summary: Queries a Rollapp by index.
Expand Down

0 comments on commit 35f5845

Please sign in to comment.