Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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 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?