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
 3

2
Update Forum DescriptionModerator/forum/{forumId}/descriptionPOST Description  
Get Threads of a Forumauthorized user/forum/{forumId}/threadsGETorder, limit, offset
 PaginatedThreads 4Add ModeratorAdmin/moderatorPOST CreateModeratorModerator 5Remove ModeratorAdmin/moderator/{moderatorId}DELETE    6

PaginatedThreads
3Create a Threadauthorized user/threadPOST
 7

CreateThreadThread
 

4Get a Thread by its IDauthorized user/thread/{threadId}GET
  


Thread
 

5
8
Create a Replyauthorized user/replyPOST
 

CreateReplyReplyThread’s Author 
9
6Get a Reply by its IDauthorized user/reply/{replyId}GET
 
 


Reply
 

7
10Flag
Remove a Thread
authorized user
Moderator/thread/{threadId}
/flag
PUTFlag
DELETE
   Moderator11




8Remove a Reply
authorized user
Moderator/reply/{replyId}
/flag
PUT
DELETE
   Moderator12Pin




9Get Replies for a Thread
Moderator
authorized user/thread/{threadId}/
pin13Unpin a ThreadModerator
replies
PUT    
GETorder, limit, offset
PaginatedReplies
10Update a Thread’s MessageAuthor/thread/{threadId}/
unpin
messagePUT
 14Remove a Flag on a ThreadModerator/thread/{threadId}/flagPUT    15Remove a Flag on a ReplyModerator/reply/{replyId}/flagPUT    16Remove a Thread

String
   


11Update a Reply’s MessageAuthor/reply/{replyId}/messagePUT
String

12Update a Thread's titleAuthor/thread/{threadId}/titlePUT
String

13Restore a deleted threadModerator/thread/{threadId}/restore
DELETEGet Replies for a Thread
PUT
    17Remove a ReplyModerator/reply/{replyId}DELETE    18




14Retrieve a paginated list of moderator for a given forumauthorized user/
thread
forum/{
threadId
forumId}/
replies
moderatorsGET
order,
limit, offset
 

PaginatedModerators
PaginatedReplies

Future Potential Extensions

 

...

  • Search

    • Look for all discussions about an entity - DONE

    • Search for content

    • Tag / Category

  • Notification

    • Moderator gets notification when new thread is created - DONE

    • Author gets notification when someone responds to their post - DONE

    • Following - DONE

  • Vote (up and down) on responses

  • Flag a thread/ response as inappropriate  

  • Mark a thread as helpful

  • Be able to see that there are discussions on a file / table* - DONE

  • Be able to link to a thread - DONE

  • Moderator would be able to close a thread and link to another thread