update team get endpoint
All checks were successful
deploy / build-and-deploy (push) Successful in 28s
All checks were successful
deploy / build-and-deploy (push) Successful in 28s
This commit is contained in:
22
README.md
22
README.md
@ -143,7 +143,7 @@
|
||||
</details>
|
||||
|
||||
<details>
|
||||
<summary><code>POST</code> <code>/api/teams</code> (Liste aller Teams)</summary>
|
||||
<summary><code>GET</code> <code>/api/team</code> (Liste aller Teams)</summary>
|
||||
|
||||
##### Request Body
|
||||
|
||||
@ -165,8 +165,24 @@
|
||||
"name": string,
|
||||
// Teamfarbe in HEX
|
||||
"color": string,
|
||||
// UUIDs aller Teammitglieder
|
||||
"users": (string | null)[]
|
||||
// UTC timestamp wann das Team zuletzt gejoined ist
|
||||
"lastJoined": number | null,
|
||||
// Gewichtung aller Strikes
|
||||
"strikeWeight": number,
|
||||
// Spieler 1 des Teams
|
||||
"memberOne": {
|
||||
// UUID des Spielers
|
||||
"uuid": string,
|
||||
// Ob der Spieler Tot ist
|
||||
"dead": boolean
|
||||
} | null,
|
||||
// Spieler 2 des Teams
|
||||
"memberTwo": {
|
||||
// UUID des Spielers
|
||||
"uuid": string,
|
||||
// Ob der Spieler Tot ist
|
||||
"dead": boolean
|
||||
} | null
|
||||
}
|
||||
```
|
||||
|
||||
|
Reference in New Issue
Block a user