Skip to content

Commit 8807c25

Browse files
committed
add player sessions endpoint documentation to API.md
1 parent 595fd09 commit 8807c25

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

API.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,3 +92,19 @@ GET https://api.openfront.io/public/player/:playerId
9292
```bash
9393
curl "https://api.openfront.io/public/player/HabCsQYR"
9494
```
95+
96+
### Get Player Sessions
97+
98+
Retrieve a list of games & client ids (session ids) for a specific player.
99+
100+
**Endpoint:**
101+
102+
```
103+
GET https://api.openfront.io/public/player/:playerId/sessions
104+
```
105+
106+
**Example:**
107+
108+
```bash
109+
curl "https://api.openfront.io/public/player/HabCsQYR/sessions"
110+
```

0 commit comments

Comments
 (0)