|
|
|
_Informace požadovaného týmu_
|
|
|
|
|
|
|
|
**URL:** /api/v1/team/{team_id}
|
|
|
|
|
|
|
|
**Method:** GET
|
|
|
|
|
|
|
|
**Headers:**
|
|
|
|
|
|
|
|
- Accept: application/json
|
|
|
|
- Authorization: Auth User Bearer Token nebo API Bearer Token
|
|
|
|
|
|
|
|
**Vrací JSON:**
|
|
|
|
|
|
|
|
```json
|
|
|
|
{
|
|
|
|
"data": {
|
|
|
|
"id": 1,
|
|
|
|
"owner_id": 186,
|
|
|
|
"title": "HEY Dámská jízda ",
|
|
|
|
"category_id": 1,
|
|
|
|
"image": "\/storage\/team-images\/js1JT0KI7YlsX2Y2sHNWCK5fn3iOjxVm4WJMOmhj.jpg",
|
|
|
|
"district_id": 164,
|
|
|
|
"company_id": null,
|
|
|
|
"school_id": null,
|
|
|
|
"description": null,
|
|
|
|
"points": "2295.3",
|
|
|
|
"distance": 2639950,
|
|
|
|
"users": [
|
|
|
|
25708,
|
|
|
|
6787,
|
|
|
|
186,
|
|
|
|
25703,
|
|
|
|
7345,
|
|
|
|
25764,
|
|
|
|
17915,
|
|
|
|
6649,
|
|
|
|
25598,
|
|
|
|
6648
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
| Parametr | Typ | Povinný | Popis |
|
|
|
|
|----------|-----|---------|-------|
|
|
|
|
| id | int | A | ID týmu |
|
|
|
|
| owner_id | int | A | ID kapitána |
|
|
|
|
| title | string | A | Název týmu |
|
|
|
|
| category_id | int | A | Kategorie |
|
|
|
|
| image | string | N | Obrázek |
|
|
|
|
| district_id | int | A | ID města |
|
|
|
|
| company_id | int | N | ID firmy |
|
|
|
|
| school_id | int | N | ID školy |
|
|
|
|
| description | string | N | Popis |
|
|
|
|
| points | string | N | Počet bodů |
|
|
|
|
| distance | int | N | Vzdálenost v metrech |
|
|
|
|
| users | array | A | ID členů týmu | |
|
|
|
\ No newline at end of file |