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
  • Team Info v2

Team Info v2 · Changes

Page history
Create Team Info v2 authored Mar 08, 2024 by Jakub Valo's avatar Jakub Valo
Hide whitespace changes
Inline Side-by-side
Team-Info-v2.md 0 → 100644
View page @ f988d4cc
_Informace požadovaného týmu_
**URL:** /api/v2/team/{team_id}
**Method:** GET
**Headers:**
- Accept: application/json
- Authorization: Auth User Bearer Token nebo API Bearer Token
**Vrací JSON:**
```json
{
"data": {
"id": 170,
"title": "ŠBV - Koudelníci",
"image": "http:\/\/portal.desettisickroku.local\/storage\/company-images\/vhNSJbKyyC7sP5vrkC3cY0zR8XqwKUxo7bILVmdV.jpg",
"district": {
"id": 12,
"title": "Kutná Hora"
},
"points": "6714.85",
"distance": 6750340,
"owner": {
"id": 1288
},
"category": {
"id": 2
},
"company": {
"id": 1
},
"school": null,
"description": null,
"users": [
{
"id": 15013
},
{
"id": 1288
},
{
"id": 2319
},
{
"id": 33168
}
]
}
}
```
| Parametr | Typ | Povinný | Popis |
|----------|-----|---------|-------|
| id | int | A | ID týmu |
| title | string | A | Název týmu |
| image | string | N | Obrázek |
| district | object | A | Informace o obci |
| points | string | N | Počet bodů |
| distance | int | N | Vzdálenost v metrech |
| owner | object | N | Informace o kapitánovi (uživatel) |
| category | object | A | Informace o kategorii |
| company | object | N | Informace o firmě |
| school | object | N | Informace o škole |
| description | string | N | Popis |
| users | array | N | Informace o uživatelích |
\ No newline at end of file
Clone repository

Home

All Pages