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. 

WireFrame

Phase 1

Summary View


 

Thread View

Author View

Anonymous View

...

 ActionIntended UserURIMethodRequest ParametersRequest BodyResponse BodyNotification Sent to (Phase 2)
Get Forum Metadata for a Projectauthorized user/forum/{projectId}GET  Forum 
Update Forum DescriptionModerator/forum/{forumId}/descriptionPUT String  
Get Threads of a Forumauthorized user/forum/{forumId}/threadsGETorder, limit, offset PaginatedThreads 
Create a Threadauthorized user/threadPOST CreateThreadThread 
Get a Thread by its IDauthorized user/thread/{threadId}GET  Thread 
Create a Replyauthorized user/replyPOST CreateReplyReplyThread’s Author 
Get a Reply by its IDauthorized user/reply/{replyId}GET  Reply 
Flag a Threadauthorized user/thread/{threadId}/flagPUT   Moderator
Flag a Replyauthorized user/reply/{replyId}/flagPUT   Moderator
Pin a ThreadModerator/thread/{threadId}/pinPUT    
Unpin a ThreadModerator/thread/{threadId}/unpinPUT    
Remove a Flag on a ThreadModerator/thread/{threadId}/unflagPUT   

 

Remove a Flag on a ReplyModerator/reply/{replyId}/unflagPUT    
Remove a ReplyModerator/reply/{replyId}DELETE    
Remove a ThreadModerator/thread/{threadId}DELETE    
Get Replies for a Threadauthorized user/thread/{threadId}/repliesGETorder, limit, offset PaginatedReplies 
Update 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<MentionEntities>List<MentionEntity>