Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Use cases

...

In the second phase, we could add new features so that a user could help the community by marking a Thread is helpful, and by marking a Reply is helpful or unhelpful. 

Mockups

Phase 1

Summary View

 

Paginated Threads

Thread View

...

New Thread

New Reply

Models

Image RemovedImage Added

API

 

 ActionIntended UserURIMethodRequest ParametersRequest BodyResponse BodyNotification Sent to (P2)
1Get Forum Metadata for a Projectauthorized user/forum/{projectId}GET  Forum 
2Update Forum DescriptionModerator/forum/{forumId}/descriptionPOST Description  
3Get Threads of a Forumauthorized user/forum/{forumId}/threadsGETorder, limit, offset PaginatedThreads 
4Add ModeratorAdmin/moderatorPOST CreateModeratorModerator 
5Remove ModeratorAdmin/moderator/{moderatorId}DELETE    
6Create a Threadauthorized user/threadPOST CreateThreadThread 
7Get a Thread by its IDauthorized user/thread/{threadId}GET  Thread 
8Create a Replyauthorized user/replyPOST CreateReplyReplyThread’s Author 
9Get a Reply by its IDauthorized user/reply/{replyId}GET  Reply 
10Flag a Threadauthorized user/thread/{threadId}/flagPUT   Moderator
11Flag a Replyauthorized user/reply/{replyId}/flagPUT   Moderator
12Pin a ThreadModerator/thread/{threadId}/pinPUT    
13Unpin a ThreadModerator/thread/{threadId}/unpinPUT    
14Remove a Flag on a ThreadModerator/thread/{threadId}/flagPUT    
15Remove a Flag on a ReplyModerator/reply/{replyId}/flagPUT    
16Remove a ThreadModerator/thread/{threadId}DELETE    
17Remove a ReplyModerator/reply/{replyId}DELETE    
18Get Replies for a Threadauthorized user/thread/{threadId}/repliesGETorder, limit, offset PaginatedReplies 
19Update a Thread’s MessageAuthor/thread/{threadId}/messagePUT String  
20Update a Reply’s MessageAuthor/reply/{replyId}/messagePUT String