mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-21 10:43:27 +00:00
update clan sessions api documentation
This commit is contained in:
+16
-2
@@ -207,10 +207,24 @@ GET https://api.openfront.io/public/clan/:clanTag/sessions
|
|||||||
|
|
||||||
- `start` (optional): ISO 8601 timestamp
|
- `start` (optional): ISO 8601 timestamp
|
||||||
- `end` (optional): ISO 8601 timestamp
|
- `end` (optional): ISO 8601 timestamp
|
||||||
|
- `page` (optional): Page number, 1-200 (default: 1)
|
||||||
|
- `limit` (optional): Results per page, 1-50 (default: 20)
|
||||||
|
|
||||||
|
**Response:**
|
||||||
|
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"results": [ ... ],
|
||||||
|
"total": 150,
|
||||||
|
"page": 1,
|
||||||
|
"limit": 20
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
Results are ordered by game start time, newest first.
|
||||||
|
|
||||||
**Example**
|
**Example**
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
curl https://api.openfront.io/public/clan/UN/sessions?start=2025-11-15T00:00:00Z &
|
curl "https://api.openfront.io/public/clan/UN/sessions?start=2025-11-15T00:00:00Z&end=2025-11-18T23:59:59Z&limit=10&page=1"
|
||||||
end=2025-11-18T23:59:59Z
|
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user