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
  • Auth User Calendar Image Edit

Auth User Calendar Image Edit · Changes

Page history
Update Auth User Calendar Image Edit authored Jan 31, 2024 by Jakub Valo's avatar Jakub Valo
Hide whitespace changes
Inline Side-by-side
Auth-User-Calendar-Image-Edit.md
View page @ 7c5256f8
......@@ -20,6 +20,8 @@ _Editace obrázku v kalendáři zážitků_
**Vrací JSON:**
**Úspěšné uložení:**
```json
{
"data": {
......@@ -39,19 +41,13 @@ _Editace obrázku v kalendáři zážitků_
| note | string | N | Poznámka k obrázku |
**V případě neúspěšné validace vrací chybu:**
**Chyba při validaci:**
```json
{
"message": "The given data was invalid.",
"errors": {
"day_number": [
"Pole den musí být číslice."
],
"image": [
"Obrázek musí být obrázek.",
"Obrázek musí být typu: jpg, jpeg, png."
]
}
"status": "error",
"message": "Obrázek musí být typu: jpg, jpeg, png."
}
```
\ No newline at end of file
```
Více chyb je odděleno odřádkováním `\n`
\ No newline at end of file
Clone repository

Home

All Pages