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
  • District Info

District Info · Changes

Page history
Update District Info authored Mar 01, 2024 by Jakub Valo's avatar Jakub Valo
Hide whitespace changes
Inline Side-by-side
District-Info.md
View page @ 888859b1
......@@ -14,19 +14,42 @@ _Informace požadovaného města_
```json
{
"data": {
"id": 1,
"title": "Benešov",
"points_total": "28229.74",
"points_avg": "225.84",
"points_avg_alpha": "0.00",
"points_total_top": "14343.68",
"points_avg_top": "434.66",
"points_avg_population": "1.71",
"distance": 31691023,
"total_users": 125,
"active_teams": 0,
"id": 280,
"title": "Olomouc - Chomoutov",
"points_total": "8408.51",
"points_avg": "227.26",
"points_avg_alpha": "221.71",
"points_total_top": "8387.87",
"points_avg_top": "254.18",
"points_avg_population": "8.35",
"distance": 9186426,
"total_users": 37,
"active_teams": 3,
"is_participating": true,
"coordinator": null
"image": null,
"coordinator": {
"id": 4,
"email": "jarda@dobramesta.cz",
"name": "Jari Kurri",
"profile_photo_url": "http:\/\/portal.desettisickroku.local\/storage\/profile-photos\/PBcWVT0qX7sfnvaXkzroPQZiJVwBEZqBVNSdevgK.jpg"
},
"categories": [
{
"title": "Všechna zapojená",
"description": "Všechna zapojená města a obce.",
"position": 15
},
{
"title": "Galské vesnice",
"description": "Zapojené obce do 2,5 tisíc obyvatel.",
"position": 2
},
{
"title": "Všechna",
"description": "Všechna města a obce.",
"position": 39
}
]
}
}
```
......@@ -45,7 +68,9 @@ _Informace požadovaného města_
| 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 |
| image | string | N | URL obrázku |
| coordinator | object | N | Koordinátor |
| categories | array | A | Kategorie, ve kterých se město účastní |
**coordinator:**
......@@ -55,4 +80,13 @@ _Informace požadovaného města_
| id | int | A | ID |
| email | string | A | E-mail |
| name | string | A | Jméno |
| profile_photo_url | string | N | URL profilového obrázku |
\ No newline at end of file
| profile_photo_url | string | N | URL profilového obrázku |
**categories:**
| Parametr | Typ | Povinný | Popis |
|----------|-----|---------|-------|
| title | string | A | Název |
| description | string | N | Popis |
| position | int | N | Pořadí města v dané kategorii |
Clone repository

Home

All Pages