Task #4027: User is able to request a question by its id
The URI to be used contains the session id the question is linked to. If the resulting question object did not match the given session id an error HTTP - NOT FOUND will be send. This will also be done if no question was found.
Showing
- src/main/java/de/thm/arsnova/SessionController.java 11 additions, 0 deletionssrc/main/java/de/thm/arsnova/SessionController.java
- src/main/java/de/thm/arsnova/dao/CouchDBDao.java 22 additions, 0 deletionssrc/main/java/de/thm/arsnova/dao/CouchDBDao.java
- src/main/java/de/thm/arsnova/dao/IDatabaseDao.java 1 addition, 0 deletionssrc/main/java/de/thm/arsnova/dao/IDatabaseDao.java
- src/main/java/de/thm/arsnova/services/ISessionService.java 1 addition, 0 deletionssrc/main/java/de/thm/arsnova/services/ISessionService.java
- src/main/java/de/thm/arsnova/services/SessionService.java 5 additions, 0 deletionssrc/main/java/de/thm/arsnova/services/SessionService.java
Please register or sign in to comment