Versions Compared

Key

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

Creation of a project:

The admin creates a project on VDN with

...

category as

...

“Exam Question Set” of object type question sets and target content as question types

  1. Default - Visibility value for the question set is set as ‘Private’. Admin can choose to edit and directly create a project that is public paper (e.g. - practice paper, Question bank/library).
    - In the case of other collections, the default value can be set as public, which can be edited by the admin.

  2. A single project can have multiple collections/question sets. The visibility parameter for each of the collection/ question set can be differently set.

  3. Admin Publishes the project.

...

  1. After the project is created, in the project details list view → where all the question sets are listed and shown. The visibility parameter for each of the question set is shown to the user.
    In-case of private ( a private tag is shown), in case of public nothing is shown. On mouse hover on the name of the project (visibility value is shown)

  2. At any point, the admin will have the provision to edit visibility from private to public and vice-versa.

Conversion of Question set/Collection from Private to Public

...

(Refer to Slides 22, 23, then 75-80)

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

The 2 problem statements are -

  1. Providing access of DIKSHA Question Sets to External State Applications (Avsar, E-Samwad etc)

  2. Updating visibility status of question sets and questions from private to public

Tech Implementation Design -

Approach 1 -

  • Org admin will get an option to publish a QuestionSet/Question to DIKSHA in “Private mode”.

  • In private mode questionset/question are not searchable through normal search APIs.

  • To access questionset/question we will use “Private Search APIs”

  • Once the exam is over the org admin can republish the questionset/question from Vidyadaan and it will update the status to “Public”.

Sharing of Question Sets with External App:

  • There will be a questionset ID in a mobile app and using this id we can request the question list details using the private search APIs. 

  • These APIs need authentication so we will hardcode the auth token and organization id in our mobile App.

Tasks:

  • Add the Import button in the project to publish content.

    1. Need to check whether questions get published in private mode.

Issue in this approach

  • Anyone can extract the token from the app and use all APIs externally.

Approach 2 - Unlisted Publishing of Question Sets

Org admin will get an option to publish a questionset/question to DIKSHA in unlisted mode. In this mode the questionset/question will not be visible in any search APIs, it can only be discoverable through it’s do_id.

Other external Apps already have these Id’s so they can directly call the question detail API using the do_id to get all the details.

Once the exam is over the org admin can republish the questionset/question from vidyadaan and it will update the status to “public”, now the content is available for search and reuse using add from library option.

Tasks:

  • Add unlist publish support in the existing import API if it is not there.

  • Add the Import button along with the option to publish it as unlist/public in the project.