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

Thread's  
  ActionActionIntended UserURIMethodRequest ParametersRequest BodyResponse BodyNotification Sent to (Phase 2P2)
1Get Forum Metadata for a Projectauthorized user/forum/{projectId}GET  Forum 
2Update Forum DescriptionModerator/forum/{forumId}/descriptionPUTPOST StringDescription  
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}/unflagflagPUT    
15Remove a Flag on a ReplyModerator/reply/{replyId}/unflagflagPUT    
16Remove a ReplyThreadModerator/replythread/{replyIdthreadId}DELETE    
17Remove a ThreadReplyModerator/threadreply/{threadIdreplyId}DELETE    
18Get Replies for a Threadauthorized user/thread/{threadId}/repliesGETorder, limit, offset PaginatedReplies 
19Update a Thread’s MessageAuthor/thread/{threadId}/messagePUT String  
Get Threads that mentions an Entityauthorized user/thread/entity/{entityId}GETorder, limit, offset PaginatedTheads 
Mention an Entityauthorized user/thread/{id}/mentionEntityPOST EntityIdMentionEntity 
Mention Entitiesauthorized user/thread/{id}/mentionEntitiesPOST List<EntityId>List<MentionEntity>20Update a Reply’s MessageAuthor/reply/{replyId}/messagePUT String