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

Schools List · Changes

Page history
Update Schools List authored Aug 28, 2023 by Jakub Valo's avatar Jakub Valo
Hide whitespace changes
Inline Side-by-side
Schools-List.md 0 → 100644
View page @ 770413dd
_Seznam škol_
**URL:** /api/v1/schools
**Method:** GET
**Headers:**
- Accept: application/json
- Authorization: Auth User Bearer Token nebo API Bearer Token
**Vrací JSON:**
```json
{
"data": [
{
"id": 1,
"title": "Škola 1",
"web_url": "https://www.virtualis.cz/",
"portal_url": "http://portal.desettisickroku.local/skola/1/skola-1",
"image": "http://portal.desettisickroku.local/storage/school-images/aHm3j3KT66pyVVdgHeL4pOF3xXmD1iRHlL7B8oJc.png",
"total_teams": 2,
"total_users": 12
},
{
"id": 3,
"title": "Škola 2",
"web_url": null,
"portal_url": "http://portal.desettisickroku.local/skola/3/skola-2",
"image": null,
"total_teams": 3,
"total_users": 25
}
]
}
```
| Parametr | Typ | Povinný | Popis |
|----------|-----|---------|-------|
| id | int | A | ID |
| title | string | A | Název školy |
| web_url | string | N | URL webu školy |
| portal_url | string | A | URL profilu školy na portálu |
| image | string | N | Obrázek |
| total_teams | int | N | Celkem týmů |
| total_users | int | N | Celkem uživatelů |
\ No newline at end of file
Clone repository

Home

All Pages