forked from Cliffbreak/tsviewer
Merge branch 'master' of https://git.cliffbreak.de/Cliffbreak/tsviewer
added templating
This commit is contained in:
commit
872dd200e1
1 changed files with 10 additions and 0 deletions
10
README.md
10
README.md
|
@ -3,7 +3,9 @@
|
||||||
A TS3 Viewer with REST API.
|
A TS3 Viewer with REST API.
|
||||||
|
|
||||||
# Features
|
# Features
|
||||||
|
|
||||||
## Config
|
## Config
|
||||||
|
|
||||||
The config file is generated automatically on first startup.
|
The config file is generated automatically on first startup.
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
|
@ -21,12 +23,16 @@ The config file is generated automatically on first startup.
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
## URL-Parameter
|
## URL-Parameter
|
||||||
|
|
||||||
| Name | Type | Description |
|
| Name | Type | Description |
|
||||||
| ---------- | -------- | ------------------------ |
|
| ---------- | -------- | ------------------------ |
|
||||||
| `pretty` | `bool` | pretty-prints JSON |
|
| `pretty` | `bool` | pretty-prints JSON |
|
||||||
| `envelope` | `bool` | wraps JSON in data array |
|
| `envelope` | `bool` | wraps JSON in data array |
|
||||||
|
|
||||||
## Channels
|
## Channels
|
||||||
|
|
||||||
- **`GET`** `/v1/channels/:id`
|
- **`GET`** `/v1/channels/:id`
|
||||||
- **`GET`** `/v1/channels`
|
- **`GET`** `/v1/channels`
|
||||||
```json
|
```json
|
||||||
|
@ -39,7 +45,9 @@ The config file is generated automatically on first startup.
|
||||||
"awayMessage": ""
|
"awayMessage": ""
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
## Clients
|
## Clients
|
||||||
|
|
||||||
- **`GET`** `/v1/clients/:id`
|
- **`GET`** `/v1/clients/:id`
|
||||||
- **`GET`** `/v1/clients/`
|
- **`GET`** `/v1/clients/`
|
||||||
```json
|
```json
|
||||||
|
@ -53,7 +61,9 @@ The config file is generated automatically on first startup.
|
||||||
"neededSubscribePower": 0
|
"neededSubscribePower": 0
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
## Server
|
## Server
|
||||||
|
|
||||||
- **`GET`** `/v1/server/info`
|
- **`GET`** `/v1/server/info`
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue