tb endpoint¶
Manage endpoints. Global options apply to this command. See Global options.
The following subcommands are available:
| Subcommand | Description |
|---|---|
| data PIPE | Prints data returned by the endpoint. |
| ls [OPTIONS] | Lists all the endpoints. |
| stats [OPTIONS] PIPE | Prints stats of the last 7 days for an endpoint. |
| token PIPE | Retrieves a token to call an endpoint. |
| url PIPE | Prints the URL of an endpoint. |
tb endpoint data¶
Prints data returned by the endpoint.
| Option | Description |
|---|---|
| --query TEXT | Runs a query over endpoint results. |
| --format [json|csv] | Returns the results in the specified format. |
tb endpoint ls¶
Lists all the endpoints.
| Option | Description |
|---|---|
| --match TEXT | Retrieves any resource matching the pattern. For example, --match _test. |
| --format [json] | Returns the results in the specified format. |
tb endpoint stats¶
Prints stats of the last 7 days for an endpoint.
| Option | Description |
|---|---|
| --format [json] | Returns the results in the specified format. |