...
Primary Category, Board, Medium, Grade, Subject, Target Audience, Visibility
Question Metadata -
Board, Medium, Grade, Subject, Topic, Learning outcome, Blooms Level
The 2 problem statements are -
...
Anyone can extract the token from the app and use all APIs externally.
Show Questions in the mobile App:
We’ll show
Getting Publish Project/Content Ids to external servers:
...
Code Block |
---|
{ "type": "QuestionSet", "identifier": "do_someid", "board": "CBSE", "grade": "class 6", "medium": "english" } |
Process to show private content on VDN
Currently, we are getting data from “action/composite/v3/search” search API.
Problem Statement: Composite search API will not return a private question-set, resulting in not being able to view question-set in the program list.
Solution: We will use /v3/private/search API to get question-sets.
When to use private search: If program collections length is not equal to composite search length then we’ll use private API to get content.
Following API will be used to show private content:
Private Search: /v3/private/search
Above API list all the private questionset
Hierarchy Read: /api/questionset/v1/hierarchy/do_id
Above API will be used in both cases
Question Read: /api/question/v1/read/do_id
Above API will be used in both cases
What will happen in the following scenario:
If the question--set status is private and the question status is Default, will the question is available publically or not?