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
  • Challenge Coefficient Info

Challenge Coefficient Info · Changes

Page history
Create Challenge Coefficient Info authored Aug 28, 2023 by Jakub Valo's avatar Jakub Valo
Show whitespace changes
Inline Side-by-side
Challenge-Coefficient-Info.md 0 → 100644
View page @ e59fa742
_Informace o požadovaném koeficientu osobní výzvy_
**URL:** /api/v1/challenge-coefficient/{challenge_coefficient_id}
**Method:** GET
**Headers:**
- Accept: application/json
- Authorization: Auth User Bearer Token nebo API Bearer Token
**Vrací JSON:**
```json
{
"data": {
"id": 1,
"title": "Želva",
"brief": "Průměrně ujdu asi 1 km denně",
"description": "Malými krůčky pomalu, ale jistě vpřed. Svou vytrvalostí často překvapím a jak píše Ezop ve své bajce, nedivte se, když jsem pak v cíli dřív než zajíc.",
"daily_meters": 1000,
"image": "http:\/\/portal.desettisickroku.local\/storage\/web-images\/coefficient-icon-1.svg"
}
}
```
| Parametr | Typ | Povinný | Popis |
|----------|-----|---------|-------|
| id | int | A | ID |
| title | string | A | Název |
| brief | string | N | Krátký popis |
| description | string | N | Dlouhý popis |
| daily_meters | int | A | Počet denních metrů pro splnění |
| image | string | N | URL obrázku |
\ No newline at end of file
Clone repository

Home

All Pages