1
0
mirror of https://github.com/taigrr/nats.docs synced 2025-01-18 04:03:23 -08:00

fix inconistent rendering

Signed-off-by: Colin Sullivan <colin@synadia.com>
This commit is contained in:
Colin Sullivan 2019-07-25 15:56:26 -06:00
parent 8b99c74358
commit cfcf30f821

View File

@ -137,8 +137,8 @@ It uses a paging mechanism which defaults to 1024 connections.
| Argument | Values | Description | | Argument | Values | Description |
|-|-|-| |-|-|-|
| sort | (*see sort options*) | Sorts the results. Default is connection ID. | | sort | (*see sort options*) | Sorts the results. Default is connection ID. |
| auth | true\|1\|false\|0 | Include username. Default is false. | | auth | true, 1, false, 0 | Include username. Default is false. |
| subs | true\|1\|false\|0 | Include subscriptions. Default is false. | | subs | true, 1, false, 0 | Include subscriptions. Default is false. |
| offset | number > 0 | Pagination offset. Default is 0. | | offset | number > 0 | Pagination offset. Default is 0. |
| limit | number > 0 | Number of results to return. Default is 1024. | | limit | number > 0 | Number of results to return. Default is 1024. |
| cid | number, valid id | Return a connection by it's id | | cid | number, valid id | Return a connection by it's id |
@ -249,7 +249,7 @@ Routes are expected to be low, so there is no paging mechanism with this endpoin
| Argument | Values | Description | | Argument | Values | Description |
|-|-|-| |-|-|-|
| subs | true \| 1 \| false \| 0 | Include internal subscriptions. Default is false.| | subs | true, 1, false, 0 | Include internal subscriptions. Default is false.|
As noted above, the `routez` endpoint does support the `subs` argument from the `/connz` endpoint. For example: <a href="http://demo.nats.io:8222/routez?subs=1" target="_blank">http://demo.nats.io:8222/routez?subs=1</a> As noted above, the `routez` endpoint does support the `subs` argument from the `/connz` endpoint. For example: <a href="http://demo.nats.io:8222/routez?subs=1" target="_blank">http://demo.nats.io:8222/routez?subs=1</a>
@ -297,7 +297,7 @@ The `/subz` endpoint reports detailed information about the current subscription
| Argument | Values | Description | | Argument | Values | Description |
|-|-|-| |-|-|-|
| subs | true \| 1 \| false \| 0 | Include subscriptions. Default is false. | | subs | true, 1, false, 0 | Include subscriptions. Default is false. |
| offset | integer > 0 | Pagination offset. Default is 0. | | offset | integer > 0 | Pagination offset. Default is 0. |
| limit | integer > 0 | Number of results to return. Default is 1024. | | limit | integer > 0 | Number of results to return. Default is 1024. |
| test | subject | Test whether a subsciption exists. | | test | subject | Test whether a subsciption exists. |
@ -337,7 +337,7 @@ Like routes, the number of gateways are expected to be low, so there is no pagin
| Argument | Values | Description | | Argument | Values | Description |
|-|-|-| |-|-|-|
| accs | true \| 1 \| false \| 0 | Include account information. Default is false. | | accs | true, 1, false, 0 | Include account information. Default is false. |
| gw_name | string | Return only remote gateways with this name. | | gw_name | string | Return only remote gateways with this name. |
| acc_name | string | Limit the list of accounts to this account name. | | acc_name | string | Limit the list of accounts to this account name. |