Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • portal.desettisickroku.cz portal.desettisickroku.cz
  • Project information
    • Project information
    • Activity
    • Members
  • Wiki
    • Wiki
  • Activity
Collapse sidebar
  • api-docs
  • portal.desettisickroku.czportal.desettisickroku.cz
  • Wiki
  • Auth User Events Distance

Auth User Events Distance · Changes

Page history
Update Auth User Events Distance authored Aug 28, 2023 by Jakub Valo's avatar Jakub Valo
Hide whitespace changes
Inline Side-by-side
Auth-User-Events-Distance.md 0 → 100644
View page @ 6a361728
_Minulé výzvy, kterých se přihlášený uživatel účastnil, včetně současné výzvy_
**URL:** /api/v1/auth-user/events-distance
**Method:** GET
**Headers:**
- Accept: application/json
- Authorization: Auth User Bearer token
**Vrací JSON:**
```json
{
"data": [
{
"year": "2021",
"month": "04",
"title": "Duben 2021",
"day_distance": {
"1": 4150,
"2": 0,
"3": 2230,
"4": 3790,
"5": 0,
"6": 2790,
"7": 4230,
"8": 0,
"9": 8620,
"10": 2680,
"11": 3110,
"12": 4080,
"13": 4890,
"14": 0,
"15": 11590,
"16": 6110,
"17": 13850,
"18": 2860,
"19": 8000,
"20": 4770,
"21": 5780,
"22": 2230,
"23": 4640,
"24": 9280,
"25": 5700,
"26": 2980,
"27": 5070,
"28": 7460,
"29": 4700,
"30": 8750,
"31": 0
}
},
{
"year": "2023",
"month": "08",
"title": "ETM",
"day_distance": {
"1": 0,
"2": 0,
"3": 0,
"4": 0,
"5": 0,
"6": 0,
"7": 0,
"8": 0,
"9": 0,
"10": 0,
"11": 0,
"12": 0,
"13": 0,
"14": 0,
"15": 0,
"16": 0,
"17": 0,
"18": 0,
"19": 0,
"20": 0,
"21": 0,
"22": 0,
"23": 0,
"24": 0,
"25": 0,
"26": 0,
"27": 0,
"28": 0,
"29": 0,
"30": 0,
"31": 0
}
}
]
}
```
| Parametr | Typ | Povinný | Popis |
|----------|-----|---------|-------|
| year | string | A | Rok |
| month | string | A | Měsíc |
| title | string | A | Název výzvy |
| day_distance | array | A | Číslo dne => Vzdálenost v km (int) |
\ No newline at end of file
Clone repository

Home

All Pages