...
Design Flow: https://docs.google.com/presentation/d/12JW58Iokn-3IdwifUeWab8F8vPC8HFHqZjkbERtwsLc/edit?usp=sharing
Tech Implementation
Approach 1:
Publish Project
In a published project, the status of QuestionSets remains draft.In the QuestionSet, questions will be: Added and submitted by Contributors(status: Draft, but Review Pending ), Reviewed by ContributorOrg reviewer(status: Live but Approval pending) and then Approved and published by SourcingOrg reviewer(status: Live but Approved).
For QuestionSets having all approved questions, we’ll publish the QuestionSet on click of button(Publish Question Set) which will be enabled on the basis of config we’ll pass to category definition API.
A new key isPulsihedEnabled or existing key(need to check) will be used in category definition which will have boolean values.API: category/definition/v1/read
On click of button(Publish Question Set), we’ll hit publish API so the status of QuestionSets will become live.API : questionset/v1/publish/do_id
It’s an Async API.
...
*This document has been updated on 16th June, the comments might be outdated for an earlier version of this document.
...