Skip to content

Commit b26dab7

Browse files
0x009922quacumque
and
quacumque
authored
docs(torii): update config endpoints (#517)
docs: update config endpoints Signed-off-by: quacumque <[email protected]> Co-authored-by: quacumque <[email protected]>
1 parent 1f7ae6f commit b26dab7

File tree

1 file changed

+21
-14
lines changed

1 file changed

+21
-14
lines changed

src/reference/torii-endpoints.md

+21-14
Original file line numberDiff line numberDiff line change
@@ -130,20 +130,23 @@ they are added to the blockchain.
130130

131131
```json
132132
{
133-
"logger": {
134-
"level": "TRACE"
135-
}
133+
"public_key": "ed0120A98BAFB0663CE08D75EBD506FEC38A84E576A7C9B0897693ED4B04FD9EF2D18D",
134+
"logger": {
135+
"level": "INFO",
136+
"filter": null
137+
},
138+
"network": {
139+
"block_gossip_size": 4,
140+
"block_gossip_period_ms": 10000,
141+
"transaction_gossip_size": 500,
142+
"transaction_gossip_period_ms": 1000
143+
},
144+
"queue": {
145+
"capacity": 65536
146+
}
136147
}
137148
```
138149

139-
::: info
140-
141-
The subset of configuration parameters returned by this operation is equal to
142-
the one accepted by the [Configuration / Update](#configuration-update)
143-
operation, i.e., it only contains the `logger.level` parameter as of now.
144-
145-
:::
146-
147150
## Configuration / Update
148151

149152
- **Protocol**: `HTTP`
@@ -153,9 +156,13 @@ operation, i.e., it only contains the `logger.level` parameter as of now.
153156

154157
#### Requests
155158

156-
This endpoint expects a subset of configuration parameters serialized into JSON
157-
format. Currently, it only supports dynamic updating of the `logger.level`
158-
parameter.
159+
This endpoint expects a _subset_ of configuration parameters serialized into JSON
160+
format.
161+
162+
Supported parameters:
163+
164+
- `logger.level`
165+
- `logger.filter`
159166

160167
::: info
161168

0 commit comments

Comments
 (0)