Name |
Edit Gallery Image |
Description |
Edit new Image in gallery |
URL |
restaurant/<int:id> /components/galleria/images/<int:i_id> /edit |
Allowed methods |
POST |
Authorizations |
GET (IsBusiness, IsOwner) |
Edit information for an Image in gallery
Only the logged owner can make this request.
Name |
Type |
Description |
<int:id> |
integer |
Target restaurant ID |
<int:i_id> |
integer |
Image ID |
Name |
Type |
Required |
Unique |
Description |
image |
File |
ye |
no |
change image |
name |
str |
yes |
no |
|
description |
str |
no |
no |
|
Status |
Description |
HTTP_200_OK |
updated |
HTTP_404_NOT_FOUND |
restaurant with this ID not found |
HTTP_400_BAD_REQUEST |
wrong parameters |
HTTP_401_UNAUTHORIZED |
action not authorized |