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
  • Districts List

Districts List · Changes

Page history
Update Districts List authored Aug 24, 2023 by Jakub Valo's avatar Jakub Valo
Show whitespace changes
Inline Side-by-side
Districts-List.md
View page @ 00570f18
......@@ -8,19 +8,55 @@ _Seznam měst_
```json
[
{
"id": id_města,
"title": název_města,
"is_participating": zdali_je_město_zapojené (true/false),
"id": 1,
"title": "Benešov",
"points_total": "0.00",
"points_avg": "0.00",
"points_avg_alpha": "0.00",
"points_total_top": "0.00",
"points_avg_top": "0.00",
"points_avg_population": "0.00",
"distance": 0,
"total_users": 0,
"active_teams": 0,
"is_participating": true,
"coordinator": {
"id": id_uživatele,
"email": email_uživatele,
"name": jméno_uživatele,
"profile_photo_url": url_profilového_obrázku
"id": 4,
"email": "jarda@dobramesta.cz",
"name": "Jari Kurri",
"profile_photo_url": "http:\/\/portal.desettisickroku.local\/storage\/profile-photos\/PBcWVT0qX7sfnvaXkzroPQZiJVwBEZqBVNSdevgK.jpg"
}
},
...
{
"id": 2,
"title": "Beroun",
"points_total": "0.00",
"points_avg": "0.00",
"points_avg_alpha": "0.00",
"points_total_top": "0.00",
"points_avg_top": "0.00",
"points_avg_population": "0.00",
"distance": 0,
"total_users": 0,
"active_teams": 0,
"is_participating": false,
"coordinator": null
}
]
```
**Poznámky:**
- coordinator: údaje o uživateli - koordinátorovi (v případě, že město koordinátora nemá, vrací false)
\ No newline at end of file
| Parametr | Typ | Povinný | Popis |
|----------|-----|---------|-------|
| id | int | A | ID |
| title | string | A | Název |
| points_total | string | N | Počet bodů |
| points_avg | string | N | Počet bodů - průměr |
| points_avg_alpha | string | N | Počet bodů - průměr ze středu |
| points_total_top | string | N | Počet bodů - součet top jednotlivců |
| points_avg_top | string | N | Počet bodů - průměr z top jednotlivců |
| points_avg_population | string | N | Počet bodů - průměr z počtu obyvatel |
| distance | int | N | Vzdálenost v metrech |
| total_users | int | N | Celkem uživatelů |
| active_teams | int | N | Aktivních týmů |
| is_participating | bool | N | Zda-li je zapojené |
| coordinator | array | N | Koordinátor |
\ No newline at end of file
Clone repository
  • Auth User Activities
  • Auth User Activity Create
  • Auth User Calendar Image Edit
  • Auth User Calendar Images
  • Auth User Categories
  • Auth User Daily Activities
  • Auth User Events Distance
  • Auth User External App Token
  • Auth User Favorites Edit
  • Auth User Info v1 DEPRECATED
  • Auth User Info v2
  • Auth User Token Create
  • Auth User Token Delete
  • Auth User Token Validate
  • Blog Articles Feed
View All Pages