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

...


ActionIntended UserURIMethodRequest ParametersRequest BodyResponse BodyNotification Sent to (P2)
1Get Forum Metadata for a Projectauthorized user/forum/{projectId}GET

Forum
2Get Threads of a Forumauthorized user/forum/{forumId}/threadsGETorder, limit, offset
PaginatedThreads
3Create a Threadauthorized user/threadPOST
CreateThreadThread
4Get a Thread by its IDauthorized user/thread/{threadId}GET

Thread
5Create a Replyauthorized user/replyPOST
CreateReplyReplyThread’s Author 
6Get a Reply by its IDauthorized user/reply/{replyId}GET

Reply
7Remove a ThreadModerator/thread/{threadId}DELETE



8Remove a ReplyModerator/reply/{replyId}DELETE



9Get Replies for a Threadauthorized user/thread/{threadId}/repliesGETorder, limit, offset
PaginatedReplies
10Update a Thread’s MessageAuthor/thread/{threadId}/messagePUT
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}/restorePUT



14Retrieve a paginated list of moderator for a given forumauthorized user/forum/{forumId}/moderatorsGETlimit, offset
PaginatedModerators

Future Potential Extensions

...