Versions Compared

Key

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

...

https://docs.google.com/presentation/d/12JW58Iokn-3IdwifUeWab8F8vPC8HFHqZjkbERtwsLc/edit#slide=id.ge71b9a585c_0_46

Fetching Question sets and questions from DIKSHA to External Apps through filters -

  • Once question sets are published on DIKSHA, there would need to be some search filters based on which question sets should be fetched by external apps.

  • Search filters can be defined from the Question Set and Question metadata -

  • Question Set Metadata -

  1. Primary Category, Board, Medium, Grade, Subject, Target Audience, Visibility

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?