-
Notifications
You must be signed in to change notification settings - Fork 0
Feature/album api (Refactored) #13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev
Are you sure you want to change the base?
Conversation
Not handling userId and only images yet. Without Tests
Post and Gets uses username as folder name now.
For now this class contains some temporary methods to create hard-coded Users.
mugshot/src/main/java/hive/album/controller/UtilsController.java
Outdated
Show resolved
Hide resolved
| } | ||
|
|
||
| @ResponseStatus(code = HttpStatus.OK, reason = "Random image generated and successfully stored") | ||
| @PostMapping("/generateRandomImage") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As it only has a verb of the type post
| @PostMapping("/generateRandomImage") | |
| @PostMapping |
| this.imageStorer=imageStorer; | ||
| } | ||
|
|
||
| @ResponseStatus(code = HttpStatus.OK, reason = "Random image generated and successfully stored") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no need
| @ResponseStatus(code = HttpStatus.OK, reason = "Random image generated and successfully stored") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nop, success isn't Exception
| } | ||
|
|
||
| @ResponseStatus(code = HttpStatus.OK, reason = "Random image generated and successfully stored") | ||
| @PostMapping("/generateRandomImage") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| @PostMapping("/generateRandomImage") | |
| @PostMapping |
( ᐛ )و ٩( ᐛ )و ٩( ᐛ )و ٩( ᐛ )و ٩( ᐛ )و ٩( ᐛ )و ٩( ᐛ )و ٩( ᐛ )و ٩( ᐛ )و ٩( ᐛ )و ٩( ᐛ )و ٩( ᐛ )و ٩( ᐛ )و ٩( ᐛ )و ٩
New things:
Changes:
Removed:
( ᐛ )و ٩( ᐛ )و ٩( ᐛ )و ٩( ᐛ )و ٩( ᐛ )و ٩( ᐛ )و ٩( ᐛ )و ٩( ᐛ )و ٩( ᐛ )و ٩( ᐛ )و ٩( ᐛ )و ٩( ᐛ )و ٩( ᐛ )و ٩( ᐛ )و ٩