update clan sessions api documentation

This commit is contained in:
evanpelle
2026-04-07 17:06:07 -07:00
parent 50bd075b1c
commit bf73eb9b7a
+16 -2
View File
@@ -207,10 +207,24 @@ GET https://api.openfront.io/public/clan/:clanTag/sessions
- `start` (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**
```bash
curl https://api.openfront.io/public/clan/UN/sessions?start=2025-11-15T00:00:00Z &
end=2025-11-18T23:59:59Z
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"
```