|
12 | 12 |
|
13 | 13 | **Method**: `POST`
|
14 | 14 |
|
15 |
| -**Expects**: Body: [`VersionedSignedTransaction`](#iroha-structures) |
| 15 | +**Expects**: Body: `VersionedSignedTransaction` |
16 | 16 |
|
17 | 17 | **Responses**:
|
18 | 18 |
|
|
34 | 34 |
|
35 | 35 | **Expects**:
|
36 | 36 |
|
37 |
| -- Body: [`VersionedSignedQuery`](#iroha-structures) |
| 37 | +- Body: `VersionedSignedQuery` |
38 | 38 | - Query parameters:
|
39 | 39 | - `start`: Optional parameter in queries where results can be indexed. Use to return results from specified point.
|
40 | 40 | Results are ordered where can be by id which uses
|
|
45 | 45 |
|
46 | 46 | **Responses**:
|
47 | 47 |
|
48 |
| -| Response | Status | [Body](#iroha-structures) | |
| 48 | +| Response | Status | Body | |
49 | 49 | |-----------------|--------|-----------------------------------------------|
|
50 | 50 | | Signature err. | 401 | `QueryExecutionFailure::Signature(String)` |
|
51 | 51 | | Permission err. | 403 | `QueryExecutionFailure::Permission(String)` |
|
@@ -86,8 +86,7 @@ Whether each prerequisite object was found and `FindError`:
|
86 | 86 |
|
87 | 87 | **Communication**:
|
88 | 88 |
|
89 |
| -After handshake, client should send [`VersionedEventSubscriptionRequest`](#iroha-structures). Then server |
90 |
| -sends [`VersionedEventMessage`](#iroha-structures). |
| 89 | +After handshake, client should send `VersionedEventSubscriptionRequest`. Then server sends `VersionedEventMessage`. |
91 | 90 |
|
92 | 91 | **Notes**:
|
93 | 92 |
|
@@ -130,8 +129,7 @@ _Internal use only._ Returns the transactions pending at the moment.
|
130 | 129 |
|
131 | 130 | **Communication**:
|
132 | 131 |
|
133 |
| -Client should send [`VersionedBlockSubscriptionRequest`](#iroha-structures) to initiate communication after WebSocket |
134 |
| -handshake. Then server sends [`VersionedBlockMessage`](#iroha-structures). |
| 132 | +Client should send `VersionedBlockSubscriptionRequest` to initiate communication after WebSocket handshake. Then server sends `VersionedBlockMessage`. |
135 | 133 |
|
136 | 134 | **Notes**:
|
137 | 135 |
|
@@ -381,17 +379,3 @@ codec's [GitHub repository](https://github.com/paritytech/parity-scale-codec).
|
381 | 379 | ## Reference Iroha Client Implementation
|
382 | 380 |
|
383 | 381 | [Iroha client in Rust.](../../../client)
|
384 |
| - |
385 |
| -## Iroha Structures |
386 |
| - |
387 |
| -| Object name | Fully qualified object name | |
388 |
| -|-------------------------------------|----------------------------------------------------------------| |
389 |
| -| `VersionedSignedTransaction` | `iroha_data_model::transaction::VersionedSignedTransaction` | |
390 |
| -| `VersionedSignedQuery` | `iroha_data_model::query::VersionedSignedQuery` | |
391 |
| -| `VersionedPaginatedQueryResult` | `iroha_data_model::query::VersionedPaginatedQueryResult` | |
392 |
| -| `QueryExecutionFailure` | `iroha_core::smartcontracts::isi::query::Error` | |
393 |
| -| `FindError` | `iroha_core::smartcontracts::isi::error::FindError` | |
394 |
| -| `VersionedBlockSubscriptionRequest` | `iroha_core::block::stream::VersionedBlockSubscriptionRequest` | |
395 |
| -| `VersionedBlockMessage` | `iroha_core::block::stream::VersionedBlockMessage` | |
396 |
| -| `VersionedEventSubscriptionRequest` | `iroha_data_model::events::VersionedEventSubscriptionRequest` | |
397 |
| -| `VersionedEventMessage` | `iroha_data_model::events::VersionedEventMessage` | |
0 commit comments