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

left align tables

Signed-off-by: Colin Sullivan <colin@synadia.com>
This commit is contained in:
Colin Sullivan 2019-07-25 16:24:10 -06:00
parent acee74e9db
commit e7aa29ecd9

View File

@ -55,7 +55,7 @@ The `/varz` endpoint returns general information about the server state and conf
**Endpoint:** `http://server:port/varz` **Endpoint:** `http://server:port/varz`
| Result | Return Code | | Result | Return Code |
|-|-| |:---|:----|
| Success | 200 (OK) | | Success | 200 (OK) |
| Error | 400 (Bad Request) | | Error | 400 (Bad Request) |
@ -128,14 +128,14 @@ It uses a paging mechanism which defaults to 1024 connections.
**Endpoint:** `http://server:port/connz` **Endpoint:** `http://server:port/connz`
| Result | Return Code | | Result | Return Code |
|-|-| |:---|:---|
| Success | 200 (OK) | | Success | 200 (OK) |
| Error | 400 (Bad Request) | | Error | 400 (Bad Request) |
#### Arguments #### Arguments
| 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. |
@ -149,7 +149,7 @@ It uses a paging mechanism which defaults to 1024 connections.
##### Sort Options ##### Sort Options
| Option | Sort by| | Option | Sort by|
|-|-| |:---|:---|
|cid | Connection ID | |cid | Connection ID |
|start | Connection start time, same as CID | |start | Connection start time, same as CID |
|subs | Number of subscriptions | |subs | Number of subscriptions |
@ -241,14 +241,14 @@ Routes are expected to be low, so there is no paging mechanism with this endpoin
**Endpoint:** `http://server:port/routez` **Endpoint:** `http://server:port/routez`
| Result | Return Code | | Result | Return Code |
|-|-| |:---|:---|
| Success | 200 (OK) | | Success | 200 (OK) |
| Error | 400 (Bad Request) | | Error | 400 (Bad Request) |
#### Arguments #### Arguments
| 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>
@ -289,14 +289,14 @@ The `/subz` endpoint reports detailed information about the current subscription
**Endpoint:** `http://server:port/subz` **Endpoint:** `http://server:port/subz`
| Result | Return Code | | Result | Return Code |
|-|-| |:---|:---|
| Success | 200 (OK) | | Success | 200 (OK) |
| Error | 400 (Bad Request) | | Error | 400 (Bad Request) |
#### Arguments #### Arguments
| 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. |
@ -329,14 +329,14 @@ Like routes, the number of gateways are expected to be low, so there is no pagin
**Endpoint:** `http://server:port/gatewayz` **Endpoint:** `http://server:port/gatewayz`
| Result | Return Code | | Result | Return Code |
|-|-| |:---|:---|
| Success | 200 (OK) | | Success | 200 (OK) |
| Error | 400 (Bad Request) | | Error | 400 (Bad Request) |
#### Arguments #### Arguments
| 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. |